unibilium
unibilium copied to clipboard
Hashed DB terminfo support / FreeBSD
Currently, unibilium expects terminfo data to be available via the directory tree where each $TERM has a file corresponding to it.
However, ncurses provided by the FreeeBSD port devel/ncurses ships terminfo data as a single bdb file, so it looks like that:
$ env|grep TERM
TERM=screen-256color
COLORTERM=rxvt
TERMINFO=/usr/local/share/misc/terminfo.db
$ LC_ALL=C ls -l ${TERMINFO}
-rw-r--r-- 1 root wheel 5079040 Oct 1 08:24 /usr/local/share/misc/terminfo.db
$
So, I guess, to support that, unibilium should check if $TERMINFO
is a file, and extract the info the the db file instead, and keep the current behavior if that's a dir.
PS I'm not sure if #25 is about the same thing.
See also https://rt.cpan.org/Ticket/Display.html?id=123603
PS I'm not sure if #25 is about the same thing.
nope, netbsd-curses uses CDB format.