source: chapter06/ncurses.xml@ a001133

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since a001133 was a001133, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

HEAD: Retaged the introductori packages sections in chapter0{6,7,8}

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3601 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 5.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-ncurses" xreflabel="Ncurses" role="wrap">
7<title>Ncurses-&ncurses-version;</title>
8<?dbhtml filename="ncurses.html"?>
9
10<indexterm zone="ch-system-ncurses"><primary sortas="a-Ncurses">Ncurses</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The Ncurses package contains libraries for terminal-independent
14handling of character screens.</para>
15
16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>0.6 SBU</seg><seg>27 MB</seg></seglistitem>
20</segmentedlist>
21
22<segmentedlist>
23<segtitle>Ncurses installation depends on</segtitle>
24<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
25Gawk, GCC, Glibc, Grep, Make, Sed</seg></seglistitem>
26</segmentedlist>
27</sect2>
28
29<sect2 role="installation">
30<title>Installation of Ncurses</title>
31
32<para>Prepare Ncurses for compilation:</para>
33
34<screen><userinput>./configure --prefix=/usr --with-shared --without-debug</userinput></screen>
35
36<para>Compile the package:</para>
37
38<screen><userinput>make</userinput></screen>
39
40<para>Install the package:</para>
41
42<screen><userinput>make install</userinput></screen>
43
44<para>Give the Ncurses libraries execute permissions:</para>
45
46<screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen>
47
48<para>Now fix a library that shouldn't be executable:</para>
49
50<screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen>
51
52<para>Move the libraries to the <filename>/lib</filename> directory,
53where they're expected to reside:</para>
54
55<screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen>
56
57<para>Because the libraries have been moved, a few symlinks are pointing to
58non-existent files. Recreate those symlinks:</para>
59
60<screen><userinput>ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
61ln -sf libncurses.so /usr/lib/libcurses.so</userinput></screen>
62</sect2>
63
64
65<sect2 id="contents-ncurses"><title>Contents of Ncurses</title>
66
67<para><emphasis>Installed programs</emphasis>: captoinfo (link to tic), clear,
68infocmp, infotocap (link to tic), reset (link to tset), tack, tic, toe, tput
69and tset</para>
70
71<para><emphasis>Installed libraries</emphasis>: libcurses.[a,so] (link to
72libncurses.[a,so]), libform.[a,so], libmenu.[a,so], libncurses++.a,
73libncurses.[a,so], libpanel.[a,so]</para>
74
75</sect2>
76
77<sect2><title>Short descriptions</title>
78
79<indexterm zone="ch-system-ncurses captoinfo"><primary sortas="b-captoinfo">captoinfo</primary></indexterm>
80<para id="captoinfo"><command>captoinfo</command> converts a termcap description into a
81terminfo description.</para>
82
83<indexterm zone="ch-system-ncurses clear"><primary sortas="b-clear">clear</primary></indexterm>
84<para id="clear"><command>clear</command> clears the screen, if this is possible.</para>
85
86<indexterm zone="ch-system-ncurses infocmp"><primary sortas="b-infocmp">infocmp</primary></indexterm>
87<para id="infocmp"><command>infocmp</command> compares or prints out terminfo
88descriptions.</para>
89
90<indexterm zone="ch-system-ncurses infotocap"><primary sortas="b-infotocap">infotocap</primary></indexterm>
91<para id="infotocap"><command>infotocap</command> converts a terminfo description into
92a termcap description.</para>
93
94<indexterm zone="ch-system-ncurses reset"><primary sortas="b-reset">reset</primary></indexterm>
95<para id="reset"><command>reset</command> reinitializes a terminal to its default
96values.</para>
97
98<indexterm zone="ch-system-ncurses tack"><primary sortas="b-tack">tack</primary></indexterm>
99<para id="tack"><command>tack</command> is the terminfo action checker. It is mainly
100used to test the correctness of an entry in the terminfo database.</para>
101
102<indexterm zone="ch-system-ncurses tic"><primary sortas="b-tic">tic</primary></indexterm>
103<para id="tic"><command>tic</command> is the terminfo entry-description compiler.
104It translates a terminfo file from source format into the binary format needed
105for the ncurses library routines. A terminfo file contains information on the
106capabilities of a certain terminal.</para>
107
108<indexterm zone="ch-system-ncurses toe"><primary sortas="b-toe">toe</primary></indexterm>
109<para id="toe"><command>toe</command> lists all available terminal types, for each
110giving its primary name and its description.</para>
111
112<indexterm zone="ch-system-ncurses tput"><primary sortas="b-tput">tput</primary></indexterm>
113<para id="tput"><command>tput</command> makes the values of terminal-dependent
114capabilities available to the shell. It can also be used to reset or initialize
115a terminal, or report its long name.</para>
116
117<indexterm zone="ch-system-ncurses tset"><primary sortas="b-tset">tset</primary></indexterm>
118<para id="tset"><command>tset</command> can be used to initialize terminals.</para>
119
120<indexterm zone="ch-system-ncurses libncurses"><primary sortas="c-libncurses*">libncurses*</primary></indexterm>
121<para id="libncurses"><command>libncurses*</command> contains functions to display text in
122many complicated ways on a terminal screen. A good example of the use of these
123functions is the menu displayed during the kernel's make menuconfig.</para>
124
125<indexterm zone="ch-system-ncurses libform"><primary sortas="c-libform*">libform*</primary></indexterm>
126<para id="libform"><command>libform*</command> contains functions to implement forms.</para>
127
128<indexterm zone="ch-system-ncurses libmenu"><primary sortas="c-libmenu*">libmenu*</primary></indexterm>
129<para id="libmenu"><command>libmenu*</command> contains functions to implement menus.</para>
130
131<indexterm zone="ch-system-ncurses libpanel"><primary sortas="c-libpanel*">libpanel*</primary></indexterm>
132<para id="libpanel"><command>libpanel*</command> contains functions to implement panels.</para>
133
134</sect2>
135
136
137
138</sect1>
Note: See TracBrowser for help on using the repository browser.