Click here to get back home

NET:TELNET printing to screen

 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 printing to screen Tesla 08-27-2004
Posted by Tesla on August 27, 2004, 10:51 am
Please log in for more thread options


I've been using the NET:TELNET module to connect to a server and then

run some commands. Currently I just print certain command outputs after

they finish, but I wanted to print the data stream as it's coming back

from the execution. This is roughly how I have it implemented.

my @output = $telnet->cmd(String => "DO_THIS");
print @output ;

Normally this would be fine, but the one command I want to print to the

screen as it is running takes a few minutes to a few hours to run, so

waiting for it come up on the screen begs the question "did it process

correctly?"
Thanks for any help you can give.







--

Tesla

------------------------------------------------------------------------

Posted via http://www.codecomments.com

------------------------------------------------------------------------




Similar ThreadsPosted
Capturing HTML screen to JPG January 28, 2008, 1:46 pm
"reverse templating" or "auto-meta-regex" module for automated screen-scrape learning? September 18, 2007, 10:09 pm
How do you telnet from 1 host to another using Telnet Module December 21, 2005, 4:15 pm
Printing of PDF Files July 12, 2004, 4:55 pm
PDL: Printing Matrices November 22, 2004, 10:53 pm
Removing non-printing characters ... October 7, 2004, 8:47 pm
Pretty Printing (maybe with PDFs ?) December 27, 2004, 5:10 am
Printing xlated output of Filter::Simple ? November 13, 2004, 6:15 pm
Printing Expect.pm debug output to another filehandle? January 11, 2005, 5:35 pm
Start printing at the end of the previous line in Perl July 18, 2006, 10:51 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap