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

Last change on this file since 124823a was 67300de, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Create a clfs-1.1 branch in preperation for a RC.

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