source: clfs-sysroot/BOOK/final-system/common/ncurses.xml@ 3a01114

Last change on this file since 3a01114 was 9c69069, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Add ncurses5-onfig to the ncurses program list.

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