Ignore:
Timestamp:
02/19/2005 10:16:42 PM (19 years ago)
Author:
Gerard Beekmans <gerard@…>
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.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, 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:
3d31fc4
Parents:
2f9131f
Message:

Trunk is now identical to Testing

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/readline.xml

    r2f9131f r81fd230  
    44  %general-entities;
    55]>
    6 <sect1 id="ch-system-readline" xreflabel="Readline" role="wrap">
     6<sect1 id="ch-system-readline" role="wrap">
    77<title>Readline-&readline-version;</title>
    88<?dbhtml filename="readline.html"?>
     
    1111
    1212<sect2 role="package"><title/>
     13<para>The Readline package contains the Readline command-line library.</para>
    1314
    1415<segmentedlist>
    1516<segtitle>&buildtime;</segtitle>
    1617<segtitle>&diskspace;</segtitle>
    17 <seglistitem><seg>XXX SBU</seg><seg>3.8 MB</seg></seglistitem>
     18<seglistitem><seg>0.11 SBU</seg><seg>3.8 MB</seg></seglistitem>
    1819</segmentedlist>
    1920
     21<segmentedlist>
     22<segtitle>Readline installation depends on</segtitle>
     23<seglistitem><seg>Binutils, Coreutils, Diffutils, Gawk,
     24GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
     25</segmentedlist>
    2026</sect2>
    2127
     
    2329<title>Installation of Readline</title>
    2430
    25 <!-- NEW set of commands-->
    26 <para>Apply a patch.</para>
     31<para>The following patch includes a fix for the problem where
     32Readline sometimes only shows 33 characters on a line and then wraps
     33to the next line. It also includes other fixes recommended by the
     34Readline author.</para>
    2735
    2836<screen><userinput>patch -Np1 -i ../readline-&readline-version;-fixes-1.patch</userinput></screen>
     
    3644<screen><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
    3745
     46<para>The meaning of the make option:</para>
     47
     48<variablelist>
     49<varlistentry>
     50<term><parameter>SHLIB_XLDFLAGS=-lncurses</parameter></term>
     51<listitem><para>This option forces Readline to link against the
     52<filename class="libraryfile">libncurses</filename> library.</para></listitem>
     53</varlistentry>
     54</variablelist>
     55
    3856<para>Install the package:</para>
    3957
    4058<screen><userinput>make install</userinput></screen>
    4159
    42 <para>Give Readline's dynamic libraries to a more appropriate permissions:</para>
     60<para>Give Readline's dynamic libraries more appropriate permissions:</para>
    4361
    4462<screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>
    4563
    46 <para>Now we move the static libraries to a more appropriate location:</para>
     64<para>Now we move the static libraries to a more appropriate
     65location:</para>
    4766
    4867<screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    4968
    50 <para>Now we will remove the old, .so files in /lib and relink them into /usr/lib.</para>
     69<para>Next we will remove the old, <filename>.so</filename> files in
     70<filename class="directory">/lib</filename> and relink them into
     71<filename class="directory">/usr/lib</filename>.</para>
    5172
    5273<screen><userinput>rm /lib/lib{readline,history}.so
    5374ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
    5475ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
     76
    5577</sect2>
    5678
    5779
    5880<sect2 id="contents-readline" role="content"><title>Contents of Readline</title>
     81<segmentedlist>
     82<segtitle>Installed libraries</segtitle>
     83<seglistitem><seg>libhistory.[a,so], and libreadline.[a,so]</seg></seglistitem>
     84</segmentedlist>
    5985
    60 <para>See testing</para>
     86<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
     87<?dbfo list-presentation="list"?>
     88
     89<varlistentry id="libhistory">
     90<term><filename class="libraryfile">libhistory</filename></term>
     91<listitem>
     92<para>Provides a consistent user interface
     93for recalling lines of history</para>
     94<indexterm zone="ch-system-readline libhistory"><primary sortas="c-libhistory">libhistory</primary></indexterm>
     95</listitem>
     96</varlistentry>
     97
     98<varlistentry id="libreadline">
     99<term><filename class="libraryfile">libreadline</filename></term>
     100<listitem>
     101<para>Aids in the consistency of user interface
     102across discrete programs that need to provide a command line
     103interface</para>
     104<indexterm zone="ch-system-readline libreadline"><primary sortas="c-libreadline">libreadline</primary></indexterm>
     105</listitem>
     106</varlistentry>
     107
     108</variablelist>
    61109
    62110</sect2>
    63111
     112</sect1>
    64113
    65 </sect1>
Note: See TracChangeset for help on using the changeset viewer.