Re: Prompt in Net::Telnet

2007-06-13 Thread Chas Owens
On 6/13/07, Lakshmi Sailaja <[EMAIL PROTECTED]> wrote: snip The reason that I am asking this is that I will have to call one more exe (similar to ls, obtained from free-ware) for my Perl program and that is not running either? snip Chances are good you are talking about Cygwin which is Free Sof

RE: Prompt in Net::Telnet

2007-06-13 Thread Lakshmi Sailaja
iginal Message- From: Chas Owens [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 13, 2007 12:35 PM To: [EMAIL PROTECTED] Cc: beginners@perl.org Subject: Re: Prompt in Net::Telnet On 6/13/07, Lakshmi Sailaja <[EMAIL PROTECTED]> wrote: > You are right that I am trying to connect to a Win

Re: Prompt in Net::Telnet

2007-06-13 Thread Chas Owens
On 6/13/07, Lakshmi Sailaja <[EMAIL PROTECTED]> wrote: You are right that I am trying to connect to a Windows m/c from a Solaris server. But when I used the below code, it gets connected but I am having problem displaying the output: my $telnet = Net::Telnet->new(HOST => "$server",

Re: Prompt in Net::Telnet

2007-06-13 Thread Martin Barth
all good. Please suggest!!! > > Thanks in Advance. > > Regards, > Lakshmi > 952-833-1220 > > -----Original Message- > From: Chas Owens [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 12, 2007 6:41 PM > To: [EMAIL PROTECTED] > Cc: beginners@perl.org > Subjec

RE: Prompt in Net::Telnet

2007-06-13 Thread Lakshmi Sailaja
good. Please suggest!!! Thanks in Advance. Regards, Lakshmi 952-833-1220 -Original Message- From: Chas Owens [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 6:41 PM To: [EMAIL PROTECTED] Cc: beginners@perl.org Subject: Re: Prompt in Net::Telnet On 6/12/07, Lakshmi Sailaja <[

Re: Prompt in Net::Telnet

2007-06-12 Thread Chas Owens
On 6/12/07, Chas Owens <[EMAIL PROTECTED]> wrote: snip If you are trying to connect to the "telnet" server that comes with Microsoft OSes then you are SOL. If you are trying to connect to a different telnet server, then please provide the name of the server and operating system it is running und

Re: Prompt in Net::Telnet

2007-06-12 Thread Chas Owens
On 6/12/07, Lakshmi Sailaja <[EMAIL PROTECTED]> wrote: Hello, I am supposed to write a program that will telnet to a remote server and execute some commands. I get the following error: "timed-out waiting for command prompt at line " This is because the prompt is not set correctly. Can you plea

Prompt in Net::Telnet

2007-06-12 Thread Lakshmi Sailaja
Hello, I am supposed to write a program that will telnet to a remote server and execute some commands. I get the following error: "timed-out waiting for command prompt at line " This is because the prompt is not set correctly. Can you please tell me what the prompt value should be set to? how c