Please bottom post, and remember to group reply so others can help and
be helped...


> Well... after talking to u I can figure I m using a false telnet server,
> plz do u know a good telnet server that u could tell me, so I ll be able
> to download and make my job step on.
> 
> Thanxss very much

Well, glad to know that we probably know what the problem is. Sorry I
know virtually nothing about the Windows telnet scene having only ever
used *nix versions. You may have better luck looking at drieux's
suggestion, and/or switching to SSH which should be able to provide 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 PROTECTED]
> Assunto: Re: RES: telnet.pm
> 
> 
> 
> > I just get empties values,,, I already tried the code lines bellow but
> > it is not working... I have too much to do in my script.. but since I
> > don’t get to make it works I can t step forward, I m working on it
> since
> > 3 weeks ago but I just fails in all my tries :-( do u have any 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 @output = $telnet->cmd("cleartool lsactivity -s -view
> $viewDesenv");
> > 
> > -or-
> > 
> > my @output;
> > my $result = $telnet->cmd('String' => "cleartool lsactivity -s -view
> > $viewDesenv", 'Output' => [EMAIL PROTECTED]);
> > 
> 
> Can you post the full script that you are using?  I assume you are able
> to telnet to the remote machine using a standard telnet client, and you
> are infact supposed to be using 'telnet' as opposed to 'ssh' or some
> other remote command sending protocol type thingie?  I also assume when
> you are able to telnet to the remote host, that cleartool is actually
> installed, in the path, executable, $viewDesenv is set on the local
> side, and that that command actually does produce something on stdout
> (not stderr)?
> 
> And that you have read the section on M$ telnet:
> 
> http://search.cpan.org/~jrogers/Net-Telnet-3.03/lib/Net/Telnet.pm#Connec
> ting_to_a_Remote_MS-Windows_Machine
> 
> Specifically the sentence: "Connecting Net::Telnet to one of these false
> TELNET servers makes your job of parsing command output very difficult."
> 
> Are you sure you aren't using one of these "false" telnet servers?
> 
> Have you tried messing with the 'input_log'/'dump_log'
> attributes/methods to provide us with debugging information also?
> 
> You will need to help us, help you...
> 
> http://danconia.org
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to