I'd suggest using Expect.pm. It's got a built in function for detecting the prompt, and it's really easy to fork through possible responses.
-Logan
"What do I want? I'm an American. I want more."
In reply to Re: telnet passthrough
by logan
in thread telnet passthrough
by wertert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |