home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21615 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.4 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!bogus.sura.net!udel!intercon!psinntp!internet!sbi!pivot-sts!rann!ray
  2. From: ray@rann.sbi.com (Raymond Blum)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: Defeating the resource file search path.
  5. Message-ID: <1437@pivot-sts.sbi.com>
  6. Date: 26 Jan 93 19:39:45 GMT
  7. References: <3310@contex.contex.com>
  8. Sender: news@pivot-sts.sbi.com
  9. Reply-To: ray@rann.sbi.com
  10. Organization: Salomon Inc.
  11. Lines: 39
  12. Nntp-Posting-Host: rann
  13.  
  14. In article 3310@contex.contex.com, avinash@felix.contex.com (Avinash Chopde) writes:
  15. >Is there any way to defeat the default X resource file search path?
  16. >It is extremely difficult to modify X programs if it involves changing
  17. >resource files---even if I keep a copy of the resource file in the
  18. >current directory, the default X mechanism *merges* all the resource file
  19. >it finds - from /usr/lib/app-defaults, from $XUSERFILESEARCHPATH,
  20. >..Xdefaults, and $XENVIRONMENT!
  21. >
  22. >Is it possible to force a X program to use only resource files in
  23. >the current directory, and inhibit this merging of resource files?
  24. >
  25.   Why not have your program set the relevant environment variables BEFORE initializing X? You could set XENVIRONMENT to something along the lines of 'dirname `$0`'... couldn't you?
  26. ---Raymond
  27. >If this is not possible, how does a X developer maintain and debug
  28. >X resource files? (Edit the resource files in *all* the locations 
  29. >on your system is an answer!)
  30. >-- 
  31. >---------------------------
  32. >Avinash Chopde       office : 617 246 1776x5582    Wakefield, MA, USA.
  33. >avinash@contex.com   (...!uunet!contex!avinash)
  34.  
  35.  
  36.  
  37. ---
  38. -------------------------------------------------------
  39. -----                               __   ___       ----
  40. -----                        . o  _/  \_/   \_     ----
  41. ----                  \\\\\\\    O   Hey!     \    ----
  42. ----                 \\\    \\   | why AM I    |   ----
  43. ----                  \\ O O     \_ smiling? _/    ----
  44. ----                               \__/\____/      ----
  45. ----                     \_/                       ----
  46. ----                                               ----
  47. ----   Raymond Blum                                ----
  48. ----   ray@rann.sbi.com                            ----
  49. ----   (201) 896-7594                              ----
  50.  
  51.   Of course these are MY opinions! Whattya think, my EMPLOYER 
  52.   could've thought this stuff up?
  53.