Subject: Re: tty0?
To: Jukka Marin <firstname.lastname@example.org>
From: NetBSD <email@example.com.UnB.br>
Date: 06/22/1996 17:38:09
On Sat, 22 Jun 1996, Jukka Marin wrote:
> > This is sort of a religious war; some operating systems keep the state
> > between device closes, others reset it. I see the advantages to each,
> > but I think I prefer the "reset to known state" mode.
> Absolutely. How would dial-in tty lines work at all if someone mangled
> the tty flags and logged off - the flags would stay wrong forever. I
> feel the flags _must_ be reset when the device is closed.
If someone logs-off, won't the carrier detect drop causing a sighup on
processes associated with that tty? getty would then reset the tty
structure to its default values, once it knows how to deal with serial
Doesn't it seem reasonable?