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-widec" role="wrap">
|
---|
9 | <?dbhtml filename="ncurses-widec.html"?>
|
---|
10 |
|
---|
11 | <title>Ncurses-&ncurses-version; Widec</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-ncurses-widec">
|
---|
14 | <primary sortas="a-Ncurses">Ncurses Widec</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 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
29 | href="ncurses.xml"
|
---|
30 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
31 |
|
---|
32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
33 | href="ncurses.xml"
|
---|
34 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
35 |
|
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
37 | href="ncurses.xml"
|
---|
38 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
39 |
|
---|
40 | <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
41 | --prefix=/usr --libdir=/lib --with-shared \
|
---|
42 | --without-debug --enable-widec --with-build=gcc=gcc</userinput></screen>
|
---|
43 |
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
45 | href="ncurses.xml"
|
---|
46 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
47 |
|
---|
48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
49 | href="ncurses.xml"
|
---|
50 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
51 |
|
---|
52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
53 | href="ncurses.xml"
|
---|
54 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
55 |
|
---|
56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
57 | href="ncurses.xml"
|
---|
58 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
59 |
|
---|
60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
61 | href="ncurses.xml"
|
---|
62 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
63 |
|
---|
64 | <screen os="h"><userinput>mv -v ${CLFS}/lib/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a \
|
---|
65 | ${CLFS}/usr/lib</userinput></screen>
|
---|
66 |
|
---|
67 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
68 | href="ncurses.xml"
|
---|
69 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
70 |
|
---|
71 | <screen os="j"><userinput>rm -v ${CLFS}/lib/lib{ncursesw,menuw,panelw,formw,cursesw}.so
|
---|
72 | ln -svf ../../lib/libncursesw.so.5 /${CLFS}usr/lib/libcursesw.so
|
---|
73 | ln -svf ../../lib/libncursesw.so.5 ${CLFS}/usr/lib/libncursesw.so
|
---|
74 | ln -svf ../../lib/libmenuw.so.5 ${CLFS}/usr/lib/libmenuw.so
|
---|
75 | ln -svf ../../lib/libpanelw.so.5 ${CLFS}/usr/lib/libpanelw.so
|
---|
76 | ln -svf ../../lib/libformw.so.5 ${CLFS}/usr/lib/libformw.so</userinput></screen>
|
---|
77 |
|
---|
78 | <para os="k">Give the Ncurses libraries execute permissions:</para>
|
---|
79 |
|
---|
80 | <screen os="l"><userinput>chmod -v 755 ${CLFS}/lib/lib{panelw,menuw,formw,ncursesw}.so.&ncurses-version;</userinput></screen>
|
---|
81 |
|
---|
82 | </sect2>
|
---|
83 |
|
---|
84 | <sect2 id="contents-ncurses-widec" role="content">
|
---|
85 | <title>Contents of Ncurses Widec</title>
|
---|
86 |
|
---|
87 | <segmentedlist>
|
---|
88 | <segtitle>Installed programs</segtitle>
|
---|
89 | <segtitle>Installed libraries</segtitle>
|
---|
90 |
|
---|
91 | <seglistitem>
|
---|
92 | <seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
|
---|
93 | ncursesw5-config, reset (link to tset), tack, tic, toe, tput, and tset</seg>
|
---|
94 | <seg>libcursesw.so (link to libncurses.so), libformw.[a,so],
|
---|
95 | libmenuw.[a,so], libncurses++w.a, libncursesw.[a,so], and
|
---|
96 | libpanelw.[a,so]</seg>
|
---|
97 | </seglistitem>
|
---|
98 | </segmentedlist>
|
---|
99 |
|
---|
100 | <variablelist>
|
---|
101 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
102 | <?dbfo list-presentation="list"?>
|
---|
103 | <?dbhtml list-presentation="table"?>
|
---|
104 |
|
---|
105 | <varlistentry id="captoinfo">
|
---|
106 | <term><command>captoinfo</command></term>
|
---|
107 | <listitem>
|
---|
108 | <para>Converts a termcap description into a terminfo description</para>
|
---|
109 | <indexterm zone="ch-system-ncurses-widec captoinfo">
|
---|
110 | <primary sortas="b-captoinfo">captoinfo</primary>
|
---|
111 | </indexterm>
|
---|
112 | </listitem>
|
---|
113 | </varlistentry>
|
---|
114 |
|
---|
115 | <varlistentry id="clear">
|
---|
116 | <term><command>clear</command></term>
|
---|
117 | <listitem>
|
---|
118 | <para>Clears the screen, if possible</para>
|
---|
119 | <indexterm zone="ch-system-ncurses-widec clear">
|
---|
120 | <primary sortas="b-clear">clear</primary>
|
---|
121 | </indexterm>
|
---|
122 | </listitem>
|
---|
123 | </varlistentry>
|
---|
124 |
|
---|
125 | <varlistentry id="infocmp">
|
---|
126 | <term><command>infocmp</command></term>
|
---|
127 | <listitem>
|
---|
128 | <para>Compares or prints out terminfo descriptions</para>
|
---|
129 | <indexterm zone="ch-system-ncurses-widec infocmp">
|
---|
130 | <primary sortas="b-infocmp">infocmp</primary>
|
---|
131 | </indexterm>
|
---|
132 | </listitem>
|
---|
133 | </varlistentry>
|
---|
134 |
|
---|
135 | <varlistentry id="infotocap">
|
---|
136 | <term><command>infotocap</command></term>
|
---|
137 | <listitem>
|
---|
138 | <para>Converts a terminfo description into a termcap description</para>
|
---|
139 | <indexterm zone="ch-system-ncurses-widec infotocap">
|
---|
140 | <primary sortas="b-infotocap">infotocap</primary>
|
---|
141 | </indexterm>
|
---|
142 | </listitem>
|
---|
143 | </varlistentry>
|
---|
144 |
|
---|
145 | <varlistentry id="ncursesw5-config">
|
---|
146 | <term><command>ncursesw5-config</command></term>
|
---|
147 | <listitem>
|
---|
148 | <para>Provides configuration information for ncurses</para>
|
---|
149 | <indexterm zone="ch-system-ncurses-widec ncursesw5-config">
|
---|
150 | <primary sortas="b-ncursesw5-config">ncursesw5-config</primary>
|
---|
151 | </indexterm>
|
---|
152 | </listitem>
|
---|
153 | </varlistentry>
|
---|
154 |
|
---|
155 | <varlistentry id="reset">
|
---|
156 | <term><command>reset</command></term>
|
---|
157 | <listitem>
|
---|
158 | <para>Reinitializes a terminal to its default values</para>
|
---|
159 | <indexterm zone="ch-system-ncurses-widec reset">
|
---|
160 | <primary sortas="b-reset">reset</primary>
|
---|
161 | </indexterm>
|
---|
162 | </listitem>
|
---|
163 | </varlistentry>
|
---|
164 |
|
---|
165 | <varlistentry id="tack">
|
---|
166 | <term><command>tack</command></term>
|
---|
167 | <listitem>
|
---|
168 | <para>The terminfo action checker; it is mainly used to test the
|
---|
169 | accuracy of an entry in the terminfo database</para>
|
---|
170 | <indexterm zone="ch-system-ncurses-widec tack">
|
---|
171 | <primary sortas="b-tack">tack</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | <varlistentry id="tic">
|
---|
177 | <term><command>tic</command></term>
|
---|
178 | <listitem>
|
---|
179 | <para>The terminfo entry-description compiler that translates a
|
---|
180 | terminfo file from source format into the binary format needed for the
|
---|
181 | ncurses library routines. A terminfo file contains information on the
|
---|
182 | capabilities of a certain terminal</para>
|
---|
183 | <indexterm zone="ch-system-ncurses-widec tic">
|
---|
184 | <primary sortas="b-tic">tic</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | <varlistentry id="toe">
|
---|
190 | <term><command>toe</command></term>
|
---|
191 | <listitem>
|
---|
192 | <para>Lists all available terminal types, giving the primary name and
|
---|
193 | description for each</para>
|
---|
194 | <indexterm zone="ch-system-ncurses-widec toe">
|
---|
195 | <primary sortas="b-toe">toe</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | <varlistentry id="tput">
|
---|
201 | <term><command>tput</command></term>
|
---|
202 | <listitem>
|
---|
203 | <para>Makes the values of terminal-dependent capabilities available to
|
---|
204 | the shell; it can also be used to reset or initialize a terminal or
|
---|
205 | report its long name</para>
|
---|
206 | <indexterm zone="ch-system-ncurses-widec tput">
|
---|
207 | <primary sortas="b-tput">tput</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="tset">
|
---|
213 | <term><command>tset</command></term>
|
---|
214 | <listitem>
|
---|
215 | <para>Can be used to initialize terminals</para>
|
---|
216 | <indexterm zone="ch-system-ncurses-widec tset">
|
---|
217 | <primary sortas="b-tset">tset</primary>
|
---|
218 | </indexterm>
|
---|
219 | </listitem>
|
---|
220 | </varlistentry>
|
---|
221 |
|
---|
222 | <varlistentry id="libcursesw">
|
---|
223 | <term><filename class="libraryfile">libcursesw</filename></term>
|
---|
224 | <listitem>
|
---|
225 | <para>A link to <filename>libncursesw</filename></para>
|
---|
226 | <indexterm zone="ch-system-ncurses-widec libcursesw">
|
---|
227 | <primary sortas="c-libcursesw">libcursesw</primary>
|
---|
228 | </indexterm>
|
---|
229 | </listitem>
|
---|
230 | </varlistentry>
|
---|
231 |
|
---|
232 | <varlistentry id="libncursesw">
|
---|
233 | <term><filename class="libraryfile">libncursesw</filename></term>
|
---|
234 | <listitem>
|
---|
235 | <para>Contains functions to display text in many complex ways on a
|
---|
236 | terminal screen; a good example of the use of these functions is the
|
---|
237 | menu displayed during the kernel's
|
---|
238 | <command>make menuconfig</command></para>
|
---|
239 | <indexterm zone="ch-system-ncurses-widec libncursesw">
|
---|
240 | <primary sortas="c-libncursesw">libncursesw</primary>
|
---|
241 | </indexterm>
|
---|
242 | </listitem>
|
---|
243 | </varlistentry>
|
---|
244 |
|
---|
245 | <varlistentry id="libformw">
|
---|
246 | <term><filename class="libraryfile">libformw</filename></term>
|
---|
247 | <listitem>
|
---|
248 | <para>Contains functions to implement forms</para>
|
---|
249 | <indexterm zone="ch-system-ncurses-widec libformw">
|
---|
250 | <primary sortas="c-libform">libformw</primary>
|
---|
251 | </indexterm>
|
---|
252 | </listitem>
|
---|
253 | </varlistentry>
|
---|
254 |
|
---|
255 | <varlistentry id="libmenuw">
|
---|
256 | <term><filename class="libraryfile">libmenuw</filename></term>
|
---|
257 | <listitem>
|
---|
258 | <para>Contains functions to implement menus</para>
|
---|
259 | <indexterm zone="ch-system-ncurses-widec libmenuw">
|
---|
260 | <primary sortas="c-libmenuw">libmenuw</primary>
|
---|
261 | </indexterm>
|
---|
262 | </listitem>
|
---|
263 | </varlistentry>
|
---|
264 |
|
---|
265 | <varlistentry id="libpanelw">
|
---|
266 | <term><filename class="libraryfile">libpanelw</filename></term>
|
---|
267 | <listitem>
|
---|
268 | <para>Contains functions to implement panels</para>
|
---|
269 | <indexterm zone="ch-system-ncurses-widec libpanelw">
|
---|
270 | <primary sortas="c-libpanelw">libpanelw</primary>
|
---|
271 | </indexterm>
|
---|
272 | </listitem>
|
---|
273 | </varlistentry>
|
---|
274 |
|
---|
275 | </variablelist>
|
---|
276 |
|
---|
277 | </sect2>
|
---|
278 |
|
---|
279 | </sect1>
|
---|