Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Control::CLI, SSH, Garbage Characters, & Prompt

by huck (Prior)
on Feb 27, 2017 at 23:00 UTC ( [id://1183031]=note: print w/replies, xml ) Need Help??


in reply to Control::CLI, SSH, Garbage Characters, & Prompt

if you take the copyright symbol as esc those look like vt100 terminal control sequences.
http://www.termsys.demon.co.uk/vtansi.htm
"Set Attribute Mode <ESC>[{attr1};...;{attrn}m"

http://search.cpan.org/~lstevens/Control-CLI-2.03/lib/Control/CLI.pm
"By default no terminal type is defined which results in TELNET simply not negotiating any terminal type while SSH will default to 'vt100'. Once a terminal type is set via this method, both TELNET and SSH will negotiate that terminal type. Use an empty string to undefine the terminal type."

$obj = new Control::CLI ( <br>... <br>[Terminal_type => $string,] <br>... );

try Terminal_type           => '', in the connect new Control::CLI

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-20 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found