[LFS]Terminal entry not found in terminfo

来源:互联网 发布:windows phone sdk8.0 编辑:程序博客网 时间:2024/06/14 06:13
% vim test.sh E558: Terminal entry not found in terminfo'linux' not known. Available builtin terminals are:    builtin_gui    builtin_riscos    builtin_amiga    builtin_beos-ansi    builtin_ansi    builtin_pcansi    builtin_win32    builtin_vt320    builtin_vt52    builtin_xterm    builtin_iris-ansi    builtin_debug    builtin_dumbdefaulting to 'ansi'

You can copy the necessary terminfo descriptions to remote hosts as follow:
1. On the local system, dump the description to text format, infocmp linux > linux.ti;
2. Copy to the remote host and compile,tic linux.ti, The descriptions will be stored in ~/.terminfo.

infocmp and tic are part of the ncurses or ncurses-bin packages in most Linux distributions, as well as most BSDs that use ncurses.

REFERENCE

https://superuser.com/questions/431922/tmux-and-screen-256-term-not-supported-on-remote-hosts

阅读全文
0 0
原创粉丝点击