setpgrp-problems

ute at ugun13.UUCP ute at ugun13.UUCP
Wed Sep 6 06:25:40 AEST 1989


setpgrp-problems

I have designed an autooperating facility for UNIX-systems. By controlling
some processes, there is a problem in using the function setpgrp.
What I'll need is a function to create a process group in order to send
the leader of the process group via kill a signal and all members of that
group should get the signal.
The effect of the function setpgrp in AT&T-UNIX is also, that the controlling
terminal will be changed by this call.
Some processes, which will check the controlling terminal will fail (like pg).
On the other hand a logout by switching the terminal off will be ignored
(SIGHUP) by the whole process group.



  Rolf Enners

+----------------------------------------------------------------------------+
|                                                                            |
| Nixdorf Computer AG       Phone: +49-5251-10-4672  Fax: +49-5251-10-4672   |
| Bereich DX-LT             UUCP: {uunet!philabs!linus!}nixbur!enners.pad    |
| Heinz Nixdorf Ring              nixntc!enners.pad                          |
| D-4790 Paderborn                {mcvax!}unido!nixpbe!enners.pad            |
|                                                                            |
+----------------------------------------------------------------------------+



More information about the Comp.unix.questions mailing list