Click here to get back home

net::telnet problem

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
net::telnet problem scuba man 07-23-2004
Posted by scuba man on July 23, 2004, 6:46 pm
Please log in for more thread options
Hi

I have written a script which logs onto the server and issues a command - So
far so good. If the command returns a lot of data and the server response is
to issue a [more] response the module hangs and times out waiting I presume
for the prompt.

What I am trying to do is a basic <STDOUT> to a file which I can get to work
fine with the SSH module but cannot replicate this with the telnet module.

Any clues

Cheers
Nigel




Posted by Joe Smith on July 26, 2004, 8:34 am
Please log in for more thread options
scuba man wrote:

> I have written a script which logs onto the server and issues a command - So
> far so good. If the command returns a lot of data and the server response is
> to issue a [more] response the module hangs and times out waiting I presume
> for the prompt.

You'll need to tell the program to not put out the "[more]" prompt.
Check the docs on the program being run, it may be something like
                set terminal pagelength 0
to not pause every 24 lines.
        -Joe


Similar ThreadsPosted
Problem with Net::Telnet October 20, 2005, 4:19 pm
Telnet Problem December 8, 2006, 5:06 am
Net:Telnet problem with print October 20, 2005, 5:04 pm
problem in telnet using perl December 27, 2007, 11:22 pm
Telnet problem -getting timed out error - April 18, 2006, 9:15 am
reading from Net::Telnet input string problem June 16, 2006, 1:17 pm
Net::Telnet retrieving temporary text problem November 6, 2006, 3:32 am
How do you telnet from 1 host to another using Telnet Module December 21, 2005, 4:15 pm
net::telnet to ms telnet server May 19, 2005, 12:28 am
Net::Telnet December 9, 2004, 11:33 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap