aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appendixa/ncurses-dep.xml2
-rw-r--r--appendixa/ncurses-desc.xml16
-rw-r--r--appendixa/ncurses.xml1
-rw-r--r--chapter06/ncurses-inst.xml35
-rw-r--r--chapter06/ncurses.xml5
-rw-r--r--entities/ncurses.ent1
6 files changed, 39 insertions, 21 deletions
diff --git a/appendixa/ncurses-dep.xml b/appendixa/ncurses-dep.xml
index 940e74f45..cfef08b48 100644
--- a/appendixa/ncurses-dep.xml
+++ b/appendixa/ncurses-dep.xml
@@ -1,3 +1,5 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
<sect2>
<title>Ncurses Installation Dependencies</title>
diff --git a/appendixa/ncurses-desc.xml b/appendixa/ncurses-desc.xml
index d9e30ef7e..f99eb9ea6 100644
--- a/appendixa/ncurses-desc.xml
+++ b/appendixa/ncurses-desc.xml
@@ -1,12 +1,10 @@
-<sect2><title>Contents of Ncurses</title>
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
-<para>Last checked against version &ncurses-contversion;.</para>
+<sect2><title>Descriptions</title>
-<sect3><title>Program Files</title>
-<para>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
-reset (link to tset), tack, tic, toe, tput and tset.</para></sect3>
+<para>Last checked against version &ncurses-contversion;.</para>
-<sect3><title>Descriptions</title>
+<sect3><title>Program file descriptions</title>
<sect4><title>captoinfo</title>
<para>captoinfo converts a termcap description into a terminfo
@@ -59,11 +57,7 @@ widely used anymore. It's provided for 4.4BSD compatibility.</para></sect4>
</sect3>
-<sect3><title>Library Files</title>
-<para>libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so],
-libform_g.a, libmenu.[a,so], libmenu_g.a, libncurses++.a,
-libncurses.[a,so], libncurses_g.a, libpanel.[a,so] and
-libpanel_g.a</para>
+<sect3><title>Library file descriptions</title>
<sect4><title>libcurses, libncurses++, libncurses, libncurses_g</title>
<para>These libraries are the base of the system and are used to display
diff --git a/appendixa/ncurses.xml b/appendixa/ncurses.xml
index afa2f2aaa..45388e83b 100644
--- a/appendixa/ncurses.xml
+++ b/appendixa/ncurses.xml
@@ -3,6 +3,7 @@
<?dbhtml filename="ncurses.html" dir="appendixa"?>
&aa-ncurses-down;
+&aa-ncurses-shortdesc;
&aa-ncurses-desc;
&aa-ncurses-dep;
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml
index d6be4e396..d63ef628a 100644
--- a/chapter06/ncurses-inst.xml
+++ b/chapter06/ncurses-inst.xml
@@ -1,14 +1,35 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
<sect2>
<title>Installation of Ncurses</title>
-<para>Install Ncurses by running the following commands:</para>
+<para>Prepare Ncurses to be compiled:</para>
+
+<para><screen><userinput>./configure --prefix=/usr --with-shared</userinput></screen></para>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>Install the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
+
+<para>Give the ncurses libraries executable permission:</para>
+
+<para><screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen></para>
+
+<para>Move the libraries to the <filename>/lib</filename> directory,
+where they're expected to reside:</para>
+
+<para><screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen></para>
+
+<para>Since the libaries have been moved to
+<filename>/lib</filename>, a few symlinks are currently pointing
+towards non-existing files. Create the following symlinks to
+account for this:</para>
-<para><screen><userinput>./configure --prefix=/usr --with-shared &amp;&amp;
-make &amp;&amp;
-make install &amp;&amp;
-chmod 755 /usr/lib/*.&ncurses-version; &amp;&amp;
-mv /usr/lib/libncurses.so.5* /lib &amp;&amp;
-ln -sf libncurses.a /usr/lib/libcurses.a &amp;&amp;
+<para><screen><userinput>ln -sf libncurses.a /usr/lib/libcurses.a &amp;&amp;
ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so &amp;&amp;
ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so</userinput></screen></para>
</sect2>
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml
index f2de308b5..aa97c4867 100644
--- a/chapter06/ncurses.xml
+++ b/chapter06/ncurses.xml
@@ -5,10 +5,9 @@
<screen>Estimated build time: &ncurses-time;
Estimated required disk space: &ncurses-compsize;</screen>
-&c6-ncurses-inst;
-&c6-ncurses-exp;
-&aa-ncurses-desc;
+&aa-ncurses-shortdesc;
&aa-ncurses-dep;
+&c6-ncurses-inst;
</sect1>
diff --git a/entities/ncurses.ent b/entities/ncurses.ent
index 4161e6ffe..6d2223c90 100644
--- a/entities/ncurses.ent
+++ b/entities/ncurses.ent
@@ -8,6 +8,7 @@
<!ENTITY aa-ncurses-desc SYSTEM "../appendixa/ncurses-desc.xml">
<!ENTITY aa-ncurses-dep SYSTEM "../appendixa/ncurses-dep.xml">
<!ENTITY aa-ncurses-down SYSTEM "../appendixa/ncurses-down.xml">
+<!ENTITY aa-ncurses-shortdesc SYSTEM "../appendixa/ncurses-shortdesc.xml">
<!ENTITY ncurses-version "5.3">
<!ENTITY ncurses-depversion "5.2">