home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 45 / cda45.iso / Linux / XFree86-4.0 / doc / README.LynxOS < prev    next >
Encoding:
Text File  |  2000-03-09  |  8.7 KB  |  263 lines

  1.                       README for XFree86 4.0 on LynxOS
  2.  
  3.                                Thomas Mueller
  4.  
  5.                               25 February 2000
  6.  
  7. 1.  What and Where is XFree86?
  8.  
  9. XFree86 is a port of X11R6.4 that supports several versions of Intel-based
  10. Unix.  It is derived from X386 1.2, which was the X server distributed with
  11. X11R5.  This release consists of many new features and performance improve-
  12. ments as well as many bug fixes.
  13.  
  14. See the Copyright Notice.
  15.  
  16. The sources for XFree86 4.0 are available by anonymous ftp from:
  17.  
  18. ftp://ftp.XFree86.org/pub/XFree86/4.0
  19.  
  20. Binaries of XFree86 for LynxOS x86 are available from:
  21.  
  22. ftp://ftp.XFree86.org/pub/XFree86/4.0/binaries/LynxOS
  23.  
  24. A list of mirror sites is provided by ftp://ftp.XFree86.org/pub/XFree86/MIR-
  25. RORS
  26.  
  27. The binaries on the FTP site were built on the latest released LynxOS version
  28. at the time XFree86 4.0 was released. In this case it is `LynxOS x86 3.0.1'.
  29. Because of changes made to the object format they don't run on LynxOS ver-
  30. sions earlier than 3.0.0.
  31.  
  32. Building of this XFree86 version has never been tested on LynxOS versions
  33. earlier than 2.5.1.
  34.  
  35. XFree86 4.0 supports LynxOS on the x86 and on the PowerPC platform. X servers
  36. are currently available only on the x86 platform. The X server may work with
  37. some PowerPC platforms supported by LynxOS though this has not (yet) been
  38. thoroughly tested.
  39.  
  40. If you need binaries for other platforms than the one on the XFree86 FTP
  41. server or if you have comments or suggestions about this document contact me
  42. (<tmueller@sysgo.de>).
  43.  
  44. 2.  Installing the Binaries
  45.  
  46. Please refer to the Installation Document for detailed installation instruc-
  47. tions.
  48.  
  49. It may be necessary to increase the process stack limit in order to run
  50. XFree86 on your system. Edit /etc/startab and reboot your system to make the
  51. changes active before you begin the installation.
  52.  
  53. Also, be sure to include /usr/X11R6/bin in your PATH environment variable.
  54.  
  55. Refer to the next section Running XFree86 (section , page ) for further
  56. information on necessary configuration steps before running XFree86 on
  57. LynxOS.
  58.  
  59. 2.1  Accessing XFree86 manual pages
  60.  
  61. Include /usr/X11R6/man in the MANPATH environment variable or add the direc-
  62. tory /usr/X11R6/man to /usr/Lib/man.config
  63.  
  64. 3.  Running XFree86
  65.  
  66. This section describes the changes to the LynxOS environment which may be
  67. necessary to successfully run XFree86.
  68.  
  69. 3.1  System tuning
  70.  
  71. 3.1.1  Tunable parameters
  72.  
  73. To reasonably run XFree86 you may have to adjust a few system parameters.
  74.  
  75. On LynxOS 2.5.x and 3.0.x include a line
  76.  
  77.      #define X_WINDOWS
  78.  
  79. in /sys/lynx.os/uparam.h.
  80.  
  81. 3.1.2  Adjustment for "nv" driver for NVidia graphics cards
  82.  
  83. If you're using the "nv" driver (Riva 128, nVidia TNT, TNT2, GeForce), you
  84. will have to increase the value of the SMEMS parameter in
  85. /sys/lynx.os/uparam.h from 10 to 20.
  86.  
  87. 3.1.3  Increase number of ptys
  88.  
  89. You should also increase the number of ptys to be able run a couple more
  90. xterms. You may replace /sys/cfg/pty.cfg with /usr/X11R6/lib/X11/etc/pty.cfg.
  91.  
  92. 3.1.4  MTRR device driver
  93.  
  94. If you're using an Intel PentiumPRO or Pentium II (or higher) class CPU you
  95. might want to install the MTRR device driver. This driver enables the XFree86
  96. X server to manipulate the CPU memory type range registers which may improve
  97. performance on certain systems.
  98.  
  99. To install the driver (on LynxOS x86 2.5.0 systems an higher) follow these
  100. steps:
  101.  
  102.        # cd /
  103.        # bash /usr/X11R6/lib/X11/etc/MTRR-Lynx.shar
  104.        # cd sys/drivers/mtrr
  105.        # make install
  106.  
  107. Then add a line
  108.  
  109.        I:../drivers/mtrr/mtrr.cfg
  110.  
  111. to /sys/lynx.os/CONFIG.TBL and rebuild the kernel (see next section).
  112.  
  113. 3.1.5  Kernel build
  114.  
  115. If you plan to use a PS/2 mouse to the following sections before rebuilding
  116. the kernel, if not, you should rebuild the kernel now:
  117.  
  118.           # cd /sys/lynx.os
  119.           # make install
  120.           # reboot -N
  121.  
  122. 3.2  Mouse support in XFree86
  123.  
  124. XFree86 includes support for PnP mice (see also Mouse Support in XFree86).
  125. The current LynxOS TTY device driver doesn't allow the necessary manipulation
  126. of the RTS line and therefore the support for PnP mice has been disabled for
  127. LynxOS.
  128.  
  129. 3.3  PS/2 mouse drivers
  130.  
  131. LynxOS x86 comes with a PS/2 mouse driver. If it is not currently installed
  132. on your system install it with /usr/bin/Install.ps2mouse. Older versions of
  133. this driver contained code to translate the PS/2 mouse protocol to the format
  134. of a serial mouse, thus you'll have to specify "Microsoft" as the mouse pro-
  135. tocol format. The mouse driver contained in LynxOS x86 patchlevel 015 (and
  136. higher) does no longer perform the protocol translation an therefore can be
  137. defined as "PS/2" protocol format.
  138.  
  139. 3.4  ATC console driver and VT switching
  140.  
  141. Currently there is no support for virtual terminal switching once the server
  142. has started. Support for this feature may be added in future versions (it
  143. requires a patch to the vt100 LynxOS terminal driver).
  144.  
  145. You will need a free console which the X server will use for keyboard input.
  146. You must disable login on at least one of the four virtual terminals in
  147. /etc/ttys, e.g. /dev/atc3:
  148.  
  149. change
  150.  
  151.             /dev/atc3:1:default:vt100at:/bin/login
  152.  
  153. to
  154.  
  155.             /dev/atc3:0:default:vt100at:/bin/login
  156.                       ^
  157.  
  158. 3.5  X Server debug diagnostics output and other VT peculiarities
  159.  
  160. Output made by the XFree86 X on its stdout or stderr will be lost after the
  161. server switches to graphics mode. The XFree86 4.0 server stores its output in
  162. /usr/adm/XFree86.n.log (where n is the screen number).
  163.  
  164. When the X server is running output made to other consoles will be lost.
  165. After server shutdown the screen contents of other consoles may be inconsis-
  166. tent with what one would expect (i.e. random).
  167.  
  168. 4.  Compiling the XFree86 Distribution
  169.  
  170. The next sections contain LynxOS specific notes with respect to the build
  171. process.
  172.  
  173. 4.1  Disk space requirements
  174.  
  175. Currently there is no support for shared libraries in the LynxOS XFree86
  176. port. A complete binary installation along with manual pages will require
  177. approximately 100 MBytes of disk space. To compile the system you will need
  178. at least 250 MBytes of free disk space.
  179.  
  180. 4.2  Changes to system environment (LynxOS x86)
  181.  
  182. Before compiling the XFree86 distribution you will have to make a few little
  183. adjustments to your system:
  184.  
  185.    o If not already installed on your system create a shell script named
  186.      /lib/cpp as follows:
  187.  
  188.             #!/bin/sh
  189.             /usr/lib/gcc-lib/i386-unknown-lynxos2.5/2.7-96q1/cpp \
  190.                -traditional "$@"
  191.  
  192.      On other platforms than the x86 the paths for the compiler support pro-
  193.      grams are different. You may use
  194.  
  195.             gcc -v
  196.  
  197.      to find out the correct path. Set the file mode of /lib/cpp with
  198.  
  199.             # chown root /lib/cpp
  200.             # chmod 755 /lib/cpp
  201.  
  202.    o Modify /lib/liblynx.a. The X servers need the smem_create() system call
  203.      to map the frame buffer into their address space. The system call is in
  204.      liblynx library along with other Lynx proprietary calls which (unfortu-
  205.      nately) overlap with calls in libc. To reduce confusion you should mod-
  206.      ify liblynx as follows:
  207.  
  208.             # mv /lib/liblynx.a /lib/liblynx.a.ORG
  209.             # mkdir /tmp/xx; cd /tmp/xx
  210.             # ar xv /lib/liblynx.a.ORG
  211.             # ar rv /lib/liblynx.a *smem*
  212.             # ranlib /lib/liblynx.a
  213.  
  214. 4.3  make World
  215.  
  216. If you have the MTRR device driver installed, add a line
  217.  
  218.          #define HasMTRRSupport YES
  219.  
  220. to the config/cf/host.def file.
  221.  
  222. You may then issue a
  223.  
  224.           make World
  225.  
  226. to compile XFree86. After a few hours (and hopefully a successful build of
  227. the XFree86 system) you can install the software using
  228.  
  229.           make install
  230.  
  231. You must be logged in as super-user (root) when you invoke `make install'.
  232.  
  233. On LynxOS x86 2.5.0 you may encounter problems with make in deeply nested
  234. subdirectories (eg core dumps, hangups). In this case update to GNU make ver-
  235. sion 3.75 or higher.
  236.  
  237. 4.4  Installing XFree86 manual pages
  238.  
  239. LynxOS uses cat-able manual pages, and because a doc preparation system is
  240. definitely not a vital component of a real-time operating system you must
  241. first install groff-1.09 (or newer).
  242.  
  243. XFree86 manual pages may be installed using
  244.  
  245.           make install.man
  246.  
  247. The index and whatis database for the XFree86 manual pages will be created
  248. automatically. If you already have a whatis database or index file in the
  249. destination directories you should perform a sort/uniq operation to remove
  250. duplicate entries:
  251.  
  252.           for i in 1 3 5
  253.           do
  254.             rm -f /tmp/tmpfile
  255.             sort /usr/X11R6/man/cat$i/LIST$i | uniq > /tmp/tmpfile
  256.             mv /tmp/tmpfile /usr/X11R6/man/cat$i/LIST$i
  257.           done
  258.           sort /usr/X11R6/man/whatis | uniq > /tmp/tmpfile
  259.           mv /tmp/tmpfile /usr/X11R6/man/whatis
  260.  
  261.      Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/LynxOS.sgml,v 3.19 2000/03/03 21:28:08 dawes Exp $
  262.  
  263.