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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0e116c6 was 0d9eda9, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Update Date.

  • Property mode set to 100644
File size: 5.1 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 patch contains updates from the &ncurses-version; branch
29 by 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 </sect2>
62
63 <sect2 id="contents-ncurses" role="content">
64 <title>Contents of Ncurses</title>
65
66 <segmentedlist>
67 <segtitle>Installed programs</segtitle>
68 <segtitle>Installed libraries</segtitle>
69
70 <seglistitem>
71 <seg>ncurses5-config</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="ncurses5-config">
84 <term><command>ncurses5-config</command></term>
85 <listitem>
86 <para>Provides configuration information for ncurses</para>
87 <indexterm zone="ch-system-ncurses ncurses5-config">
88 <primary sortas="b-ncurses5-config">ncurses5-config</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry id="libcurses">
94 <term><filename class="libraryfile">libcurses</filename></term>
95 <listitem>
96 <para>A link to <filename>libncurses</filename></para>
97 <indexterm zone="ch-system-ncurses libcurses">
98 <primary sortas="c-libcurses">libcurses</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="libncurses">
104 <term><filename class="libraryfile">libncurses</filename></term>
105 <listitem>
106 <para>Contains functions to display text in many complex ways on a
107 terminal screen; a good example of the use of these functions is the
108 menu displayed during the kernel's
109 <command>make menuconfig</command></para>
110 <indexterm zone="ch-system-ncurses libncurses">
111 <primary sortas="c-libncurses">libncurses</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
116 <varlistentry id="libform">
117 <term><filename class="libraryfile">libform</filename></term>
118 <listitem>
119 <para>Contains functions to implement forms</para>
120 <indexterm zone="ch-system-ncurses libform">
121 <primary sortas="c-libform">libform</primary>
122 </indexterm>
123 </listitem>
124 </varlistentry>
125
126 <varlistentry id="libmenu">
127 <term><filename class="libraryfile">libmenu</filename></term>
128 <listitem>
129 <para>Contains functions to implement menus</para>
130 <indexterm zone="ch-system-ncurses libmenu">
131 <primary sortas="c-libmenu">libmenu</primary>
132 </indexterm>
133 </listitem>
134 </varlistentry>
135
136 <varlistentry id="libpanel">
137 <term><filename class="libraryfile">libpanel</filename></term>
138 <listitem>
139 <para>Contains functions to implement panels</para>
140 <indexterm zone="ch-system-ncurses libpanel">
141 <primary sortas="c-libpanel">libpanel</primary>
142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 </variablelist>
147
148 </sect2>
149
150</sect1>
Note: See TracBrowser for help on using the repository browser.