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

当我们用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.


  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值