weltyc@nisc.nyser.net.UUCP (12/05/87)
I seem to be having a problem with the old resource manager in the distribution for X11. I am running the standard clients like xterm and xclock, and they don't seem to respond to the parameters set in my .Xdefaults file. I looked at the source for xclock, and added a little XrmPutDataBase after the XrmGetDataBase so I could look at what was getting read in. This is my .Xdefaults file: Xclock.ReverseVideo:on Xclock.ReverseVideo:on XClock.ReverseVideo:on xclock.Mode: digital this is what the XrmPutDataBase from xclock puts out: Xclock.Xclock: on XClock.XClock: on xclock.xclock: digital Keep in mind tha xclock uses the oldXrm calls. I have applied all 80 patches. The various combinations of caps is because I thought at first my problem might be that I wasn't getting the program name right. Any ideas out there? This seems pretty basic for general users of X11 as simply a window environment - is anyone else having trouble with their .Xdefaults??? Christopher Welty --- Asst. Director, RPI CS Labs weltyc@cs.rpi.edu ...!rutgers!nysernic!weltyc
swick@ATHENA.MIT.EDU (Ralph R. Swick) (12/11/87)
Actually, .Xdefaults is being read (and correctly, at that). There are multiple known bugs, all fixed in next release (of Xrm), that have conspired against you, among which XrmPutDataBase is broken. As a work-around, specify application-specific resources by name rather than by class; i.e. 'xclock.reverseVideo: on'.