Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!lsuc!hcr!larry
From: larry@hcr.UUCP
Newsgroups: comp.unix.wizards
Subject: Re: Setting process groups
Message-ID: <2990@hcr.UUCP>
Date: Wed, 2-Dec-87 10:29:08 EST
Article-I.D.: hcr.2990
Posted: Wed Dec  2 10:29:08 1987
Date-Received: Sat, 5-Dec-87 13:50:45 EST
References: <1765@unc.cs.unc.edu> <910@mcgill-vision.UUCP> <1261@saturn.ucsc.edu> <3134@psuvax1.psu.edu>
Reply-To: larry@hcr.UUCP (Larry Philps)
Organization: HCR Corporation, Toronto
Lines: 18
Summary: 

In article <3134@psuvax1.psu.edu> flee@gondor.psu.edu (Felix Lee) writes:
>SVID setpgrp() doesn't take an argument.  It's equivalent to Berkeleyish
>setpgrp(getpid()).
>--
>Felix Lee	flee@gondor.psu.edu	*!psuvax1!gondor!flee

Actually SVID setpgrp() has an "extra feature" that Berkeley setpgrp(getpid())
does not have - it detaches the process from its controlling terminal.  This
does tend to make it "difficult" to create a pipeline attached to your terminal
but with its own process group.

Larry Philps
HCR Corporation
130 Bloor St. West, 10th floor
Toronto, Ontario
M5S 1N5
(416) 922-1937
{utzoo,utcsri,decvax,ihnp4}!hcr!larry