Please upload: clisp-2.43-2

2008-01-02 Thread Reini Urban

I've splitted some dependencies into seperate modules.
Release clisp-2.43-1 was an attempt with dynamic modules. It works fine, 
but the package size was way too big.


wget http://rurban.xarch.at/cygr/clisp/clisp-2.43-2.tar.bz2 \
http://rurban.xarch.at/cygr/clisp/clisp-2.43-2-src.tar.bz2 \
http://rurban.xarch.at/cygr/clisp/setup.hint

mkdir clisp-gtk2; cd clisp-gtk2;
wget http://rurban.xarch.at/cygr/clisp/clisp-gtk2/setup.hint \
http://rurban.xarch.at/cygr/clisp/clisp-gtk2/clisp-gtk2-2.43-2.tar.bz2

mkdir clisp-clx; cd clisp-clx;
wget http://rurban.xarch.at/cygr/clisp/clisp-clx/setup.hint \
http://rurban.xarch.at/cygr/clisp/clisp-clx/clisp-clx-2.43-2.tar.bz2

mkdir clisp-gdi; cd clisp-gdi;
wget http://rurban.xarch.at/cygr/clisp/clisp-gdi/setup.hint \
http://rurban.xarch.at/cygr/clisp/clisp-gdi/clisp-gdi-2.43-2.tar.bz2

--
Reini Urban
http://phpwiki.org/  http://murbreak.at/
http://helsinki.at/  http://spacemovie.mur.at/


[RFU] which-2.18-2

2008-01-02 Thread David Rothenberger
Bugfix release to address the issue with UNC paths reported in
http://cygwin.com/ml/cygwin/2008-01/msg00018.html.

I think the old which release (1.7) should be left as prev and
which-2.18-1 should be removed.

wget \
  http://mysite.verizon.net/res00a7j/cygwin/which/setup.hint \
  http://mysite.verizon.net/res00a7j/cygwin/which/which-2.18-2-src.tar.bz2 \
  http://mysite.verizon.net/res00a7j/cygwin/which/which-2.18-2.tar.bz2

-- 
David Rothenberger    [EMAIL PROTECTED]

Laura's Law:
No child throws up in the bathroom.



Re: [RFU] which-2.18-2

2008-01-02 Thread Christopher Faylor
On Wed, Jan 02, 2008 at 12:57:40PM -0800, David Rothenberger wrote:
Bugfix release to address the issue with UNC paths reported in
http://cygwin.com/ml/cygwin/2008-01/msg00018.html.

I think the old which release (1.7) should be left as prev and
which-2.18-1 should be removed.

wget \
  http://mysite.verizon.net/res00a7j/cygwin/which/setup.hint \
  http://mysite.verizon.net/res00a7j/cygwin/which/which-2.18-2-src.tar.bz2 \
  http://mysite.verizon.net/res00a7j/cygwin/which/which-2.18-2.tar.bz2

Uploaded.

cgf


Re: xterm(229-1) does not accept -u8

2008-01-02 Thread Arnout Engelen
Hi,

I read at http://cygwin.com/ml/cygwin-xfree/2007-08/threads.html#00068
that support for the -u8 option was dropped from newer versions of xterm 
for cygwin. 

I'd like to vote for keeping this option, it's quite useful to me, as it
allows me to read my mail in mutt over ssh without the screen getting
mangled :).


Arnout

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: BLODA FAQ entry.

2008-01-02 Thread Dave Korn
On 29 December 2007 18:06, Christopher Faylor wrote:

 On Sat, Dec 29, 2007 at 05:43:09PM -, Dave Korn wrote:
 
  The long-promised FAQ entry.
 
 winsup/doc/ChangeLog
 
 2007-29-12  Dave Korn  
 
  * faq-using.xml (faq.using.bloda):  New entry.
  (faq.using.firewall, faq.using.anti-virus):  Link to faq.using.bloda.
  * faq-setup.xml (faq.setup.hang):  Likewise link to faq.using.bloda.
 
 Looks good.  Thanks for doing this.  Please check in.


  Hmm, I thought the website might update itself automagically when the
sources are changed, but I guess not.  How do we get the online version of the
FAQ to rebuild?

cheers,
  DaveK
-- 
Can't think of a witty .sigline today



Re: BLODA FAQ entry.

