Subject: Re: Dial-in and Dial-out tty's
To: None <email@example.com>
From: Gordon W. Ross <firstname.lastname@example.org>
Date: 04/10/1996 12:51:51
> From: email@example.com (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.