Article View: comp.mail.uucp
Article #5318SCO SysV 3.2.2 uugetty
From: j chapman flack
Date: Tue, 30 Jul 1991 04:55
Date: Tue, 30 Jul 1991 04:55
47 lines
3132 bytes
3132 bytes
Here's the situation (SCO SysV/386 3.2.2 uugetty): inittab: /usr/lib/uucp/uugetty -r -t60 tty2A 2400H gettydefs: 2400H# B2400 # B2400 SANE IXANY PARENB TAB3 HUPCL #login: #1200H Devices: ACU tty2A - 300-2400 /usr/lib/uucp/dialHA24 \D Two problems: 1) When I dial in (using a 2400 bps modem), the modem on tty2A answers at 1200. I've looked through dialHA24.c and seen that it tries to get the modem to answer at 2400 (by sending the initialization commands at 2400 when invoked as dialHA24 -h tty2A 2400, which getty--and by extension uugetty--is s'posed to do). When uucico dials out it talks at 2400. So why is the modem answering (quite reliably) at 1200? 2) After the modem answers (at 1200), I send one BREAK, to get uugetty hip that the speed is 1200. Fine. (The gettydef for 1200H is the same as 2400H except for speed and pointer-to-next.) The dialog then looks like this: What a boring /etc/issue. login: chap Zxn0r6. and I'm kinda stuck. By running back and forth real fast and doing stty -a, I've discovered that after reading the login name, and before invoking /bin/login, uugetty is setting the port to cs5. cs5?!? When was the last time you sent Baudot? What part of the gettydefs line is telling uugetty to go for cs5? Do I need to put an explicit cs7 in? Why? Also, if I do a ps -ef after uugetty has invoked /bin/login, I see that the argument passed to login is not chap, but more like ?h?p. I'd hazard this, too, is a consequence of wacky comm parameters. (The thing I'm trying to dial in from is set to cs7 parenb -parodd.) Any ideas? Also, I notice `strings getty` shows numerous references to /tcb/lib/initcond, the program that handles a bunch of common C2 bookkeeping. No such references in uugetty. What are the implications of using uugetty in a C2 environment? Thanks! -- Chap Flack Their tanks will rust. Our songs will last. chap@art-sy.detroit.mi.us -MIKHS 0EODWPAKHS Nothing I say represents Appropriate Roles for Technology unless I say it does.
Technical Details
Message-ID:
<9107300055.aa03765@art-sy.detroit.mi.us>Path:
arc1-ca.pugleaf.net!gmdzi!unido!math.fu-berlin.de!ox.com!emory!wupost!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ncoast!fmsrl7!art-sy!newsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d3b3,37f593511a68e4ea,start X-Google-Attributes: gid10d3b3,public X-Google-Thread: 1048e3,37f593511a68e4ea,start X-Google-Attributes: gid1048e3,public X-Google-Thread: 134180,37f593511a68e4ea,start X-Google-Attributes: gid134180,public X-Google-ArrivalTime: 1991-07-30 04:38:57 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!math.fu-berlin.de!ox.com!emory!wupost!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ncoast!fmsrl7!art-sy!news From: chap@art-sy.detroit.mi.us (j chapman flack) Newsgroups: comp.mail.uucp,comp.unix.sysv386,biz.sco.opendesktop Subject: SCO SysV 3.2.2 uugetty Summary: uugetty amuses itself (but not me) with ioctl() Keywords: SCO,uugetty,tty,ioctl Message-ID: <9107300055.aa03765@art-sy.detroit.mi.us> Date: 30 Jul 91 04:55:49 GMT Reply-To: chap@art-sy.detroit.mi.us (j chapman flack) Followup-To: poster Organization: Appropriate Roles for Technology Lines: 47