home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10435 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.5 KB

  1. Path: sparky!uunet!ogicse!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!wyvern
  2. From: wyvern@hal.gnu.ai.mit.edu (The Wyvern)
  3. Newsgroups: comp.os.linux
  4. Subject: Xlinux8514 and Exit difficulties
  5. Summary: Temporary fix
  6. Keywords: shellscript hack
  7. Message-ID: <1992Sep11.034514.7295@mintaka.lcs.mit.edu>
  8. Date: 11 Sep 92 03:45:14 GMT
  9. Article-I.D.: mintaka.1992Sep11.034514.7295
  10. Sender: news@mintaka.lcs.mit.edu
  11. Organization: Free Software Foundation
  12. Lines: 19
  13.  
  14. I've also been having problems when attempting to exit X8514 when using the
  15. wm Exit or Quit options. Rather than relying on Ctrl-Alt-Bkspc I replaced
  16. the 'f.quit' in my twmrc (And did a similar thing for .openwin-menu for olvwm)
  17. with /bin/sh /home/user1/exitX (or something similar).
  18. In the exitX file I stuck the simple line
  19. ps -a | grep twm | grep -v grep | cut -c1-5 | xargs kill
  20.  
  21. If you're using olvwm or gwm, just change the twm above to your wm name.
  22. It's possible you may need to mess with the cut settings, but that's always
  23. done it for me. This tends to produce a nicer exit than C-A-B. I know it's
  24. crude, but I just thought I'd give people who hate C-A-B a temporary fix.
  25.  
  26. Incidentally, this lockup doesn't always occur exclusively upon attempted
  27. exit. I've often been running, say, x11perf, and at times, if I hit Ctrl-C
  28. in the xterm where it's running, X locks up and I have to do a cold boot.
  29. Curiously enough the HUP signal seems to produce this effect with surprising
  30. regularity, which is why I stick with SIGTERM in the exitX line.
  31.  
  32. Anyway, luck all, and thanks Kevin!
  33.