Posted on 2007-03-25 07:38:37-07 by sunnyvu
Getting weird buffer display format when running Expect
Hi, What I try to do is telnet to a Cisco BPX switch and run a command. If I using DOS, telnet and run commands, it displays the result in the right format. Example:

10.2 T3 Clear - OK
10.9 T3 Clear - OK
11.2 OC3 Clear - OK

However, when I using Expect, it displays some weird characters, which this forum is not letting me paste in here. Any suggestion make display buffer properly? Thanks,
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.