Hacker News new | ask | show | jobs
by Sean1708 2720 days ago
Aren't termcap and terminfo linux (or maybe unix) only?
3 comments

Both of them long predate Linux. They're definitely Unix-flavored, but so's the Berkeley sockets library, and that's available everywhere, too. Ultimately, they're a library which is packaged with a database, and nothing about them is very system-specific except the terminal information in the database.

https://en.wikipedia.org/wiki/Terminfo

termcap was written by Bill Joy in 1978. terminfo dates back to 1982.
termcap is supported on FreeBSD, at the least.