home *** CD-ROM | disk | FTP | other *** search
/ ANews 3 / AnewsCD3.iso / LinuxPPC / XF86ConfigSVGA < prev   
Text File  |  1999-10-27  |  15KB  |  479 lines

  1. # $XFree86: xc/programs/Xserver/hw/xfree86/XF86Conf.cpp,v 3.21 1996/01/31 11:46:37 dawes Exp $
  2. #
  3. # Copyright (c) 1994 by The XFree86 Project, Inc.
  4. #
  5. # Permission is hereby granted, free of charge, to any person obtaining a
  6. # copy of this software and associated documentation files (the "Software"),
  7. # to deal in the Software without restriction, including without limitation
  8. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  9. # and/or sell copies of the Software, and to permit persons to whom the
  10. # Software is furnished to do so, subject to the following conditions:
  11. # The above copyright notice and this permission notice shall be included in
  12. # all copies or substantial portions of the Software.
  13. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
  16. # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  17. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  18. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  19. # SOFTWARE.
  20. # Except as contained in this notice, the name of the XFree86 Project shall
  21. # not be used in advertising or otherwise to promote the sale, use or other
  22. # dealings in this Software without prior written authorization from the
  23. # XFree86 Project.
  24. #
  25. # $XConsortium: XF86Conf.cpp /main/16 1996/01/31 10:03:57 kaleb $
  26.  
  27. # **********************************************************************
  28. # Refer to the XF86Config(4/5) man page for details about the format of 
  29. # this file. This man page is installed as /usr/X11R6/man/man5/XF86Config.5x 
  30. # **********************************************************************
  31.  
  32. # **********************************************************************
  33. # Files section.  This allows default font and rgb paths to be set
  34. # **********************************************************************
  35.  
  36. Section "Files"
  37.  
  38. # The location of the RGB database.  Note, this is the name of the
  39. # file minus the extension (like ".txt" or ".db").  There is normally
  40. # no need to change the default.
  41.  
  42.     RgbPath    "/usr/X11R6/lib/X11/rgb"
  43.  
  44. # Multiple FontPath entries are allowed (which are concatenated together),
  45. # as well as specifying multiple comma-separated entries in one FontPath
  46. # command (or a combination of both methods)
  47.  
  48.     FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
  49. #    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  50. #    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  51.     FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
  52.     FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
  53.     FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
  54.     FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
  55.  
  56. EndSection
  57.  
  58. # **********************************************************************
  59. # Server flags section.
  60. # **********************************************************************
  61.  
  62. Section "ServerFlags"
  63.  
  64. # Uncomment this to cause a core dump at the spot where a signal is 
  65. # received.  This may leave the console in an unusable state, but may
  66. # provide a better stack trace in the core dump to aid in debugging
  67.  
  68.     NoTrapSignals
  69.  
  70. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  71. # This allows clients to receive this key event.
  72.  
  73. #    DontZap
  74.  
  75. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  76. # sequences.  This allows clients to receive these key events.
  77.  
  78. #    DontZoom
  79.  
  80. # Uncomment this to disable tuning with the xvidtune client. With
  81. # it the client can still run and fetch card and monitor attributes,
  82. # but it will not be allowed to change them. If it tries it will
  83. # receive a protocol error.
  84.  
  85. #    DisableVidModeExtension
  86.  
  87. # Uncomment this to enable the use of a non-local xvidtune client.
  88.  
  89. #    AllowNonLocalXvidtune
  90.  
  91. EndSection
  92.  
  93. # **********************************************************************
  94. # Input devices
  95. # **********************************************************************
  96.  
  97. # **********************************************************************
  98. # Keyboard section
  99. # **********************************************************************
  100.  
  101. Section "Keyboard"
  102.  
  103.     Protocol    "Standard"
  104.  
  105. # when using XQUEUE, comment out the above line, and uncomment the
  106. # following line
  107.  
  108. #    Protocol    "Xqueue"
  109.  
  110.     AutoRepeat    500 5
  111.  
  112. # Let the server do the NumLock processing.  This should only be required
  113. # when using pre-R6 clients
  114. #    ServerNumLock
  115.  
  116. # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1))
  117. #    Xleds      1 2 3
  118.  
  119. # To set the LeftAlt to Meta, RightAlt key to ModeShift, 
  120. # RightCtl key to Compose, and ScrollLock key to ModeLock:
  121.  
  122. #    LeftAlt     Meta
  123. #    RightAlt    ModeShift
  124. #    RightCtl    Compose
  125. #    ScrollLock  ModeLock
  126.  
  127. # To disable the XKEYBOARD extension, uncomment XkbDisable.
  128.  
  129. XkbDisable
  130.  
  131. # To use the default map in ProjectRoot keymap/xfree86, uncomment 
  132. # XkbKeymap. To use one of the alternate maps in keymap/xfree86 
  133. # uncomment and modify the XkbKeymap line, e.g.: 
  134. #    XkbKeymap   "keymap/xfree86(us_microsoft)"
  135. # To tailor a combination not already in keymap/xfree86 modify
  136. # keymap/xfree86 or uncomment and modify the other lines as 
  137. # desired. One way to get a german layout on a 101 key keyboard 
  138. # is to modify the XkbSymbols line, e.g.:
  139. #    XkbSymbols  "symbols/us(pc101)+de"
  140.  
  141. #    XkbKeymap   "keymap/xfree86"
  142. #    Xkbkeycodes "keycodes/xfree86"
  143. #    XkbTypes    "types/default"
  144. #    XkbCompat   "compat/default"
  145. #    XkbSymbols  "symbols/us(pc101)"
  146. #    XkbGeometry "geometry/pc"
  147.  
  148. EndSection
  149.  
  150.  
  151. # **********************************************************************
  152. # Pointer section
  153. # **********************************************************************
  154.  
  155. Section "Pointer"
  156.  
  157.     Protocol    "BusMouse"
  158.     Device    "/dev/mouse"
  159.  
  160. # When using XQUEUE, comment out the above two lines, and uncomment
  161. # the following line.
  162.  
  163. #    Protocol    "Xqueue"
  164.  
  165. # Baudrate and SampleRate are only for some Logitech mice
  166.  
  167. #    BaudRate    9600
  168. #    SampleRate    150
  169.  
  170. # Emulate3Buttons is an option for 2-button Microsoft mice
  171. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  172.  
  173.     Emulate3Buttons
  174.     Emulate3Timeout    50
  175.  
  176. # ChordMiddle is an option for some 3-button Logitech mice
  177.  
  178. #    ChordMiddle
  179.  
  180. EndSection
  181.  
  182.  
  183. # **********************************************************************
  184. # Xinput section -- this is optional and is required only if you
  185. # are using extended input devices.  This is for example only.  Refer
  186. # to the XF86Config man page for a description of the options.
  187. # **********************************************************************
  188. #
  189. # Section "Xinput"
  190. #    SubSection "WacomStylus"
  191. #        Port "/dev/ttyS1"
  192. #        DeviceName "Wacom"
  193. #    EndSubSection
  194. #    SubSection "WacomCursor"
  195. #    EndSubSection
  196. #    SubSection "WacomEraser"
  197. #    EndSubSection
  198. #
  199. #    SubSection "Elographics"
  200. #        Port "/dev/ttyS1"
  201. #        DeviceName "Elo"
  202. #        MinimumXPosition 300
  203. #        MaximumXPosition 3500
  204. #        MinimumYPosition 300
  205. #        MaximumYPosition 3500
  206. #        Screen 0
  207. #        UntouchDelay 10
  208. #        ReportDelay 10
  209. #    EndSubSection
  210. #   
  211. #    SubSection "Joystick"
  212. #        Port "/dev/joy0"
  213. #        DeviceName "Joystick"
  214. #        TimeOut 10
  215. #        MinimumXPosition 100
  216. #        MaximumXPosition 1300
  217. #        MinimumYPosition 100
  218. #        MaximumYPosition 1100
  219. #        # CenterX 700
  220. #        # CenterY 600
  221. #        Delta 20
  222. #    EndSubSection
  223. # EndSection
  224.  
  225.  
  226. # **********************************************************************
  227. # Monitor section
  228. # **********************************************************************
  229.  
  230. # Any number of monitor sections may be present
  231.  
  232. Section "Monitor"
  233.  
  234.     Identifier    "ANITECH"
  235.     VendorName    "AniTech"
  236.     ModelName    "AniTech 15"
  237.  
  238. # HorizSync is in kHz unless units are specified.
  239. # HorizSync may be a comma separated list of discrete values, or a
  240. # comma separated list of ranges of values.
  241. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  242. # USER MANUAL FOR THE CORRECT NUMBERS.
  243.  
  244. #    HorizSync   31.5  # typical for a single frequency fixed-sync monitor
  245.  
  246. #    HorizSync    15-40