From owner-freebsd-current Wed Mar 12 14:00:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA14117 for current-outgoing; Wed, 12 Mar 1997 14:00:25 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA13903 for ; Wed, 12 Mar 1997 13:57:41 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA13662 for current@freebsd.org; Wed, 12 Mar 1997 22:57:37 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id WAA09813; Wed, 12 Mar 1997 22:33:25 +0100 (MET) Message-ID: <19970312223325.PX15962@uriah.heep.sax.de> Date: Wed, 12 Mar 1997 22:33:25 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: current@freebsd.org (FreeBSD-current) Subject: Re: ppp & signals pending References: <19970311234832.KY35137@uriah.heep.sax.de> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from ??????????????? on Mar 12, 1997 11:47:18 +0300 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Andrey wrote: > > Acquiring a controlling tty different from the current one is only > > possible by allocating a new session first (setsid()), which is only > > possible by forking first. Thus, only a true daemon can do it. > > IIJPPP doesn't always want to be a true daemon. > > It does fork/setsid, but not change controlling terminal to modem (CTTY). It doesn't always fork/setsid. If you call it ``ppp somesite'', without any flags, it stays in the foreground, and makes heavy use of its controlling tty. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)