Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!swrinde!emory!mephisto!ncsuvx!news From: ivan%nefx4@ncsuvx.ncsu.edu (Ivan Maldonado) Newsgroups: comp.unix.aix Subject: Re: RS-6000 (there is an elegant way to kill "X") Message-ID: Date: 15 Sep 90 22:11:06 GMT References: <3511@awdprime.UUCP> <957@nlsun1.oracle.nl> <3523@awdprime.UUCP> Sender: news@ncsuvx.ncsu.edu (USENET News System) Organization: North Carolina State University, Raleigh Lines: 29 In-reply-to: rudy@chukran.austin.ibm.com's message of 14 Sep 90 22:02:08 GMT On 14 Sep 90 22:02:08 GMT, rudy@chukran.austin.ibm.com said: > I just kill mwm with the menu popdown provided. > I startup X with "open xinit". > the last thing in xinitrc is "exec mwm", therefore mwm becomes the > process group > leader for the virtual terminal. When mwm exits, all her children get > a SIGHUP, > including X. No nasty messages about server killed either. Thank you, this works much more neatly. One thing, however, the menu popdown I get (the same one used to open a new window) has a "restart mwm" option, and not a "kill mwm". So I end up using "ps -a" and then "kill PID(mwm)". No "broken pipes" just like you said. -Ivan -- ------------------------------------------------------------------------------ | Guillermo Ivan Maldonado | Internet: ivan%nefx4@ncsuvx.ncsu.edu | | Department of Nuclear Engineering | BITNET : maldonado@ncsune | | North Carolina State University |---------------------------------------- | NCSU Box # 7909 | ... que viva Quito ! | | Raleigh. NC 27606-7909 | ... que viva el ECUADOR !! | ------------------------------------------------------------------------------