in reply to $ENV{TERM} and Net::Telnet

You might want to consider using this connection method:

$connection = new Net::Telnet ( Host => 'ssd.jpl.nasa.gov', Port => 6775, Dump_Log => './telnet.log', );
It will output everything received to a log file.
Who says that programmers can't work in the Marketing Department?
Or is that who says that Marketing people can't program?