Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!van-bc!twg!bill From: bill@twg.bc.ca (Bill Irwin) Newsgroups: comp.unix.sysv386 Subject: Re: getty/uugetty -- what is the difference, really? Message-ID: <1981@twg.bc.ca> Date: 8 May 91 21:17:54 GMT References: <1991Apr16.003506.3937@shambala.uucp> <1991Apr17.130247.13241@virtech.uucp> <831@tiamat.fsc.com> <1991May3.131122.29675@cbnewsl.att.com> Reply-To: bill@twg.bc.ca (Bill Irwin) Distribution: na Organization: The Westrheim Group, Vancouver, B.C., Canada Lines: 40 urban@cbnewsl.att.com (john.urban) writes: : Another difference is that getty displays the Login prompt immediately where : as uugetty waits for some kind of input (carriage return or similar) before : displaying the the Login prompt. : This keeps two computers connected directly from spitting Login: Password: : back and fourth all day. From what I have read, putting the flag "-r" at the end of the inittab line is what tells uugetty to wait for before displaying the Login: prompt. Leaving this flag off while make uugetty display the prompt immediately. Uugetty waits for carrier detect (CD) to go positive on the port, indicating that the modem just answered an incoming call. Until then, the "real" part of getty (the part that displays the Login: prompt) isn't even running on that port. Do a "ps -ft ttyxx" and watch no getty process appear, as they do with normal ports using getty. When uugetty sees CD, it then spawns the process that displays the Login:, which is why it appears automatically just after your modems connect, unless you have set the "-r" flag in which case it waits for . It may be DSR that uugetty looks for, I'm not positive. But I do know that the signal is not positive until the modem connects with another modem. You can screw this up by configuring your modem to force CD/DSR on all the time, such that uugetty keeps the port open and UUCP locked and UUCP will not be able to dial out because it thinks there is a login on the port. : John Urban : att!attunix!jbu -- Bill Irwin - The Westrheim Group - Vancouver, BC, Canada ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uunet!van-bc!twg!bill (604) 431-9600 (voice) | Your Computer bill@twg.bc.ca (604) 430-4329 (fax) | Systems Partner