Article View: comp.mail.uucp
Article #5310Re: UUCP blues on a TS.
From: Brian J. Murrell
Date: Sun, 04 Dec 1994 18:25
Date: Sun, 04 Dec 1994 18:25
38 lines
2474 bytes
2474 bytes
In article <D09p2H.I3s@nanguo.cstpl.com.au>,
Bob Chalmers <earth@nanguo.cstpl.com.au> wrote:
>I've got those uucp blues.. I am running a SCO server, with a
>Stallion Easy Communication Server on it. It's an intelligent
>Terminal Server basically.
[ deletion ]
>When I uucp to the same connection, it gets as far as taking the login
>response, and then simply waits forever until it times out.
[ more deletion ]
>uucp gold DEBUG: icexpect: Looking for 6 "login:"
>uucp gold DEBUG: icexpect: Got "\r\n\r\r\ngold\r\n\n\rWelcome."
>uucp gold DEBUG: icexpect: Got "\n\r\r\ngold!login:" (found it)
>uucp gold DEBUG: fcsend: Writing "earth\r"
>uucp gold DEBUG: icexpect: Looking for 5 "word:"
>uucp gold DEBUG: icexpect: Got " " (timed out)
try changing your chat script to put a delay (\d i believe) before your
login string. Something like...
ogin:--ogin: \dearth word: earth_password
The problem is that login() flushes the input buffer after printing the
"login:" prompt to the terminal and then waits for input. Automatic login
procedures are usually too quick for login() and send their login string
before login() actually flushes the buffer, thereby throwing away what you
sent ("earth" in your case).
There is also a "yet to be documented" switch (-n I think) which you can
put on getty() to supress the buffer flush, but I don't remember the details.
Perhaps somebody can remind us. The delay should work for you though.
b.
--
Brian J. Murrell brian@ilinx.com
InterLinx Support Services, Inc. brian@wimsey.com
North Vancouver, B.C. 604 983 UNIX
Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD
Technical Details
Message-ID:
<D0Atu3.Js5@ilinx.com>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!scipio.cyberstore.ca!vanbc.wimsey.com!ilinx.ilinx.com!brianReferences:
<D09p2H.I3s@nanguo.cstpl.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1122ea,911ab2b69c87223e X-Google-Attributes: gid1122ea,public X-Google-Thread: 10d3b3,911ab2b69c87223e X-Google-Attributes: gid10d3b3,public X-Google-ArrivalTime: 1994-12-04 10:47:18 PST Newsgroups: comp.mail.uucp,biz.sco.general Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!scipio.cyberstore.ca!vanbc.wimsey.com!ilinx.ilinx.com!brian From: brian@ilinx.com (Brian J. Murrell) Subject: Re: UUCP blues on a TS. Message-ID: <D0Atu3.Js5@ilinx.com> Date: Sun, 4 Dec 1994 18:25:15 GMT References: <D09p2H.I3s@nanguo.cstpl.com.au> Organization: InterLinx Support Services, Inc. Lines: 38