当在 SCREEN 内的会话中调用 vi 时,我总是遇到错误:
bash-3.2$ vi perf332.db2
ex: 0602-108 screen is not a recognized terminal type.
[Press return to continue]
[Using open mode]
Run Code Online (Sandbox Code Playgroud)
在我明确导出TERM=xterm或执行其他操作后,它工作正常。
我的 SCREEN 在 Linux 服务器上运行,我从那里通过 SSH 连接到 AIX 服务器。