Re: TERMINFO_DIRS

RVP <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
On Sat, 18 Oct 2025, Thomas Klausner wrote:

> Am I using TERMINFO_DIRS wrong or is it broken?
>
>    export TERM=xterm-direct
>    export TERMINFO_DIRS=/usr/share/misc
>    zsh: can't find terminal definition for xterm-direct
>
> i.e. zsh is fine with xterm-direct as TERM until I set TERMINFO_DIRS
> to /usr/share/misc, which is the default directory of the terminfo
> file.
>

TERMINFO_DIRS is misnamed. You have to supply a colon-separated list of
*files* (w/o the .cdb extension).

TERMINFO_DIRS=/usr/share/misc/terminfo:/some/path/file1:/ano/ther/file2

-RVP
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.