Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 1999 19:36:55 -0400
From:      Randall Hopper <aa8vb@ipass.net>
To:        lyndon@orthanc.ab.ca, Chuck Robey <chuckr@picnic.mat.net>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: FXTV Round Two
Message-ID:  <19990625193655.A3890@ipass.net>
In-Reply-To: <199906252214.QAA26275@orthanc.ab.ca>; from lyndon@orthanc.ab.ca on Fri, Jun 25, 1999 at 04:14:17PM -0600
References:  <19990625181023.A2110@ipass.net> <Pine.BSF.4.10.9906251821270.50750-100000@picnic.mat.net> <19990625181411.B2110@ipass.net> <199906252214.QAA26275@orthanc.ab.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
lyndon@orthanc.ab.ca:
 |No, this is with the default environment (no env override at all).

Chuck Robey:
 |picnic:/usr1/chuckr/bs:79 >env | grep ^X
 |XWINHOME=/usr/X11R6
 |XKEYSYMB=/usr/local/lib/netscape/XKeysymDB
...
 | 52490 fxtv     NAMI  "/usr1/chuckr/en_US.ISO_8859-1/Fxtv"
 | 52490 fxtv     NAMI  "/usr1/chuckr/en/Fxtv"
 | 52490 fxtv     NAMI  "/usr1/chuckr/Fxtv"
 | 52490 fxtv     NAMI  "/usr1/chuckr/en_US.ISO_8859-1/Fxtv"
 | 52490 fxtv     NAMI  "/usr1/chuckr/en/Fxtv"
 | 52490 fxtv     NAMI  "/usr1/chuckr/Fxtv"
 | 52490 fxtv     NAMI  "/usr/X11R6/bin/app-defaults/Fxtv"
 | 52490 fxtv     NAMI  "/usr/X11R6/lib/X11/fxtv/app-defaults/Fxtv"
 |
 |Notice that last line, with the incorrect value stuck in there for the
 |app-defaults default address?

Yeah, I know what's going on now.  

To avoid polluting the common pixmap directories in /usr/X11R6, fxtv
installs its bitmap files in a separate subtree (like fvwm2, afterstep,
etc.)

So that the standard XtResolvePathname/XtFindFile mechanism will find these
bitmaps and pixmaps, fxtv augments XFILESEARCHPATH when it starts up.  If
XFILESEARCHPATH is already set, it appends to it, and the new directories
are searched.  If XFILESEARCHPATH wasn't set before it sets it.  Both have
the desirable affect of letting fxtv find the pixmaps, but it has the
undesirable affect for the latter of overriding the mondo hard-coded
default search path (in Xt) used when XFILESEARCHPATH isn't set.  This
internal default is something like:

     <XRoot>/lib/X11/%L/%T/%N%C%S:<XRoot>/lib/X11/%l/%T/%N%C%S:\
     <XRoot>/lib/X11/%T/%N%C%S:<XRoot>/lib/X11/%L/%T/%N%S:\
     <XRoot>/lib/X11/%l/%T/%N%S:<XRoot>/lib/X11/%T/%N%S

To keep XtResolvePathname working, fxtv should probably install this mondo
default and tack on its own piece.

Randall



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990625193655.A3890>