The stupid question is the question not asked | |
PerlMonks |
Managing TERM TYPE Option Requests with Net::Telnetby initself (Monk) |
on Aug 14, 2006 at 19:13 UTC ( [id://567299]=perlquestion: print w/replies, xml ) | Need Help?? |
initself has asked for the wisdom of the Perl Monks concerning the following question: I wrote an application that uses Net::Telnet to login to a remote server. On servers that don't expect to receive a particular term type, the application runs fine. However, on servers that expect a VT102 terminal type, the application errors out. The logs for Putty tell me that the troublemaking server expects my application to send back a Terminal Type:
According to the docs, Net::Telnet the option_send method to answer a Telnet option negotiation request "is not yet implemented". Luckily I found Net::Telnet::Options, which appears to be designed to manage such requests.
Right after the initial login, the error occurs since the TERM TYPE handshake is not able to be made between my application and the server application:
The error message is: pattern match read eof Net::Telnet::Options looks very promising but it looks like I'm not integrating it into my code correctly. What might I have to change to get the application to see my TERM TYPE response?
Back to
Seekers of Perl Wisdom
|
|