[comp.windows.x] xterm X11 menu, Quit selection

val@ora.UUCP (Valerie Quercia) (04/21/89)

On the xterm X11 menu, how does the new selection 'Quit' differ from
the old (and still available) selection 'Kill program'?  They appear
to perform the same function.  Perhaps they send different signals. 'Kill
program' sends a SIGKILL signal.  What does 'Quit' send?

Thanks in advance.


-- 
Val Quercia (617) 354-5800 
O'Reilly & Associates, Inc., Publishers of Nutshell Handbooks
90 Sherman Street, Cambridge, MA 02140
UUCP:	uunet!ora!val      ARPA:   val@ora.uu.net

jim@EXPO.LCS.MIT.EDU (05/05/89)

> On the xterm X11 menu, how does the new selection 'Quit' differ from
> the old (and still available) selection 'Kill program'?

"Kill program" just sends the subprogram a SIGKILL signal.  If the subprogram
isn't wedged in a kernel wait, it will die and then xterm will catch the 
process death and shutdown.  "Quit" sends the subprogram a SIGHUP and then
exits.  It is a kinder and gentler way of forcing a shutdown.