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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d38e4cf was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

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