1 /* $XConsortium: site.h /main/27 1996/12/09 17:52:19 kaleb $ */
2 /************************************************************
4 Copyright (c) 1987 X Consortium
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 Except as contained in this notice, the name of the X Consortium shall not be
24 used in advertising or otherwise to promote the sale, use or other dealings
25 in this Software without prior written authorization from the X Consortium.
28 Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
32 Permission to use, copy, modify, and distribute this software and its
33 documentation for any purpose and without fee is hereby granted,
34 provided that the above copyright notice appear in all copies and that
35 both that copyright notice and this permission notice appear in
36 supporting documentation, and that the name of Digital not be
37 used in advertising or publicity pertaining to distribution of the
38 software without specific, written prior permission.
40 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
41 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
42 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
43 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
44 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
45 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
48 ********************************************************/
53 * The vendor string identifies the vendor responsible for the
57 #define VENDOR_STRING "X Consortium"
61 * The vendor release number identifies, for the purpose of submitting
62 * traceable bug reports, the release number of software produced
65 #ifndef VENDOR_RELEASE
66 #define VENDOR_RELEASE 6300
70 * The following constants are provided solely as a last line of defense. The
71 * normal build ALWAYS overrides them using a special rule given in
72 * server/dix/Imakefile. If you want to change either of these constants,
73 * you should set the DefaultFontPath or DefaultRGBDatabase configuration
75 * DO NOT CHANGE THESE VALUES OR THE DIX IMAKEFILE!
77 #ifndef COMPILEDDEFAULTFONTPATH
78 #define COMPILEDDEFAULTFONTPATH "/usr/lib/X11/fonts/misc/"
81 #define RGB_DB "/usr/lib/X11/rgb"
85 * The following constants contain default values for all of the variables
86 * that can be initialized on the server command line or in the environment.
88 #define COMPILEDDEFAULTFONT "fixed"
89 #define COMPILEDCURSORFONT "cursor"
90 #ifndef COMPILEDDISPLAYCLASS
91 #define COMPILEDDISPLAYCLASS "MIT-unspecified"
93 #define DEFAULT_TIMEOUT 60 /* seconds */
94 #define DEFAULT_KEYBOARD_CLICK 0
95 #define DEFAULT_BELL 50
96 #define DEFAULT_BELL_PITCH 400
97 #define DEFAULT_BELL_DURATION 100
99 #define DEFAULT_AUTOREPEAT TRUE
101 #define DEFAULT_AUTOREPEAT FALSE
104 #define DEFAULT_AUTOREPEATS {\
105 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,\
106 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,\
107 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
108 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
110 #define DEFAULT_AUTOREPEATS {\
111 0, 0, 0, 0, 0, 0, 0, 0,\
112 0, 0, 0, 0, 0, 0, 0, 0,\
113 0, 0, 0, 0, 0, 0, 0, 0,\
114 0, 0, 0, 0, 0, 0, 0, 0 }
116 #define DEFAULT_LEDS 0x0 /* all off */
117 #define DEFAULT_LEDS_MASK 0xffffffff /* 32 */
118 #define DEFAULT_INT_RESOLUTION 1000
119 #define DEFAULT_INT_MIN_VALUE 0
120 #define DEFAULT_INT_MAX_VALUE 100
121 #define DEFAULT_INT_DISPLAYED 0
123 #define DEFAULT_PTR_NUMERATOR 2
124 #define DEFAULT_PTR_DENOMINATOR 1
125 #define DEFAULT_PTR_THRESHOLD 4
127 #define DEFAULT_SCREEN_SAVER_TIME (10 * (60 * 1000))
128 #define DEFAULT_SCREEN_SAVER_INTERVAL (10 * (60 * 1000))
129 #define DEFAULT_SCREEN_SAVER_BLANKING PreferBlanking
130 #define DEFAULT_SCREEN_SAVER_EXPOSURES AllowExposures
132 #define DEFAULT_LOGO_SCREEN_SAVER 1
134 #ifndef DEFAULT_ACCESS_CONTROL
135 #define DEFAULT_ACCESS_CONTROL TRUE