man-exp.xml 998 B

123456789101112131415161718192021
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default</userinput>:
  4. The paths to some programs get written into man's files. Unfortunately, the
  5. configure script picks the last location in PATH rather than the first
  6. where a program is found. By appending /usr/bin:/bin to PATH for the
  7. ./configure command, we make sure that man doesn't use the /static versions
  8. of our programs.</para>
  9. <para><userinput>patch -Np1 -i ../man-&man-patch-version;.patch:</userinput>
  10. This patch comments out one of the files in the <filename>man.conf</filename>
  11. file (MANPATH /usr/man) because it will create redundant results when using
  12. programs like <userinput>whatis</userinput>. It also adds the
  13. <emphasis>-R</emphasis> option to the <emphasis>PAGER</emphasis> variable so
  14. man pages are displayed properly. Lastly, the patch fixes the problem where
  15. man pages are not formatted with more than 80 columns when used with the
  16. recent groff versions.</para>
  17. </sect2>