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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 37df206 was 1c62f2a, checked in by Chris Staub <chris@…>, 17 years ago

Add ncurses5-config to ncurses program list

  • Property mode set to 100644
File size: 8.9 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="a">Prepare Ncurses for compilation:</para>
29
30<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \
31 --with-shared --without-debug</userinput></screen>
32
33 <para os="c">Compile the package:</para>
34
35<screen os="d"><userinput>make</userinput></screen>
36
37 <para os="e">This package does not come with a test suite.</para>
38
39 <para os="f">Install the package:</para>
40
41<screen os="g"><userinput>make install</userinput></screen>
42
43 <para os="h">Move the Ncurses static libraries to the proper location:</para>
44
45<screen os="i"><userinput>mv -v /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib</userinput></screen>
46
47 <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
48
49<screen os="k"><userinput>rm -v /lib/lib{ncurses,menu,panel,form,curses}.so
50ln -svf ../../lib/libncurses.so.5 /usr/lib/libcurses.so
51ln -svf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
52ln -svf ../../lib/libmenu.so.5 /usr/lib/libmenu.so
53ln -svf ../../lib/libpanel.so.5 /usr/lib/libpanel.so
54ln -svf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen>
55
56 <para os="l">Give the Ncurses dynamic libraries execute permissions:</para>
57
58<screen os="m"><userinput>chmod -v 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
59
60 </sect2>
61
62 <sect2 id="contents-ncurses" role="content">
63 <title>Contents of Ncurses</title>
64
65 <segmentedlist>
66 <segtitle>Installed programs</segtitle>
67 <segtitle>Installed libraries</segtitle>
68
69 <seglistitem>
70 <seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
71 ncurses5-config, reset (link to tset), tack, tic, toe, tput, and tset</seg>
72 <seg>libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so],
73 libmenu.[a,so], libncurses++.a, libncurses.[a,so], and
74 libpanel.[a,so]</seg>
75 </seglistitem>
76 </segmentedlist>
77
78 <variablelist>
79 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
80 <?dbfo list-presentation="list"?>
81 <?dbhtml list-presentation="table"?>
82
83 <varlistentry id="captoinfo">
84 <term><command>captoinfo</command></term>
85 <listitem>
86 <para>Converts a termcap description into a terminfo description</para>
87 <indexterm zone="ch-system-ncurses captoinfo">
88 <primary sortas="b-captoinfo">captoinfo</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry id="clear">
94 <term><command>clear</command></term>
95 <listitem>
96 <para>Clears the screen, if possible</para>
97 <indexterm zone="ch-system-ncurses clear">
98 <primary sortas="b-clear">clear</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="infocmp">
104 <term><command>infocmp</command></term>
105 <listitem>
106 <para>Compares or prints out terminfo descriptions</para>
107 <indexterm zone="ch-system-ncurses infocmp">
108 <primary sortas="b-infocmp">infocmp</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="infotocap">
114 <term><command>infotocap</command></term>
115 <listitem>
116 <para>Converts a terminfo description into a termcap description</para>
117 <indexterm zone="ch-system-ncurses infotocap">
118 <primary sortas="b-infotocap">infotocap</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 <varlistentry id="ncurses5-config">
124 <term><command>ncurses5-config</command></term>
125 <listitem>
126 <para>Provides configuration information for ncurses</para>
127 <indexterm zone="ch-system-ncurses ncurses5-config">
128 <primary sortas="b-ncurses5-config">ncurses5-config</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.