On Sun, Dec 10, 2006 at 04:11:57PM -0500, Dennis Clarke wrote:

> >> Everything related to SFWanything should stay in /opt/sfw or /usr/sfw
> >> but not straight into /usr .
> >
> > Except in this case.
> 
> I disagree.

Well, okay.  I agree with the "should"-ness of your statement, but unless
the Solaris curses library is modified to look in other locations, then
putting terminfo files anywhere else isn't terribly useful.

And, in fact, it isn't all *that* useful to put terminfo files elsewhere,
since then people have to do special things to be able to use them, and
that's something that we're trying to move away from as much as possible.

At any rate, this is a temporary state of affairs pending people with some
time, and is of low impact.  And insofar as the code review goes, it's
correct (SUNW_PKGTYPE matches the locations of the files, etc).

> > The Solaris curses library doesn't pull terminfo entries from anywhere
> > except /usr/share/lib/terminfo, so putting them
> 
> So there is your problem.  The Solaris curses libs are written such that
> it is not possible to drag in terminfo data from other locations like
> /opt/foo.

It is, actually, though the Solaris curses library doesn't do it as well
as, say, ncurses -- it allows you to set TERMINFO in the environment, but
it's a one-value variable, rather than a more useful colon-separated set of
paths.

> Well, the "WOS" seems to be some term outside the scope of the OpenSolaris
> project.  see :
> 
>     http://src.opensolaris.org/source/s?refs=WOS

Hm.  I thought that was a term that had made it into the OpenSolaris
collective consciousness.  "WOS" == "Wad of Stuff", which is generally
another name for "Product", and in the case of Solaris (which is generally
"the" WOS, just like NYC is "The City"), it's everything in the Product
directory in the install image.  If you ever see people refer to a W-Team,
the W there is from WOS, but I believe those have now been renamed P-Teams
(for "Product").

Danek

Reply via email to