[comp.sys.sun] Autobauding tty lines

jester@ihlpl.att.com (Conty) (05/25/89)

I have a Sun 3/60 running SunOs 4.0, and I'd like to set an incoming
autobauding tty line.  I made the following entry in /etc/gettytab:

	M|Modem|Modem-Autobaud:\
		:ab:sp#1200:

and this entry in /etc/ttytab:

	ttya	"/usr/etc/getty Modem"		dialup		on secure

where ttya is the line I want to autobaud.  The problem is that the
autobauding doesn't seem to work!  The line gets set to 1200 baud
regardless of the speed of the modem or terminal connected to it.

Do you have any other ideas on how to implement this?

Thanks,
E. Conty
AT&T Bell Labs
 
Enrique Conty (a.k.a. the Jester)		ARPA:	jester@ihlpl.ATT.COM
5885 Forest View Rd. #709, Lisle, Il. 60532	UUCP:	..!att!ihlpl!jester
Disclaimer: The Jester did it.
Quote of the Month:  "Be firm, fly low, and stay cool."

ted@ames.arc.nasa.gov (Ted Schroeder) (06/09/89)

It is my impression that autobauding on Suns is basically impossible
because the proper lines aren't failsafed and so you see random junk on
the ports often enough to send the autobaud algorithms crazy.

It's been a long time since I dealt with this, but I remember some Sun
3/280s that we had at a previous company that would get CPU bound if we
left long RS232 lines dangling (i.e. not connected to some other box
somewhere).  It seems like this can be solved by using appropriate
tie-down resistors or something, but don't ask me for details I'm just a
SW weanie.

      Ted Schroeder                   ted@Ultra.com
      Ultra Network Technologies      ...!ames!ultra!ted
      101 Daggett Drive           
      San Jose, CA 95134          
      408-922-0100

Disclaimer:  I don't even believe what I say, why should my company?