Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: TERMINFO_DIRS



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


Home | Main Index | Thread Index | Old Index