免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4155 | 回复: 16
打印 上一主题 下一主题

[新手入门] 用netterm登录aix,怎么样使方向键起作用? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-05-29 21:07 |只看该作者 |倒序浏览
我用netterm登录(按larry兄说的配了),其它都行,就方向键和del不好使,在shell提示符下一按方向键就显示 ^[D,^[C之类的,请高手指教一下,谢谢:)

论坛徽章:
0
2 [报告]
发表于 2003-05-29 21:23 |只看该作者

用netterm登录aix,怎么样使方向键起作用?

呵呵,奇怪:)我刚看了论坛的一个贴子。是说如何把前面已经输入的一个命令再次调用出来,于是我就试了,set -o vi,然后再按方向键就不显示那些字符了,而是成了删除了,怎么搞的???
另外set -o vi是什么意思,我怎么man set没有呢???

论坛徽章:
0
3 [报告]
发表于 2003-05-29 21:29 |只看该作者

用netterm登录aix,怎么样使方向键起作用?

方向键在命令行不起作用的,不管设置成什么。set -o vi后可以用vi命令编辑命令行,先学vi

论坛徽章:
0
4 [报告]
发表于 2003-05-29 22:05 |只看该作者

用netterm登录aix,怎么样使方向键起作用?

谢谢larryh兄,vi我会用,但不知道怎么用set,请告诉我一下,谢谢了。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2003-05-29 22:10 |只看该作者

用netterm登录aix,怎么样使方向键起作用?

#set -o vi

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
6 [报告]
发表于 2003-05-30 09:09 |只看该作者

用netterm登录aix,怎么样使方向键起作用?

用hjkl
代替方向键!

论坛徽章:
0
7 [报告]
发表于 2003-05-30 09:21 |只看该作者

用netterm登录aix,怎么样使方向键起作用?

谢谢ibm6000和lljj,其实可能我问的有点多余,因为我会使vi.只是偶然想起了方向键,所以就问了。如果不成就算了。但ibm6000兄,set我是真的不会,我想学学,我知道set -o vi后可以实现,但set本身不会用,请问哪里有相关的说明文件?谢谢!:)

论坛徽章:
0
8 [报告]
发表于 2003-05-30 09:57 |只看该作者

用netterm登录aix,怎么样使方向键起作用?

To see a list of the vi editor settings that have changed from the default
settings, enter set and press the spacebar. Press the Enter key to return to the
command mode.

To see a complete list of the vi editor settings, enter set all. Press the Enter
key to return to the command mode.

To turn on a vi editor option, enter set Option. This command automatically
returns you to the command mode.

To turn on multiple vi editor options, enter set Option Option Option. This
command turns on the three designated vi editor options and returns you to the
command mode.

To turn off a vi editor option, enter set noOption. This command automatically
returns you to the command mode.

To change the value of a vi editor option, enter set Option=Value. This command
automatically returns you to the command mode.

论坛徽章:
0
9 [报告]
发表于 2003-05-30 10:07 |只看该作者

用netterm登录aix,怎么样使方向键起作用?

set其实是vi的一个环境设置命令。

论坛徽章:
0
10 [报告]
发表于 2003-05-30 10:11 |只看该作者

用netterm登录aix,怎么样使方向键起作用?

不过在某些Shell中也可以用来显示和设置环境变量。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP