P1003 System V compatible BSD-style job control

Harry W. Reed doon at sdcrdcf.UUCP
Sun Sep 14 16:13:36 AEST 1986


In article <1435 at hpda.UUCP> davel at hpda.UUCP (Dave Lennert) writes:
>In article <2385 at hcrvx2.UUCP> jimr at hcrvx2.UUCP (Jim Robinson) writes:
>
>> I recently looked at the IEEE proposal to the P1003 committee on UNIX 
>> with the terminal. (BSD uses an ioctl). The one system call that I thought
>> might do this 'setpgrp2' quite clearly says that this "function does not
>> affect the process's terminal affiliation".
>
>In the P1003 proposal, setpgrp2() can change the process group (p_pgrp)
>associated with a process, either the calling process or another.  (It
>is basically bsd's setpgrp() with some extra security.)  This does not
>effect whether the process has a controlling terminal (i.e., it does not
>alter u_ttyp); unlike System V's setpgrp() which disassociates the
>calling process from its controlling terminal.
>
>Also, the termios P1003 proposal contains the specification for the
>TIOCSPGRP ioctl() which is necessary for job control.  TIOCSPGRP alters
>what the tty group ID is for a terminal.  (Again, it is basically from
>bsd with some extra security.)  This effects which processes receive


I've been reading my copy of the P1003 proposal and I can't find any reference
to setpgrp2(). The one I have was issued in April '86. Has there been a 
later release? And I missing something?


	Thanks,
	Harry Reed



More information about the Comp.unix.wizards mailing list