1 | <sect2><title> </title><para> </para></sect2>
|
---|
2 |
|
---|
3 | <sect2>
|
---|
4 | <title>Installation of Man</title>
|
---|
5 |
|
---|
6 |
|
---|
7 |
|
---|
8 | <para>Prepare Man to be compiled:</para>
|
---|
9 |
|
---|
10 | <para><screen><userinput>
|
---|
11 | patch -Np1 -i ../man-&man-80cols-patch-version;-80cols.patch &&
|
---|
12 | patch -Np1 -i ../man-&man-manpath-patch-version;-manpath.patch &&
|
---|
13 | patch -Np1 -i ../man-&man-pager-patch-version;-pager.patch &&
|
---|
14 | PATH=$PATH:/usr/bin:/bin \
|
---|
15 | ./configure -default -confdir=/etc
|
---|
16 | </userinput></screen></para>
|
---|
17 |
|
---|
18 | <para>Continue with compiling the package:</para>
|
---|
19 |
|
---|
20 | <para><screen><userinput>make</userinput></screen></para>
|
---|
21 |
|
---|
22 | <para>And finish off installing the package:</para>
|
---|
23 |
|
---|
24 | <para><screen><userinput>make install</userinput></screen></para>
|
---|
25 |
|
---|
26 | <note><para>If you wish to disable SGR escape sequences, you should
|
---|
27 | edit the man.conf file and add the <userinput>-c</userinput> argument
|
---|
28 | to nroff.</para></note>
|
---|
29 |
|
---|
30 | <para>You may want to take a look at the man hint
|
---|
31 | at <ulink url="&hints-root;man.txt"/>, which deals with formatting
|
---|
32 | and compression issues for man pages.</para>
|
---|
33 |
|
---|
34 | </sect2>
|
---|
35 |
|
---|
36 | <sect2>
|
---|
37 | <title>Command explanations</title>
|
---|
38 |
|
---|
39 | <para><userinput>patch...:</userinput>
|
---|
40 | These three patches comment out one of the lines in the
|
---|
41 | <filename>man.conf</filename> file (MANPATH /usr/man) because it will create
|
---|
42 | redundant results when using programs like <userinput>whatis</userinput>.
|
---|
43 | It also adds the <emphasis>-R</emphasis> option to the
|
---|
44 | <emphasis>PAGER</emphasis> variable so man pages are displayed properly.
|
---|
45 | Lastly, the patch fixes the problem where man pages are not formatted with
|
---|
46 | more than 80 columns when used with the recent groff versions.</para>
|
---|
47 |
|
---|
48 | <para><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default</userinput>:
|
---|
49 | The paths to some programs get written into man's files. Unfortunately, the
|
---|
50 | configure script picks the last location in PATH rather than the first
|
---|
51 | where a program is found. By appending /usr/bin:/bin to PATH for the
|
---|
52 | ./configure command, we make sure that man doesn't use the /static versions
|
---|
53 | of our programs.</para>
|
---|
54 |
|
---|
55 | </sect2>
|
---|
56 |
|
---|