[comp.sys.hp] Confusion over APPLANGRESPATH/DIR

evgabb@sdrc.UUCP (Rob Gabbard) (10/30/90)

In the HP-VUE manual it lists the alternate location for application default 
files as the path contained in the environment variable APPLLANGRESATH in the
Preliminary Configuration chapter. However it lists it as XAPPLLANGRESDIR in
the Application Resources chapter. Anybody have any clue as to which it is ?
What's even stranger is that a "strings -o" on vuewm didn't turn up either of
these strings nor could I find them in the X11R4 Xt source.

-- 

Rob Gabbard (uunet!sdrc!evgabb)  
Technical Development Engineer   
Structural Dynamics Research Corp

julie@hpcvlx.cv.hp.com (Julie Skeen) (11/08/90)

> In the HP-VUE manual it lists the alternate location for application default 
> files as the path contained in the environment variable APPLLANGRESATH in the
> Preliminary Configuration chapter. However it lists it as XAPPLLANGRESDIR in
> the Application Resources chapter. Anybody have any clue as to which it is ?
> What's even stranger is that a "strings -o" on vuewm didn't turn up either of
> these strings nor could I find them in the X11R4 Xt source.
> ----------
> Rob Gabbard (uunet!sdrc!evgabb)  
> Technical Development Engineer   
> Structural Dynamics Research Corp
> ----------

The HP-VUE manual is in error.  VUE uses the "standard" Xt mechanism for
getting app-default files, via XtResolvePathname().  VUE uses R4 Xt, and
the method for determining where to get the app-defaults is to first use
the environment variable XUSERFILESEARCHPATH if it is defined, if not,
then use XAPPLRESDIR.  The idea is pretty much the same as in R3 Xt, just 
the names have changed.

It makes sense that you wouldn't find any strings for this in vuewm, since
we don't over-ride the normal mechanism.  I think that if you look in Xt
for the strings I have given you, or search for uses of getenv, you will
see the new environment variables.

Thanks for bringing this up, so that we can fix our manuals.

Julie Skeen

julie@hpcvlx.cv.hp.com (Julie Skeen) (11/08/90)

I should also mention the environment variable XFILESEARCHPATH, which
is used to specify an alternate location for the system app-defaults,
as compared to the user-specified resources.  For more complete 
information, including other environment variables and their use in
generating search paths, see section 11.11 and section 2.2 of the R4
"Programming With the Xt Intrinsics" manual.

Hope this helps.

Julie Skeen