This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]