Does this make more sense?
No, i still can't find any code in your post. What do you mean with "call" when you say "the script calls 'telnet ...'"?
Maybe you want to have a look at Expect, but I'm still just guessing.
--In reply to Re[3]: Modifying STDOUT and keeping control
by fruiture
in thread Modifying STDOUT and keeping control
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |