Subject: Re: uugetty for NetBSD
To: Curt Sampson <firstname.lastname@example.org>
From: Jukka Marin <email@example.com>
Date: 10/30/1996 08:53:17
While you're talking about getty..
I have an enhanced getty (based on the standard NetBSD getty) which has two
new features: It can initialize a modem when getty first starts up and it
can perform a callback operation. Both functions can be enabled with some
new parameters that can be defined in /etc/gettytab. The modem init string
can also be set.
The modem init stuff is required for modems that have no option for locking
the DTE speed (like my supras). When getty starts up, it sends a few AT
commands to the modem, setting the DTE speed properly before a call is
The callback system works like this: The user first logs on and runs a special
'call' command, giving the callback number (by default, the number is taken
from /etc/callback). The number is checked against some rules defined in
/etc/callback (to prevent long-distance or international calls or calls to
911 etc.). Then the user logs out and after a short delay, a new getty is
started on the modem port and this getty calls the user back and he/she can
log on normally again.
I know these things may sound like kludges to you, but they work pretty
well... :-) If either function sounds useful, I'd be happy to share my
code. BTW, my 'cbgetty' works just like the standard one if no extra
options have been defined in /etc/gettytab.
---> http://www.jmp.fi/~jmarin/ <---