Installing XFree86 manual pages

README for XFree86 3.3 on LynxOS : Installing XFree86 manual pages
Previous: X Server debug diagnostics output and other VT peculiarities
Next: Using XFree86 with Motif

## 5. Installing XFree86 manual pages

LynxOS uses cat-able manual pages, and because a doc preparation system is definitely not a vital component of a real-time operating system you must first install groff-1.09 (or newer). Starting with LynxOS 2.3.0 it should compile right out of the box (or better tar archive).

XFree86 manual pages may be installed using

> `

>          make install.man

> `

The index and whatis database for the XFree86 manual pages will be created automatically. If you already have a whatis database or index file in the destination directories you should perform a sort/uniq operation to remove duplicate entries:

> `

>          for i in 1 3 5
>          do
>            rm -f /tmp/tmpfile
>            sort /usr/X11R6/man/cat$i/LIST$i | uniq > /tmp/tmpfile
>            mv /tmp/tmpfile /usr/X11R6/man/cat$i/LIST$i
>          done
>          sort /usr/X11R6/man/whatis | uniq > /tmp/tmpfile
>          mv /tmp/tmpfile /usr/X11R6/man/whatis

> `

With LynxOS 2.3.0 you should include `/usr/X11R6/man` in the MANPATH environment variable.

> `bash: `MANPATH=$MANPATH:/usr/X11R6/man``

The man command of LynxOS 2.2.1 does not support the MANPATH environment variable properly. The XFree86 manual pages must be copied (or linked) to the standard manual page locations (`/usr/man/catx`) in order to be read the man command:

> `

>           for i in 1 3 5
>           do
>             ln -s /usr/X11R6/man/cat$i/*.* /usr/man/cat$i
>             cat /usr/X11R6/man/cat$i/LIST$i >> /usr/man/cat$i/LIST$i
>             sort -o /usr/man/cat$i/LIST$i /usr/man/cat$i/LIST$i
>             cat /usr/X11R6/man/cat$i/whatis$i >> /usr/man/whatis
>           done

> `

README for XFree86 3.3 on LynxOS : Installing XFree86 manual pages
Previous: X Server debug diagnostics output and other VT peculiarities
Next: Using XFree86 with Motif