home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!mips!odin!fido!zola!jellotrees!joel
- From: joel@jellotrees.esd.sgi.com (Joel Tesler)
- Subject: Re: toochest problem
- Message-ID: <nj03rbs@zola.esd.sgi.com>
- Sender: news@zola.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <1992Jul21.145719.7256@cid.aes.doe.CA>
- Date: Tue, 21 Jul 92 16:25:25 GMT
- Lines: 33
-
-
- > Problem with 'toolchest'. It does not know about quit_mwm.
- > ...
-
- Toolchest is indeed a separate program, not a part of the window
- manager. If you use 4Dwm, you can use the tellwm command which uses
- an additional protocol to tell the window manager to exit. However,
- since mwm is standard OSF code, it does not have this capability, and
- the only way to tell it to exit is to put the f.quit_mwm command in
- the mwm window. An ugly alternative is to put f.exec /etc/killall mwm
- in your toolchest file, however, that kills it rather abruptly, as
- well as killing any other mwms that you happen to be running from that
- machine (e.g. to another display).
-
- Regarding endsession, not working, I believe that there is a bug
- whereby endsession fails if your hostname ends with a number. If you
- don't want to set DISPLAY to :0, you can modify the endsession script.
- Change the line
-
- PROP_DISPLAY=`expr $DISPLAY : '\(.*\).[1-9]' \| $DISPLAY`
-
- to
-
- PROP_DISPLAY=`expr $DISPLAY : '\(.*\)\.[1-9]' \| $DISPLAY`
-
- Note the added \ before the .[1-9]
-
- That should fix your problem. (Unofficial fix, all the disclaimers,
- etc.)
-
- Joel Tesler
- joel@sgi.com
- 415-390-3048
-