in reply to sending control characters

It sounds like you are sending only numeric data and not characters. Perhaps you should send chr(24).

Update: How are you sending the control-X characters? I suspect that you are enclosing the strings in single quotes like in your write up which is not the same as having them enclosed in double quotes.

The following all print control-X characters locally (I cannot test via Net::Telnet at the moment).

print chr(24),"\n"; print "\x18\n"; print "\cX\n"; print "\30\n"; # that's 24 in octal ;-)

Replies are listed 'Best First'.
Re: Re: sending control characters
by Anonymous Monk on Jul 31, 2003 at 17:20 UTC
    thank you very much for the fast response, chr(24) did the trick I was using double quotes despite what I wrote in the article, but chr() does the trick so I will not mess with any further again, thank you for your help