2008-01-02 Thread Christopher Faylor
On Wed, Jan 02, 2008 at 06:59:03PM -, Dave Korn wrote:
On 29 December 2007 18:06, Christopher Faylor wrote:

 On Sat, Dec 29, 2007 at 05:43:09PM -, Dave Korn wrote:
 
  The long-promised FAQ entry.
 
 winsup/doc/ChangeLog
 
 2007-29-12  Dave Korn  
 
 * faq-using.xml (faq.using.bloda):  New entry.
 (faq.using.firewall, faq.using.anti-virus):  Link to faq.using.bloda.
 * faq-setup.xml (faq.setup.hang):  Likewise link to faq.using.bloda.
 
 Looks good.  Thanks for doing this.  Please check in.


  Hmm, I thought the website might update itself automagically when the
sources are changed, but I guess not.  How do we get the online version of the
FAQ to rebuild?

It isn't automatic.  I usually wait for someone with dessent skills in 
creating
the pages and transferring them to the right location to do this.

cgf


RE: BLODA FAQ entry.

2008-01-02 Thread Dave Korn
On 02 January 2008 19:08, Christopher Faylor wrote:

 On Wed, Jan 02, 2008 at 06:59:03PM -, Dave Korn wrote:
 On 29 December 2007 18:06, Christopher Faylor wrote:
 
 On Sat, Dec 29, 2007 at 05:43:09PM -, Dave Korn wrote:
 
  The long-promised FAQ entry.
 
 winsup/doc/ChangeLog
 
 2007-29-12  Dave Korn
 
* faq-using.xml (faq.using.bloda):  New entry.
(faq.using.firewall, faq.using.anti-virus):  Link to faq.using.bloda.
* faq-setup.xml (faq.setup.hang):  Likewise link to faq.using.bloda.
 
 Looks good.  Thanks for doing this.  Please check in.
 
 
  Hmm, I thought the website might update itself automagically when the
 sources are changed, but I guess not.  How do we get the online version of
 the FAQ to rebuild?
 
 It isn't automatic.  I usually wait for someone with dessent skills in
 creating the pages and transferring them to the right location to do this.
 
 cgf

  Ah.  Who, to judge from lack of posting, is still away on xmas/newyear break
of some description.  (I could /probably/ update just the two related pages
with copies freshly built from source, but I'd rather someone who's done it
regularly before and knows of any hidden gotcha's did it, or at least said if
it's really that simple before I went and borked anything.)  Guess I'll just
be patient.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today



RE: BLODA FAQ entry.

2008-01-02 Thread Dave Korn
On 02 January 2008 19:58, Christopher Faylor wrote:

 On Wed, Jan 02, 2008 at 07:46:16PM -, Dave Korn wrote:
 On 02 January 2008 19:08, Christopher Faylor wrote:
 
 On Wed, Jan 02, 2008 at 06:59:03PM -, Dave Korn wrote:
 On 29 December 2007 18:06, Christopher Faylor wrote:
 
 On Sat, Dec 29, 2007 at 05:43:09PM -, Dave Korn wrote:
 
  The long-promised FAQ entry.
 
 winsup/doc/ChangeLog
 
 2007-29-12  Dave Korn
 
  * faq-using.xml (faq.using.bloda):  New entry.
  (faq.using.firewall, faq.using.anti-virus):  Link to faq.using.bloda.
  * faq-setup.xml (faq.setup.hang):  Likewise link to faq.using.bloda.
 
 Looks good.  Thanks for doing this.  Please check in.
 
 
  Hmm, I thought the website might update itself automagically when the
 sources are changed, but I guess not.  How do we get the online version
 of the FAQ to rebuild?
 
 It isn't automatic.  I usually wait for someone with dessent skills in
 creating the pages and transferring them to the right location to do this.
 
  Ah.  Who, to judge from lack of posting, is still away on xmas/newyear
 break of some description.  (I could /probably/ update just the two
 related pages with copies freshly built from source, but I'd rather
 someone who's done it regularly before and knows of any hidden gotcha's
 did it, or at least said if it's really that simple before I went and
 borked anything.)  Guess I'll just be patient.
 
 That's why I usually wait.  Every time I regen the pages, they end up
 looking strange.
 
 cgf

  You mean like that time when all the graphics changed to hippos?  Yeh, that
/was/ strange!

cheers,
  DaveK
-- 
Can't think of a witty .sigline today



Re: Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)

2008-01-02 Thread melvins

I had the same problem with you mike, what I did is I downloaded a
stable-snapshot version of ruby, then I copy the missing/strftime.c file to
hte 1.8.6 version,   run make again, then it now all works.



