Date: Wed, 21 Apr 2010 09:41:11 -0700 From: Carl Johnson <carlj@peak.org> To: freebsd-questions@freebsd.org Subject: Re: parsing terminfo entries Message-ID: <87d3xsyd08.fsf@cjlinux.localnet> In-Reply-To: <19407.1754.183540.932540@jerusalem.litteratus.org> (Robert Huff's message of "Wed\, 21 Apr 2010 10\:08\:26 -0400") References: <19407.1754.183540.932540@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Huff <roberthuff@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@peak.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87d3xsyd08.fsf>