AIX-vi操作-提示Unknown terminal type的问题解决方法

AIX-vi操作-提示Unknown terminal type的问题解决方法
AIX Version 5.3
$ vi /etc/profile
linux: Unknown terminal type
[Hit return to continue] :q!
I don't know what kind of terminal you are on - all I have is 'linux'.
[Using open mode]
……
临时办法,下次启动失效,需要重新执行
$ echo $TERM
linux
$ export TERM=vt100
$ echo $TERM
vt100
$ vi /etc/profile --正常使用
"/etc/profile" [Read only] 63 lines, 1811 characters
……

如果是使用SecureCRT连接AIX机器,则直接修改会话选项,将仿真终端设为VT100即可,以后每次连接就不用再次设置。

posted on 2014-12-26 11:55  遠離塵世の方舟  阅读(1617)  评论(0编辑  收藏  举报

导航