From owner-freebsd-current Wed Sep 10 22:17:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA27171 for current-outgoing; Wed, 10 Sep 1997 22:17:46 -0700 (PDT) Received: from nagual.pp.ru (ache@ache.relcom.ru [194.58.229.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA27162 for ; Wed, 10 Sep 1997 22:17:37 -0700 (PDT) Received: (from ache@localhost) by nagual.pp.ru (8.8.7/8.8.5) id JAA00540; Thu, 11 Sep 1997 09:17:27 +0400 (MSD) Date: Thu, 11 Sep 1997 09:17:24 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: nnd@itfs.nsk.su cc: current@FreeBSD.ORG Subject: Re: PPP - why set CLOCAL for server ('-direct' mode) ? In-Reply-To: <5v7qoq$4ne@news.itfs.nsk.su> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=KOI8-R Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 11 Sep 1997 nnd@itfs.nsk.su wrote: > Андрей Чернов wrote: > > On 10 Sep 1997 nnd@itfs.nsk.su wrote: > > > > (from small script setted as as user's shell) > > > then it sets 'CLOCAL' flag for modem and > > > as a result 'ppp' process does'nt received 'SIGHUP' > > > on modem's carrier drop. > > > 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. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/