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
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