Mike Boone wrote:
 
 In reference to that /dev/urandom bug I encountered last week, I
 thought I might try to build Ruby from source on Cygwin and see how it
 works.
 
 I downloaded Ruby 1.8.6-p111 off the ruby-lang.org website, unpacked
 it, then ./configure and make. This fails with:
 
 ./missing/strftime.c:193: error: 'timezone' redeclared as different
 kind of symbol
 /usr/include/cygwin/time.h:33: error: previous declaration of
 'timezone' was here
 make: *** [strftime.o] Error 1
 
 I'm not sure why that happens, and I'm not sure what's different about
 the Cygwin Ruby package which works. Any ideas?
 
 Incidentally, I downloaded the new development release of Ruby 1.9.0,
 and it compiles just fine on Cygwin. It also runs my /dev/urandom bug
 script without failing, and lseek is not called in the strace.
 
 Mike Boone
 http://boonedocks.net/mike/
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Building-Ruby-%28was-Re%3A-Ruby-on-Rails-2.0.2-Cygwin-Bug%29-tp14505644p14576153.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



BBv2 bjam under Cygwin keeps including unused DLL at link stage

2008-01-02 Thread kasty

Hi, I'm facing a problem with Bjam under Cygwin. My directory tree looks as
follows:

src/
  - Jamroot
  +  libFTree/
  - Jamfile
  - ... (source files)
  +  Tests/
 +   Test02/
 - Jamfile
 - ... (source files)

When I use Bjam to build libFTree DLL, this is what cygcheck sees in it:

Found: c:\FORWARE\PortableForware\win32\FTree.dll
c:\FORWARE\PortableForware\win32\FTree.dll
  C:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
  C:\WINDOWS\system32\ntdll.dll
  C:\WINDOWS\system32\KERNEL32.dll
  C:\WINDOWS\system32\RPCRT4.dll
Error: could not find cyggraph-4.dll
Error: could not find cyggvc-4.dll

However the command line that I get from BJAM (-d+2 option) looks like this:


gcc.link.dll bin/gcc-3.4.4/debug/libFTree.dll.a

g++ -L/usr/local/lib 
-Wl,--out-implib,bin/gcc-3.4.4/debug/libFTree.dll
.a -o bin/gcc-3.4.4/debug/FTree.dll -Wl,-h -Wl,FTree.dll -shared
-Wl,--start-
group bin/gcc-3.4.4/debug/FTree.o bin/gcc-3.4.4/debug/FRaw.o
bin/gcc-3.4.4/
debug/FTreeList.o bin/gcc-3.4.4/debug/FTreeGenerated.o
bin/gcc-3.4.4/debug/F
Hardware.o bin/gcc-3.4.4/debug/FHW_Port.o
bin/gcc-3.4.4/debug/FHW_Unit.o b
in/gcc-3.4.4/debug/FHW_Net.o bin/gcc-3.4.4/debug/FHW_StateMachine.o
bin/gcc-
3.4.4/debug/FHdlEmitter.o bin/gcc-3.4.4/debug/FHW_InLnP.o
bin/gcc-3.4.4/debu
g/FHW_Constraint.o bin/gcc-3.4.4/debug/FBackend.o
bin/gcc-3.4.4/debug/FGraph
.o bin/gcc-3.4.4/debug/FSymtab.o bin/gcc-3.4.4/debug/FTreeBrowser.o
bin/gc
c-3.4.4/debug/FTreeWriter.o bin/gcc-3.4.4/debug/FCFGNode.o
bin/gcc-3.4.4/deb
ug/FControlFlow.o bin/gcc-3.4.4/debug/FGraphNode.o
bin/gcc-3.4.4/debug/FStat
s.o bin/gcc-3.4.4/debug/FVerifier.o bin/gcc-3.4.4/debug/FPrettyWriter.o
bi
n/gcc-3.4.4/debug/FPool.o bin/gcc-3.4.4/debug/FMemoryManager.o
bin/gcc-3.4.4
/debug/FResourceTable.o bin/gcc-3.4.4/debug/FTimingTable.o
bin/gcc-3.4.4/deb
ug/FBehavioralSynthesis.o bin/gcc-3.4.4/debug/FApplication.o
bin/gcc-3.4.4/d
ebug/FTreeHandler.o bin/gcc-3.4.4/debug/FGarbageCollector.o
bin/gcc-3.4.4/de
bug/FIRer.o bin/gcc-3.4.4/debug/FBoostGraph.o  -Wl,-Bstatic
-lboost_filesyste
m-gcc34-mt-1_34_1 -Wl,-Bdynamic  -Wl,--end-group -g


There is no reference to any of cyggraph-4.dll or cyggvc-4.dll import libs,
which by the way are Graphviz libs that I used a few days ago and now I've
removed from Cygwin and from Jamfiles.


If I use a regular makefile to build a static library, this is what cygcheck
sees:

$ cygcheck ./libFTree.a
.\libFTree.a

In this case, the command to build the static library looks like this:

ar ru libFTree.a ftreeGeneric/FTree.o ftreeGeneric/FRaw.o
ftreeGeneric/FTreeList
.o ftreeAutoGenerated/FTreeGenerated.o ftreeHardware/FHardware.o
ftreeHardware/F
HW_Port.o ftreeHardware/FHW_Unit.o ftreeHardware/FHW_Net.o
ftreeHardware/FHW_Sta
teMachine.o ftreeHardware/FHdlEmitter.o ftreeHardware/FHW_InLnP.o
ftreeHardware/
FHW_Constraint.o ftreeHardware/FBackend.o ftreeUtils/FGraph.o
ftreeUtils/FSymtab
.o ftreeUtils/FTreeBrowser.o ftreeUtils/FTreeWriter.o ftreeUtils/FCFGNode.o
ftre
eUtils/FControlFlow.o ftreeUtils/FGraphNode.o ftreeUtils/FStats.o
ftreeUtils/FVe
rifier.o ftreeUtils/FPrettyWriter.o ftreeUtils/FPool.o
ftreeUtils/FMemoryManager
.o ftreeUtils/FResourceTable.o ftreeUtils/FTimingTable.o
ftreeUtils/FBehavioralS
ynthesis.o ftreeUtils/FApplication.o ftreeUtils/FTreeHandler.o
ftreeUtils/FGarba
geCollector.o ftreeUtils/FIRer.o ftreeUtils/FBoostGraph.o
ar: creating libFTree.a

After linking the executable with the static library, cygcheck sees this:

$ cygcheck ./main.exe
.\main.exe
  C:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
  C:\WINDOWS\system32\ntdll.dll
  C:\WINDOWS\system32\KERNEL32.dll
  C:\WINDOWS\system32\RPCRT4.dll


May this be a bug in BJAM? Maybe it holds a cache of dependencies, since
some time ago I used Graphviz libraries... Any ideas?

Regards.

-- 
View this message in context: 
http://www.nabble.com/BBv2-bjam-under-Cygwin-keeps-including-unused-DLL-at-link-stage-tp14577667p14577667.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)

2008-01-02 Thread Mike Boone
On Jan 2, 2008 5:24 AM, melvins [EMAIL PROTECTED] wrote:

 I had the same problem with you mike, what I did is I downloaded a
 stable-snapshot version of ruby, then I copy the missing/strftime.c file to
 hte 1.8.6 version,   run make again, then it now all works.

This worked for me too. Both the 1.8.6 with the new strftime.c and the
stable-snapshot compile OK in Cygwin. However, they both also fail my
test /dev/urandom script. There must be something peculiar as to how
1.8.x builds in Cygwin that makes that script fail. Maybe now that I
have the source I could debug it, but I'm rusty on that.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)

2008-01-02 Thread Dave Korn
On 02 January 2008 10:25, melvins wrote:
 Mike Boone wrote:
 
 In reference to that /dev/urandom bug I encountered last week, I
 thought I might try to build Ruby from source on Cygwin and see how it
 works. 
 
 I downloaded Ruby 1.8.6-p111 off the ruby-lang.org website, unpacked
 it, then ./configure and make. This fails with:
 
 ./missing/strftime.c:193: error: 'timezone' redeclared as different kind
 of symbol /usr/include/cygwin/time.h:33: error: previous declaration of
 'timezone' was here make: *** [strftime.o] Error 1
 

 I had the same problem with you mike, what I did is I downloaded a
 stable-snapshot version of ruby, then I copy the missing/strftime.c file to
 hte 1.8.6 version,   run make again, then it now all works.

  For full explanation, see

http://cygwin.com/ml/cygwin/2007-12/msg3.html


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Remote Linux desktop in my Cygwin windows PC

2008-01-02 Thread Brian Mathis
On Jan 2, 2008 2:17 AM, Erich Dollansky [EMAIL PROTECTED] wrote:
 Hi,

 marcos rebelo wrote:
 
  I'm really basic with Linux. I'm running remote applications with:
 
  xhost
  ssh
  export DISPLAY
 
  So I'm using Eclipse, gedit, firefox, ... like this for example in my
  windows. Now I'm curios if I'm able to have the full desktop of my
  Linux machine like a window in my remote Windows PC.
 
  I'm using the Ubuntu 7.10 in the Linux PC
 
 just start the windo manager of your choice at the Linux box.

 startx should do the job.

 You can chose then to have the Linux desktop in one window or it will
 replace your current Windows desktop.

 Windows will stay in the background.

 Running the window manager on the Windows machine has the advantage that
 your Linux windows integrate fully into you Windows environment.

 I find it a bit disturbing to have the Unix part separated from the
 Windows part when the Windows manager was running on the Unix box.

 Erich

