2003-01-17 13:18:27 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Man</title>
|
|
|
|
|
|
|
|
|
2003-01-17 13:18:27 +00:00
|
|
|
|
|
|
|
<para>Prepare Man to be compiled:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>
|
|
|
|
patch -Np1 -i ../man-&man-80cols-patch-version;-80cols.patch &&
|
2003-01-03 00:21:10 +00:00
|
|
|
patch -Np1 -i ../man-&man-manpath-patch-version;-manpath.patch &&
|
|
|
|
patch -Np1 -i ../man-&man-pager-patch-version;-pager.patch &&
|
2002-09-29 01:07:32 +01:00
|
|
|
PATH=$PATH:/usr/bin:/bin \
|
2003-01-17 13:18:27 +00:00
|
|
|
./configure -default -confdir=/etc
|
|
|
|
</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Continue with compiling the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>And finish off installing the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-17 13:18:27 +00:00
|
|
|
<note><para>If you wish to disable SGR escape sequences, you should
|
2002-09-02 16:46:18 +01:00
|
|
|
edit the man.conf file and add the <userinput>-c</userinput> argument
|
2003-01-17 13:18:27 +00:00
|
|
|
to nroff.</para></note>
|
2002-09-02 16:46:18 +01:00
|
|
|
|
2002-05-11 14:26:21 +01:00
|
|
|
<para>You may want to take a look at the man hint
|
2002-09-28 22:08:29 +01:00
|
|
|
at <ulink url="&hints-root;man.txt"/>, which deals with formatting
|
2002-05-11 14:26:21 +01:00
|
|
|
and compression issues for man pages.</para>
|
2001-04-21 17:47:37 +01:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
2003-01-17 13:18:27 +00:00
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
|
|
|
<para><userinput>patch...:</userinput>
|
|
|
|
These three patches comment out one of the lines in the
|
|
|
|
<filename>man.conf</filename> file (MANPATH /usr/man) because it will create
|
|
|
|
redundant results when using programs like <userinput>whatis</userinput>.
|
|
|
|
It also adds the <emphasis>-R</emphasis> option to the
|
|
|
|
<emphasis>PAGER</emphasis> variable so man pages are displayed properly.
|
|
|
|
Lastly, the patch fixes the problem where man pages are not formatted with
|
|
|
|
more than 80 columns when used with the recent groff versions.</para>
|
|
|
|
|
|
|
|
<para><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default</userinput>:
|
|
|
|
The paths to some programs get written into man's files. Unfortunately, the
|
|
|
|
configure script picks the last location in PATH rather than the first
|
|
|
|
where a program is found. By appending /usr/bin:/bin to PATH for the
|
|
|
|
./configure command, we make sure that man doesn't use the /static versions
|
|
|
|
of our programs.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|