aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ncurses.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/ncurses.xml')
-rw-r--r--chapter06/ncurses.xml148
1 files changed, 4 insertions, 144 deletions
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml
index 88c276898..e7826c407 100644
--- a/chapter06/ncurses.xml
+++ b/chapter06/ncurses.xml
@@ -10,8 +10,6 @@
<indexterm zone="ch-system-ncurses"><primary sortas="a-Ncurses">Ncurses</primary></indexterm>
<sect2 role="package"><title/>
-<para>The Ncurses package contains libraries for terminal-independent
-handling of character screens.</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
@@ -19,11 +17,6 @@ handling of character screens.</para>
<seglistitem><seg>0.6 SBU</seg><seg>27 MB</seg></seglistitem>
</segmentedlist>
-<segmentedlist>
-<segtitle>Ncurses installation depends on</segtitle>
-<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
-Gawk, GCC, Glibc, Grep, Make, Sed</seg></seglistitem>
-</segmentedlist>
</sect2>
<sect2 role="installation">
@@ -45,17 +38,15 @@ Gawk, GCC, Glibc, Grep, Make, Sed</seg></seglistitem>
<screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen>
-<para>Now fix a library that shouldn't be executable:</para>
+<para>Now fix a library:</para>
<screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen>
-<para>Move the libraries to the <filename class="directory">/lib</filename> directory,
-where they're expected to reside:</para>
+<para>Move the libraries to the <filename class="directory">/lib</filename> directory:</para>
<screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen>
-<para>Because the libraries have been moved, a few symlinks are pointing to
-non-existent files. Recreate those symlinks:</para>
+<para>Recreate some symlinks:</para>
<screen><userinput>ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
ln -sf libncurses.so /usr/lib/libcurses.so</userinput></screen>
@@ -64,138 +55,7 @@ ln -sf libncurses.so /usr/lib/libcurses.so</userinput></screen>
<sect2 id="contents-ncurses" role="content"><title>Contents of Ncurses</title>
-<segmentedlist>
-<segtitle>Installed programs</segtitle>
-<segtitle>Installed libraries</segtitle>
-<seglistitem><seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
-reset (link to tset), tack, tic, toe, tput and tset</seg>
-<seg>libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so], libmenu.[a,so],
-libncurses++.a, libncurses.[a,so], libpanel.[a,so]</seg></seglistitem>
-</segmentedlist>
-
-<variablelist><title>Short descriptions</title>
-
-<varlistentry id="captoinfo">
-<term><command>captoinfo</command></term>
-<listitem>
-<indexterm zone="ch-system-ncurses captoinfo"><primary sortas="b-captoinfo">captoinfo</primary></indexterm>
-<para>converts a termcap description into a terminfo description.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="clear">
-<term><command>clear</command></term>
-<listitem>
-<indexterm zone="ch-system-ncurses clear"><primary sortas="b-clear">clear</primary></indexterm>
-<para>clears the screen, if this is possible.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="infocmp">
-<term><command>infocmp</command></term>
-<listitem>
-<indexterm zone="ch-system-ncurses infocmp"><primary sortas="b-infocmp">infocmp</primary></indexterm>
-<para>compares or prints out terminfo descriptions.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="infotocap">
-<term><command>infotocap</command></term>
-<listitem>
-<indexterm zone="ch-system-ncurses infotocap"><primary sortas="b-infotocap">infotocap</primary></indexterm>
-<para>converts a terminfo description into a termcap description.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="reset">
-<term><command>reset</command></term>
-<listitem>
-<indexterm zone="ch-system-ncurses reset"><primary sortas="b-reset">reset</primary></indexterm>
-<para>reinitializes a terminal to its default values.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="tack">
-<term><command>tack</command></term>
-<listitem>
-<indexterm zone="ch-system-ncurses tack"><primary sortas="b-tack">tack</primary></indexterm>
-<para>is the terminfo action checker. It is mainly
-used to test the correctness of an entry in the terminfo database.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="tic">
-<term><command>tic</command></term>
-<listitem>
-<indexterm zone="ch-system-ncurses tic"><primary sortas="b-tic">tic</primary></indexterm>
-<para>is the terminfo entry-description compiler.
-It translates a terminfo file from source format into the binary format needed
-for the ncurses library routines. A terminfo file contains information on the
-capabilities of a certain terminal.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="toe">
-<term><command>toe</command></term>
-<listitem>
-<indexterm zone="ch-system-ncurses toe"><primary sortas="b-toe">toe</primary></indexterm>
-<para>lists all available terminal types, for each
-giving its primary name and its description.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="tput">
-<term><command>tput</command></term>
-<listitem>
-<indexterm zone="ch-system-ncurses tput"><primary sortas="b-tput">tput</primary></indexterm>
-<para>makes the values of terminal-dependent
-capabilities available to the shell. It can also be used to reset or initialize
-a terminal, or report its long name.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="tset">
-<term><command>tset</command></term>
-<listitem>
-<indexterm zone="ch-system-ncurses tset"><primary sortas="b-tset">tset</primary></indexterm>
-<para>can be used to initialize terminals.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="libncurses">
-<term><filename class="libraryfile">>libncurses*</filename></term>
-<listitem>
-<indexterm zone="ch-system-ncurses libncurses"><primary sortas="c-libncurses*">libncurses*</primary></indexterm>
-<para>contains functions to display text in
-many complicated ways on a terminal screen. A good example of the use of these
-functions is the menu displayed during the kernel's <command>make menuconfig</command>.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="libform">
-<term><filename class="libraryfile">libform*</filename></term>
-<listitem>
-<indexterm zone="ch-system-ncurses libform"><primary sortas="c-libform*">libform*</primary></indexterm>
-<para>contains functions to implement forms.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="libmenu">
-<term><filename class="libraryfile">libmenu*</filename></term>
-<listitem>
-<indexterm zone="ch-system-ncurses libmenu"><primary sortas="c-libmenu*">libmenu*</primary></indexterm>
-<para>contains functions to implement menus.</para>
-</listitem>
-</varlistentry>
-
-<varlistentry id="libpanel">
-<term><filename class="libraryfile">libpanel*</filename></term>
-<listitem>
-<indexterm zone="ch-system-ncurses libpanel"><primary sortas="c-libpanel*">libpanel*</primary></indexterm>
-<para>contains functions to implement panels.</para>
-</listitem>
-</varlistentry>
-</variablelist>
+<para>See testing</para>
</sect2>