Another option is to use a VNC server on the linux machine, and then
the VNC viewer on windows.  This is similar to Remote Desktop, so that
might be what you're looking for.  Yet another option which gives good
results is NX, which is also similar to remote desktop, and is
faster than VNC.

In either case, you will need to set up something on the linux server
to allow you to do this.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



trouble with sshd

2008-01-02 Thread David Chamberlin
I installed sshd to run as a service by doing:
   ssh-host-config -y
   cygrunsrv -S sshd

This worked initially and I was able to ssh to my machine.  However
several days later I noticed it was no longer working.  Looking in the
windows services panel, the service was stopped so I tried starting it,
but it stopped immediately.  So I tried running cygrunsrv -S sshd from a
shell and that exited with

cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

So I did a search in the archives here and found out how to get a
system-owned prompt ('at time+1 /interactive
c:\windows\system32\cmd.exe'), from the system-owned prompt I ran
c:\cygwin\Cygwin.bat and then ran /usr/sbin/sshd.exe -D -d -d -d.  That
started up just fine and I was able to ssh into my machine.  I did note
that after logging out of the ssh session, sshd exited also.  I'm not sure
if that's normal for the case of running sshd -D or not.

In any case, I'm now baffled as to why it won't run as a service.  It
seems that the permissions must be right because using the system-owned
prompt I can run it just fine.  Also, looking in the windows services
panel, for sshd the Log On is set as Local System account.

The only 2 things I can think of that changed between when the initial
cygrunsrv -S sshd occurred and when it started failing is:
  1) I rebooted the machine (maybe after being run during bootup something
happened?)
  2) I installed apache2triad

This is on an XP laptop running SP2.  Cygwin is very recent since I just
installed it last week.  Info from cygcheck is attached.

Any ideas on either what is wrong or how to find out more info about what
might be wrong?

Thanks,
Dave


cygcheck.out
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Re: Remote Linux desktop in my Cygwin windows PC

2008-01-02 Thread Mirco Piccin
Hi all.

  I'm really basic with Linux. I'm running remote applications with:
 
  xhost
  ssh
  export DISPLAY
 
  So I'm using Eclipse, gedit, firefox, ... like this for example in my
  windows. Now I'm curios if I'm able to have the full desktop of my
  Linux machine like a window in my remote Windows PC.
 
  I'm using the Ubuntu 7.10 in the Linux PC

Initially i follow those step :
http://x.cygwin.com/docs/ug/using-remote-session.html

basically is a XDMCP remote session; the only things to do in your
linux machine are:
- enable the X11Forwarding in your sshd configuration  (by default
/etc/ssh/sshd_config)

[/etc/ssh/sshd_config]

X11Forwarding yes


- allow connection to your display manager - if you use Ubuntu, it's
Gnome : modify /etc/gdm/gdm.conf enabling xdmcp

[/etc/gdm/gdm.conf]

[xdmcp]
Enable=True



The problem of this solution is that if you loose the session, you
can't restore that (i don't know sincerely if now this problem is
solved...).
Anyway, it's not so speed.

  Another option is to use a VNC server on the linux machine, and then
  the VNC viewer on windows.  This is similar to Remote Desktop, so that
  might be what you're looking for.  Yet another option which gives good
  results is NX, which is also similar to remote desktop, and is
  faster than VNC.

Now i'm using NX server; there's an OpensSource version (FreeNX -
http://freenx.berlios.de/) that is installable by apt-get (Ubuntu
repository).
Thers'e also an installation guide here
http://ubuntuforums.org/showthread.php?t=620057highlight=freenx

FreeNX is faster than xdmcp and more configurable.

Hope it helps you!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Remote Linux desktop in my Cygwin windows PC

2008-01-02 Thread Mirco Piccin
Hi all.

  I'm really basic with Linux. I'm running remote applications with:
 
  xhost
  ssh
  export DISPLAY
 
  So I'm using Eclipse, gedit, firefox, ... like this for example in my
  windows. Now I'm curios if I'm able to have the full desktop of my
  Linux machine like a window in my remote Windows PC.
 
  I'm using the Ubuntu 7.10 in the Linux PC

Initially i follow those step :
http://x.cygwin.com/docs/ug/using-remote-session.html

basically is a XDMCP remote session; the only things to do in your
linux machine are:
- enable the X11Forwarding in your sshd configuration  (by default
/etc/ssh/sshd_config)

[/etc/ssh/sshd_config]

X11Forwarding yes


