https://github.com/ibara/libterminfo
Port of NetBSD libterminfo for other POSIX systems.
https://github.com/ibara/libterminfo
Last synced: 8 months ago
JSON representation
Port of NetBSD libterminfo for other POSIX systems.
- Host: GitHub
- URL: https://github.com/ibara/libterminfo
- Owner: ibara
- Created: 2019-10-21T15:31:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-02T03:46:39.000Z (about 6 years ago)
- Last Synced: 2025-04-01T01:51:40.583Z (10 months ago)
- Language: C
- Size: 413 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
libterminfo
===========
`libterminfo` is a port of the
[NetBSD](https://www.netbsd.org/) 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](https://github.com/ibara/mg/).
It comes with a `Makefile` designed for
[OpenBSD](https://www.openbsd.org/)
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.
License
-------
BSD. See individual files for details.