Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2000 04:04:57 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Nick Sayer <nsayer@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/libexec/getty gettytab.5 gettytab.h init.c main.c
Message-ID:  <Pine.BSF.4.21.0008170336170.4909-100000@besplex.bde.org>
In-Reply-To: <200008091004.LAA00967@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
A week ago, on Wed, 9 Aug 2000, Brian Somers wrote:

> Isn't this achieved by using the cuaa device rather than the ttyd 
> device ?
> 
> > nsayer      2000/07/31 16:47:58 PDT
> > 
> >   Modified files:
> >     libexec/getty        gettytab.5 gettytab.h init.c main.c 
> >   Log:
> >   Add 'nc' flag to gettytab -- no carrier. Forces non-blocking open and
> >   setting of CLOCAL. Necessary for 3 wire RS-232 setups with dumb
> >   terminals.

It is, at least for sio devices, but programs that deal with opening
connections should handle things related to carrier directly.

It can also be achieved by locking CLOCAL so that getty can't meddle with
it if it is set initially.

I think bidirectional serial devices are rarely needed now, and support
for them should be dropped.  Most people dialing out use ppp and want
it to stay up 24x7 :-).  Other features of the cua devices can easily
be programmed into the initial state of the tty devices.

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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