source: BOOK/final-system/common/ncurses.xml@ 0b438c4

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0b438c4 was 040521bc, checked in by Jim Gifford <clfs@…>, 18 years ago

Sync up with 1.0 Book

  • Property mode set to 100644
File size: 8.5 KB
RevLine 
[3f8be484]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 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Ncurses</title>
27
28 <para os="a">Prepare Ncurses for compilation:</para>
29
[e0e40d3]30<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \
[3f8be484]31 --with-shared --without-debug</userinput></screen>
32
[e0e40d3]33 <para os="c">Compile the package:</para>
[3f8be484]34
[e0e40d3]35<screen os="d"><userinput>make</userinput></screen>
[3f8be484]36
[e0e40d3]37 <para os="e">This package does not come with a test suite.</para>
[3f8be484]38
[e0e40d3]39 <para os="f">Install the package:</para>
[3f8be484]40
[e0e40d3]41<screen os="g"><userinput>make install</userinput></screen>
[3f8be484]42
[380c903]43 <para os="h">Move the Ncurses static libraries to the proper location:</para>
[3f8be484]44
[94e6142]45<screen os="i"><userinput>mv -v /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib</userinput></screen>
[3f8be484]46
[e0e40d3]47 <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
[3f8be484]48
[94e6142]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>
[3f8be484]55
[040521bc]56 <para os="l">Give the Ncurses dynamic libraries execute permissions:</para>
[3f8be484]57
[2df5a38]58<screen os="m"><userinput>chmod -v 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
[3f8be484]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 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="reset">
124 <term><command>reset</command></term>
125 <listitem>
126 <para>Reinitializes a terminal to its default values</para>
127 <indexterm zone="ch-system-ncurses reset">
128 <primary sortas="b-reset">reset</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="tack">
134 <term><command>tack</command></term>
135 <listitem>
136 <para>The terminfo action checker; it is mainly used to test the
137 accuracy of an entry in the terminfo database</para>
138 <indexterm zone="ch-system-ncurses tack">
139 <primary sortas="b-tack">tack</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="tic">
145 <term><command>tic</command></term>
146 <listitem>
147 <para>The terminfo entry-description compiler that translates a
148 terminfo file from source format into the binary format needed for the
149 ncurses library routines. A terminfo file contains information on the
150 capabilities of a certain terminal</para>
151 <indexterm zone="ch-system-ncurses tic">
152 <primary sortas="b-tic">tic</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="toe">
158 <term><command>toe</command></term>
159 <listitem>
160 <para>Lists all available terminal types, giving the primary name and
161 description for each</para>
162 <indexterm zone="ch-system-ncurses toe">
163 <primary sortas="b-toe">toe</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="tput">
169 <term><command>tput</command></term>
170 <listitem>
171 <para>Makes the values of terminal-dependent capabilities available to
172 the shell; it can also be used to reset or initialize a terminal or
173 report its long name</para>
174 <indexterm zone="ch-system-ncurses tput">
175 <primary sortas="b-tput">tput</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
179
180 <varlistentry id="tset">
181 <term><command>tset</command></term>
182 <listitem>
183 <para>Can be used to initialize terminals</para>
184 <indexterm zone="ch-system-ncurses tset">
185 <primary sortas="b-tset">tset</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="libcurses">
191 <term><filename class="libraryfile">libcurses</filename></term>
192 <listitem>
193 <para>A link to <filename>libncurses</filename></para>
194 <indexterm zone="ch-system-ncurses libcurses">
195 <primary sortas="c-libcurses">libcurses</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="libncurses">
201 <term><filename class="libraryfile">libncurses</filename></term>
202 <listitem>
203 <para>Contains functions to display text in many complex ways on a
204 terminal screen; a good example of the use of these functions is the
205 menu displayed during the kernel's
206 <command>make menuconfig</command></para>
207 <indexterm zone="ch-system-ncurses libncurses">
208 <primary sortas="c-libncurses">libncurses</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="libform">
214 <term><filename class="libraryfile">libform</filename></term>
215 <listitem>
216 <para>Contains functions to implement forms</para>
217 <indexterm zone="ch-system-ncurses libform">
218 <primary sortas="c-libform">libform</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="libmenu">
224 <term><filename class="libraryfile">libmenu</filename></term>
225 <listitem>
226 <para>Contains functions to implement menus</para>
227 <indexterm zone="ch-system-ncurses libmenu">
228 <primary sortas="c-libmenu">libmenu</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="libpanel">
234 <term><filename class="libraryfile">libpanel</filename></term>
235 <listitem>
236 <para>Contains functions to implement panels</para>
237 <indexterm zone="ch-system-ncurses libpanel">
238 <primary sortas="c-libpanel">libpanel</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 </variablelist>
244
245 </sect2>
246
247</sect1>
Note: See TracBrowser for help on using the repository browser.