Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!axion!news From: mkirk@zaphod.axion.bt.co.uk (Martin Kirk) Newsgroups: bt.unix,bt.general,comp.unix.questions Subject: Re: process group question Message-ID: <1990Feb9.213005.28195@axion.bt.co.uk> Date: 9 Feb 90 21:30:05 GMT References: Sender: news@axion.bt.co.uk Reply-To: mkirk@zaphod.axion.bt.co.uk Organization: British Telecom Research Labs Lines: 29 From article , by tjo@its.bt.co.uk (Tim Oldham): > > Note that the ioctl to (dis)associate the processes with the terminal > is TIOCSPGRP - you do the (dis)association on a process group, not > on a process. > > Tim. To include from termio.4 under SunOS4.0.1: The controlling terminal is inherited by a child process during a fork(2). A process relinquishes its control termi- nal when it changes its process group using setpgrp(2V) or when it issues a TIOCNOTTY ioctl(2) call on a file descrip- tor created by opening the file /dev/tty. This is a hybrid of the BSD and System V functionality. MArtin ============================================================================ E-Mail: MKirk@axion.bt.co.uk (...mcvax!ukc!axion!mkirk) Organisation: British Telecom Research Laboratories (RT3134) Snail Mail: BTRL, Rm 306A SSTF, Martlesham Heath, IPSWICH IP5 7RE, UK Telephone: +44 473 642518 Fax: +44 473 643019 Quote: "It has been stated somewhere that men can be divided into two classes - those who can and those who can not stop a dog fight." "Bulldog Drummond at Bay" by "Sapper" ============================================================================