1 | /* $Xorg: site.h,v 1.6 2001/02/09 02:05:16 xorgcvs Exp $ */
|
---|
2 | /************************************************************
|
---|
3 |
|
---|
4 | Copyright 1987, 1998 The Open Group
|
---|
5 |
|
---|
6 | Permission to use, copy, modify, distribute, and sell this software and its
|
---|
7 | documentation for any purpose is hereby granted without fee, provided that
|
---|
8 | the above copyright notice appear in all copies and that both that
|
---|
9 | copyright notice and this permission notice appear in supporting
|
---|
10 | documentation.
|
---|
11 |
|
---|
12 | The above copyright notice and this permission notice shall be included in
|
---|
13 | all copies or substantial portions of the Software.
|
---|
14 |
|
---|
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
---|
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
---|
18 | OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
---|
19 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
---|
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
---|
21 |
|
---|
22 | Except as contained in this notice, the name of The Open Group shall not be
|
---|
23 | used in advertising or otherwise to promote the sale, use or other dealings
|
---|
24 | in this Software without prior written authorization from The Open Group.
|
---|
25 |
|
---|
26 |
|
---|
27 | Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
---|
28 |
|
---|
29 | All Rights Reserved
|
---|
30 |
|
---|
31 | Permission to use, copy, modify, and distribute this software and its
|
---|
32 | documentation for any purpose and without fee is hereby granted,
|
---|
33 | provided that the above copyright notice appear in all copies and that
|
---|
34 | both that copyright notice and this permission notice appear in
|
---|
35 | supporting documentation, and that the name of Digital not be
|
---|
36 | used in advertising or publicity pertaining to distribution of the
|
---|
37 | software without specific, written prior permission.
|
---|
38 |
|
---|
39 | DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
---|
40 | ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
---|
41 | DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
|
---|
42 | ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
---|
43 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
---|
44 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
---|
45 | SOFTWARE.
|
---|
46 |
|
---|
47 | ********************************************************/
|
---|
48 | /* $XFree86: xc/programs/Xserver/include/site.h,v 1.8 2001/12/19 21:37:35 dawes Exp $ */
|
---|
49 |
|
---|
50 | #ifndef SITE_H
|
---|
51 | #define SITE_H
|
---|
52 | /*
|
---|
53 | * The vendor string identifies the vendor responsible for the
|
---|
54 | * server executable.
|
---|
55 | */
|
---|
56 | #ifndef VENDOR_STRING
|
---|
57 | #define VENDOR_STRING "The X.Org Group"
|
---|
58 | #endif
|
---|
59 |
|
---|
60 | /*
|
---|
61 | * The vendor release number identifies, for the purpose of submitting
|
---|
62 | * traceable bug reports, the release number of software produced
|
---|
63 | * by the vendor.
|
---|
64 | */
|
---|
65 | #ifndef VENDOR_RELEASE
|
---|
66 | #define VENDOR_RELEASE 6600
|
---|
67 | #endif
|
---|
68 |
|
---|
69 | /*
|
---|
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
|
---|
74 | * parameters.
|
---|
75 | * DO NOT CHANGE THESE VALUES OR THE DIX IMAKEFILE!
|
---|
76 | */
|
---|
77 | #ifndef COMPILEDDEFAULTFONTPATH
|
---|
78 | #define COMPILEDDEFAULTFONTPATH "/usr/lib/X11/fonts/misc/"
|
---|
79 | #endif
|
---|
80 | #ifndef RGB_DB
|
---|
81 | #define RGB_DB "/usr/lib/X11/rgb"
|
---|
82 | #endif
|
---|
83 |
|
---|
84 | /*
|
---|
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.
|
---|
87 | */
|
---|
88 | #define COMPILEDDEFAULTFONT "fixed"
|
---|
89 | #define COMPILEDCURSORFONT "cursor"
|
---|
90 | #ifndef COMPILEDDISPLAYCLASS
|
---|
91 | #define COMPILEDDISPLAYCLASS "MIT-unspecified"
|
---|
92 | #endif
|
---|
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
|
---|
98 | #ifdef XKB
|
---|
99 | #define DEFAULT_AUTOREPEAT TRUE
|
---|
100 | #else
|
---|
101 | #define DEFAULT_AUTOREPEAT FALSE
|
---|
102 | #endif
|
---|
103 | #define DEFAULT_AUTOREPEATS {\
|
---|
104 | 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,\
|
---|
105 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,\
|
---|
106 | 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
|
---|
107 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
|
---|
108 |
|
---|
109 | #define DEFAULT_LEDS 0x0 /* all off */
|
---|
110 | #define DEFAULT_LEDS_MASK 0xffffffff /* 32 */
|
---|
111 | #define DEFAULT_INT_RESOLUTION 1000
|
---|
112 | #define DEFAULT_INT_MIN_VALUE 0
|
---|
113 | #define DEFAULT_INT_MAX_VALUE 100
|
---|
114 | #define DEFAULT_INT_DISPLAYED 0
|
---|
115 |
|
---|
116 | #define DEFAULT_PTR_NUMERATOR 2
|
---|
117 | #define DEFAULT_PTR_DENOMINATOR 1
|
---|
118 | #define DEFAULT_PTR_THRESHOLD 4
|
---|
119 |
|
---|
120 | #define DEFAULT_SCREEN_SAVER_TIME (10 * (60 * 1000))
|
---|
121 | #define DEFAULT_SCREEN_SAVER_INTERVAL (10 * (60 * 1000))
|
---|
122 | #define DEFAULT_SCREEN_SAVER_BLANKING PreferBlanking
|
---|
123 | #define DEFAULT_SCREEN_SAVER_EXPOSURES AllowExposures
|
---|
124 | #ifndef NOLOGOHACK
|
---|
125 | #define DEFAULT_LOGO_SCREEN_SAVER 1
|
---|
126 | #endif
|
---|
127 | #ifndef DEFAULT_ACCESS_CONTROL
|
---|
128 | #define DEFAULT_ACCESS_CONTROL TRUE
|
---|
129 | #endif
|
---|
130 |
|
---|
131 | /* Default logging parameters. */
|
---|
132 | #ifndef DEFAULT_LOG_VERBOSITY
|
---|
133 | #define DEFAULT_LOG_VERBOSITY 0
|
---|
134 | #endif
|
---|
135 | #ifndef DEFAULT_LOG_FILE_VERBOSITY
|
---|
136 | #define DEFAULT_LOG_FILE_VERBOSITY 3
|
---|
137 | #endif
|
---|
138 |
|
---|
139 | #endif /* SITE_H */
|
---|