Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!mips!wyse!bob From: bob@wyse.wyse.com (Bob McGowen x4312 dept208) Newsgroups: comp.unix.questions Subject: Re: Bourne Shell Programming Question Keywords: PID, kill Message-ID: <2840@wyse.wyse.com> Date: 8 Aug 90 16:42:09 GMT References: <24049@uflorida.cis.ufl.EDU> Sender: news@wyse.wyse.com Reply-To: bob@wyse.UUCP (Bob McGowen x4312 dept208) Distribution: usa Organization: Wyse Technology Lines: 26 In article <24049@uflorida.cis.ufl.EDU> ys@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@wyse.com