[net.unix] Questions about Berkeley job control

ka@hou3c.UUCP (Kenneth Almquist) (10/19/84)

First, I have a program that forks off a child and then exits.  This
allows the user to do something else while the program finishes.  I call
signal to cause the program to ignore SIGTSTP so that the user won't
accidentally stop it.  Is this the right approach?  Do I have to call
sigset instead of signal if I want my program to work under 4.1 BSD?

I have another program that catches hangup signals.  However, if the
user stops the program and then hangs up the terminal, my program appears
to go away without executing the hangup signal processing routine.  Is
it possible for a stopped job to trap hangup signals?
				Kenneth Almquist