[comp.unix.microport] Smart getty

ajohnson@killer.UUCP (Andy Johnson) (02/18/88)

First of all,  I am very glad that this newsgroup has become unmoderated as
I got tired of writing messages, just to have them returned to me as
undelivered (to the moderator.)

I was wondering if anyone has given any thought to creating a front
end to getty to be able to use the return code from a Hayes compatible
modem to setup the baud rate of the port?

I run a BBS and most users have no trouble logging into the system at
either 300 or 1200 baud. (getty manages to interpret cr's as "breaks"
at those speeds.)  The real problem is that to cycle to 2400 baud, you
DO have to use a break character.  Some of the users are too stupid
(or their terminal emulators don't have a break character.)

Has anyone come across anything like this?

I tried a while back to play with this, but was thwarted by the fact
that a different getty would need to be created because of the funny
stuff they do to the getty for their limited/unlimited scheme.

Mail would be great; if there is enough response or interest, post
here or mail me and I will summarize.

---------------------------------------------------------------
Andy Johnson
{inhp4!codas}!killer!ajohnson
"Laziness is nothing more than the habit of resting before you get tired."
- Jules Renard

wnp@dcs.UUCP (Wolf N. Paul) (02/18/88)

In article <3383@killer.UUCP> ajohnson@killer.UUCP (Andy Johnson) writes:
 >I was wondering if anyone has given any thought to creating a front
 >end to getty to be able to use the return code from a Hayes compatible
 >modem to setup the baud rate of the port?
 > ...
 >I tried a while back to play with this, but was thwarted by the fact
 >that a different getty would need to be created because of the funny
 >stuff they do to the getty for their limited/unlimited scheme.

In my experience with V/AT 2.3, it will work fine with foreign gettys as long
as you have the unlimited version, and as long as you leave the original
getty on the console.

I have used both uutty (posted a while back to this group), cgetty (available
from the PD area of uport's bbs), and uugetty (available in binary form from
the support286 area of uport's bbs, part of the HDB package).

In fact, the only time the system rejects a foreign getty on the console is
during a reboot. At other times it works just fine.
-- 
Wolf N. Paul                  Phone: (214) 306-9101 (h)   (214) 404-8077 (w)
3387 Sam Rayburn Run          UUCP: ihnp4!killer!{dcs, doulos}!wnp
Carrollton, TX 75007          INTERNET: wnp@dcs.UUCP       ESL:  62832882
Pat Robertson does NOT speak for all evangelical Christians--not for me, anyway!

karl@ddsw1.UUCP (Karl Denninger) (02/22/88)

In article <3383@killer.UUCP> ajohnson@killer.UUCP (Andy Johnson) writes:
>I was wondering if anyone has given any thought to creating a front
>end to getty to be able to use the return code from a Hayes compatible
>modem to setup the baud rate of the port?

That's not going to be reliable, and is a problem as well with dial in/out
lines (CD must be high to receive if you're using Modem control, but it
isn't with SOME modems until AFTER they send the result code.  Gack).

>I run a BBS and most users have no trouble logging into the system at
>either 300 or 1200 baud. (getty manages to interpret cr's as "breaks"
>at those speeds.)  The real problem is that to cycle to 2400 baud, you
>DO have to use a break character.  Some of the users are too stupid
>(or their terminal emulators don't have a break character.)
>
>Has anyone come across anything like this?

Yep -- and we fixed it.  The solution is a replacement getty, as you might
guess.  Once installed, the caller hits <return> and the system determines
the baud rate.  The current version requires only one <return> to do this
unless you have a Trailblazer, in which case it might require 2 <returns>

>I tried a while back to play with this, but was thwarted by the fact
>that a different getty would need to be created because of the funny
>stuff they do to the getty for their limited/unlimited scheme.

We've resolved this problem ;-)

The autobauder comes with all Microport products we ship, no extra charge.

-----
Karl Denninger		       |  Data: +1 312 566-8912
Macro Computer Solutions, Inc. | Voice: +1 312 566-8910
...ihnp4!ddsw1!karl	       | "Quality solutions for work or play"