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 @@ +   + Ncurses Installation Dependencies 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 @@ -Contents of Ncurses +   + +Descriptions Last checked against version &ncurses-contversion;. -Program Files -captoinfo (link to tic), clear, infocmp, infotocap (link to tic), -reset (link to tset), tack, tic, toe, tput and tset. - -Descriptions +Program file descriptions captoinfo captoinfo converts a termcap description into a terminfo @@ -59,11 +57,7 @@ widely used anymore. It's provided for 4.4BSD compatibility. -Library Files -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 +Library file descriptions libcurses, libncurses++, libncurses, libncurses_g 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 @@ &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 @@ +   + Installation of Ncurses -Install Ncurses by running the following commands: +Prepare Ncurses to be compiled: -./configure --prefix=/usr --with-shared && -make && -make install && -chmod 755 /usr/lib/*.&ncurses-version; && -mv /usr/lib/libncurses.so.5* /lib && -ln -sf libncurses.a /usr/lib/libcurses.a && +./configure --prefix=/usr --with-shared + +Continue with compiling the package: + +make + +Install the package: + +make install + +Give the ncurses libraries executable permission: + +chmod 755 /usr/lib/*.&ncurses-version; + +Move the libraries to the /lib directory, +where they're expected to reside: + +mv /usr/lib/libncurses.so.5* /lib + +Since the libaries have been moved to +/lib, a few symlinks are currently pointing +towards non-existing files. Create the following symlinks to +account for this: + +ln -sf libncurses.a /usr/lib/libcurses.a && ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so && ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so 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 @@ Estimated build time: &ncurses-time; Estimated required disk space: &ncurses-compsize; -&c6-ncurses-inst; -&c6-ncurses-exp; -&aa-ncurses-desc; +&aa-ncurses-shortdesc; &aa-ncurses-dep; +&c6-ncurses-inst; 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 @@ +