home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / openloo / 3538 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.7 KB  |  48 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!chemabs!lwv26
  3. From: lwv26@cas.org (Larry W. Virden)
  4. Subject: Re: How do I delay start of processes started with &
  5. Message-ID: <1992Aug21.113034.1868@cas.org>
  6. Followup-To: comp.windows.open-look
  7. Sender: usenet@cas.org
  8. Reply-To: lvirden@cas.org (Larry W. Virden)
  9. Organization: Nedriv Software and Shoe Shiners, Uninc.
  10. References: <5508@ssc-bee.ssc-vax.boeing.com> <1992Aug20.173952.11701@eliot.uucp> <1992Aug20.184103.11538@u.washington.edu>
  11. Date: Fri, 21 Aug 1992 11:26:50 GMT
  12. Lines: 34
  13.  
  14. In article <1992Aug20.184103.11538@u.washington.edu> sue@byron.u.washington.edu (Shu-Chen Eclipse) writes:
  15. :
  16. :Hi, I have a script that start cmdtool, shelltool, etc using &; I run olwm
  17. :last in the forground. I would like to put a maybe 1 sec or less delaty in the
  18. :excecution of each of the tools so that olwm would get a chance to fire up.
  19. :The problem is a matter of timing. I used to have olwm running with &; the
  20. :widows start up more or less complete, with the border frames, etc. now I
  21. :usually get naked, borderless windows cominig up first, a delay, then the
  22. :frames. I find this be an aesthetically unpleasant sight. I like my windows
  23. o
  24. Go at the problem a bit differently.
  25.  
  26. Use this:
  27.  
  28. #! /bin/sh
  29. olvwm -3d &
  30.  
  31. toolwait cmdtool 
  32.  
  33. toolwait cm
  34.  
  35. wait
  36.  
  37. exit 0
  38.  
  39.  
  40. In this way, you get the window manager up and running first, then you
  41. get the others going off.  Finally, you wait for olvwm to finish before
  42. exiting.
  43. -- 
  44. Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
  45. Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
  46. Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
  47. America Online: lvirden@aol.com
  48.