Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!linus!decvax!harpo!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.unix-wizards,net.dcom Subject: Re: autobauding on UNIX? Message-ID: <3983@umcp-cs.UUCP> Date: Mon, 21-Nov-83 22:52:52 EST Article-I.D.: umcp-cs.3983 Posted: Mon Nov 21 22:52:52 1983 Date-Received: Wed, 23-Nov-83 20:48:30 EST References: <710@ulysses.UUCP> Organization: Univ. of Maryland, Computer Science Dept. Lines: 17 We do it all the time. I believe I posted our version of getty.c to net.sources. It reads yet another /etc/tty table ("/etc/tty.init" -- maybe I should have called it "/etc/tty.getty"?) instead of having the table hard-coded, and has an auto-baud routine written by Fred Blonder. The basic idea is to look at a carriage return at 2400 baud, and, based on the resultant bit pattern, guess the real tty speed. Works pretty well. I suppose I can re-post it if enought people are interested. Chris -- In-Real-Life: Chris Torek, Univ of MD Comp Sci UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris.umcp-cs@CSNet-Relay