man-inst.xml 828 B

1234567891011121314151617181920212223
  1. <sect2>
  2. <title>Installation of Man</title>
  3. <para>Run the following commands to install man:</para>
  4. <para><screen><userinput>PATH=$PATH:/usr/bin:/bin \
  5. &nbsp;&nbsp;&nbsp;&nbsp;./configure -default -confdir=/etc &amp;&amp;
  6. make &amp;&amp;
  7. cp src/man.conf{,.backup} &amp;&amp;
  8. sed -e '/^PAGER/s/-is/-isR/' \
  9. &nbsp;&nbsp;&nbsp;&nbsp;-e 's%MANPATH[[:space:]]/usr/man%#MANPATH /usr/man%' \
  10. &nbsp;&nbsp;&nbsp;&nbsp;src/man.conf.backup > src/man.conf &amp;&amp;
  11. make install</userinput></screen></para>
  12. <para>Note: If you wish to disable SGR escape sequences, you should
  13. edit the man.conf file and add the <userinput>-c</userinput> argument
  14. to nroff.</para>
  15. <para>You may want to take a look at the man hint
  16. at <ulink url="&hints-root;man.txt"/>, which deals with formatting
  17. and compression issues for man pages.</para>
  18. </sect2>