Telnet Confusion (was Re: CUPS, Alpine, and printserving : telnet weirdness)

Tim ignored_mailbox at yahoo.com.au
Wed Nov 5 00:20:48 UTC 2008


On Tue, 2008-11-04 at 16:43 +0000, Beartooth wrote:
> If only by trial and error, I think I can set up a different 
> terminal emulation (xterm instead of my usual gnome terminal, for 
> instance, which is configured primarily for Alpine), and avoid all
> that gibberish caused by trying to use the backspace and arrow keys.

In many cases (probably most cases), when using telnet to talk to some
non telnet server, you will not be able to use the backspace and cursor
keys.

You're not talking to a command line interpreter, which would let you
edit a command line, then execute it when you press enter.  You're
sending characters to something that's expecting a very limited range of
input.  If telneting to a HTTP server, for instance, a command might be
GET followed by what to get.  It has to be typed letter perfect.  If you
type any other character then try to correct it, you've sent those
characters *plus* the editing characters to the server.

Generally, they're acting on each character as they're sent, not on a
prepared command line, to be sent all at once.

-- 
[tim at localhost ~]$ uname -r
2.6.26.6-79.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.






More information about the fedora-list mailing list