🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bt.unix
Article #7

Re: process group question

#7
From: Martin Kirk
Date: Fri, 09 Feb 1990 21:30
29 lines
1792 bytes
From article <W566W@masalla.fulcrum.bt.co.uk>, 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"
============================================================================
Technical Details
Message-ID: <1990Feb9.213005.28195@axion.bt.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!axion!news
References: <W566W@masalla.fulcrum.bt.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <W566W@masalla.fulcrum.bt.co.uk>
Sender: news@axion.bt.co.uk
Reply-To: mkirk@zaphod.axion.bt.co.uk
Organization: British Telecom Research Labs
Lines: 29