- allow connection to your display manager - if you use Ubuntu, it's
Gnome : modify /etc/gdm/gdm.conf enabling xdmcp

[/etc/gdm/gdm.conf]

[xdmcp]
Enable=True



The problem of this solution is that if you loose the session, you
can't restore that (i don't know sincerely if now this problem is
solved...).
Anyway, it's not so speed.

 Another option is to use a VNC server on the linux machine, and then
 the VNC viewer on windows.  This is similar to Remote Desktop, so that
 might be what you're looking for.  Yet another option which gives good
 results is NX, which is also similar to remote desktop, and is
 faster than VNC.

Now i'm using NX server; there's an OpensSource version (FreeNX -
http://freenx.berlios.de/) that is installable by apt-get (Ubuntu
repository).
Thers'e also an installation guide here
http://ubuntuforums.org/showthread.php?t=620057highlight=freenx

FreeNX is faster than xdmcp and more configurable.

Hope this helps you!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: trouble with sshd

2008-01-02 Thread Dave Korn
On 02 January 2008 16:00, David Chamberlin wrote:


 The only 2 things I can think of that changed between when the initial
 cygrunsrv -S sshd occurred and when it started failing is:
   1) I rebooted the machine (maybe after being run during bootup something
 happened?)
   2) I installed apache2triad

  Which is a http://cygwin.com/acronyms#3PP production, and contains
duplicates of cygwin apps and the dll.  This isn't going to be good, and the
reason it probably works for a sysbash shell but not from the service is
probably down to differences in the PATH settings between the two ways of
doing it.

 
 This is on an XP laptop running SP2.  Cygwin is very recent since I just
 installed it last week.  Info from cygcheck is attached.

  If you'd taken a close look at that cygcheck output, you'd have seen.

Warning: There are multiple cygwin1.dlls on your path
 
 Any ideas on either what is wrong or how to find out more info about what
 might be wrong?

  Get rid of apache2triad, or at the very least, rename its old outdated copy
of the cygwin dll aside and make sure it's later in the PATH than your main
cygwin install.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Failed to execute rsh on Windows Vista

2008-01-02 Thread vachan shetty
 
 12 [main] rsh 268 C:\Program
 Files\Cygnus\bin\rsh.exe:
 *** fatal error - co
 uldn't dynamically determine load address for 'rcmd'
 (handle 0x7004), Win32
 error 127
 
 The above error occured when I was trying to execute
 the rsh from the Latest Cygwin Version 1.5.25-7 on a
 Windows Vista machine.
 
 I replaced the cygwin1.dll with the cygwin1.dll 
 obtained from the http://cygwin.com/snapshots/
 2007-12-21 (last update 2007-12-21 15:11 GMT). It
 seemed to work. Do you know when you would be
 incorporting the cygwin1.dll from the above snapshot
 into an official release.
 
 



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: trouble with sshd

2008-01-02 Thread David Chamberlin
 On 02 January 2008 16:00, David Chamberlin wrote:

   Which is a http://cygwin.com/acronyms#3PP production,

LOL.  I hadn't heard that one before.  That's good.

   If you'd taken a close look at that cygcheck output, you'd have seen.

 Warning: There are multiple cygwin1.dlls on your path

Man, now I feel doubly-stupid.  First because the answer was right in
front of my face and second because I actually hit this exact problem 4
years ago, the last time I installed apache2triad on a machine, but I
completely forgot about it.  I tell you this time that little gem has gone
into my when setting up a new machine notes file.

FWIW I moved apache's cygwin1.dll and all is good now.

Thanks so much for the help!

-Dave


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: SFTP error 128

2008-01-02 Thread Igor Peshansky
On Thu, 27 Dec 2007, Neil Aggarwal wrote:

   Very good for one with such a bad attitude!

 I did not mean to have a bad attitude.  I was just trying
 to state that I thought -l switch already did what
 you wanted to do.

  Now it is time to setup ssh to accept the connection you are
  trying to make.
  Anything you can do with ssh you can do with sftp.

 I can successfully ssh into the box using a domain account.
 It is only when I try to SFTP when I get the error 128.

One common problem with ssh-based services is stray output from profile/rc
scripts.  Check that your login scripts don't output anything to the
console that may be confusing the sftp protocol.

Also check for interference from the http://cygwin.com/acronyms/#BLODA.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Trouble with cygwin git

2008-01-02 Thread MP
 I'm having the problem cloning a git repository using
 Cygwin git 1.5.3.5:
 
 [...]
 
 fatal: failed to unpack tree object HEAD
 

I dug into this, and found that the failure happens here:

res = fh-link (newpath);

in the link() function of file src/winsup/cygwin/syscalls.cc.  res is -1, and 
errno == EEXIST at this point.

In the call above, newpath is:
/cygdrive/c/git/git/.git/objects/pack/pack-
d629a7029e3a941884c4bea2b33cc27e32f55779.pack

Digging further, this line fails:

if (CreateHardLinkA (newpc, pc, NULL))
  goto success;

in function fhandler_disk_file::link(), fhandler_disk_file.cc.  CreateHardLinkA
() returns 0, and GetLastError() returns 183 (ERROR_ALREADY_EXISTS: Cannot 
create a file when that file already exists).

In the CreateHardLinkA() call above, newpc.get_win32() yields:
c:\git\git\.git\objects\pack\pack-d629a7029e3a941884c4bea2b33cc27e32f55779.pack

pc.get_win32() yields:
c:\git\git\.git\objects\tmp_pack_btsO9s

I know that the destination file (newpc) does not exist; so I am perplexed why 
CreateHardLinkA() is failing.  In the CreateHardLink() documentation on MSDN, 
I see this comment:

if you open a file that does not allow sharing, another application cannot 
share the file by creating a new hard link to the file

However, I see that all calls to CreateFile() in XP Cygwin happen with:

FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE

Any ideas why CreateHardLinkA() could still be failing?


Thanks,
MP


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] Updated: which-2.18-1

2008-01-02 Thread A.R. Burgers

LS,

I have a UNC path //ecn/groups/g_zon_solar/Software/cygwin/bin
in my path, refering to some network share.

ls -l `which mrxvt.exe`
ls: cannot access /ecn/groups/g_zon_solar/Software/cygwin/bin/mrxvt.exe:
No such file or directory

Apparently which.exe (the new 2.18-1) strips the leading / which is 
essential in this case. The old which-1.7 does not strip.


Teun

David Rothenberger schreef:


Subject: Updated: which-2.18-1

NEWS:
=
This release replaces the custom Cygwin which command with the GNU
Which. The package includes documentation and a few additional
features such as understanding bash functions and aliases. See the
included documentation or http://www.xs4all.nl/~carlo17/which/ for
more details.




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



how to revert to gnuplot 4.0 as 4.2 does not work

2008-01-02 Thread Graham Lamont

I produced lots of plots with 4.0 --- great tool.

But my cygwin has now been auto-updated to gnuplot 4.2:
1Now none of my 4.0 generated scripts will load properly.
2Will not read data in engineering notation
3Doesn't seem to handle variable manipulation (eg 1:($3-2)*10) properly

Basically completely knackered for my purposes

Is there ANY way i can revert to 4.0 which was perfect ?

Thanks
Graham
_
Fancy some celeb spotting? 
https://www.celebmashup.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] Updated: which-2.18-1

2008-01-02 Thread Jeff
On Wed, 02 Jan 2008 21:05:45 +0100,
A[dot]R[dot] Burgers a[dot]rburgers[at]quicknet[dot]nl wrote:

LS,

I have a UNC path //ecn/groups/g_zon_solar/Software/cygwin/bin
in my path, refering to some network share.

ls -l `which mrxvt.exe`
ls: cannot access /ecn/groups/g_zon_solar/Software/cygwin/bin/mrxvt.exe:
No such file or directory

Apparently which.exe (the new 2.18-1) strips the leading / which is 
essential in this case. The old which-1.7 does not strip.

Why not just mount your network shares?

$ mount
\\Winxp-inspiron\c on /inspiron type system (binmode,noexec)
C:\WINDOWS\TEMP on /tmp type system (binmode)
\\Winxp-desk\c on /desk-c type system (binmode,noexec)
\\Winxp-desk\d on /desk-d type system (binmode,noexec)
C:\Cygwin\bin on /usr/bin type system (binmode)
[...]

Jeff
-- 
Sorry, my life is still in beta, and nowhere near stable enough for a
release.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] Updated: which-2.18-1

2008-01-02 Thread David Rothenberger

On 1/2/2008 12:05 PM, A.R. Burgers wrote:

I have a UNC path //ecn/groups/g_zon_solar/Software/cygwin/bin
in my path, refering to some network share.

ls -l `which mrxvt.exe`
ls: cannot access /ecn/groups/g_zon_solar/Software/cygwin/bin/mrxvt.exe:
No such file or directory


Thanks for the report. I've applied a patch for this problem. 
which-2.18-2 will be available soon.


--
David Rothenberger    [EMAIL PROTECTED]

QOTD:
Y'know how s'm people treat th'r body like a TEMPLE?
Well, I treat mine like 'n AMUSEMENT PARK...  S'great...


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: wget gets, but wput doesn't put

