[问题][问题]请教终端telnet时,backspace删除键无效的原因

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
JNCIE
帖子: 5
注册时间: 2007-02-13 18:10

[问题][问题]请教终端telnet时,backspace删除键无效的原因

#1

帖子 JNCIE » 2007-02-25 16:44

其他时候正常的
一telnet x.x.x.x那个键就没用了
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#2

帖子 skyx » 2007-02-25 16:58

仔细看

telnet x.x.x.x

后的提示。
no security measure is worth anything if an attacker has physical access to the machine
JNCIE
帖子: 5
注册时间: 2007-02-13 18:10

#3

帖子 JNCIE » 2007-02-25 17:12

Escape char is ‘^]’

没了


不知如何可以把telnet的首选项设为vt100
头像
sinoyster
帖子: 958
注册时间: 2005-10-16 13:24
来自: 四川成都
联系:

#4

帖子 sinoyster » 2007-02-25 17:40

登录以后执行
stty erase <backspace>
就可以了
Thank you Ubuntu Team!!!!
I still can't belive this is free...
头像
sinoyster
帖子: 958
注册时间: 2005-10-16 13:24
来自: 四川成都
联系:

#5

帖子 sinoyster » 2007-02-25 17:45

不行你也可以试试
Ctrl + H
Thank you Ubuntu Team!!!!
I still can't belive this is free...
JNCIE
帖子: 5
注册时间: 2007-02-13 18:10

#6

帖子 JNCIE » 2007-02-25 17:52

谢谢您。

可是我敲不进
bash:syntax error near unexpected token "newline"
我调回stty erase ^?是可以的,默认是^?=backespace吧

可能我之前描述没有清楚
当我telnet一台思科设备时,删除键是有用的
而当我telnet一台华为设备时,删除键就没有效果

同时,用window cmd telnet时,也正常
因此我考虑重点是有没有设置为vt100的方法
JNCIE
帖子: 5
注册时间: 2007-02-13 18:10

#7

帖子 JNCIE » 2007-02-25 17:54

Ctrl + H 都是没问题的
主要问题很怪,想提出来大家研究下
头像
sinoyster
帖子: 958
注册时间: 2005-10-16 13:24
来自: 四川成都
联系:

#8

帖子 sinoyster » 2007-02-25 22:49

终端类型不一样,默认的键盘映射也就不一样
Thank you Ubuntu Team!!!!
I still can't belive this is free...
回复