i'll try it when i get back to work, though i don't see how binmode will tell me what net::telnet command i need to use to redefine a character sequence, or what external command i'll need to call to accomplish that. thanks for the suggestion, though.
On Fri, 25 Feb 2005 12:13:41 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Joe, > Try turning binmod on. If it fails post some code and a bit more od a > description of what you are trying to do. > hth, > Mark G. > > ----- Original Message ----- > From: Joe Mecklin <[EMAIL PROTECTED]> > Date: Friday, February 25, 2005 8:44 am > Subject: redefining Net::Telnet "escape" character > > > 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 > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > > > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>