Re: Pexpect and telnet not communicating properly

2009-01-27 Thread Mark Wooding
David Anderson writes: > I am trying to automate the following session - to talk to my router: > > telnet speedtouch [...] > I am using the following code: [...] > child.expect('sername : ') > child.sendline('Administrator') I've scripted communications with my Speedtouch 510 using pexpect: I us

Re: Pexpect and telnet not communicating properly

2009-01-27 Thread George Trojan
David Anderson wrote: I am trying to automate the following session - to talk to my router: === telnet speedtouch Trying 192.168.1.254... Connected to speedtouch. Escape character is '^]'. Username : Administrator Password : ---

Pexpect and telnet not communicating properly

2009-01-27 Thread David Anderson
I am trying to automate the following session - to talk to my router: === telnet speedtouch Trying 192.168.1.254... Connected to speedtouch. Escape character is '^]'. Username : Administrator Password :