Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!decwrl!karlton
From: karlton@decwrl.dec.com (Philip Karlton)
Newsgroups: comp.windows.x
Subject: Re: multiple defaults files
Message-ID: <178@bacchus.DEC.COM>
Date: 12 Dec 87 05:00:25 GMT
References: <8712072013.AA10911@ATHENA.MIT.EDU>
Reply-To: karlton@decwrl.UUCP (Philip Karlton)
Organization: DEC Western Software Lab, Palo Alto, CA
Lines: 22

In article <8712072013.AA10911@ATHENA.MIT.EDU> MARC@IBM.COM (Marc Auslander) writes:
...
>(In my application, I drag my .Xdefaults around in the distributed file
>system, but different machines have different size displays.  I'd like
>to be able to compute font and geometry specs by display and put them
>in environment variables.
...
>Thoughts?
>
>Marc Auslander

The right way to do this is to have the .Xdefaults file stored on the server
rather than getting it from the machine on which the client is running. This
way, when you begin your use of a particular display, you can have the
appropriate defaults stored by a session manager or equivalent. It makes it
even easier if host specifications can be included in the syntax for
specifying your application/window attributes.

There should be provisions for dealing with this in the forthcoming version of
the toolkit.

PK