Questions about Berkeley job control
Kenneth Almquist
ka at hou3c.UUCP
Sat Oct 20 04:23:22 AEST 1984
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
More information about the Comp.unix
mailing list