aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man-inst.xml
blob: acd96c4a236ee61cd14ce5f18c080e04424b8258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<sect2>
<title>Installation of Man</title>

<para>Run the following commands to install man:</para>

<para><screen><userinput>PATH=$PATH:/usr/bin:/bin \
&nbsp;&nbsp;&nbsp;&nbsp;./configure -default -confdir=/etc &amp;&amp;
make &amp;&amp;
cp src/man.conf{,.backup} &amp;&amp;
sed -e '/^PAGER/s/-is/-isR/' \
&nbsp;&nbsp;&nbsp;&nbsp;-e 's%MANPATH[[:space:]]/usr/man%#MANPATH /usr/man%' \
&nbsp;&nbsp;&nbsp;&nbsp;src/man.conf.backup > src/man.conf &amp;&amp;
make install</userinput></screen></para>

<para>Note: If you wish to disable SGR escape sequences, you should
edit the man.conf file and add the <userinput>-c</userinput> argument
to nroff.</para>

<para>You may want to take a look at the man hint 
at <ulink url="&hints-root;man.txt"/> which deals with formatting 
and compression issues for man pages.</para>

</sect2>