Subject: Re: pkg_select defective?
To: Chuck Swiger <cswiger@mac.com>
From: Thomas Dickey <dickey@his.com>
List: netbsd-users
Date: 10/04/2006 16:17:24
On Wed, 4 Oct 2006, Chuck Swiger wrote:
> On Oct 3, 2006, at 3:18 PM, Thomas Dickey wrote:
>>> Well, no...but wsvt25 isn't in /etc/termcap on Solaris either.
>>
>> I had that (and AIX, HPUX, SGI) in mind, since there are ncurses packages
>> available from their respective vendors, and since a number of packages
>> have (not always necessary) dependencies on ncurses.
>>
>> On Solaris it's unlikely that you'd be using /etc/termcap anyway - the only
>> terminal added in the past 10 years was dtterm (and it's not even the
>> correct format ;-)
>
> It does seem to be relatively common for people to install ncurses and
> terminfo rather than using the Sun-supplied termcap, true. However, even if
> you staticly link a binary against ncurses, you still end up with a
> dependency upon the terminfo files, so such binaries are not as
> self-contained as one might wish...
Solaris and IRIX64 have the same binary terminfo format as ncurses.
Setting $TERMINFO (or $TERMINO_DIRS) makes an ncurses application
live in the vendor's terminfo database.
AIX and HPUX do not - however ncurses can be compiled to match those
formats (the same applies to Tru64).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net