|
Posted by Joe mecklin on February 24, 2005, 3:32 pm
Please log in for more thread options
Gentlepeople,
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
|