"/lib/terminfo/" missing from ncurses-static build configuration
ncurses-static
is built with the following terminfo directories
configuration:
--with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo"
However this library is often used to build static binaries that aim to
run on a large diversity of Linux distributions, and some of them like
Ubuntu 18.04 put the terminfo database in /lib/terminfo
.
Consequently, some binaries built with ncurses-static
do not find
their terminal database entry, which reduce the supported features. For
example CTRL-L does not work with elm REPL:
https://github.com/elm/compiler/issues/1768
Could it be possible to build ncurses-static
with a larger set of
terminfo
directories?
A safer approach could be:
--with-terminfo-dirs="/etc/terminfo:/lib/terminfo:/usr/share/terminfo:/usr/lib/terminfo"
Thank you
(from redmine: issue id 9362, created on 2018-08-29, closed on 2018-09-10)