home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!noc.near.net!gateway!miki!oj
- From: oj@miki.pictel.com (Oliver Jones)
- Subject: Re: *customization question
- Message-ID: <1992Nov11.142139.1476@miki.pictel.com>
- Organization: PictureTel Corporation
- References: <1992Nov10.173621.21909@elroy.jpl.nasa.gov>
- Date: Wed, 11 Nov 1992 14:21:39 GMT
- Lines: 36
-
- In article <1992Nov10.173621.21909@elroy.jpl.nasa.gov> pjs@euclid.jpl.nasa.gov writes:
- >My ~/.Xdefaults contains
- > *customization: -color
- >and I have
- >XUSERFILESEARCHPATH=./%N:/home/pjs/app-defaults/%N:/usr/nav/app-defaults/%N
-
- >I would have expected (wanted) it to check for a Fig-color file in the
- >directories specified in XUSERFILESEARCHPATH.
- > Is this a bug or a feature?
-
- Feature. (This is a variant on FAQ # 34, q.v.) The *-color
- customization stuff is implemented using the file search path. The
- default XUSERFILESEARCHPATH, compiled into R5 Xt, is
-
- <root>/%L/%N%C:\
- <root>/%l/%N%C:\
- <root>/%N%C:\
- <root>/%L/%N:\
- <root>/%l/%N:\
- <root>/%N:
-
- The pathnames contain replacement characters as follows:
- %N application class name
- %C customization resource
- %L language, locale, and codeset (e.g. "ja_JP.EUC")
- %l language part of %L (e.g. "ja")
-
- When you set your own value, you got rid of the %C specs, so Xt is
- doing what you're telling it when it ignores your -color files.
-
- Set XUSERFILESEARCHPATH to ./%N%C:./%N:\
- /home/pjs/app-defaults/%N%C:/home/pjs/app-defaults/%N:\
- /usr/nav/app-defaults/%N%C:/usr/nav/app-defaults/%N
-
- There's a good article about this stuff (by David Flanagan, I think)
- in the latest X Resource issue.
-