Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 1997 09:17:24 +0400 (MSD)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        nnd@itfs.nsk.su
Cc:        current@FreeBSD.ORG
Subject:   Re: PPP - why set CLOCAL for server ('-direct' mode) ?
Message-ID:  <Pine.BSF.3.96.970911091443.523B-100000@nagual.pp.ru>
In-Reply-To: <5v7qoq$4ne@news.itfs.nsk.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 Sep 1997 nnd@itfs.nsk.su wrote:

> Андрей Чернов <ache@nagual.pp.ru> 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
<ache@null.net>
http://www.nagual.pp.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970911091443.523B-100000>