Subject: Re: How to get a tty out of SLIP line discipline?
To: None <eeh@netbsd.org>
From: Steve Woodford <steve@mctavish.co.uk>
List: current-users
Date: 05/22/2001 16:05:12
On 22 May 2001 eeh@netbsd.org wrote:

> On 22 May 2001, Steve Woodford wrote:
>>
>> If there are no objections (such as "but this is how it's *supposed* to
>> work, and everyone else does it this way too") I'll commit a change in the
>> next couple of days which will reset things to the default termios(4) line
>> discipline on close(2).
> 
> What do you mean `reset things to the default termios(4) line 
> discipline on close(2)?'  What about devices that require a
> specific line discipline, like the keyboard or mouse line
> disciplines?  Those disciplines are permanent and should never
> be removed.

Hmm, I forgot about the Sun-specific disciplines for keyboard and mouse.

What this really needs is a flag to ttyldisc_add() to specify whether or
not the discipline is sticky. Shouldn't be too hard to do, although it
may require another kernel version bump...

Cheers, Steve