5 Installing XFree86 manual pages

Contents of this section

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. Starting with LynxOS 2.3.0 it compiles 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 /bin/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
  

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter