peterson@SW.MCC.COM (James Peterson) (11/12/88)
What is the "right" way to get lots of parameter information to an X server? Right now, from looking over the sample servers in the X11R3 distribution, it seems that the server gets iformation in several ways: 1. from the command line: this certainly seems reasonable for "small" amounts of information, but also mainly for user selections, not for installation configuration information or large tables. 2. from environment variables. Sun server uses XDEVICE, WINDOW_PARENT, Parallax asks for PLXMICROCODE and PLXDISPLAY. 3. from a file, os/4.2bsd/access.c uses /etc/Xn.hosts (shouldn't this be relative to the X installed tree -- we don't have the root permissions that would be needed to put a file in /etc). We are experimenting with some changes to the X server and need to provide the server with several tables of invocation-specific user-specified parameters. There seems to be too much info for the command line, we're not sure we should use too many environment variables and we don't know if we should be making up and reading in our own files. Is there something like .Xdefaults for the X server? jim