Some relevant code might be helpful, i can't see what you're actually doing.
... program I've called with back ticks ...
Well the `backticks` return the ouput of the program, you can modify this output and then print it to STDOUT. Where's the problem?
Did you consider using open() to fork off telnet and process its output line by line and just in time? What do you mean with "loosing control of telnet"?
--In reply to Re: Modifying STDOUT and keeping control
by fruiture
in thread Modifying STDOUT and keeping control
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |