Re: Bash process remains after I close rxvt in certain ways

2006-12-20 Thread Jason Curl
Charles Wilson wrote: rxvt-20050409-4 (e.g. the test version now on the mirrors) also has a common behavior across all three cases, but that behavior is different than the behavior described above. The new rxvt exits and sighups the child (which obligingly goes ahead and dies; no zombies) in a

Re: Bash process remains after I close rxvt in certain ways

2006-12-06 Thread Charles Wilson
Corinna Vinschen wrote: So there's something missing in the picture here... What does happen in rxvt when Alt-F4 is pressed. Nothing? rxvt-20050409-3 (e.g. the current version) behaves the same way in all three cases: kill -HUP alt-f4 when rxvt has the focus click on the 'x' button in th

Re: Bash process remains after I close rxvt in certain ways

2006-12-06 Thread Corinna Vinschen
On Dec 6 03:57, Charles Wilson wrote: > [nothin' like resurrecting a month-old thread...] > > Christopher Faylor wrote: > > >This is handled in dcrt0.cc:do_exit(). I'm wondering if rxvt is not > >dealing with the SIGHUP that cygwin should be sending to it on > >CTRL_CLOSE, though. > > Well, rx

Re: Bash process remains after I close rxvt in certain ways

2006-12-06 Thread Charles Wilson
[nothin' like resurrecting a month-old thread...] Christopher Faylor wrote: This is handled in dcrt0.cc:do_exit(). I'm wondering if rxvt is not dealing with the SIGHUP that cygwin should be sending to it on CTRL_CLOSE, though. Well, rxvt *does* respond to SIGHUP: $ ps -eaf # output snipped

Re: Bash process remains after I close rxvt in certain ways

2006-11-13 Thread Luis P Caamano
The problem I've been having for quite a while now may or may not be related to this but it's indeed similar. I start XWin from a batch file that also starts a gnome-terminal. I always have to kill the gnome-pty-helper.exe process in order to be able to open more terminals. The point where it h

Re: Bash process remains after I close rxvt in certain ways

2006-11-13 Thread Christopher Faylor
On Mon, Nov 13, 2006 at 03:18:56PM +, Eric Blake wrote: >Charles Wilson cwilson.fastmail.fm> writes: > >> Or what *should* be happening. >> >> So, I think that in src/command.c, right before exit() is called, rxvt >> ought to kill its children -- except I thought exit() should do that >> al

Re: Bash process remains after I close rxvt in certain ways

2006-11-13 Thread Eric Blake
Charles Wilson cwilson.fastmail.fm> writes: > Or what *should* be happening. > > So, I think that in src/command.c, right before exit() is called, rxvt > ought to kill its children -- except I thought exit() should do that > already? http://www.opengroup.org/onlinepubs/009695399/functions/exi

Re: Bash process remains after I close rxvt in certain ways

2006-11-13 Thread Charles Wilson
Eric Blake wrote: So far, no one has found a good way for a cygwin process killed by Alt-F4 (or the X button) to treat that as a SIGHUP and pass that information on to all of its children processes. So, by killing rxvt abruptly, you are indeed stranding bash as a zombie process. Actually, I t

Re: Bash process remains after I close rxvt in certain ways

2006-11-13 Thread Christopher Faylor
On Mon, Nov 13, 2006 at 08:15:15AM -0500, Igor Peshansky wrote: >On Mon, 13 Nov 2006, Eric Blake wrote: > >> According to Eric Lilja on 11/12/2006 12:52 PM: >> > I recently upgraded to a dual core machine which made me use the windows >> > task manager alot. That's when I noticed that if I close th

Re: Bash process remains after I close rxvt in certain ways

2006-11-13 Thread Igor Peshansky
On Mon, 13 Nov 2006, Eric Blake wrote: > According to Eric Lilja on 11/12/2006 12:52 PM: > > I recently upgraded to a dual core machine which made me use the windows > > task manager alot. That's when I noticed that if I close the rxvt window > > by pressing 'x' in the top right corner (or doing a

Re: Bash process remains after I close rxvt in certain ways

2006-11-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Lilja on 11/12/2006 12:52 PM: > I recently upgraded to a dual core machine which made me use the windows > task manager alot. That's when I noticed that if I close the rxvt window > by pressing 'x' in the top right corner (or doing al

Re: Bash process remains after I close rxvt in certain ways

2006-11-13 Thread René Berber
Eric Lilja wrote: [snip] > Ok, no replies yet. I understand if people don't have the > solution/explanation at hand, but maybe someone else could try my rxvt > shortcut and say if he or she is seeing the same problem as I am? Yes, I can see the same problem if I close the window using the button.

Re: Bash process remains after I close rxvt in certain ways

2006-11-13 Thread Eric Lilja
Eric Lilja skrev: Hello, I never open the default cygwin "command window" anymore. Instead I use rxvt (a program I was introduced to after using cygwin for more than a year and I immediately fell in love with it). In my quicklaunch bar I have the following rxvt shortcut: C:\cygwin\bin\rxvt.exe

Bash process remains after I close rxvt in certain ways

2006-11-12 Thread Eric Lilja
Hello, I never open the default cygwin "command window" anymore. Instead I use rxvt (a program I was introduced to after using cygwin for more than a year and I immediately fell in love with it). In my quicklaunch bar I have the following rxvt shortcut: C:\cygwin\bin\rxvt.exe -tn rxvt-cygwin-nat