Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!contact!rasmus From: rasmus@contact.uucp (Rasmus Lerdorf) Newsgroups: comp.unix.questions Subject: uucico chat script Keywords: SunOS4.1 SS1 uucico uucp Message-ID: <1990Jul7.173155.4583@contact.uucp> Date: 7 Jul 90 17:31:55 GMT Organization: Ras Inc. Lines: 27 Having recently upgraded from SunOS4.0.3 to 4.1 which included an upgrade to HDB uucp, my uucico connection scripts no longer work. Yes, I know about the different format in the HDB version, and my script is correct according to the manuals. The problem is that a carriage return is not sent at the end of text I send to the remote end. in:-BREAK-in: system word: password Something as simple as the above does not do what I would expect. No carriage return is sent after I send the "system" string. It does detect the Login: prompt correctly and it sends "system" but then it just sits there and eventually times out since no carriage return was sent. in:-BREAK-in: system\r word: password\r 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. I have tried connecting with both Xenix and other SunOS systems which all worked when I was running 4.0.3 so I am sure it is a local problem. I checked the parity, stop bit and word bit settings on my serial port, and they were 8N1. All these sites can log in fine on the modem in question so I don't think the serial port is configured incorrectly. Where else do I look? -- Rasmus Lerdorf | rasmus@contact.uucp (home) | WC '94 Prediction: SD Eng '93 | rasmus@dmntor.uucp (work) | Denmark will take the Cup!