Lanthade has asked for the wisdom of the Perl Monks concerning the following question:
My telnet server (an Eiki projector) has decided that prompts are unnecessary. It's also decided that returns and/or newlines are also unnecessary after output. As you can guess this presents some problems with getting things done.
I've managed to get around the lack of a prompt by setting prompt to /.*/ which works, but I'm sure probably has some other dangerous issues.
My big problem is I need to record feedback from various commands and the lack of a \r or \n after the output has me stymied.
How would you handle this problem (given that I can't replace the projectors or get a proper prompt and \r\n behavior on the server).
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::Telnet with an uncooperative server.
by regexes (Hermit) on Apr 12, 2013 at 06:42 UTC | |
|
Re: Net::Telnet with an uncooperative server.
by dasgar (Priest) on Apr 12, 2013 at 12:59 UTC |