home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / 16001 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.5 KB

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