aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man-exp.xml
blob: 8d4f970119c2ed30ff04d67288fa962c3cf23bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<sect2>
<title>Command explanations</title>

<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>

<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>

</sect2>