This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Shell survives killing xterm
- From: Hans Werner Strube <strube at physik3 dot gwdg dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 20 Mar 2002 16:40:45 +0100 (MET)
- Subject: Re: Shell survives killing xterm
> From strube Mon Mar 18 11:27:45 2002
>
> When an xterm (running bash) is killed, e.g. by twm menu or by exiting the
> xinitrc, the bash survives in the background with PPID 1 and has to be killed
> manually with kill -HUP. The only way to exit xterm neatly seems to be
> calling "exit" in its shell. This is very annoying. Is there a workaround?
> As the man page of bash says SIGTERM and SIGQUIT are ignored by an
> interactive bash, I tried setting
> trap "exit 0" TERM QUIT
> in .bashrc, but without success.
The same happens with tcsh.