Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashed DB terminfo support / FreeBSD #26

Open
novel opened this issue Oct 3, 2017 · 2 comments
Open

Hashed DB terminfo support / FreeBSD #26

novel opened this issue Oct 3, 2017 · 2 comments

Comments

@novel
Copy link

novel commented Oct 3, 2017

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.

@novel novel changed the title Hashed terminfo support / FreeBSD Hashed DB terminfo support / FreeBSD Oct 3, 2017
@leonerd
Copy link
Contributor

leonerd commented May 19, 2018

@rofl0r
Copy link

rofl0r commented May 19, 2018

PS I'm not sure if #25 is about the same thing.

nope, netbsd-curses uses CDB format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants