Telnet translation modes...
I'm not sure if this is a Linux problem, or common to telnet in
general. I haven't run into it until installing Debian though, so
here it is:
Telnet has two modes, linemode, and charactermode. It defaults to
linemode if the other side will handle it. This cooks some characters
and does some extra signalling. It appears that in this mode, hitting
the Return key sends a ^M. That's normally not a problem, but I've
found that some programs (mutt, and trn in the article selector)
don't recognize this key, preferring ^J instead.
I have found two workarounds for this:
- Change the bindings on the software to recognize ^M as a synonym
- Manually escape to a telnet prompt after connecting and do
a 'mode char'. In this mode, hitting <return> sends a ^J. I can't
put it into the .telnetrc though, since that's read up front, and
the linemode is negotiated afterward.
I'd like to just tell telnet to use ^J all the time.
"The man who marries a modern woman marries a woman who expects to vote
like a man, smoke like a man, have her hair cut like a man, and go without
restrictions and without chaperones and obey nobody."
BOBBED HAIR - John R. Rice, 1941 http://www.primenet.com/~steiners/
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .