[wplug] Help with expect - sending special chars

Paul Oehler poehler at interworx.com
Fri Sep 18 17:18:13 EDT 2009


> Any other ideas?  I just need to telnet to a device, send a command,
> wait for a paticular response and send the next command.  Ideally I
> could do this in some kind of loop too.

Expect really is the way to go for this kind of thing, it's designed just 
this kind of interaction.  I'm not aware of anything else that makes this 
kind of task easy.

Paul
-- 
Paul Oehler
InterWorx L.L.C.
http://interworx.com
430 Greenfield Ave
Pittsburgh PA 15207 



More information about the wplug mailing list