|
|
|
|
|
|
| Author |
Message |
Jay Rogers *nix forums beginner
Joined: 28 Feb 2005
Posts: 1
|
Posted: Mon Feb 28, 2005 10:19 pm Post subject:
Re: redefining Net::Telnet "escape" character
|
|
|
Joe mecklin <jm5379@sbcglobal.net> writes:
| Quote: | question: what is one/the way to redefine the net::telnet escape
character from ^] to another ^[ (or anything else?)
|
No need to redefine any chars as Net::Telnet writes all
characters (including ^]) to the remote side.
By default $telnet->print() appends a newline to the chars
you specify. Use $telnet->put() to write without appending
a newline. |
|
| Back to top |
|
 |
Joe mecklin *nix forums beginner
Joined: 24 Feb 2005
Posts: 2
|
Posted: Thu Feb 24, 2005 1:32 pm Post subject:
redefining Net::Telnet "escape" character
|
|
|
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 |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Wed Jan 07, 2009 5:58 pm | All times are GMT
|
|
MPAA | Internet Advertising | Secured Loans | Credit Card Consolidation | Problem Mortgage
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|