Changeset 37dcf2a for chapter06/man.xml


Ignore:
Timestamp:
11/21/2003 03:39:20 AM (21 years ago)
Author:
Greg Schafer <greg@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
d081b3e
Parents:
bcd0ce7
Message:

Rolled back 4 patches to seds: GCC Suppress-Libiberty, Grub Gcc33, Man Manpath, Man Pager. Closes Bug 461.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3117 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/man.xml

    rbcd0ce7 r37dcf2a  
    1515
    1616<para>We'll make three adjustments to the sources of Man.</para>
    17  
    18 <para>The first patch comments out the "MANPATH /usr/man" line in the
    19 <filename>man.conf</filename> file to prevent redundant results when using
    20  programs such as <userinput>whatis</userinput>:</para>
    2117
    22 <screen><userinput>patch -Np1 -i ../&man-manpath-patch;</userinput></screen>
    23 
    24 <para>The second patch adds the <emphasis>-R</emphasis> option to the
    25 <emphasis>PAGER</emphasis> variable so that escape sequences are
    26 handled properly:</para>
    27 
    28 <screen><userinput>patch -Np1 -i ../&man-pager-patch;</userinput></screen>
    29 
    30 <para>The third and last patch prevents a problem when man pages not formatted
    31 with more than 80 columns are used in conjunction with recent releases of
    32 <userinput>groff</userinput>:</para>
     18<para>The first is a patch which allows Man to work better with recent releases
     19of Groff. In particular, man pages will now display using the full terminal
     20width instead of being limited to 80 characters:</para>
    3321
    3422<screen><userinput>patch -Np1 -i ../&man-80cols-patch;</userinput></screen>
    3523
     24<para>The second is a sed substitution to add the <emphasis>-R</emphasis>
     25switch to the <emphasis>PAGER</emphasis> variable so that escape sequences are
     26properly handled by Less:</para>
     27
     28<screen><userinput>sed -i 's/-is/&amp;R/' configure</userinput></screen>
     29
     30<para>The third is also a sed substitution to comment out the "MANPATH
     31/usr/man" line in the <filename>man.conf</filename> file to prevent redundant
     32results when using programs such as <userinput>whatis</userinput>:</para>
     33
     34<screen><userinput>sed -i 's%MANPATH./usr/man%#&%' src/man.conf.in</userinput></screen>
     35 
    3636<para>Now prepare Man for compilation:</para>
    3737
Note: See TracChangeset for help on using the changeset viewer.