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
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
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
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
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
>
> 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 dont
> Know what to do... :-(
> If some one could help me.,plzz
>
Is,
my @output = $telnet->cmd('
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
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:
>
--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
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
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
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 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
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"
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
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
16 matches
Mail list logo