Arrow keys turn into control characters in Telnet
问题 I'm in an Ubuntu terminal, and telnet to a server. Now whenever I type 'up', it turns into ^[[A. Other arrow keys also turn into control characters. Is there a way I can run telnet so it understands my arrow keys? This would be a huge help because I'd like to scroll up in my commands history. 回答1: It's not telnet that needs to understand the escape sequences your keys produce; it's whatever program you're typing them into at the remote end. Looks like your $TERM environment variable (on the