Bourne Shell Programming Question

Bob McGowen x4312 dept208 bob at wyse.wyse.com
Thu Aug 9 02:42:09 AEST 1990


In article <24049 at uflorida.cis.ufl.EDU> ys at beach.cis.ufl.edu () writes:
---lines deleted---

  >After showing one image, I want to kill that process and continue the loop.
  >Does anyone know the way to do it in Bourne Shell?
Perhaps the following code fragment will help:

   # top of your loop
   .
   .
   .
   "xview function here" &  # put the display program in the background
   sleed xxx		    # sleep number of seconds you want to
			    # display the image
   kill $!		    # kill the last process put in background
   .
   .
   .
   # end of your loop

I hope this is helpful.

Bob McGowan  (standard disclaimer, these are my own ...)
Product Support, Wyse Technology, San Jose, CA
..!uunet!wyse!bob
bob at wyse.com



More information about the Comp.unix.questions mailing list