Re: NET::TELNET and displaying output on-screen

From: Charles DeRykus (ced_at_bcstec.ca.boeing.com)
Date: 08/07/04


Date: Sat, 7 Aug 2004 03:03:52 GMT

In article <d4376e99.0408061140.1978c947@posting.google.com>,
ZoloftGuy <zoloftguy@myrealbox.com> wrote:
>I'm a newbie to Perl and I am writing a script to telnet in an shut
>off one of our Nortel Contivity VPNs. It works but, I'd like some of
>the activity to display on the screen rather then just in the logs.
>
>Is there anyway to do this? Here is the script. Please tell me if
>there is anything back-asswords about it. Thanks:
>
>$t = new Net::Telnet (Timeout => 30, Prompt => '/[\$]/');
>

$t = new Net::Telnet ( ... , input_log =>\*STDOUT);

(dump_log provides even more detail)

--
Charles DeRykus


Relevant Pages

  • NET::TELNET and displaying output on-screen
    ... I'm a newbie to Perl and I am writing a script to telnet in an shut ... off one of our Nortel Contivity VPNs. ... Here is the script. ...
    (comp.lang.perl.misc)
  • Re: Baseline script (disable services etc.)
    ... Update: I found a script that turns off Telnet, ... 'This can be be done by writing a DWORD with valuedata 4 to the value ... File and Print Sharing services. ...
    (microsoft.public.scripting.vbscript)
  • Re: [WR] round tuits
    ... Jackson Pillock wrote: ... I do, too many projects going, not enough time, priorities lean toward ... I started writing a precinct drama set in a locked psychiatric ward. ... Sent off my script. ...
    (misc.writing)
  • Re: crisis Perl
    ... As to writing good code to begin with, ... the top of the script. ... the "use warnings;" line won't actually change ... recommended declaring variables IN AS SMALL AS SCOPE AS POSSIBLE. ...
    (comp.lang.perl.misc)
  • Marginally archaeaology: Eight scripts that still cant be read
    ... WRITING is one of the greatest inventions in human history. ... literate civilisation at the time of the ... So how do you decipher an unknown script? ... there must be some link to a known language. ...
    (sci.archaeology)

Loading