Port of NetBSD libterminfo for other POSIX systems.
libterminfo
is a port of the
NetBSD terminfo library.
It is designed to be lightweight and embeddable into programs where you do not want or have ncurses.
libterminfo
is known to work with
mg.
It comes with a Makefile
designed for
OpenBSD
and a Makefile.POSIX
for everything else. Operating systems
besides OpenBSD may need some tweaks to build; feel free to
send any fixes as Pull Requests here.
libterminfo
has a built-in termcap database with entries
for ansi, dumb, rxvt-unicode-256color, screen, screen-256color,
st, tmux, tmux-256color, vt100, vt220, wsvt25, xterm, and
xterm-256color terminals, which should handle the vast majority
of cases. libterminfo
comes with the tools needed to add
additional termcap entries, if desired.
BSD. See individual files for details.