Re: Xterm hangs with latest Cygwin (-62?)

2009-10-06 Thread Corinna Vinschen
On Oct 5 17:46, Yaakov S wrote: On 05/10/2009 13:47, Corinna Vinschen wrote: --- sys.c.ORIG 2009-10-05 19:23:58.0 +0200 +++ sys.c2009-10-05 19:18:34.0 +0200 @@ -408,7 +408,11 @@ openTty(char *line) int rc; int tty = -1; +#ifdef __CYGWIN__ +tty =

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-05 Thread Corinna Vinschen
On Oct 4 17:06, Jim Reisert AD1C wrote: On 10/4/2009 1:52 PM, Corinna Vinschen wrote: Stracing shows that luit is called with `luit -argv0 -tcsh', but nowhere in the strace tcsh is actually started. Rather, it looks like luit starts /bin/sh with argv[0] set to -tcsh instead. Interesting.

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-05 Thread Andy Koppe
2009/10/5 Corinna Vinschen: There's a difference, though, when starting xterm via the `run -p xterm -ls' shortcut.  With Cygwin -61, xterm just starts tcsh and it works, with Cygwin -62, xterm tries to start the shell via luit, and that fails.  If luit is missing on the system (renamed), xterm

Re: [Fwd: Re: Xterm hangs with latest Cygwin (-62?)]

2009-10-05 Thread Jon TURNEY
On 05/10/2009 11:30, Fergus wrote: The only difference is the Cygwin version. -61 works, -62 hangs. Likewise. But this is not the same problem. Being unable to start the Xserver is not the same as being unable to start an Xterm. With everything up to date (cygwin, luit, xorg-server, ...

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-05 Thread Corinna Vinschen
On Oct 5 10:20, Andy Koppe wrote: 2009/10/5 Corinna Vinschen: There's a difference, though, when starting xterm via the `run -p xterm -ls' shortcut.  With Cygwin -61, xterm just starts tcsh and it works, with Cygwin -62, xterm tries to start the shell via luit, and that fails.  If luit

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-05 Thread Corinna Vinschen
On Oct 5 20:47, Corinna Vinschen wrote: Unfortunately, luit has no alternative way to make the new tty the controlling tty. What we need is a patch like this in luit: --- sys.c.ORIG2009-10-05 19:23:58.0 +0200 +++ sys.c 2009-10-05 19:18:34.0 +0200 @@ -408,7

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-05 Thread Jim Reisert AD1C
I start my xterms this way: xterm EXEC xterm -e /usr/bin/tcsh Is there an inherent problem with this? - Jim -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-05 Thread Yaakov (Cygwin/X)
On 05/10/2009 13:47, Corinna Vinschen wrote: And here's the problem. Cygwin doesn't have TIOCSCTTY, and the only way to make a terminal a controlling tty in Cygwin is to call open() on it, which tcsh misses to do. Bash, however, calls open(/dev/tty, O_RDWR), so bash doesn't have this problem.

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-05 Thread Christopher Faylor
On Mon, Oct 05, 2009 at 05:46:21PM -0500, Yaakov (Cygwin/X) wrote: On 05/10/2009 13:47, Corinna Vinschen wrote: And here's the problem. Cygwin doesn't have TIOCSCTTY, and the only way to make a terminal a controlling tty in Cygwin is to call open() on it, which tcsh misses to do. Bash,

[Fwd: Re: Xterm hangs with latest Cygwin (-62?)]

2009-10-05 Thread Fergus
The only difference is the Cygwin version. -61 works, -62 hangs. Likewise. With everything up to date (cygwin, luit, xorg-server, ... -- see attached cygwin.srv) the command ~ run XWin -nolisten local -multiwindow fails with an instruction to view /var/log/XWin.0.log (attached) which

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-04 Thread Corinna Vinschen
On Oct 4 11:44, Jim Reisert AD1C wrote: Did you upgrade xorg-server at the same time? Maybe your problem is caused by the change in system.XWinrc that I reported yesterday: http://cygwin.com/ml/cygwin-xfree/2009-10/msg00023.html I already had the latest Xorg server. The only

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-04 Thread Jim Reisert AD1C
On 10/4/2009 1:52 PM, Corinna Vinschen wrote: Stracing shows that luit is called with `luit -argv0 -tcsh', but nowhere in the strace tcsh is actually started. Rather, it looks like luit starts /bin/sh with argv[0] set to -tcsh instead. Interesting. When I was experimenting with -62, I

Xterm hangs with latest Cygwin (-62?)

2009-10-04 Thread Jim Reisert AD1C
CYGWIN_NT-5.1 jjr 1.7.0(0.214/5/3) 2009-10-03 14:33 i686 Cygwin I can start X-windows but can't start an xterm by right-clicking on the X icon in my system tray. I get the window but it hangs (empty). I have moved my .cshrc file out of the way. My default shell is tcsh. I've also

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-04 Thread Ken Brown
On 10/4/2009 12:39 PM, Jim Reisert AD1C wrote: CYGWIN_NT-5.1 jjr 1.7.0(0.214/5/3) 2009-10-03 14:33 i686 Cygwin I can start X-windows but can't start an xterm by right-clicking on the X icon in my system tray. I get the window but it hangs (empty). I have moved my .cshrc file out of the

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-04 Thread Jim Reisert AD1C
Did you upgrade xorg-server at the same time? Maybe your problem is caused by the change in system.XWinrc that I reported yesterday: http://cygwin.com/ml/cygwin-xfree/2009-10/msg00023.html I already had the latest Xorg server. The only difference is the Cygwin version. -61 works, -62

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-04 Thread Corinna Vinschen
On Oct 4 11:44, Jim Reisert AD1C wrote: Did you upgrade xorg-server at the same time? Maybe your problem is caused by the change in system.XWinrc that I reported yesterday: http://cygwin.com/ml/cygwin-xfree/2009-10/msg00023.html I already had the latest Xorg server. The only

Re: Xterm hangs with latest Cygwin (-62?)

2009-10-04 Thread Jim Reisert AD1C
On 10/4/2009 1:52 PM, Corinna Vinschen wrote: Stracing shows that luit is called with `luit -argv0 -tcsh', but nowhere in the strace tcsh is actually started. Rather, it looks like luit starts /bin/sh with argv[0] set to -tcsh instead. Interesting. When I was experimenting with -62, I