Signals

Pete Keleher pete at titan.titan.rice.edu
Wed Feb 8 04:05:30 AEST 1989


I'm trying to write a simple implementation of an Unix shell to be used as a 
lab in a class, but I'm having problems handling ^Z. 

I install a handler for SIGTSTP via 'signal' and then send SIGSTOP to the
proper child via 'kill'. 'ps' says at this point the child is stopped and
soon swaps out. The parent is marked as sleeping. A 'printf' call followed
by a fflusch call immediately follows the 'kill', but it never happens.

Clues? Comments?

--pete
--

===========================================================================
Pete Keleher										pete at titan.rice.edu

Rice University knows nuttin about what I say, or what I do ...
===========================================================================



More information about the Comp.unix.questions mailing list