home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sgi / 16147 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  944 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!agate!doc.ic.ac.uk!uknet!warwick!warwick!not-for-mail
  2. From: esrma@csv.warwick.ac.uk (Mr P M Jones)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Logging out under 4.0.5
  5. Message-ID: <1dl9meINN44v@violet.csv.warwick.ac.uk>
  6. Date: 9 Nov 92 09:06:22 GMT
  7. References: <1992Nov5.112619.18506@uts.uni-c.dk> <1992Nov6.134211.4858@news.yale.edu>
  8. Organization: Computing Services, University of Warwick, UK
  9. Lines: 12
  10. NNTP-Posting-Host: violet.csv.warwick.ac.uk
  11.  
  12. I have created a file in /usr/bin/X11 which people can
  13. put into their .4Dwmrc files called terminatesession which avoids
  14. the confirmation question.  By the time the user is confident enough
  15. to feel safe with this he knows enough about the customisation to
  16. use it.
  17.  
  18.  
  19. #!/bin/sh
  20. if [ $DISPLAY ]; then
  21.         /usr/bin/X11/xprop -display $DISPLAY -root -remove _SGI_SESSION_PROPERTYelse
  22.     echo 'terminatesession: $DISPLAY not defined'
  23. fi
  24.