redefining Net::Telnet "escape" character

From: Joe mecklin (jm5379_at_sbcglobal.net)
Date: 02/24/05

  • Next message: Anna: "LWP:Simple/LWP:UserAgent (newbie)"
    Date: Thu, 24 Feb 2005 14:32:43 GMT
    
    

    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


  • Next message: Anna: "LWP:Simple/LWP:UserAgent (newbie)"

    Relevant Pages

    • Re: Script for telnet server to communicate with J2EE application
      ... Is there any way that this script automatically get invoked as the ... Telnet Client login to Server? ... As you were asking about using telnet client classes to allow your Java application to talk to a telnet server, I was assuming you'd want to use something like the following to login, send one barcode to the telnet server and logout again: ...
      (comp.lang.java.programmer)
    • Re: Need help sending a password to ftp
      ... > then bring up ftp on that system to transfer some files over there. ... > can get the telnet session open. ... The script fails with: ... > 530 Login incorrect. ...
      (comp.lang.perl.misc)
    • Expect, telnet, frozen console.
      ... telnet into remote host, provide username/password, surrender control to ... This script will eventually be tied into /etc/inittab so that it ... app called 'loe' which presents a login screen in 80x24 ASCII a la ...
      (comp.lang.tcl)
    • Problems getting ftp to take my password
      ... I need to create a perl/expect script that will telnet into a system ... then bring up ftp on that system to transfer some files over there. ... 530 Login incorrect. ...
      (comp.lang.perl.modules)
    • Need help sending a password to ftp
      ... I need to create a perl/expect script that will telnet into a system ... then bring up ftp on that system to transfer some files over there. ... 530 Login incorrect. ...
      (comp.lang.perl.misc)