Expect - Getting weird buffer display format when running Expect

Posted on Sun Mar 25 10:38:37 2007 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,
Write a response