Subject: Re: Dial-in and Dial-out tty's
To: None <firstname.lastname@example.org>
From: Gordon W. Ross <email@example.com>
Date: 04/10/1996 12:51:51
> From: firstname.lastname@example.org (Bill Studenmund)
> Date: Tue, 9 Apr 1996 23:36:53 -0700 (PDT)
> I want to give the mac68k serial drivers support for dial-in and
> dial-out use of modems a la SunOS, and wanted to bounce my ideas off
> y'all (so that we don't end up with different ports doing incompatable
That support would be interesting, however there is some disagreement
over how it should be done. There may be a general way to support
that in a module common to several tty drivers.
> What SunOS does [...]
> To do this seems fairly simple.
One thing I've thought may help this is to manage TWO tty structs
(each line does two ttymalloc() calls) which allows the dial-out
and dial-in (getty) processes to each block on their own tty.
The other per-line code then needs a "mode bit" or pointer to
the current tty (in or out) so it talks to the right one.