home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / include / site.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-14  |  3.4 KB  |  102 lines

  1. /************************************************************
  2. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
  3. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  4.  
  5.                         All Rights Reserved
  6.  
  7. Permission to use, copy, modify, and distribute this software and its 
  8. documentation for any purpose and without fee is hereby granted, 
  9. provided that the above copyright notice appear in all copies and that
  10. both that copyright notice and this permission notice appear in 
  11. supporting documentation, and that the names of Digital or MIT not be
  12. used in advertising or publicity pertaining to distribution of the
  13. software without specific, written prior permission.  
  14.  
  15. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  16. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  17. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  18. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  19. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  20. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  21. SOFTWARE.
  22.  
  23. ********************************************************/
  24.  
  25. #ifndef SITE_H
  26. #define SITE_H
  27. /*
  28.  * The vendor string identifies the vendor responsible for the
  29.  * server executable.
  30.  */
  31. #ifndef VENDOR_STRING
  32. #define VENDOR_STRING "MIT X Consortium"
  33. #endif
  34.  
  35. /*
  36.  * The vendor release number identifies, for the purpose of submitting
  37.  * traceable bug reports, the release number of software produced
  38.  * by the vendor.
  39.  */
  40. #ifndef VENDOR_RELEASE
  41. #define VENDOR_RELEASE    5000
  42. #endif
  43.  
  44. /*
  45.  * The following constants are provided solely as a last line of defense.  The
  46.  * normal build ALWAYS overrides them using a special rule given in
  47.  * server/dix/Imakefile.  If you want to change either of these constants, 
  48.  * you should set the DefaultFontPath or DefaultRGBDatabase configuration 
  49.  * parameters.
  50.  * DO NOT CHANGE THESE VALUES OR THE DIX IMAKEFILE!
  51.  */
  52. #ifndef COMPILEDDEFAULTFONTPATH
  53. #define COMPILEDDEFAULTFONTPATH    "/usr/lib/X11/fonts/misc/"
  54. #endif
  55. #ifndef RGB_DB
  56. #define RGB_DB            "/usr/lib/X11/rgb"
  57. #endif
  58.  
  59. /*
  60.  * The following constants contain default values for all of the variables 
  61.  * that can be initialized on the server command line or in the environment.
  62.  */
  63. #define COMPILEDDEFAULTFONT    "fixed"
  64. #define COMPILEDCURSORFONT    "cursor"
  65. #ifndef COMPILEDDISPLAYCLASS
  66. #define COMPILEDDISPLAYCLASS    "MIT-unspecified"
  67. #endif
  68. #define DEFAULT_TIMEOUT        60    /* seconds */
  69. #define DEFAULT_KEYBOARD_CLICK     0
  70. #define DEFAULT_BELL        50
  71. #define DEFAULT_BELL_PITCH    400
  72. #define DEFAULT_BELL_DURATION    100
  73. #define DEFAULT_AUTOREPEAT    FALSE
  74. #define DEFAULT_AUTOREPEATS    {\
  75.     0, 0, 0, 0, 0, 0, 0, 0,\
  76.     0, 0, 0, 0, 0, 0, 0, 0,\
  77.     0, 0, 0, 0, 0, 0, 0, 0,\
  78.     0, 0, 0, 0, 0, 0, 0, 0 }
  79. #define DEFAULT_LEDS        0x0        /* all off */
  80. #define DEFAULT_LEDS_MASK    0xffffffff /* 32 */
  81. #define DEFAULT_INT_RESOLUTION        1000
  82. #define DEFAULT_INT_MIN_VALUE        0
  83. #define DEFAULT_INT_MAX_VALUE        100
  84. #define DEFAULT_INT_DISPLAYED        0
  85.  
  86. #define DEFAULT_PTR_NUMERATOR    2
  87. #define DEFAULT_PTR_DENOMINATOR    1
  88. #define DEFAULT_PTR_THRESHOLD    4
  89.  
  90. #define DEFAULT_SCREEN_SAVER_TIME (10 * (60 * 1000))
  91. #define DEFAULT_SCREEN_SAVER_INTERVAL (10 * (60 * 1000))
  92. #define DEFAULT_SCREEN_SAVER_BLANKING PreferBlanking
  93. #define DEFAULT_SCREEN_SAVER_EXPOSURES AllowExposures
  94. #ifndef NOLOGOHACK
  95. #define DEFAULT_LOGO_SCREEN_SAVER 1
  96. #endif
  97. #ifndef DEFAULT_ACCESS_CONTROL
  98. #define DEFAULT_ACCESS_CONTROL TRUE
  99. #endif
  100.  
  101. #endif /* SITE_H */
  102.