Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site oliveb.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!oliveb!jerry From: jerry@oliveb.UUCP (Jerry Aguirre) Newsgroups: net.bugs.4bsd Subject: Re: Login Problem (250' RS-232 Lines) Message-ID: <604@oliveb.UUCP> Date: Mon, 23-Sep-85 19:28:05 EDT Article-I.D.: oliveb.604 Posted: Mon Sep 23 19:28:05 1985 Date-Received: Tue, 24-Sep-85 23:45:22 EDT References: <132@ndsuvax.UUCP> Organization: Olivetti ATC; Cupertino, Ca Lines: 32 > We are having some trouble with long (250') terminal lines. When the system > is booted the login message is sent out each line. If the terminal on one of > these long lines is turned off, there is an echo on the line that is interp- > reted as a login name. After 60 seconds login times out and sends a new login > message causing the sequence to repeat. Considerable CPU time can be wasted > if several lines are doing this at one time. > Dan Kary > North Dakota State University With all the responses about time delays and pull-down resistors I am supprised that no one offered the most obvious sollution. Connect the modem control signals. If you connect the Data Terminal Ready (DTR) of the terminal to the Data Set Ready (DSR) of the computer port, then the getty will not send login messages to terminals that are turned off. Nor will it listen to garbage on the line. It only takes one more wire to implement this most basic of controls and there are several benifits. - The init will hang on open to a line without DSR. Not only does this save an exec of getty for unconnected lines, but it becomes possible to distinguish from the ps display whether there is a terminal connected to that line. - When a user powers off his terminal at the end of the day then he is automatically logged out. Also handy when you hang your port and need to restart from login. Three second timeouts! Pull down resistors! Comon people, get real. Jerry Aguirre @ Olivetti ATC {hplabs|fortune|idi|ihnp4|tolerant|allegra|tymix|olhqma}!oliveb!jerry