home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zephyr.ens.tek.com!uw-beaver!micro-heart-of-gold.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
- From: gildea@expo.lcs.mit.EDU (Stephen Gildea)
- Newsgroups: comp.windows.x
- Subject: Re: XDM configuration question
- Message-ID: <9209011626.AA20991@alex.lcs.mit.edu>
- Date: 1 Sep 92 16:26:08 GMT
- References: <1992Aug25.134729.4980@reks.uia.ac.be>
- Sender: daemon@athena.mit.edu (Mr Background)
- Organization: X Consortium, MIT Laboratory for Computer Science
- Lines: 25
-
-
- Can anybody tell me whether the xdm-config file gets passed
- through cpp or not. In particular, I would like to make parts of
- it conditional on the hostname of the current system.
-
- The short answer is no, it is not run through cpp. The long answer is
- that this would not be useful anyway. You should not customize xdm's
- behavior based on the host where it is running; that is irrelevant to
- the user. Instead, customize for the display being served.
-
- There are two ways to do this customization. First, the xdm resources
- that relate to a specific display include the display name in the
- resource name, so you can ask for different behavior on different
- displays.
-
- Second, the resources file used by the parts of xdm that display
- windows is loaded by xrdb, so it is run through cpp. The sample
- resource file in the R5 distribution uses this, for example, to
- display the name of the host you are logging in to in the Login
- window.
-
- See xdm(1) for details.
-
- < Stephen
- MIT X Consortium
-