uucico chat script

william E Davidsen davidsen at antarctica.crd.GE.COM
Thu Jul 12 00:37:22 AEST 1990


In article <1990Jul7.173155.4583 at contact.uucp>, rasmus at 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.



More information about the Comp.unix.questions mailing list