setupterm doesn't find terminfo entry in non-standard database location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ncurses (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
My terminal emulator (Kitty) installs its terminfo entry to:
/usr/local/
But it also registers /usr/local/
% infocmp -D
/usr/local/
/etc/terminfo
/lib/terminfo
/usr/share/terminfo
I use tmux, which uses setupterm: https:/
setupterm sets an error code unless I symlink the terminfo def to a traditional location:
sudo ln -s /usr/local/
This stops the problem. setupterm is presumably not searching all database locations.
I am not the developer of tmux, he directed me here to log the issue.
See https:/
Looking at kitty's source, it appears that
kitty's install copies a compiled binary terminfo
rather than using the tic utility.
As such, it's not an ncurses bug.