Hacker News new | past | comments | ask | show | jobs | submit login

Aren't termcap and terminfo linux (or maybe unix) only?



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: