diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
commit | 673b0d84ba9591e07c0bdf0ee49d92eba10f502c (patch) | |
tree | 129e27a1450727b440da4378e0117a468eb9c25e /chapter06/ncurses.xml | |
parent | 287ea55da70ceb1f0990554b7db921d525fef816 (diff) |
* Merged newxml into HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/ncurses.xml')
-rw-r--r-- | chapter06/ncurses.xml | 103 |
1 files changed, 90 insertions, 13 deletions
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 700d81b9e..4be199096 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -1,17 +1,24 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> <sect1 id="ch-system-ncurses" xreflabel="Ncurses"> -<title>Installing Ncurses-&ncurses-version;</title> -<?dbhtml filename="ncurses.html" dir="chapter06"?> +<title>Ncurses-&ncurses-version;</title> +<?dbhtml filename="ncurses.html"?> -<para>The Ncurses package contains libraries for the terminal-independent +<indexterm zone="ch-system-ncurses"><primary sortas="a-Ncurses">Ncurses</primary></indexterm> + +<para>The Ncurses package contains libraries for terminal-independent handling of character screens.</para> -<screen>&buildtime; &ncurses-time; -&diskspace; &ncurses-compsize;</screen> +<screen>&buildtime; 0.6 SBU +&diskspace; 27 MB</screen> + +<para>Ncurses installation depends on: Bash, Binutils, Coreutils, Diffutils, +Gawk, GCC, Glibc, Grep, Make, Sed.</para> -&aa-ncurses-down; -&aa-ncurses-dep; -<sect2><title> </title><para> </para></sect2> <sect2> <title>Installation of Ncurses</title> @@ -32,7 +39,7 @@ handling of character screens.</para> <screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen> -<para>And fix a library that shouldn't be executable:</para> +<para>Now fix a library that shouldn't be executable:</para> <screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen> @@ -41,15 +48,85 @@ where they're expected to reside:</para> <screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen> -<para>Now the libraries have been moved, a few symlinks are pointing to +<para>Because the libraries have been moved, a few symlinks are pointing to non-existent files. Recreate those symlinks:</para> <screen><userinput>ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so ln -sf libncurses.so /usr/lib/libcurses.so</userinput></screen> </sect2> -&aa-ncurses-shortdesc; -&aa-ncurses-desc; -</sect1> +<sect2 id="contents-ncurses"><title>Contents of Ncurses</title> + +<para><emphasis>Installed programs</emphasis>: captoinfo (link to tic), clear, +infocmp, infotocap (link to tic), reset (link to tset), tack, tic, toe, tput +and tset</para> + +<para><emphasis>Installed libraries</emphasis>: libcurses.[a,so] (link to +libncurses.[a,so]), libform.[a,so], libmenu.[a,so], libncurses++.a, +libncurses.[a,so], libpanel.[a,so]</para> + +</sect2> + +<sect2><title>Short descriptions</title> + +<indexterm zone="ch-system-ncurses captoinfo"><primary sortas="b-captoinfo">captoinfo</primary></indexterm> +<para id="captoinfo"><command>captoinfo</command> converts a termcap description into a +terminfo description.</para> + +<indexterm zone="ch-system-ncurses clear"><primary sortas="b-clear">clear</primary></indexterm> +<para id="clear"><command>clear</command> clears the screen, if this is possible.</para> + +<indexterm zone="ch-system-ncurses infocmp"><primary sortas="b-infocmp">infocmp</primary></indexterm> +<para id="infocmp"><command>infocmp</command> compares or prints out terminfo +descriptions.</para> + +<indexterm zone="ch-system-ncurses infotocap"><primary sortas="b-infotocap">infotocap</primary></indexterm> +<para id="infotocap"><command>infotocap</command> converts a terminfo description into +a termcap description.</para> + +<indexterm zone="ch-system-ncurses reset"><primary sortas="b-reset">reset</primary></indexterm> +<para id="reset"><command>reset</command> reinitializes a terminal to its default +values.</para> + +<indexterm zone="ch-system-ncurses tack"><primary sortas="b-tack">tack</primary></indexterm> +<para id="tack"><command>tack</command> is the terminfo action checker. It is mainly +used to test the correctness of an entry in the terminfo database.</para> +<indexterm zone="ch-system-ncurses tic"><primary sortas="b-tic">tic</primary></indexterm> +<para id="tic"><command>tic</command> 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> + +<indexterm zone="ch-system-ncurses toe"><primary sortas="b-toe">toe</primary></indexterm> +<para id="toe"><command>toe</command> lists all available terminal types, for each +giving its primary name and its description.</para> + +<indexterm zone="ch-system-ncurses tput"><primary sortas="b-tput">tput</primary></indexterm> +<para id="tput"><command>tput</command> 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> + +<indexterm zone="ch-system-ncurses tset"><primary sortas="b-tset">tset</primary></indexterm> +<para id="tset"><command>tset</command> can be used to initialize terminals.</para> + +<indexterm zone="ch-system-ncurses libncurses"><primary sortas="c-libncurses*">libncurses*</primary></indexterm> +<para id="libncurses"><command>libncurses*</command> 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 make menuconfig.</para> + +<indexterm zone="ch-system-ncurses libform"><primary sortas="c-libform*">libform*</primary></indexterm> +<para id="libform"><command>libform*</command> contains functions to implement forms.</para> + +<indexterm zone="ch-system-ncurses libmenu"><primary sortas="c-libmenu*">libmenu*</primary></indexterm> +<para id="libmenu"><command>libmenu*</command> contains functions to implement menus.</para> + +<indexterm zone="ch-system-ncurses libpanel"><primary sortas="c-libpanel*">libpanel*</primary></indexterm> +<para id="libpanel"><command>libpanel*</command> contains functions to implement panels.</para> + +</sect2> + + + +</sect1> |