2008-01-02 Thread Michael Kairys
No reply in wput's Sourceforge discussion group either :) 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



win32-gui-demos.pl dumps core

2008-01-02 Thread Michael Kairys
... or claims to :)  If I run /bin/win32-gui-demos.pl from bash I a 
momentary window and the message Segmentation fault (core dumped). By 
sprinkling prints in the file I see it crashes at line 189: 
Win32::GUI::Dialog(); This is on Windows Vista BTW.


I've tried reinstalling my Cygwin Perl stuff and poking around with 
cygcheck, but haven't turned up anything and don't really know how to debug 
this further. Please advise... 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Failed to execute rsh on Windows Vista

2008-01-02 Thread Larry Hall (Cygwin)

vachan shetty wrote:
 
 12 [main] rsh 268 C:\Program

 Files\Cygnus\bin\rsh.exe:
 *** fatal error - co
 uldn't dynamically determine load address for 'rcmd'
 (handle 0x7004), Win32
 error 127
 
 The above error occured when I was trying to execute

 the rsh from the Latest Cygwin Version 1.5.25-7 on a
 Windows Vista machine.
 
 I replaced the cygwin1.dll with the cygwin1.dll 
 obtained from the http://cygwin.com/snapshots/

 2007-12-21 (last update 2007-12-21 15:11 GMT). It
 seemed to work. Do you know when you would be
 incorporting the cygwin1.dll from the above snapshot
 into an official release.



Not for a while.  There's allot of work that needs to go into making
the Cygwin internals handle long filenames/unicode before this will
happen.  You should consider 'ssh' instead.  'ssh' is a secure alternative
to 'rsh' and so is recommended over 'rsh'.  For more info on the changes
here, see:

http://www.cygwin.com/ml/cygwin/2007-05/msg00219.html


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: which-2.18-2

2008-01-02 Thread David Rothenberger
NEWS:
=
This release fixes an issue with UNC paths as reported in
http://cygwin.com/ml/cygwin/2008-01/msg00018.html.

DESCRIPTION:

Which is a utility that prints out the full path of the executables
that bash(1) would execute when the passed program names would have
been entered on the shell prompt. It does this by using the exact
same algorithm as bash.

DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update, please choose the one
nearest to you: http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
List-Unsubscribe:  tag in the email header of this message.  Send
email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is
available starting at this URL.

-- 
David Rothenberger    [EMAIL PROTECTED]



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: how to revert to gnuplot 4.0 as 4.2 does not work

2008-01-02 Thread Larry Hall (Cygwin)

Graham Lamont wrote:

I produced lots of plots with 4.0 --- great tool.

But my cygwin has now been auto-updated to gnuplot 4.2:
1Now none of my 4.0 generated scripts will load properly.
2Will not read data in engineering notation
3Doesn't seem to handle variable manipulation (eg 1:($3-2)*10) properly

Basically completely knackered for my purposes

Is there ANY way i can revert to 4.0 which was perfect ?



If you have 4.0 in your local download directory, you should be able to
re-run 'setup.exe' and point it to that directory to see the packages you
have there.  You can reinstall the version you want that way.  Otherwise, it
looks like it's still available on mirrors, though 'setup.exe' won't see
it automatically.  Download it (with 'wget' or similar tool) and put it
in the proper directory in your local download directory and follow the
prescription above.  A complete problem report would likely prove more
productive in the long run for you though, since you'll find each time
you run 'setup.exe' in the future, it will automatically upgrade 'gnuplot'
on you.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Ruby on Rails 2.0.2/Cygwin Bug

2008-01-02 Thread Mike Boone
On Dec 22, 2007 3:46 PM, Igor Peshansky [EMAIL PROTECTED] wrote:
 As I mentioned before, I don't use Ruby too often.  But I just realized
 something: to reproduce the error, you needed a require
 'nonexistent_file', which will obviously set errno to ENOENT (which is
 exactly the error you're seeing).  It's possible that File.read checks
 errno and exits right away if it's non-zero, and that nothing resets errno
 before File.read.  Inserting the puts call will likely reset errno, thus
 avoiding the bug.  So, the bug is probably in Ruby code for exception
 handling (rescue) -- it should reset errno so that subsequent code isn't
 affected (and it's also suspicious that the File.read code checks errno
 without a valid reason, e.g., a non-zero return value).

Looks like you got it right. They just fixed the Ruby source:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/io.c?r1=13774r2=14858

I made the change to my io.c in the stable-snapshot and it compiles OK
and runs my test script without the not-found error.

Not sure how long this will take to find its way into Cygwin's ruby
package, but I'm glad it was finally solved.

Mike Boone.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/