mikhael
asked on
Redhat 6 into SCO 5 via PPP/chat
I am using a Linux (RedHat 6) to dial into a SCO UNIX (Openserver 5) and connect via PPP/chat.
Everything is OK except 1 small point. My CHAT script falls over because of the SCO box flushing out the modem responses. This is documented and I need to put in delays into the script:
e.g. ogin: MYUSERNAME assword: MYPASSWORD
becomes
ogin: \d\dMYUSERNAME assword: \d\dMYPASSWORD
However my tail -f var/log/messages tells me that the username being sent is in fact ddMYUSERNAME. For some reason the backslash is being ignored and not acting as an escape character. And of course the required delay is not happening.
Any ideas? Thanks
Everything is OK except 1 small point. My CHAT script falls over because of the SCO box flushing out the modem responses. This is documented and I need to put in delays into the script:
e.g. ogin: MYUSERNAME assword: MYPASSWORD
becomes
ogin: \d\dMYUSERNAME assword: \d\dMYPASSWORD
However my tail -f var/log/messages tells me that the username being sent is in fact ddMYUSERNAME. For some reason the backslash is being ignored and not acting as an escape character. And of course the required delay is not happening.
Any ideas? Thanks
ASKER
rwenzla
No am using emacs (not in X), so don't have that problem.
Cheers
No am using emacs (not in X), so don't have that problem.
Cheers
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked perfectly,thanks. :)
I wish it was mentioned in the README's and HOWTO's though :(
I wish it was mentioned in the README's and HOWTO's though :(
Find the script (probably in /etc/ppp) and check. Edit in a text editor if they're not in there.