home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11119 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.6 KB  |  45 lines

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