<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Installing XFree86 manual pages</TITLE>
</HEAD>
<BODY BGCOLOR="#efefef" TEXT="black" LINK="blue" VLINK="#551A8B" ALINK="red">

<A HREF="LynxOS.html"><EM>README for XFree86 on LynxOS</EM></A>
 <b>:</b> <EM>Installing XFree86 manual pages</EM><BR>
<b>Previous:</b> <A HREF="LynxOS3.html"><EM>Running XFree86</EM></A><BR>
<b>Next:</b> <A HREF="LynxOS5.html"><EM>Using XFree86 with Motif</EM></A>


<HR NOSHADE>
  <H2><A NAME="14"></A>4. Installing XFree86 manual pages</H2>
<p>
<A NAME="installman"></A></p>
<p>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).</p>
<p>XFree86 manual pages may be installed using</p>
<p>
<blockquote><code>
<pre>
     make install.man
  
</pre>
</code></blockquote>
</p>
<p>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:</p>
<p>
<blockquote><code>
<pre>
     for i in 1 3 5
     do
       rm -f /tmp/tmpfile
       sort /usr/X11R6/man/cat$i/LIST$i | uniq &gt; /tmp/tmpfile
       mv /tmp/tmpfile /usr/X11R6/man/cat$i/LIST$i
     done
     sort /usr/X11R6/man/whatis | uniq &gt; /tmp/tmpfile
     mv /tmp/tmpfile /usr/X11R6/man/whatis
  
</pre>
</code></blockquote>
</p>
<p>With LynxOS 2.3.0 you should include <code>/usr/X11R6/man</code> in the MANPATH
environment variable.</p>
<p>
<blockquote><code>
bash:   <code>MANPATH=&#36;MANPATH:/usr/X11R6/man</code>
</code></blockquote>
</p>
<p>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
(<code>/usr/man/catx</code>) in  order to be read the man command:</p>
<p>
<blockquote><code>
<pre>
      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 &gt;&gt; /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 &gt;&gt; /usr/man/whatis
      done
  
</pre>
</code></blockquote>
</p>

 <HR NOSHADE>
<A HREF="LynxOS.html"><EM>README for XFree86 on LynxOS</EM></A>
 <b>:</b> <EM>Installing XFree86 manual pages</EM><BR>
<b>Previous:</b> <A HREF="LynxOS3.html"><EM>Running XFree86</EM></A><BR>
<b>Next:</b> <A HREF="LynxOS5.html"><EM>Using XFree86 with Motif</EM></A>



</BODY>
</HTML>
