A few days ago I asked the following question;
> We have an application here that is proving troublesome to
> get working correctly. Much of what we have has been
> inherited so we are largely in the dark. One oddity is that
> the following environment variable has to be set in the
> .cshrc file:
> I know that the problems are related to this but what I don't
> understand is all of the %L, %T, %N and %S stuff! I have
> searched the manuals and Answerbook for any hint as to what
> this is doing without success.
> Is there someone out there who can point me at a reference for
> this phraseology or even better explain what is going on.
I received a number of answers which have pointed me in the right direction.
The complete answer, as several people pointed out, is rather long and
complicated. When I have time I will read everything but for now here are
1) It's all to do with X-windows/Motif programming.
2) Try 'man locale', 'man XtResolvePathname', 'man setlocale'.
Now how was I to know that this was where to look - everyone agreed
that the documentation for this item was poor for 'normal' (non X
3) Post to USENET group comp.windows.x for more information.
4) Richard.Hellier <email@example.com> sent me an X FAQ which, as he puts
it, ".. goes into detail on the mystery of XFILESEARCHPATH and its
friends!". He, and several others, summarized the %N etc terminology
The value of XFILESEARCHPATH is a colon-separated list of pathnames.
The pathnames contain replacement characters as follows (see XtResolvePathname()):
%N The value of the filename parameter, or the
application's class name.
%T The value of the file "type". In this case, the
literal string "app-defaults"
%C customization resource (R5 only)
%S Suffix. None for app-defaults.
%L Language, locale, and codeset (e.g. "ja_JP.EUC")
%l Language part of %L (e.g. "ja")
%t The territory part of the display's language string
%c The codeset part of the display's language string
If anybody wants the full X FAQ please contact me directly.
bernards@ECN.NL (Marcel Bernards)
Kai Grossjohann <firstname.lastname@example.org>
email@example.com (Robin Marquis)
firstname.lastname@example.org (Donald McLachlan)
email@example.com (John Sutton)
firstname.lastname@example.org (Robert Tag)
Roi Gift <email@example.com>
Dr Peter Watkins.
| Joint Research Centre, | |
| Commission of the European Communities, | Tel: (+31)-2246-5120 |
| P.O. Box 2, | Fax: (+31)-2246-1449 |
| 1755 ZG Petten, | Email: firstname.lastname@example.org |
| The Netherlands. | |
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:17 CDT