source: BOOK/final-system/common/ncurses.xml@ 93aa336

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 93aa336 was 3373dd11, checked in by Jim Gifford <clfs@…>, 19 years ago

r668@server (orig r666): manuel | 2005-11-08 15:25:13 -0800
Removing SBUs and DUs. Chapter final-system, round 6.

  • Property mode set to 100644
File size: 8.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-ncurses" role="wrap">
11 <?dbhtml filename="ncurses.html"?>
12
13 <title>Ncurses-&ncurses-version;</title>
14
15 <indexterm zone="ch-system-ncurses">
16 <primary sortas="a-Ncurses">Ncurses</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <para>The Ncurses package contains libraries for terminal-independent
23 handling of character screens.</para>
24
25 <segmentedlist>
26 <segtitle>&dependencies;</segtitle>
27
28 <seglistitem>
29 <seg>Bash, Binutils, Coreutils, Diffutils,
30 Gawk, GCC, Glibc, Grep, Make, and Sed</seg>
31 </seglistitem>
32 </segmentedlist>
33
34 </sect2>
35
36 <sect2 role="installation">
37 <title>Installation of Ncurses</title>
38
39 <para os="a">Prepare Ncurses for compilation:</para>
40
41<screen><userinput>./configure --prefix=/usr --libdir=/lib \
42 --with-shared --without-debug</userinput></screen>
43
44 <para os="b">Compile the package:</para>
45
46<screen os="c"><userinput>make</userinput></screen>
47
48 <para os="d">This package does not come with a test suite.</para>
49
50 <para os="e">Install the package:</para>
51
52<screen os="f"><userinput>make install</userinput></screen>
53
54 <para os="g">Move the Ncurses static libraries to the proper locations:</para>
55
56<screen os="h"><userinput>mv /lib/lib{panel,menu,form,ncurses,ncurses++}.a /usr/lib</userinput></screen>
57
58 <para os="i">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
59
60<screen os="j"><userinput>rm /lib/lib{ncurses,menu,panel,form,curses}.so
61ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
62ln -sf ../../lib/libmenu.so.5 /usr/lib/libmenu.so
63ln -sf ../../lib/libpanel.so.5 /usr/lib/libpanel.so
64ln -sf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen>
65
66 <para os="k">Give the Ncurses libraries execute permissions:</para>
67
68<screen os="l"><userinput>chmod 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
69
70 </sect2>
71
72 <sect2 id="contents-ncurses" role="content">
73 <title>Contents of Ncurses</title>
74
75 <segmentedlist>
76 <segtitle>Installed programs</segtitle>
77 <segtitle>Installed libraries</segtitle>
78
79 <seglistitem>
80 <seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
81 reset (link to tset), tack, tic, toe, tput, and tset</seg>
82 <seg>libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so],
83 libmenu.[a,so], libncurses++.a, libncurses.[a,so], and
84 libpanel.[a,so]</seg>
85 </seglistitem>
86 </segmentedlist>
87
88 <variablelist>
89 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
90 <?dbfo list-presentation="list"?>
91 <?dbhtml list-presentation="table"?>
92
93 <varlistentry id="captoinfo">
94 <term><command>captoinfo</command></term>
95 <listitem>
96 <para>Converts a termcap description into a terminfo description</para>
97 <indexterm zone="ch-system-ncurses captoinfo">
98 <primary sortas="b-captoinfo">captoinfo</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="clear">
104 <term><command>clear</command></term>
105 <listitem>
106 <para>Clears the screen, if possible</para>
107 <indexterm zone="ch-system-ncurses clear">
108 <primary sortas="b-clear">clear</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="infocmp">
114 <term><command>infocmp</command></term>
115 <listitem>
116 <para>Compares or prints out terminfo descriptions</para>
117 <indexterm zone="ch-system-ncurses infocmp">
118 <primary sortas="b-infocmp">infocmp</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 <varlistentry id="infotocap">
124 <term><command>infotocap</command></term>
125 <listitem>
126 <para>Converts a terminfo description into a termcap description</para>
127 <indexterm zone="ch-system-ncurses infotocap">
128 <primary sortas="b-infotocap">infotocap</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="reset">
134 <term><command>reset</command></term>
135 <listitem>
136 <para>Reinitializes a terminal to its default values</para>
137 <indexterm zone="ch-system-ncurses reset">
138 <primary sortas="b-reset">reset</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="tack">
144 <term><command>tack</command></term>
145 <listitem>
146 <para>The terminfo action checker; it is mainly used to test the
147 accuracy of an entry in the terminfo database</para>
148 <indexterm zone="ch-system-ncurses tack">
149 <primary sortas="b-tack">tack</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="tic">
155 <term><command>tic</command></term>
156 <listitem>
157 <para>The terminfo entry-description compiler that translates a
158 terminfo file from source format into the binary format needed for the
159 ncurses library routines. A terminfo file contains information on the
160 capabilities of a certain terminal</para>
161 <indexterm zone="ch-system-ncurses tic">
162 <primary sortas="b-tic">tic</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="toe">
168 <term><command>toe</command></term>
169 <listitem>
170 <para>Lists all available terminal types, giving the primary name and
171 description for each</para>
172 <indexterm zone="ch-system-ncurses toe">
173 <primary sortas="b-toe">toe</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="tput">
179 <term><command>tput</command></term>
180 <listitem>
181 <para>Makes the values of terminal-dependent capabilities available to
182 the shell; it can also be used to reset or initialize a terminal or
183 report its long name</para>
184 <indexterm zone="ch-system-ncurses tput">
185 <primary sortas="b-tput">tput</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="tset">
191 <term><command>tset</command></term>
192 <listitem>
193 <para>Can be used to initialize terminals</para>
194 <indexterm zone="ch-system-ncurses tset">
195 <primary sortas="b-tset">tset</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="libcurses">
201 <term><filename class="libraryfile">libcurses</filename></term>
202 <listitem>
203 <para>A link to <filename>libncurses</filename></para>
204 <indexterm zone="ch-system-ncurses libcurses">
205 <primary sortas="c-libcurses">libcurses</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="libncurses">
211 <term><filename class="libraryfile">libncurses</filename></term>
212 <listitem>
213 <para>Contains functions to display text in many complex ways on a
214 terminal screen; a good example of the use of these functions is the
215 menu displayed during the kernel's
216 <command>make menuconfig</command></para>
217 <indexterm zone="ch-system-ncurses libncurses">
218 <primary sortas="c-libncurses">libncurses</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="libform">
224 <term><filename class="libraryfile">libform</filename></term>
225 <listitem>
226 <para>Contains functions to implement forms</para>
227 <indexterm zone="ch-system-ncurses libform">
228 <primary sortas="c-libform">libform</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="libmenu">
234 <term><filename class="libraryfile">libmenu</filename></term>
235 <listitem>
236 <para>Contains functions to implement menus</para>
237 <indexterm zone="ch-system-ncurses libmenu">
238 <primary sortas="c-libmenu">libmenu</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="libpanel">
244 <term><filename class="libraryfile">libpanel</filename></term>
245 <listitem>
246 <para>Contains functions to implement panels</para>
247 <indexterm zone="ch-system-ncurses libpanel">
248 <primary sortas="c-libpanel">libpanel</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 </variablelist>
254
255 </sect2>
256
257</sect1>
Note: See TracBrowser for help on using the repository browser.