Ask ncurses where the terminfo database is
Currently this is hardcoded as /lib/terminfo/
, but there might be others. In fact on Ubuntu terminfo can be in any of
$ infocmp -D
/etc/terminfo
/lib/terminfo
/usr/share/terminfo
whereas on OpenSUSE
$ infocmp -D
/etc/terminfo
/usr/share/terminfo