Joe Mecklin
2005-02-25 13:44:18 UTC
i sent this to the comp.lang.perl.modules newsgroup as the
documentation suggests and got no response at all, so i thought i'd
see if anyone here may be able to help.
i'm using net::telnet to connect to a remote script (rather than a
login). the script internally uses "^]" to step back through itself,
conflicting with the default escape telnet character. this wouldn't
be a problem per se except that the login to the system uses securid
(requiring manual login each time), and once i connect i need to step
through verifying several hundred auxiliary systems; being forced to
manually login for each new test would negate the benefits of a
script.
i had the idea of, once connecting, dropping back to telnet and doing
a "set escape ^[" but then realized net::telnet may not drop back to a
telnet prompt as the telnet command would (no i haven't verified this
for sure yet because i had my "epiphany" just as i was leaving work
for the day, and i've been forced to take the rest of the week off for
personal reasons).
question: what is one/the way to redefine the net::telnet escape
character from ^] to another ^[ (or anything else?)
tia,
joe
documentation suggests and got no response at all, so i thought i'd
see if anyone here may be able to help.
i'm using net::telnet to connect to a remote script (rather than a
login). the script internally uses "^]" to step back through itself,
conflicting with the default escape telnet character. this wouldn't
be a problem per se except that the login to the system uses securid
(requiring manual login each time), and once i connect i need to step
through verifying several hundred auxiliary systems; being forced to
manually login for each new test would negate the benefits of a
script.
i had the idea of, once connecting, dropping back to telnet and doing
a "set escape ^[" but then realized net::telnet may not drop back to a
telnet prompt as the telnet command would (no i haven't verified this
for sure yet because i had my "epiphany" just as i was leaving work
for the day, and i've been forced to take the rest of the week off for
personal reasons).
question: what is one/the way to redefine the net::telnet escape
character from ^] to another ^[ (or anything else?)
tia,
joe
--
To unsubscribe, e-mail: beginners-***@perl.org
For additional commands, e-mail: beginners-***@perl.org
<http://learn.perl.org/> <http://learn.perl.org/first-response>
To unsubscribe, e-mail: beginners-***@perl.org
For additional commands, e-mail: beginners-***@perl.org
<http://learn.perl.org/> <http://learn.perl.org/first-response>