r5424 - branches/cross-lfs/BOOK/final-system/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Wed May 25 12:40:41 PDT 2005


Author: manuel
Date: 2005-05-25 13:40:41 -0600 (Wed, 25 May 2005)
New Revision: 5424

Modified:
   branches/cross-lfs/BOOK/final-system/common/readline.xml
Log:
Indented readline.xml

Modified: branches/cross-lfs/BOOK/final-system/common/readline.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/common/readline.xml	2005-05-25 19:26:57 UTC (rev 5423)
+++ branches/cross-lfs/BOOK/final-system/common/readline.xml	2005-05-25 19:40:41 UTC (rev 5424)
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   <!ENTITY % patches-entities SYSTEM "../../patches.ent">
   %general-entities;
@@ -7,105 +8,132 @@
 ]>
 
 <sect1 id="ch-system-readline" role="wrap">
-<title>Readline-&readline-version;</title>
-<?dbhtml filename="readline.html"?>
+  <?dbhtml filename="readline.html"?>
 
-<indexterm zone="ch-system-readline"><primary sortas="a-Readline">Readline</primary></indexterm>
+  <title>Readline-&readline-version;</title>
 
-<sect2 role="package"><title/>
-<para>The Readline package contains the Readline command-line library.</para>
+  <indexterm zone="ch-system-readline">
+    <primary sortas="a-Readline">Readline</primary>
+  </indexterm>
 
-<segmentedlist>
-<segtitle>&buildtime;</segtitle>
-<segtitle>&diskspace;</segtitle>
-<seglistitem><seg>0.11 SBU</seg><seg>3.8 MB</seg></seglistitem>
-</segmentedlist>
+  <sect2 role="package">
+    <title/>
 
-<segmentedlist>
-<segtitle>&dependencies;</segtitle>
-<seglistitem><seg>Binutils, Coreutils, Diffutils, Gawk,
-GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
-</segmentedlist>
-</sect2>
+    <para>The Readline package contains the Readline command-line library.</para>
 
-<sect2 role="installation">
-<title>Installation of Readline</title>
+    <segmentedlist>
+      <segtitle>&buildtime;</segtitle>
+      <segtitle>&diskspace;</segtitle>
 
-<para>The following patch fixes various issues including a problem where Readline
-sometimes will only show 33 characters on a line and then wrap to the next line.</para>
+      <seglistitem>
+        <seg>Not checked yet</seg>
+        <seg>Not checked yet</seg>
+      </seglistitem>
+    </segmentedlist>
 
+    <segmentedlist>
+      <segtitle>&dependencies;</segtitle>
+
+      <seglistitem>
+        <seg>Binutils, Coreutils, Diffutils, Gawk,
+        GCC, Glibc, Grep, Make, Ncurses, and Sed</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Readline</title>
+
+    <para>The following patch fixes various issues including a problem where
+    Readline sometimes will only show 33 characters on a line and then wrap
+    to the next line.</para>
+
 <screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
 
-<para>Prepare Readline for compilation:</para>
+    <para>Prepare Readline for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
 
-<para>Compile the package:</para>
+    <para>Compile the package:</para>
 
 <screen><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
 
-<para>The meaning of the make option:</para>
+    <variablelist>
+      <title>The meaning of the make option:</title>
+      <varlistentry>
+        <term><parameter>SHLIB_XLDFLAGS=-lncurses</parameter></term>
+        <listitem>
+          <para>This option forces Readline to link against the
+          <filename class="libraryfile">libncurses</filename> library.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
 
-<variablelist>
-<varlistentry>
-<term><parameter>SHLIB_XLDFLAGS=-lncurses</parameter></term>
-<listitem><para>This option forces Readline to link against the
-<filename class="libraryfile">libncurses</filename> library.</para></listitem>
-</varlistentry>
-</variablelist>
+    <para>Install the package:</para>
 
-<para>Install the package:</para>
-
 <screen><userinput>make install</userinput></screen>
 
-<para>Give Readline's dynamic libraries to a more appropriate permissions:</para>
+    <para>Give Readline's dynamic libraries to a more appropriate
+    permissions:</para>
 
 <screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>
 
-<para>Now we move the static libraries to a more appropriate location:</para>
+    <para>Now we move the static libraries to a more appropriate location:</para>
 
 <screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
 
-<para>Now we will remove the old, .so files in /lib and relink them into /usr/lib.</para>
+    <para>Now we will remove the old, <filename class="extension">.so</filename>
+    files in <filename class="directory">/lib</filename> and relink them into
+    <filename class="directory">/usr/lib</filename>.</para>
 
 <screen><userinput>rm /lib/lib{readline,history}.so
 ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
 ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
 
-</sect2>
+  </sect2>
 
-<sect2 id="contents-readline" role="content"><title>Contents of Readline</title>
-<segmentedlist>
-<segtitle>Installed libraries</segtitle>
-<seglistitem><seg>libhistory.[a,so], and libreadline.[a,so]</seg></seglistitem>
-</segmentedlist>
+  <sect2 id="contents-readline" role="content">
+    <title>Contents of Readline</title>
 
-<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
-<?dbfo list-presentation="list"?>
-<?dbhtml list-presentation="table"?>
+    <segmentedlist>
+      <segtitle>Installed libraries</segtitle>
 
-<varlistentry id="libhistory">
-<term><filename class="libraryfile">libhistory</filename></term>
-<listitem>
-<para>Provides a consistent user interface
-for recalling lines of history</para>
-<indexterm zone="ch-system-readline libhistory"><primary sortas="c-libhistory">libhistory</primary></indexterm>
-</listitem>
-</varlistentry>
+      <seglistitem>
+        <seg>libhistory.[a,so], and libreadline.[a,so]</seg>
+      </seglistitem>
+    </segmentedlist>
 
-<varlistentry id="libreadline">
-<term><filename class="libraryfile">libreadline</filename></term>
-<listitem>
-<para>Aids in the consistency of user interface
-across discrete programs that need to provide a command line
-interface</para>
-<indexterm zone="ch-system-readline libreadline"><primary sortas="c-libreadline">libreadline</primary></indexterm>
-</listitem>
-</varlistentry>
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
 
-</variablelist>
+      <varlistentry id="libhistory">
+        <term><filename class="libraryfile">libhistory</filename></term>
+        <listitem>
+          <para>Provides a consistent user interface
+          for recalling lines of history</para>
+          <indexterm zone="ch-system-readline libhistory">
+            <primary sortas="c-libhistory">libhistory</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-</sect2>
+      <varlistentry id="libreadline">
+        <term><filename class="libraryfile">libreadline</filename></term>
+        <listitem>
+          <para>Aids in the consistency of user interface
+          across discrete programs that need to provide a command line
+          interface</para>
+          <indexterm zone="ch-system-readline libreadline">
+            <primary sortas="c-libreadline">libreadline</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
+    </variablelist>
+
+  </sect2>
+
 </sect1>
-




More information about the lfs-book mailing list