in reply to Probably easy, but I'm stumped - telnet question

Assuming you're using Net::Telnet, try the 'dump_log' method as it will show the ASCII / Hex of those strange box characters. It may help determine where they're coming from if you know what they are.

$telnet->dump_log($filename);

From 'perldoc Net::Telnet':

dump_log - log all I/O in dump format $fh = $obj->dump_log; $fh = $obj->dump_log($fh); $fh = $obj->dump_log($filename); This method starts or stops dump format logging of all the object's input and output. The dump format shows the blocks read and written in a hexadecimal and printable character format. This method is useful when debugging, ...

Replies are listed 'Best First'.
Re^2: Probably easy, but I'm stumped - telnet question
by taigu (Novice) on Feb 26, 2014 at 16:26 UTC
    Thanks! Tried input_log and dump_log. Alas, the characters don't show up in either. :-/