您的位置:首页 > 运维架构 > Linux

Linux terminal及Putty中backspace键产生乱码的解决方法

2013-11-26 16:56 597 查看
当我们用Xshell登录进入linux后,在普通模式下,对输入进行删除等操作没有问题.

而在telnet连接操作时,按delete,backspace键时会产生^H等乱码问题.

这是因为编码不匹配的问题.

解决方法:

选择edit------>Current Profile

弹出的对话框中,选择Compatibility,如下设置:



默认为:



改为:



这样在terminal中就可以正常使用backspace和delete键了。

如果是Putty出现这样的问题,同样通过设置让其正确,设置方法如图:



这样可以正常使用。

关于VT100+:可以参考以下内容:


VT-UTF8, VT100+, and VT100 conventions

Industry terminal definition conventions provide a smooth way for you to send commands from the remote management console--usually Special Administration Console (SAC)-- to the server. These terminal definition conventions ensure a consistent mechanism for
managing systems in all states of operation and failure. Windows Server 2003 operating systems use the commands, which are described later in this topic. The firmware, service processors and client terminal software should also use these commands.

The VT100 Terminal Definition is the standard convention used to configure and conduct emergency management tasks with UNIX-based servers. VT100 does not support all keys on the standard PC 101-key layout, however. The VT-UTF8 convention makes available additional
keys that are not provided by VT100 for the PC 101 keyboard. With VT-UTF8, you can also use colors and some standardized escape sequences that are commonly used for management tasks. With VT-UTF8, output sent to the serial port can be localized while UNIX
interoperability for English is sustained.

For more information about viewing non-English output from Emergency Management Services, see Selecting
client terminal software for Emergency Management Services.

VT100+ is a subset of VT-UTF8 that handles only VT100-compatible characters--that is, American National Standards Institute (ANSI) characters 0 through 127. VT-UTF8 is the preferred terminal type for viewing Emergency Management Services output using a terminal
emulator, such as HyperTerminal, and for firmware or service processor output. In either case, if VT-UTF8 is not available, your next best choices are to try VT100+ and then VT100, in that order.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: