parsing terminfo entries

Chuck Swiger cswiger at mac.com
Wed Apr 21 16:51:21 UTC 2010


Hi--

On Apr 21, 2010, at 7:08 AM, Robert Huff wrote:
> 	Other than curses, is there a library that will let me parse a
> terminfo string?  I.e. ask for the value of a particular setting?

There is/was a compatibility layer called termcap which has things like tgetent(), tputs(), etc.  You should be able to link that /usr/lib/libtermcap.a (or .so) in instead of libcurses, although it might just be a nickname for libcurses nowadays on FreeBSD.

Regards,
-- 
-Chuck



More information about the freebsd-questions mailing list