[Gllug] Are there any expect experts out there?
Anthony Chapman
anth at earthling.net
Sun Apr 13 14:22:58 UTC 2003
I'm trying to write a script to get some data out of an app. We normally
talk to it using telnet, so I figured that it should be pretty simple to
write something using expect
The first response I send (the password) works fine, but after that a
"\n" at the end of a string just shifts the cursor down a line. If I use
the interact command after the send that didn't work I can press enter
and get a complaint about the sting including a control character. I've
tried using a "\r", which had the same effect, and using both in either
order just moved the cursor further down the screen.
Anyone have any ideas?
--
load "vmlinux.el",8,1
-Anth
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list