Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!hplabs!sdcrdcf!doon From: doon@sdcrdcf.UUCP (Harry W. Reed) Newsgroups: net.unix,net.unix-wizards Subject: Re: P1003 System V compatible BSD-style job control Message-ID: <3008@sdcrdcf.UUCP> Date: Sun, 14-Sep-86 02:13:36 EDT Article-I.D.: sdcrdcf.3008 Posted: Sun Sep 14 02:13:36 1986 Date-Received: Tue, 16-Sep-86 06:48:13 EDT References: <2385@hcrvx2.UUCP> <1435@hpda.UUCP> Reply-To: doon@sdcrdcf.UUCP (Harry W. Reed) Organization: System Development Corporation R&D, Santa Monica Lines: 28 Xref: mnetor net.unix:5499 net.unix-wizards:7881 In article <1435@hpda.UUCP> davel@hpda.UUCP (Dave Lennert) writes: >In article <2385@hcrvx2.UUCP> jimr@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