Re: telnet.pm

2003-11-25 Thread Douglas Lentz
Rogerio Agostinho wrote: Does some know how to get the output when I send commands to a telnet server using a perl script??? I m using telnet.pm module I do need it today and I don’t Know what to do... :-( If some one could help me.,plzz Thanx rogerio --- Outgoing mail is certified Virus Free

Re: RES: RES: telnet.pm

2003-11-25 Thread Wiggins d Anconia
de the same types of functions but in a much better and more robust way. Good luck, http://danconia.org > > -Mensagem original- > De: Wiggins d Anconia [mailto:[EMAIL PROTECTED] > Enviada em: Tuesday, November 25, 2003 5:45 PM > Para: Rogerio Agostinho; [EMAIL PROTE

Re: RES: telnet.pm

2003-11-25 Thread drieux
On Tuesday, Nov 25, 2003, at 11:22 US/Pacific, Rogerio Agostinho wrote: [..] my @output = $telnet->cmd("cleartool lsactivity -s -view $viewDesenv"); -or- my @output; my $result = $telnet->cmd('String' => "cleartool lsactivity -s -view $viewDesenv", 'Output' => [EMAIL PROTECTED]); [..] This may b

Re: RES: telnet.pm

2003-11-25 Thread Wiggins d Anconia
ny idea what > I d=could do ?? as I told you I m using the module telnet.pm. I already > have that website u sent me the link ( and I thanks u for that but all > my tries are failing.. > # > > - > my

RES: telnet.pm

2003-11-25 Thread Rogerio Agostinho
do ?? as I told you I m using the module telnet.pm. I already have that website u sent me the link ( and I thanks u for that but all my tries are failing.. # - my @output = $telnet->cmd("cleartool lsactivity -s -view $vi

Re: telnet.pm

2003-11-25 Thread Wiggins d Anconia
> > Does some know how to get the output when I send commands to a telnet > server using a perl script??? I m using telnet.pm module > I do need it today and I don’t > Know what to do... :-( > If some one could help me.,plzz > Is, my @output = $telnet->cmd('

telnet.pm

2003-11-25 Thread Rogerio Agostinho
Does some know how to get the output when I send commands to a telnet server using a perl script??? I m using telnet.pm module I do need it today and I don’t Know what to do... :-( If some one could help me.,plzz Thanx rogerio --- Outgoing mail is certified Virus Free. Checked by AVG anti

Re: Help needed on Telnet.pm

2003-09-22 Thread Jeff Westman
There is an errmode() and dump_log(). Maybe that is what you are trying to capture. perldoc Net::Telnet -Jeff --- Daniel Staal <[EMAIL PROTECTED]> wrote: > > > --On Tuesday, September 23, 2003 0:02 +0530 Pandey Rajeev-A19514 > <[EMAIL PROTECTED]> wrote: >

Re: Help needed on Telnet.pm

2003-09-22 Thread Daniel Staal
--On Tuesday, September 23, 2003 0:02 +0530 Pandey Rajeev-A19514 <[EMAIL PROTECTED]> wrote: Does Telnet.pm capture output from other than the STDOUT ? I have a case where I telnet to a router through a console connection. All commands work well and returns the output. But, there is a s

Help needed on Telnet.pm

2003-09-22 Thread Pandey Rajeev-A19514
Hi, I need an urgent help and direction regarding capture of scrolling text using the Telnet.pm module. Apart from the False Telnet servers(unusual ascii characters) described in the module, ther is one more scenario where the output on a telnet session shell does not get captured. Does

Telnet.pm

2003-08-18 Thread Vidal, Christopher, SOLCM
The group helped me to get this small snippet working .. and it works good for when I need to telnet to multiple and/or all servers. #! /opt/perl5/bin/perl # example using Telnet.pm to servers require 'Telnet.pm'; # script server ip username password $t = new Net::Telnet Ti

Telnet.pm

2003-08-15 Thread Vidal, Christopher, SOLCM
The group helped me to get this small snippet working .. and it works good for when I need to telnet to multiple and/or all servers. #! /opt/perl5/bin/perl # example using Telnet.pm to servers require 'Telnet.pm'; # script server ip username password $t = new Net::Telnet Ti

RE: Telnet.pm and Unix prompt

2003-07-28 Thread Vidal, Christopher, SOLCM
: Telnet.pm and Unix prompt Chris, --- "Vidal, Christopher, SOLCM" <[EMAIL PROTECTED]> wrote: > Using the Telnet.pm mod, How do I put my unix prompt into the PROMPT > scalar ? > > My unix profile prompt is : > > uid=`whoami` > system=`hostname` > PS1=$system

Re: Telnet.pm and Unix prompt

2003-07-25 Thread Jeff Westman
Chris, --- "Vidal, Christopher, SOLCM" <[EMAIL PROTECTED]> wrote: > Using the Telnet.pm mod, How do I put my unix prompt into the PROMPT > scalar ? > > My unix profile prompt is : > > uid=`whoami` > system=`hostname` > PS1=$system" "$uid"

Telnet.pm and Unix prompt

2003-07-25 Thread Vidal, Christopher, SOLCM
Using the Telnet.pm mod, How do I put my unix prompt into the PROMPT scalar ? My unix profile prompt is : uid=`whoami` system=`hostname` PS1=$system" "$uid" "\\!:" " #! /opt/perl5/bin/perl require '/tools/mns/bin/Telnet.pm'; # $username = "wannab

Need help for Telnet.pm

2003-07-07 Thread Pandey Rajeev-A19514
HI, I am using Telnet.pm module to telnet to a SUN machine. 1. When I run simple unix commands, the command times out. 2. We have another CLI (Command line Interface ) for some utility which also allows me to run unix commands by setting the path as PATH=$UPATH. So first I have to give the