Z.Wang@PURPLE.CS.UCL.AC.UK (Zheng Wang, Ext: 3701) (03/16/89)
When I tried to load defaults to the resources manger by using "xrdb -load .Xresources", everything was all right except one line in the file .Xresources:"sim.HOST: blue" which did not be passed. I examined the context of resources manger by using xrdb -query. All defaults were there except sim.HOST which appeared as "sim.1: blue". I changed the name HOST to HHOST or whatever else, it has no problem. Does the string "HOST" reserved in xrdb? It seems that it will be change to "1" automatically. Zheng
ekrell@hector.UUCP (Eduardo Krell) (03/16/89)
Read the man page for xrdb. The file is passed through cpp with a number of predefined symbols, HOST being one of them. Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ UUCP: {att,decvax,ucbvax}!ulysses!ekrell Internet: ekrell@ulysses.att.com
jim@EXPO.LCS.MIT.EDU (Jim Fulton) (03/16/89)
By default, xrdb pipes the input file through cpp to define the following symbols: HOST current host name WIDTH width of display in pixels HEIGHT height of display in pixels X_RESOLUTION horizontal resolution in pixels per meter Y_RESOLUTION vertical resolution in pixels per meter PLANES number of planes on the screen's default visual BITS_PER_RGB number of significant bits in RGB color spec CLASS default visual class COLOR defined if on a color display. You can get around this by using the -nocpp option to xrdb.