Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!wasatch!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: resource management with Xt Message-ID: <2940@helios.ee.lbl.gov> Date: 6 Jul 89 00:13:24 GMT Sender: usenet@helios.ee.lbl.gov Lines: 23 According to Doug Young, in his "X Window Systems Programming and Applications with Xt" book (p. 50), when XtInitialize() is called, if a resource is not found in the RESOURCE_MANAGER, the value for that resource is obtained from the user's .Xdefaults file in his/her home directory. So far I haven't had any luck with this. I have no problem loading a resource into the RESOURCE_MANAGER with xrdb and using it, so I know I am using the right string for the resource. It is not absolutely critical that the .Xdefaults file works; it is just a hell of a lot easier to debug programs using the .Xdefaults file rather than rerunning xrdb to load a new value for a resource each time I modify it. I am running MIT X11r3 with patches 1 through 8 (haven't installed 9 yet), Purdue speedups (not gcc, though) on Vaxstation II under Ultrix 3.0. Any help would be greatly appreciated. Thanks. _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory We don't need no signatures!