Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!think!ames!lll-tis!ptsfa!ihnp4!chinet!john From: john@chinet.UUCP (John Mundt) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: Baud-sensing 'getty' Message-ID: <1675@chinet.UUCP> Date: Sat, 3-Oct-87 22:44:05 EDT Article-I.D.: chinet.1675 Posted: Sat Oct 3 22:44:05 1987 Date-Received: Wed, 7-Oct-87 03:22:14 EDT References: <7440@steinmetz.steinmetz.UUCP> <267@usl> Reply-To: john@chinet.UUCP (John Mundt) Organization: Chinet - Public Access Unix Lines: 33 Xref: mnetor comp.unix.wizards:4669 comp.unix.questions:4387 In article <267@usl> elg@usl (Eric Lee Green) writes: >in article <7440@steinmetz.steinmetz.UUCP>, davidsen@steinmetz.steinmetz.UUCP (William E. Davidsen Jr) says: >> In article <467@devon.UUCP> paul@devon.UUCP (Paul Sutcliffe Jr.) writes: >> |In article <1336@dasys1.UUCP> manes@dasys1.UUCP (Steve Manes) writes: >> |> Does anyone have, or has anyone played with writing, a getty that >> |> eliminates tty users having to cycle through gettydefs with a hardware >> |> break? My system will soon be traveled by folks who won't have a clue >> > >[various ideas about using CRs for auto-bauding, using CRs for > cycling thru baud rates, etc.] >-- >Eric Green elg@usl.CSNET from BEYOND nowhere: >{ihnp4,cbosgd}!killer!elg, P.O. Box 92191, Lafayette, LA 70509 >{akgua,killer}!usl!elg "there's someone in my head, but it's not me..." I hacked getty to wait on CR's sent to it before it output anything, and it works fine. The only problem, of course, is getting the users to bang away at the return key until the modem cycles to the right speed. Not to hard to program, since you just put it in a loop where it listens for two characters and if neither are carriage returns, it moves to the next speed. The important part is to keep getty from outputting the login message until the right speed has been established. Failure to do this tends to lock the receiving terminal because it interprets the incoming garbage as being legitimate screen control codes. My WYSE50 is especially guilty of this. John Mundt Teachers Aide, Inc. !ihnp4!chinet!teachad!fred --------------------------- My opinions reflect that of the company 'cause I *OWN* it!