I can setup a telnet connection in Perl no problems, and have just discovered Curses, and am wondering if I can use the two together to scrape the output from the telnet ses
Or you could use the script command for this.
From the Solaris man-page:
DESCRIPTION
The
scriptutility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the record is saved in the file typescript...The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends when the forked shell exits or when Control-d is typed.