pusateri@romeo.cs.duke.edu (Thomas J. Pusateri) (05/20/89)
I have noticed several different programs that can use a -xrm option and then specify useful information like a icon such as the following line: xterm -xrm '*iconPixmap: xterm.bm' There is another example in the Xt Intrinsics manual on page 25 xmh -xrm 'xmh*Command.background: red' My question is, where are these xrm options found? I have not seen these documented anywhere and I am sure I could do some powerful things if I knew all of the possibilities. I would like to add a foreground and background color to an icon and I am thinking this may be the only way to do it. Also, what is the current policy about the app-defaults directory. I've never seen anyone distribute an application where they told you to put a file in somewhere/lib/app-defaults. However, if I want to distribute an application with a carefully chosen set of colors for different widgets, I know I should not hard code these colors in. Either every user would have to modify his .Xdefaults file to include my application or a file could be placed in app-defaults during installation. What is the best way to handle this? Thanks for any information. I will summarize to the net if desired. Tom Pusateri National Biomedical Simulation Resource Duke University Medical Center pusateri@nbsr.mc.duke.edu pusateri@romeo.cs.duke.edu