Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Probably easy, but I'm stumped - telnet question

by VinsWorldcom (Prior)
on Feb 26, 2014 at 15:55 UTC ( [id://1076274]=note: print w/replies, xml ) Need Help??


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. :-/

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1076274]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-19 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found