1
README for XFree86 4.3.0 on LynxOS
7
1. What and Where is XFree86?
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.
14
See the Copyright Notice.
16
The sources for XFree86 4.3.0 are available by anonymous ftp from:
18
ftp://ftp.XFree86.org/pub/XFree86/4.3.0
20
Binaries of XFree86 for LynxOS x86 are available from:
22
ftp://ftp.XFree86.org/pub/XFree86/4.3.0/binaries/LynxOS
24
A list of mirror sites is provided by ftp://ftp.XFree86.org/pub/XFree86/MIR-
27
The binaries on the FTP site were built on the latest released LynxOS version
28
at the time XFree86 4.3.0 was released. In this case it is `LynxOS x86
29
3.0.1'. Because of changes made to the object format they don't run on LynxOS
30
versions earlier than 3.0.0.
32
Building of this XFree86 version has never been tested on LynxOS versions
35
This release contains preliminary build support for `LynxOS 3.1.0'. Since
36
this OS release was not available long enough for serious testing `LynxOS
37
3.1.0' support has to be considered to be in `alpha state'. Initial tests
38
were performed on LynxOS x86 only!
40
XFree86 4.3.0 supports LynxOS on the x86 and on the PowerPC platform. X
41
servers are currently available only on the x86 platform. The X server may
42
work with some PowerPC platforms supported by LynxOS though this has not
43
(yet) been thoroughly tested.
45
If you need binaries for other platforms than the one on the XFree86 FTP
46
server or if you have comments or suggestions about this document contact me
47
(<tmueller@sysgo.de>).
49
2. Installing the Binaries
51
Please refer to the Installation Document for detailed installation instruc-
54
It may be necessary to increase the process stack limit in order to run
55
XFree86 on your system. Edit /etc/startab and reboot your system to make the
56
changes active before you begin the installation.
58
Also, be sure to include /usr/X11R6/bin in your PATH environment variable.
60
Refer to the next section Running XFree86 (section 3., page 1) for further
61
information on necessary configuration steps before running XFree86 on
64
2.1 Accessing XFree86 manual pages
66
Include /usr/X11R6/man in the MANPATH environment variable or add the direc-
67
tory /usr/X11R6/man to /usr/Lib/man.config
71
This section describes the changes to the LynxOS environment which may be
72
necessary to successfully run XFree86.
76
3.1.1 Tunable parameters
78
To reasonably run XFree86 you may have to adjust a few system parameters.
80
On LynxOS 2.5.x and 3.0.x include a line
84
in /sys/lynx.os/uparam.h.
86
3.1.2 Adjustment for "nv" driver for NVidia graphics cards
88
If you're using the "nv" driver (Riva 128, nVidia TNT, TNT2, GeForce), you
89
will have to increase the value of the SMEMS parameter in
90
/sys/lynx.os/uparam.h from 10 to 20.
92
3.1.3 Increase number of ptys
94
You should also increase the number of ptys to be able run a couple more
95
xterms. You may replace /sys/cfg/pty.cfg with /usr/X11R6/lib/X11/etc/pty.cfg.
97
3.1.4 MTRR device driver
99
If you're using an Intel PentiumPRO or Pentium II (or higher) class CPU you
100
might want to install the MTRR device driver. This driver enables the XFree86
101
X server to manipulate the CPU memory type range registers which may improve
102
performance on certain systems.
104
To install the driver (on LynxOS x86 2.5.0 systems an higher) follow these
108
# bash /usr/X11R6/lib/X11/etc/MTRR-Lynx.shar
109
# cd sys/drivers/mtrr
114
I:../drivers/mtrr/mtrr.cfg
116
to /sys/lynx.os/CONFIG.TBL and rebuild the kernel (see next section).
120
If you plan to use a PS/2 mouse to the following sections before rebuilding
121
the kernel, if not, you should rebuild the kernel now:
127
3.2 Mouse support in XFree86
129
XFree86 includes support for PnP mice (see also Mouse Support in XFree86).
130
The current LynxOS TTY device driver doesn't allow the necessary manipulation
131
of the RTS line and therefore the support for PnP mice has been disabled for
134
3.3 PS/2 mouse drivers
136
LynxOS x86 comes with a PS/2 mouse driver. If it is not currently installed
137
on your system install it with /usr/bin/Install.ps2mouse. Older versions of
138
this driver contained code to translate the PS/2 mouse protocol to the format
139
of a serial mouse, thus you'll have to specify "Microsoft" as the mouse pro-
140
tocol format. The mouse driver contained in LynxOS x86 patchlevel 015 (and
141
higher) does no longer perform the protocol translation an therefore can be
142
defined as "PS/2" protocol format.
144
3.4 ATC console driver and VT switching
146
Currently there is no support for virtual terminal switching once the server
147
has started. Support for this feature may be added in future versions (it
148
requires a patch to the vt100 LynxOS terminal driver).
150
You will need a free console which the X server will use for keyboard input.
151
You must disable login on at least one of the four virtual terminals in
152
/etc/ttys, e.g. /dev/atc3:
156
/dev/atc3:1:default:vt100at:/bin/login
160
/dev/atc3:0:default:vt100at:/bin/login
163
3.5 X Server debug diagnostics output and other VT peculiarities
165
Output made by the XFree86 X on its stdout or stderr will be lost after the
166
server switches to graphics mode. The XFree86 4.3.0 server stores its output
167
in /usr/adm/XFree86.n.log (where n is the screen number).
169
When the X server is running output made to other consoles will be lost.
170
After server shutdown the screen contents of other consoles may be inconsis-
171
tent with what one would expect (i.e. random).
173
4. Compiling the XFree86 Distribution
175
The next sections contain LynxOS specific notes with respect to the build
178
4.1 Disk space requirements
180
Currently there is no support for shared libraries in the LynxOS XFree86
181
port. A complete binary installation along with manual pages will require
182
approximately 100 MBytes of disk space. To compile the system you will need
183
at least 250 MBytes of free disk space.
185
4.2 Changes to system environment (LynxOS x86)
187
Before compiling the XFree86 distribution you will have to make a few little
188
adjustments to your system:
190
o If not already installed on your system create a shell script named
194
/usr/lib/gcc-lib/i386-unknown-lynxos2.5/2.7-96q1/cpp \
197
On other platforms than the x86 the paths for the compiler support pro-
198
grams are different. You may use
202
to find out the correct path. Set the file mode of /lib/cpp with
204
# chown root /lib/cpp
207
o Modify /lib/liblynx.a. The X servers need the smem_create() system call
208
to map the frame buffer into their address space. The system call is in
209
liblynx library along with other Lynx proprietary calls which (unfortu-
210
nately) overlap with calls in libc. To reduce confusion you should mod-
211
ify liblynx as follows:
213
# mv /lib/liblynx.a /lib/liblynx.a.ORG
214
# mkdir /tmp/xx; cd /tmp/xx
215
# ar xv /lib/liblynx.a.ORG
216
# ar rv /lib/liblynx.a *smem*
217
# ranlib /lib/liblynx.a
221
If you have the MTRR device driver installed, add a line
223
#define HasMTRRSupport YES
225
to the config/cf/host.def file.
231
to compile XFree86. After a few hours (and hopefully a successful build of
232
the XFree86 system) you can install the software using
236
You must be logged in as super-user (root) when you invoke `make install'.
238
On LynxOS x86 2.5.0 you may encounter problems with make in deeply nested
239
subdirectories (eg core dumps, hangups). In this case update to GNU make ver-
242
4.4 Installing XFree86 manual pages
244
LynxOS uses cat-able manual pages, and because a doc preparation system is
245
definitely not a vital component of a real-time operating system you must
246
first install groff-1.09 (or newer).
248
XFree86 manual pages may be installed using
252
The index and whatis database for the XFree86 manual pages will be created
253
automatically. If you already have a whatis database or index file in the
254
destination directories you should perform a sort/uniq operation to remove
260
sort /usr/X11R6/man/cat$i/LIST$i | uniq > /tmp/tmpfile
261
mv /tmp/tmpfile /usr/X11R6/man/cat$i/LIST$i
263
sort /usr/X11R6/man/whatis | uniq > /tmp/tmpfile
264
mv /tmp/tmpfile /usr/X11R6/man/whatis
266
Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/LynxOS.sgml,v 3.20 2000/06/17 00:27:32 dawes Exp $
269
$XFree86: xc/programs/Xserver/hw/xfree86/doc/README.LynxOS,v 3.35 2003/02/24 04:03:21 dawes Exp $