parsing terminfo entries

Carl Johnson carlj at peak.org
Wed Apr 21 16:41:15 UTC 2010


Robert Huff <roberthuff at rcn.com> writes:

> 	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?

I don't know of any way to parse it, but have you looked at tput(1)?
It will give the value of termcap or terminfo attributes for any
terminal type that you specify.
-- 
Carl Johnson		carlj at peak.org



More information about the freebsd-questions mailing list