http://www.perlmonks.org?node_id=1076307


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

Interesting. I'll give telenetmode a go. But no, those scalars wouldn't have an ASCII 255 value.

Doesn't print automatically add a newline character? What might be happening is that I'm using $telnet->get; to retrieve my responses. That wacky character shows up in my server log when I send a print command - but only following a get command. Perhaps 'get' has something to do with it?

  • Comment on Re^2: Probably easy, but I'm stumped - telnet question

Replies are listed 'Best First'.
Re^3: Probably easy, but I'm stumped - telnet question
by graff (Chancellor) on Feb 27, 2014 at 04:42 UTC
    If the host you are connecting to runs a shell that does "fancy" stuff with the command-line prompt - such as escape strings to set color, bold, reverse-video or whatever in the "terminal" font display - you might be getting residue from that… (but I'm whistling in the dark here).