Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!samsung!usc!orion.oac.uci.edu!ucivax!gateway From: jns@fernwood.mpk.ca.US (Jerry Sweet) Newsgroups: comp.sys.mips Subject: Re: uugetty and /usr/spool/locks (another try) Message-ID: <9101150643.AA26295@fernwood.mpk.ca.us> Date: 15 Jan 91 06:49:33 GMT Lines: 55 In-Reply-To: Your message of 15 Jan 91 00:59:50 +0000. I made another attempt to make uugetty do its step-aside thing, using a different modem, a Telebit T1600 this time. Using the RS232 breakout box, I verified that the behavior of DCD is correct: the modem only turns on DCD when there is actually carrier present. Unfortunately, uugetty is still exhibiting the same behavior: it won't step aside either for kermit or for tip. Tip reports "all ports busy". Kermit just sits there when you try to "set line". When I disable uugetty on the port, kermit and tip are able to get through with no trouble. Uugetty otherwise exhibits exemplary standard getty behavior vis a vis login when it's enabled. If another experiment is suggested that might make uugetty do the right thing, I'll give it a try. (I haven't yet tried using the RISC/os 4.30 version of uugetty, as Laurence Yaffe suggested in his response to me in comp.sys.mips.) Here's the setup (some recap): This is being run on an RS3230 with RISC/os 4.51. The modem (DCE) is connected via a MIPS-supplied "RJ45"(*)-to-DB25 cable to a MIPS-supplied 16-port DigiBoard (DTE). The T1600 is set to run with proper DCD behavior (&C1 - assert DCD only when carrier is actually present) and to use RTS/CTS hardware flow control (S58=2, S68=255). The gettydef line being used with the inittab entry is: tbplus.19200# B19200 RTSCTS HUPCL # B19200 SANE RTSCTS TAB3 HUPCL #\r\n\nlogin: #tbplus.19200 Based on my reading of termio(7) and gettydefs(4), I believe that the absence of CLOCAL here is equivalent to stty -clocal, unless SANE turns it on. (What exactly does SANE turn on and off, anyway?) The inittab line is: d0:234:respawn:/usr/lib/uucp/uugetty -r -t 60 ttyd0 tbplus.19200 none LDISC2 ;# TB+ in/out The device, /dev/ttyd0, is set up this way: crw--w--w- 1 uucp other 32, 0 Jan 14 22:04 /dev/ttyd0 If you're wondering how I got kermit to work with this configuration, I wrote a short and nasty little program that execs to kermit while setuid to uucp. Tip, of course, is already setuid to uucp. (*) Just thought I'd mention that the 10-pin modular connector to which MIPS refers as "RJ45" in its documentation does NOT appear to correspond to what the rest of the world calls RJ45: everyone else is using the term "RJ45" to refer to 8-pin modular connectors. Alternative local sources for ten pin modular connectors haven't yet made themselves apparent to me. I bought the MIPS cable, so there's presumably no question about the cable.