2011-08-23 15 views

回答

3

terminfo manpage

抓取编译说明 如果环境变量TERMINFO设置,它是你 工作解释为 路径包含编译描述的目录。只有该目录被搜索。

If TERMINFO is not set, the ncurses version of the terminfo reader code 
    will instead look in the directory $HOME/.terminfo for a compiled 
    description. 

您可能需要查阅手册页的信息,如何编译terminfo文件。

我希望这会有所帮助。

1

定义--datadir标志configure,如:

configure --datadir=/usr/customshare 

阅读INSTALL坐落在ncurses的文件的根目录文件中的音符:

...

的位置terminfo由“--datadir” 配置选项间接设置,例如/ usr/share/terminfo,给定的数据元为 /usr /分享。如果要在非标准位置安装 ncurses库,但希望共享terminfo数据库,则可能需要覆盖此选项。

...

--with-terminfo的 - 迪尔斯= XXX 指定将被编译成 ncurses库terminfo目录的搜索列表(默认:DATADIR/terminfo的)

相关问题