Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!seismo!ukma!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!lll-winken!taco!news!ivan%nepjt From: ivan%nepjt@ncsuvx.ncsu.edu (Ivan Maldonado) Newsgroups: comp.unix.aix Subject: Re: "Exit" from mwm Message-ID: Date: 27 Mar 91 00:43:23 GMT References: <1991Mar26.134746.2573@news.larc.nasa.gov> Sender: news@ncsu.edu (USENET News System) Reply-To: ivan@nepjt.ncsu.edu (Ivan Maldonado) Organization: North Carolina State University, Raleigh Lines: 89 In-Reply-To: jcburt@ipsun.larc.nasa.gov's message of 26 Mar 91 13:47:46 GMT In article <1991Mar26.134746.2573@news.larc.nasa.gov> jcburt@ipsun.larc.nasa.gov (John Burton) writes: > From: jcburt@ipsun.larc.nasa.gov (John Burton) > Newsgroups: comp.unix.aix > Date: 26 Mar 91 13:47:46 GMT > References: > Sender: news@news.larc.nasa.gov (USENET Network News) > Organization: NASA Langley Research Center, Hampton, VA USA > Lines: 65 > In article > ivan@nepjt.ncsu.edu (Ivan Maldonado) writes: > >>In article > >>looi@sutro.SFSU.EDU (W. W. Looi) writes: > >> I'm new to AIX environment. I wonder if there is a way to "elegantly" > >> exit from mwm and return to either login or console screen without > >> resorting to CTRL-ALT-Backspace? I was told that "xstop" will do the > >> job, but I don't seem to be able to locate it. Worst yet, it's not > >> documented anywhere in the manual. *sigh* > > > >Hi, sometime a long time ago somebody showed me how to do what I think > >you need to do. Try the following (I assume you have root privilege): > > > >look for the file /usr/lib/X11/system.mwmrc > > Or as others suggested make your own personal copy $HOME/.mwmrc. > >Within it (near the top) you'll find a section similar to what mine > >looks like: > > > ># > ># menu pane descriptions > ># > > > ># Root Menu Description > >Menu RootMenu > >{ > > "Root Menu" f.title > > no-label f.separator > > "New Window" f.exec "aixterm &" > > "Shuffle Up" f.circle_up > > "Shuffle Down" f.circle_down > > "Refresh" f.refresh > > no-label f.separator > > "Restart..." f.restart > > "Quit" f.quit_mwm > >} > > > >[ rest of file deleted ] > > > >Where you probably need to add that last line "Quit" f.quit_mwm > > > >-Ivan Maldonado > Ivan, > I originally thought that would work also, unfortunately f.quit_mwm > only stops the window manager...you're still in X-windows, you just don't > have MWM running anymore. I think what the orignal poster wants is something > that does the same thing as the CTRL-ALT-BACKSPACE combination. If f.quit_mwm > DOES do that for you, how do you have it set up? (are you disabling CTRL-etc > exit when you start X-windows?). : > So, does anyone know of a way to get out of X-windows *without* using > CTRL-ALT-BACKSPACE ? (i.e. a way that can be setup as a menu item... > I KNOW you can do it with OTHER window managers (TWM)... : > | John Burton | John & Others, The above procedure will work so long you start "X" through the command: open xinit This supposedly sets all the "X" processes under the parent process "mwm", so that the "f.quit_mwm" step will kill all its "X" babies. It works just fine on our risc's.. -Ivan -- ------------------------------------------------------------------------ | Guillermo Ivan Maldonado | Internet: ivan@nepjt.ncsu.edu | | Dept. of Nuclear Engineering | BITNET : maldonado@ncsune | | North Carolina State University |------------------------------------- | NCSU Box # 7909 | ... que viva el ECUADOR!! | | Raleigh. NC 27695-7909 | ..How many jobs ya' got MON!? | ------------------------------------------------------------------------