home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / fj / maillis / xwindow / 17571 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.5 KB

  1. Path: sparky!uunet!stanford.edu!agate!spool.mu.edu!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!scslwide!wsgw!wsservra!daemon
  2. From: gildea@expo.lcs.mit.edu (Stephen Gildea)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: merging resource databases
  5. Message-ID: <1992Nov18.001859.29785@sm.sony.co.jp>
  6. Date: 18 Nov 92 00:18:59 GMT
  7. Sender: daemon@sm.sony.co.jp (The devil himself)
  8. Distribution: fj
  9. Organization: X Consortium, MIT Laboratory for Computer Science
  10. Lines: 25
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Message-Id: <9211172221.AA28359@alex.lcs.mit.edu>
  14. In-Reply-To: <1992Nov09.152958.6958@rchland.ibm.com>
  15. Date: Tue, 17 Nov 1992 17:21:47 EST
  16.  
  17. (The original Subject line was "Missing subject header".  Normally I
  18. don't change Subject lines, no matter how silly, in deference to other
  19. users of nn.  But there are limits.)
  20.  
  21.     [I use XrmMergeDatabase and then smash dpy->db]
  22.            ... since I need to load some resource values from a file used to
  23.     specify some widget resources, such as color and fonts.  These resource
  24.     files are used by a number of clients and to avoid duplicating the values
  25.     in each client's system app-defaults file, they are placed in these files
  26.     and each client loads them itself ...
  27.  
  28.  
  29. I'm glad my column in "The X Resource" got at least one person thinking
  30. about their code :-)
  31.  
  32. In R5 you can use #include in your app-defaults files to point at
  33. these common resources.  Then your client code doesn't need to worry
  34. about the databases at all.
  35.  
  36.  < Stephen
  37.    MIT X Consortium
  38.