繁体   English   中英

terminfo似乎在csh中不起作用

[英]terminfo seems to not work in csh

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

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`

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM