source: final-system/common/ncurses.xml@ 7205c759

Last change on this file since 7205c759 was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

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