home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / windows / x / 20159 < prev    next >
Encoding:
Text File  |  1992-12-12  |  2.1 KB  |  54 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!bcstec!aw108!aw45!ten0772
  3. From: ten0772@aw2.fsl.ca.boeing.com (Timothy E. Neto )
  4. Subject: Re: X client that just sits and waits?
  5. Message-ID: <1992Dec12.032847.12529@aw2.fsl.ca.boeing.com>
  6. Organization: fsl
  7. References: <1992Dec9.104532.24382@fwi.uva.nl>
  8. Date: Sat, 12 Dec 1992 03:28:47 GMT
  9. Lines: 43
  10.  
  11. From article <1992Dec9.104532.24382@fwi.uva.nl>, by wijkstra@fwi.uva.nl (Marcel Wijkstra (AIO)):
  12. > Hi,
  13. > I am looking for a very simple (X) program: one that just waits forever
  14. > (until it gets killed). The reason for this is that I want to be able to
  15. > select a different window manager from within the current one, which is
  16. > impossible if 'mwm' is the last program invoked in my .xinitrc (Of course,
  17. > if such an 'xnop' or 'xwait' or whatever it may be called does not exist,
  18. > I can always use some other client as the last one, but then I could never
  19. > kill this one without killing X...)
  20. > Marcel
  21. > P.S. If anybody knows some other way of properly switch ing between 'twm'
  22. > and 'mwm' on both a Sun4 and an RS/6000, I'd be much obliged.
  23. > -- 
  24. >  X       Marcel Wijkstra   AIO   (wijkstra@fwi.uva.nl)
  25. > |X|         Faculty of Mathematics and Computer Science    
  26. >  X           University of Amsterdam   The Netherlands
  27. > ======Life stinks. Fortunately, I've got a cold.========
  28.  
  29. Marcel,
  30.  
  31.     Try this in your transfer option for your menu.
  32.     (I presume you are working in a UNIX environment.)
  33.  
  34.         f.exec switch_window_manager
  35.  
  36.     Where switch_window_manager is a script that kills
  37.     the first window manage then using the Unix utility
  38.     'sleep' or the shell function 'eval' wait for the first
  39.     window manager to die.  Once the first window manager
  40.     is dead, then use the shell function 'exec' to start
  41.     the second window manager.
  42.  
  43.                 Tim..... 10
  44.  
  45. -- 
  46. Indecision is the key to | Timothy E. Neto  (206) 237-5527              1   000
  47. flexibility, & you can't | Of B & T's Gadget & Widget Works             1  0. .0
  48. E-Mail God.              | Flight Systems Lab, Boeing Comm. Aircraft    1  0 _ 0
  49. My ideas not Boeing's    | Internet: ten0772@aw2.fsl.ca.boeing.com      1   000
  50.