Linux terminfo似乎在csh不起作用

Linux terminfo似乎在csh不起作用,linux,terminal,csh,tmux,terminfo,Linux,Terminal,Csh,Tmux,Terminfo,我想使用screen-256color术语,但我的系统没有,所以我在home目录中编译了它。下面是我的问题 xxxx: ~/.terminfo > tree . |-- s | `-- screen-256color `-- x `-- xterm-256color 2 directories, 2 files xxxx: ~/.terminfo > setenv TERMINFO ~/.terminfo xxxx: ~/.terminfo > setenv TE

我想使用screen-256color术语,但我的系统没有,所以我在home目录中编译了它。下面是我的问题

xxxx: ~/.terminfo > tree
.
|-- s
|   `-- screen-256color
`-- x
    `-- xterm-256color

2 directories, 2 files
xxxx: ~/.terminfo > setenv TERMINFO ~/.terminfo
xxxx: ~/.terminfo > setenv TERM  screen-256color
csh: No entry for terminal type "screen-256color"
csh: using dumb terminal settings.

系统似乎无法检测screen-256color文件?

在大多数Linux上,terminfo已经取代了termcap。然而,对于一些应用程序,如csh/tcsh(如Slackware),有些应用程序用terminfo替换termcap的速度很慢。如果是这种情况,它可能会在/etc/termcap中查找条目

您可以通过查看列出的

ldd `which csh`