Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2010 09:50:48 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: parsing terminfo entries
Message-ID:  <426A2EB5-63FF-4FA4-BF7E-48492C4BC47C@mac.com>
In-Reply-To: <19407.1754.183540.932540@jerusalem.litteratus.org>
References:  <19407.1754.183540.932540@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426A2EB5-63FF-4FA4-BF7E-48492C4BC47C>