Subject: Re: How to get a tty out of SLIP line discipline?
To: Steve Woodford <email@example.com>
From: Olaf Seibert <firstname.lastname@example.org>
Date: 05/22/2001 17:14:36
On Tue 22 May 2001 at 09:53:32 +0100, Steve Woodford wrote:
> On Tue, 22 May 2001, Matthias Scheler wrote:
> > In article <20010518123846.B29306@polderland.nl>,
> > Olaf Seibert <email@example.com> writes:
> > > I finally rebooted, but there must be a better way?
> > You could try ttyflags(8).
> That doesn't solve the problem of `sticky' line disciplines (which I also
> noticed recently while working on a pet line-discipline-(ab)using project).
> IMHO, the original poster is correct in that there should be a Better Way.
Especially since the documentation for stty suggests that it can change
the line discipline, but apparently doesn't. Looking at ttyflags(8), I
can't even find any suggestion of that.
> 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).
That might be a bit overkill, at least if I could get the same effect
Which makes me thing that at least for symmetry, one should be able to
use stty to set the line discipline to slip, ppp, and whatever else
there is, as well.
> Cheers, Steve
___ Olaf 'Rhialto' Seibert - rhialto@polder --Soep van de dag, wat zal dat zijn
\X/ land.nl --wat kan dat wezen, beter maar het ergste vrezen -Boy Bensdorp