From owner-freebsd-current Wed Sep 10 23:39:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA02047 for current-outgoing; Wed, 10 Sep 1997 23:39:21 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA02039 for ; Wed, 10 Sep 1997 23:39:18 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id QAA29277; Thu, 11 Sep 1997 16:31:15 +1000 Date: Thu, 11 Sep 1997 16:31:15 +1000 From: Bruce Evans Message-Id: <199709110631.QAA29277@godzilla.zeta.org.au> To: ache@nagual.pp.ru, nnd@itfs.nsk.su Subject: Re: PPP - why set CLOCAL for server ('-direct' mode) ? Cc: current@freebsd.org Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> > It not supposed to receive SIGHUP since modem line is not controlling >> > terminal in any case. Carrier detected by TIOCM_CD instead. >> >> ^^^^^^^^^^^^ >> | >> Sorry, but is this (|) really the case when 'ppp -direct' >> was started as a user's shell from getty ? > >Of course, not for -direct mode which suppose just stdin/stdout without >any modem control. >I do not understand one thing: if you use -direct mode, why modem code is >even called? It is a bug indeed. Presumably it needs to monitor carrier even for direct mode. Isn't the only difference for direct mode that getty instead of ppp opens the port? Bruce