Subject: Re: getty/modem issue
To: John Hawkinson <jhawk@MIT.EDU>
From: Frederick Bruckman <fb@enteract.com>
List: tech-misc
Date: 09/30/2000 13:01:34
On Sat, 30 Sep 2000, John Hawkinson wrote:

> | In any case, the delay should be conditional on CLOCAL not being set,
> | since there's obviously not a problem with non-modem connections. I
> | would also venture to guess that 1/4 second or 1/2 second delay would
> | work for all modem types.
> 
> Isn't the correct fix to set CLOCAL until dialing is complete?

Could be. The following should set clocal while issuing messages:

Add to /etc/gettytab...

modem.9600|Dial In Modem 9600bps:\
        :sp#9600:c0#cb00:
modem.19200|Dial In Modem 19200bps:\
        :sp#19200:c0#cb00:
modem.38400|Dial In Modem 38400bps:\
        :sp#38400:c0#cb00:
modem.57600|Dial In Modem 57600bps:\
        :sp#57600:c0#cb00:
modem.115200|Dial In Modem 115200bps:\
        :sp#115200:c0#cb00:

then set the argument to getty in /etc/ttys to modem.<speed>.


Frederick