Ignore:
Timestamp:
02/07/2006 07:39:29 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
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.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:
ddd5542
Parents:
1ca11cd
Message:

Indenting chapter 6, part 9

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/readline.xml

    r1ca11cd r3f3931b0  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
     2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
     3  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
    34  <!ENTITY % general-entities SYSTEM "../general.ent">
    45  %general-entities;
    56]>
     7
    68<sect1 id="ch-system-readline" role="wrap">
    7 <title>Readline-&readline-version;</title>
    8 <?dbhtml filename="readline.html"?>
     9  <?dbhtml filename="readline.html"?>
    910
    10 <indexterm zone="ch-system-readline"><primary sortas="a-Readline">Readline</primary></indexterm>
     11  <title>Readline-&readline-version;</title>
    1112
    12 <sect2 role="package"><title/>
    13 <para>The Readline package is a set of libraries that offers command-line
    14 editing and history capabilities.</para>
     13  <indexterm zone="ch-system-readline">
     14    <primary sortas="a-Readline">Readline</primary>
     15  </indexterm>
    1516
    16 <segmentedlist>
    17 <segtitle>&buildtime;</segtitle>
    18 <segtitle>&diskspace;</segtitle>
    19 <seglistitem><seg>0.11 SBU</seg><seg>9.1 MB</seg></seglistitem>
    20 </segmentedlist>
     17  <sect2 role="package">
     18    <title/>
    2119
    22 <segmentedlist>
    23 <segtitle>&dependencies;</segtitle>
    24 <seglistitem><seg>Binutils, Coreutils, Diffutils, Gawk,
    25 GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
    26 </segmentedlist>
    27 </sect2>
     20    <para>The Readline package is a set of libraries that offers command-line
     21    editing and history capabilities.</para>
    2822
    29 <sect2 role="installation">
    30 <title>Installation of Readline</title>
     23    <segmentedlist>
     24      <segtitle>&buildtime;</segtitle>
     25      <segtitle>&diskspace;</segtitle>
    3126
    32 <para>Prepare Readline for compilation:</para>
     27      <seglistitem>
     28        <seg>0.11 SBU</seg>
     29        <seg>9.1 MB</seg>
     30      </seglistitem>
     31    </segmentedlist>
     32
     33    <segmentedlist>
     34      <segtitle>&dependencies;</segtitle>
     35
     36      <seglistitem>
     37        <seg>Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make,
     38        Ncurses, and Sed</seg>
     39      </seglistitem>
     40    </segmentedlist>
     41
     42  </sect2>
     43
     44  <sect2 role="installation">
     45    <title>Installation of Readline</title>
     46
     47    <para>Prepare Readline for compilation:</para>
    3348
    3449<screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
    3550
    36 <para>Compile the package:</para>
     51    <para>Compile the package:</para>
    3752
    3853<screen><userinput>make SHLIB_LIBS=-lncurses</userinput></screen>
    3954
    40 <para>The meaning of the make option:</para>
     55    <variablelist>
     56      <title>The meaning of the make option:</title>
    4157
    42 <variablelist>
    43 <varlistentry>
    44 <term><parameter>SHLIB_LIBS=-lncurses</parameter></term>
    45 <listitem><para>This option forces Readline to link against the
    46 <filename class="libraryfile">libncurses</filename>
    47 (really, <filename class="libraryfile">libncursesw</filename>)
    48 library.</para></listitem>
    49 </varlistentry>
    50 </variablelist>
     58      <varlistentry>
     59        <term><parameter>SHLIB_LIBS=-lncurses</parameter></term>
     60        <listitem>
     61          <para>This option forces Readline to link against the
     62          <filename class="libraryfile">libncurses</filename> (really,
     63          <filename class="libraryfile">libncursesw</filename>) library.</para>
     64        </listitem>
     65      </varlistentry>
    5166
    52 <para>This package does not come with a test suite.</para>
     67    </variablelist>
    5368
    54 <para>Install the package:</para>
     69    <para>This package does not come with a test suite.</para>
     70
     71    <para>Install the package:</para>
    5572
    5673<screen><userinput>make install</userinput></screen>
    5774
    58 <para>Give Readline's dynamic libraries more appropriate permissions:</para>
     75    <para>Give Readline's dynamic libraries more appropriate permissions:</para>
    5976
    6077<screen><userinput>chmod -v 755 /lib/lib{readline,history}.so*</userinput></screen>
    6178
    62 <para>Now move the static libraries to a more appropriate location:</para>
     79    <para>Now move the static libraries to a more appropriate location:</para>
    6380
    6481<screen><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    6582
    66 <para>Next, remove the <filename class="extension">.so</filename> files in
    67 <filename class="directory">/lib</filename> and relink them into <filename
    68 class="directory">/usr/lib</filename>.</para>
     83    <para>Next, remove the <filename class="extension">.so</filename> files in
     84    <filename class="directory">/lib</filename> and relink them into <filename
     85    class="directory">/usr/lib</filename>.</para>
    6986
    7087<screen><userinput>rm -v /lib/lib{readline,history}.so
     
    7289ln -sfv ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
    7390
    74 </sect2>
     91  </sect2>
    7592
     93  <sect2 id="contents-readline" role="content">
     94    <title>Contents of Readline</title>
    7695
    77 <sect2 id="contents-readline" role="content"><title>Contents of Readline</title>
    78 <segmentedlist>
    79 <segtitle>Installed libraries</segtitle>
    80 <seglistitem><seg>libhistory.[a,so], and libreadline.[a,so]</seg></seglistitem>
    81 </segmentedlist>
     96    <segmentedlist>
     97      <segtitle>Installed libraries</segtitle>
    8298
    83 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
    84 <?dbfo list-presentation="list"?>
    85 <?dbhtml list-presentation="table"?>
     99      <seglistitem>
     100        <seg>libhistory.[a,so], and libreadline.[a,so]</seg>
     101      </seglistitem>
     102    </segmentedlist>
    86103
    87 <varlistentry id="libhistory">
    88 <term><filename class="libraryfile">libhistory</filename></term>
    89 <listitem>
    90 <para>Provides a consistent user interface
    91 for recalling lines of history</para>
    92 <indexterm zone="ch-system-readline libhistory"><primary sortas="c-libhistory">libhistory</primary></indexterm>
    93 </listitem>
    94 </varlistentry>
     104    <variablelist>
     105      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     106      <?dbfo list-presentation="list"?>
     107      <?dbhtml list-presentation="table"?>
    95108
    96 <varlistentry id="libreadline">
    97 <term><filename class="libraryfile">libreadline</filename></term>
    98 <listitem>
    99 <para>Aids in the consistency of user interface
    100 across discrete programs that need to provide a command line
    101 interface</para>
    102 <indexterm zone="ch-system-readline libreadline"><primary sortas="c-libreadline">libreadline</primary></indexterm>
    103 </listitem>
    104 </varlistentry>
     109      <varlistentry id="libhistory">
     110        <term><filename class="libraryfile">libhistory</filename></term>
     111        <listitem>
     112          <para>Provides a consistent user interface for recalling lines
     113          of history</para>
     114          <indexterm zone="ch-system-readline libhistory">
     115            <primary sortas="c-libhistory">libhistory</primary>
     116          </indexterm>
     117        </listitem>
     118      </varlistentry>
    105119
    106 </variablelist>
     120      <varlistentry id="libreadline">
     121        <term><filename class="libraryfile">libreadline</filename></term>
     122        <listitem>
     123          <para>Aids in the consistency of user interface across discrete
     124          programs that need to provide a command line interface</para>
     125          <indexterm zone="ch-system-readline libreadline">
     126            <primary sortas="c-libreadline">libreadline</primary>
     127          </indexterm>
     128        </listitem>
     129      </varlistentry>
    107130
    108 </sect2>
     131    </variablelist>
     132
     133  </sect2>
    109134
    110135</sect1>
    111 
Note: See TracChangeset for help on using the changeset viewer.