Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <19970312223325.PX15962@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.95q.970312114618.674A-100000@nagual.ru>; from ??????????????? on Mar 12, 1997 11:47:18 %2B0300
References:  <19970311234832.KY35137@uriah.heep.sax.de> <Pine.BSF.3.95q.970312114618.674A-100000@nagual.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970312223325.PX15962>