Path: utzoo!attcan!uunet!crdgw1!antarctica!davidsen From: davidsen@antarctica.crd.GE.COM (william E Davidsen) Newsgroups: comp.unix.questions Subject: Re: uucico chat script Keywords: SunOS4.1 SS1 uucico uucp Message-ID: <9615@crdgw1.crd.ge.com> Date: 11 Jul 90 14:37:22 GMT References: <1990Jul7.173155.4583@contact.uucp> Sender: news@crdgw1.crd.ge.com Reply-To: davidsen@crdos1.crd.ge.com Organization: GE Corporate R&D Center, Schenectady NY Lines: 19 In article <1990Jul7.173155.4583@contact.uucp>, rasmus@contact.uucp (Rasmus Lerdorf) writes: |> Forcing a carriage return makes no difference. It still isn't sent. If I send |> a newline charactr then it does go on to the password prompt, but I get an |> invalid login. The newline obviously adds some kind of garbage to the end |> of the "system" string. Let me take a guess at this. I suspect that the system you are calling does not have CR to NL mapping set (stty icrnl) at login. HDB is sending a CR at the end of the string. If you want to send a NL and no CR, you use the form "string\n\c". You could also check with the sysadmin there. This is an educated guess from someone who has run uucp on a lot of boxes. No promise that it's right. HDB works for me just fine on a number of machines, and I've seen the behavior you mention with other uucp flavors.