Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!apple!decwrl!uunet!moon!jh From: jh@moon.nbn.com (John Harkin) Newsgroups: comp.mail.uucp Subject: Re: Need help getting chat scripts working (HDB+SunOS 4.1.1) Message-ID: <1991Mar18.001202.15395@moon.nbn.com> Date: 18 Mar 91 00:12:02 GMT References: <2998@weber.sw.mcc.com> Organization: North Bay Network, San Rafael, CA USA Lines: 47 knutson@weber.sw.mcc.com (Jim Knutson) writes: >I have a problem setting up some chat scripts. Several hosts that >I have been attempting to setup connections with are not responding >to the script in a manner that I understand. >First of all, here is an example Systems entry: >hostA Any ACU 2400 hostA "" "" login:--login:--login: mylogin ssword: mypw >If I run uucico in debug mode, I get: [debug output deleted] >Note that there is no login: prompt displayed after sending two CR. >If I use cu to call and hand type the CR, login name and password, it >all works fine. >Now if I modify the chat script to use odd parity, e.g.: >hostA Any ACU 2400 hostA "" P_ODD "" "" login:--login:--login: mylogin ssword: mypw [more debug output deleted - he got a login prompt, but his login and passwd weren't recognized] >Does anyone out there know if the problem is on my side or the remote side >and what can be done about it? I'm really frustrated because everything >works when using cu and typing things in by hand, but doesn't work worth >a bean when uucico tries it. I just went through this. When I upgraded to Sun OS 4.1.1 I could no longer login to any systems based on PC's! I had to change my outgoing STTY setup to fix it. You are on the right track. It took me days to finally figure out I had to setup as 8Z1 to make it work. Here is the Dialers entry for hayes that I ended up with: [This is all one line, I split it for readability and transportibility.] hayes =,-, "" STTY=cs8 "" STTY=-cstopb "" P_ZERO "" \dA\pTE1V1X1Q0S2=255S12=255\r\c OK\r \EATDT\T\r\c CONNECT I found it was important to set the STTY before dialing. With this entry everything works as before. If anyone can explain it, I'd love to know. John -- John Harkin +1 415 472-2452 uunet!moon!jh jh@nbn.com North Bay Network - News and mail for Marin county and vicinity