[6dfcfecc] | 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 | <sect1info condition="script">
|
---|
| 12 | <productname>ncurses</productname>
|
---|
| 13 | <productnumber>&ncurses-version;</productnumber>
|
---|
| 14 | <address>&ncurses-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>Ncurses-&ncurses-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-ncurses">
|
---|
| 20 | <primary sortas="a-Ncurses">Ncurses</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>The Ncurses package contains libraries for terminal-independent
|
---|
| 27 | handling of character screens.</para>
|
---|
| 28 |
|
---|
| 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
| 32 |
|
---|
| 33 | <seglistitem>
|
---|
| 34 | <seg>&ncurses-fin-sbu;</seg>
|
---|
| 35 | <seg>&ncurses-fin-du;</seg>
|
---|
| 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
| 38 |
|
---|
| 39 | </sect2>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of Ncurses</title>
|
---|
| 43 |
|
---|
| 44 | <para>Prepare Ncurses for compilation:</para>
|
---|
| 45 |
|
---|
| 46 | <screen><userinput remap="configure">./configure --prefix=/usr \
|
---|
| 47 | --mandir=/usr/share/man \
|
---|
| 48 | --with-shared \
|
---|
| 49 | --without-debug \
|
---|
| 50 | --without-normal \
|
---|
[f8b27ab] | 51 | --with-cxx-shared \
|
---|
[6dfcfecc] | 52 | --enable-pc-files \
|
---|
[cd67d00] | 53 | --enable-widec \
|
---|
| 54 | --with-pkg-config-libdir=/usr/lib/pkgconfig</userinput></screen>
|
---|
[6dfcfecc] | 55 |
|
---|
| 56 | <variablelist>
|
---|
| 57 | <title>The meaning of the new configure options:</title>
|
---|
| 58 |
|
---|
| 59 | <varlistentry>
|
---|
[f8b27ab] | 60 | <term><parameter>--with-shared</parameter></term>
|
---|
[6dfcfecc] | 61 | <listitem>
|
---|
[f8b27ab] | 62 | <para>This makes Ncurses build and install shared C libraries.</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </varlistentry>
|
---|
| 65 |
|
---|
| 66 | <varlistentry>
|
---|
| 67 | <term><parameter>--without-normal</parameter></term>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>This prevents Ncurses building and installing static C
|
---|
| 70 | libraries.</para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </varlistentry>
|
---|
| 73 |
|
---|
| 74 | <varlistentry>
|
---|
| 75 | <term><parameter>--without-debug</parameter></term>
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>This prevents Ncurses building and installing debug
|
---|
| 78 | libraries.</para>
|
---|
| 79 | </listitem>
|
---|
| 80 | </varlistentry>
|
---|
| 81 |
|
---|
| 82 | <varlistentry>
|
---|
| 83 | <term><parameter>--with-cxx-shared</parameter></term>
|
---|
| 84 | <listitem>
|
---|
| 85 | <para>This makes Ncurses build and install shared C++ bindings. It
|
---|
| 86 | also prevents it building and installing static C++ bindings.</para>
|
---|
[6dfcfecc] | 87 | </listitem>
|
---|
| 88 | </varlistentry>
|
---|
| 89 |
|
---|
| 90 | <varlistentry>
|
---|
| 91 | <term><parameter>--enable-pc-files</parameter></term>
|
---|
| 92 | <listitem>
|
---|
| 93 | <para>This switch generates and installs .pc files for pkg-config.
|
---|
| 94 | </para>
|
---|
| 95 | </listitem>
|
---|
| 96 | </varlistentry>
|
---|
| 97 |
|
---|
| 98 | <varlistentry>
|
---|
[f8b27ab] | 99 | <term><parameter>--enable-widec</parameter></term>
|
---|
[6dfcfecc] | 100 | <listitem>
|
---|
[f8b27ab] | 101 | <para>This switch causes wide-character libraries (e.g., <filename
|
---|
| 102 | class="libraryfile">libncursesw.so.&ncurses-version;</filename>)
|
---|
| 103 | to be built instead of normal ones (e.g., <filename
|
---|
| 104 | class="libraryfile">libncurses.so.&ncurses-version;</filename>).
|
---|
| 105 | These wide-character libraries are usable in both multibyte and
|
---|
| 106 | traditional 8-bit locales, while normal libraries work properly
|
---|
| 107 | only in 8-bit locales. Wide-character and normal libraries are
|
---|
| 108 | source-compatible, but not binary-compatible.</para>
|
---|
[6dfcfecc] | 109 | </listitem>
|
---|
| 110 | </varlistentry>
|
---|
| 111 |
|
---|
| 112 | </variablelist>
|
---|
| 113 |
|
---|
| 114 | <para>Compile the package:</para>
|
---|
| 115 |
|
---|
| 116 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 117 |
|
---|
| 118 | <para>This package has a test suite, but it can only be run after the
|
---|
| 119 | package has been installed. The tests reside in the
|
---|
| 120 | <filename class="directory">test/</filename> directory. See the
|
---|
| 121 | <filename>README</filename> file in that directory for further details.
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
[88bbf22] | 124 | <!-- To editors: crash of shell process was very rare but really
|
---|
[7bd0378] | 125 | observed. We can't simply remove /usr/lib/libncursesw.so.6.x like
|
---|
[88bbf22] | 126 | how we handle libmozjs-xx.so in BLFS because bash needs it, and
|
---|
| 127 | make will spawn new shell processes during "make install". -->
|
---|
| 128 |
|
---|
| 129 | <para>The installation of this package will overwrite
|
---|
| 130 | <filename class="libraryfile">libncursesw.so.&ncurses-version;</filename>
|
---|
| 131 | in-place. It may crash the shell process which is using code and data
|
---|
| 132 | from the library file. Install the package with
|
---|
| 133 | <literal>DESTDIR</literal>, and replace the library file correctly using
|
---|
[951e075] | 134 | <command>install</command> command:</para>
|
---|
[88bbf22] | 135 |
|
---|
| 136 | <screen><userinput remap="install">make DESTDIR=$PWD/dest install
|
---|
| 137 | install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib
|
---|
[f8b27ab] | 138 | rm -v dest/usr/lib/libncursesw.so.&ncurses-version;
|
---|
[88bbf22] | 139 | cp -av dest/* /</userinput></screen>
|
---|
[6dfcfecc] | 140 |
|
---|
| 141 | <para>Many applications still expect the linker to be able to find
|
---|
| 142 | non-wide-character Ncurses libraries. Trick such applications into linking with
|
---|
| 143 | wide-character libraries by means of symlinks and linker scripts:</para>
|
---|
| 144 |
|
---|
| 145 | <screen><userinput remap="install">for lib in ncurses form panel menu ; do
|
---|
| 146 | rm -vf /usr/lib/lib${lib}.so
|
---|
| 147 | echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
|
---|
| 148 | ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc
|
---|
| 149 | done</userinput></screen>
|
---|
| 150 |
|
---|
| 151 | <para>Finally, make sure that old applications that look for
|
---|
| 152 | <filename class="libraryfile">-lcurses</filename> at build time are still
|
---|
| 153 | buildable:</para>
|
---|
| 154 |
|
---|
| 155 | <screen><userinput remap="install">rm -vf /usr/lib/libcursesw.so
|
---|
| 156 | echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so
|
---|
| 157 | ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen>
|
---|
| 158 |
|
---|
| 159 | <para>If desired, install the Ncurses documentation:</para>
|
---|
| 160 |
|
---|
[91f9a17] | 161 | <screen><userinput remap="install">cp -v -R doc -T /usr/share/doc/ncurses-&ncurses-version;</userinput></screen>
|
---|
[6dfcfecc] | 162 |
|
---|
| 163 | <note>
|
---|
| 164 |
|
---|
| 165 | <para>The instructions above don't create non-wide-character Ncurses
|
---|
| 166 | libraries since no package installed by compiling from sources would link
|
---|
| 167 | against them at runtime. However, the only known binary-only
|
---|
[d672ab7] | 168 | applications that link against non-wide-character Ncurses libraries
|
---|
[6dfcfecc] | 169 | require version 5. If you must have such libraries because of some binary-only
|
---|
| 170 | application or to be compliant with LSB, build the package again with the
|
---|
| 171 | following commands:</para>
|
---|
| 172 |
|
---|
| 173 | <screen role="nodump"><userinput>make distclean
|
---|
[f96a6d4] | 174 | ./configure --prefix=/usr \
|
---|
| 175 | --with-shared \
|
---|
| 176 | --without-normal \
|
---|
| 177 | --with-cxx-shared \
|
---|
| 178 | --without-debug \
|
---|
[6dfcfecc] | 179 | --without-cxx-binding \
|
---|
[d672ab7] | 180 | --with-abi-version=5
|
---|
[6dfcfecc] | 181 | make sources libs
|
---|
| 182 | cp -av lib/lib*.so.5* /usr/lib</userinput></screen>
|
---|
| 183 | </note>
|
---|
| 184 |
|
---|
| 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | <!-- - - - - - - - - - -->
|
---|
| 188 | <!-- Multilib - 32bit -->
|
---|
| 189 | <!-- - - - - - - - - - -->
|
---|
| 190 | <sect2 arch="ml_32,ml_all">
|
---|
| 191 | <title>Building Ncurses - 32bit</title>
|
---|
| 192 |
|
---|
| 193 | <para>Clean previous build:</para>
|
---|
| 194 |
|
---|
| 195 | <screen><userinput remap="pre">make distclean</userinput></screen>
|
---|
| 196 |
|
---|
| 197 | <para>Prepare Ncurses for compilation:</para>
|
---|
| 198 |
|
---|
| 199 | <screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" \
|
---|
| 200 | ./configure --prefix=/usr \
|
---|
| 201 | --host=i686-pc-linux-gnu \
|
---|
[0ebda11] | 202 | --libdir=/usr/lib32 \
|
---|
[6dfcfecc] | 203 | --mandir=/usr/share/man \
|
---|
| 204 | --with-shared \
|
---|
| 205 | --without-debug \
|
---|
| 206 | --without-normal \
|
---|
[f96a6d4] | 207 | --with-cxx-shared \
|
---|
[6dfcfecc] | 208 | --enable-pc-files \
|
---|
| 209 | --enable-widec \
|
---|
[0ebda11] | 210 | --with-pkg-config-libdir=/usr/lib32/pkgconfig</userinput></screen>
|
---|
[6dfcfecc] | 211 |
|
---|
| 212 | <para>Compile the package:</para>
|
---|
| 213 |
|
---|
| 214 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 215 |
|
---|
| 216 | <para>Install the package:</para>
|
---|
| 217 |
|
---|
| 218 | <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
|
---|
[0ebda11] | 219 | mkdir -p DESTDIR/usr/lib32/pkgconfig
|
---|
[6dfcfecc] | 220 | for lib in ncurses form panel menu ; do
|
---|
[0ebda11] | 221 | rm -vf DESTDIR/usr/lib32/lib${lib}.so
|
---|
| 222 | echo "INPUT(-l${lib}w)" > DESTDIR/usr/lib32/lib${lib}.so
|
---|
| 223 | ln -svf ${lib}w.pc DESTDIR/usr/lib32/pkgconfig/$lib.pc
|
---|
[6dfcfecc] | 224 | done
|
---|
[0ebda11] | 225 | rm -vf DESTDIR/usr/lib32/libcursesw.so
|
---|
| 226 | echo "INPUT(-lncursesw)" > DESTDIR/usr/lib32/libcursesw.so
|
---|
| 227 | ln -sfv libncurses.so DESTDIR/usr/lib32/libcurses.so
|
---|
| 228 | cp -Rv DESTDIR/usr/lib32/* /usr/lib32
|
---|
[6dfcfecc] | 229 | rm -rf DESTDIR</userinput></screen>
|
---|
| 230 |
|
---|
| 231 | </sect2><!-- m32 -->
|
---|
| 232 |
|
---|
| 233 | <!-- - - - - - - - - - -->
|
---|
| 234 | <!-- Multilib - x32bit -->
|
---|
| 235 | <!-- - - - - - - - - - -->
|
---|
| 236 | <sect2 arch="ml_x32,ml_all">
|
---|
| 237 | <title>Building Ncurses - x32bit</title>
|
---|
| 238 |
|
---|
| 239 | <para>Clean previous build:</para>
|
---|
| 240 |
|
---|
| 241 | <screen><userinput remap="pre">make distclean</userinput></screen>
|
---|
| 242 |
|
---|
| 243 | <para>Prepare Ncurses for compilation:</para>
|
---|
| 244 |
|
---|
| 245 | <screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" \
|
---|
| 246 | ./configure --prefix=/usr \
|
---|
| 247 | --host=x86_64-pc-linux-gnux32 \
|
---|
[0ebda11] | 248 | --libdir=/usr/libx32 \
|
---|
[6dfcfecc] | 249 | --mandir=/usr/share/man \
|
---|
| 250 | --with-shared \
|
---|
| 251 | --without-debug \
|
---|
| 252 | --without-normal \
|
---|
| 253 | --enable-pc-files \
|
---|
| 254 | --enable-widec \
|
---|
[0ebda11] | 255 | --with-pkg-config-libdir=/usr/libx32/pkgconfig</userinput></screen>
|
---|
[6dfcfecc] | 256 |
|
---|
| 257 | <para>Compile the package:</para>
|
---|
| 258 |
|
---|
| 259 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 260 |
|
---|
| 261 | <para>Install the package:</para>
|
---|
| 262 |
|
---|
| 263 | <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
|
---|
[0ebda11] | 264 | mkdir -p DESTDIR/usr/libx32/pkgconfig
|
---|
[6dfcfecc] | 265 | for lib in ncurses form panel menu ; do
|
---|
[0ebda11] | 266 | rm -vf DESTDIR/usr/libx32/lib${lib}.so
|
---|
| 267 | echo "INPUT(-l${lib}w)" > DESTDIR/usr/libx32/lib${lib}.so
|
---|
| 268 | ln -svf ${lib}w.pc DESTDIR/usr/libx32/pkgconfig/$lib.pc
|
---|
[6dfcfecc] | 269 | done
|
---|
[0ebda11] | 270 | rm -vf DESTDIR/usr/libx32/libcursesw.so
|
---|
| 271 | echo "INPUT(-lncursesw)" > DESTDIR/usr/libx32/libcursesw.so
|
---|
| 272 | ln -sfv libncurses.so DESTDIR/usr/libx32/libcurses.so
|
---|
| 273 | cp -Rv DESTDIR/usr/libx32/* /usr/libx32
|
---|
[6dfcfecc] | 274 | rm -rf DESTDIR</userinput></screen>
|
---|
| 275 |
|
---|
| 276 | </sect2><!-- mx32 -->
|
---|
| 277 |
|
---|
| 278 | <sect2 id="contents-ncurses" role="content">
|
---|
| 279 | <title>Contents of Ncurses</title>
|
---|
| 280 |
|
---|
| 281 | <segmentedlist>
|
---|
| 282 | <segtitle>Installed programs</segtitle>
|
---|
| 283 | <segtitle>Installed libraries</segtitle>
|
---|
| 284 | <segtitle>Installed directories</segtitle>
|
---|
| 285 |
|
---|
| 286 | <seglistitem>
|
---|
| 287 | <seg>
|
---|
[d672ab7] | 288 | captoinfo (link to tic),
|
---|
| 289 | clear,
|
---|
| 290 | infocmp,
|
---|
[6dfcfecc] | 291 | infotocap (link to tic),
|
---|
[d672ab7] | 292 | ncursesw6-config,
|
---|
| 293 | reset (link to tset),
|
---|
| 294 | tabs,
|
---|
| 295 | tic,
|
---|
| 296 | toe,
|
---|
| 297 | tput, and
|
---|
[6dfcfecc] | 298 | tset
|
---|
| 299 | </seg>
|
---|
| 300 | <seg>
|
---|
| 301 | libcursesw.so (symlink and linker script to libncursesw.so),
|
---|
[d672ab7] | 302 | libformw.so,
|
---|
| 303 | libmenuw.so,
|
---|
[6dfcfecc] | 304 | libncursesw.so,
|
---|
[36c45621] | 305 | libncurses++w.so,
|
---|
[6dfcfecc] | 306 | libpanelw.so, and their non-wide-character counterparts without "w"
|
---|
| 307 | in the library names.</seg>
|
---|
| 308 | <seg>
|
---|
[d672ab7] | 309 | /usr/share/tabset,
|
---|
[6dfcfecc] | 310 | /usr/share/terminfo, and
|
---|
| 311 | /usr/share/doc/ncurses-&ncurses-version;
|
---|
| 312 | </seg>
|
---|
| 313 | </seglistitem>
|
---|
| 314 | </segmentedlist>
|
---|
| 315 |
|
---|
| 316 | <variablelist>
|
---|
| 317 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 318 | <?dbfo list-presentation="list"?>
|
---|
| 319 | <?dbhtml list-presentation="table"?>
|
---|
| 320 |
|
---|
| 321 | <varlistentry id="captoinfo">
|
---|
| 322 | <term><command>captoinfo</command></term>
|
---|
| 323 | <listitem>
|
---|
| 324 | <para>Converts a termcap description into a terminfo description</para>
|
---|
| 325 | <indexterm zone="ch-system-ncurses captoinfo">
|
---|
| 326 | <primary sortas="b-captoinfo">captoinfo</primary>
|
---|
| 327 | </indexterm>
|
---|
| 328 | </listitem>
|
---|
| 329 | </varlistentry>
|
---|
| 330 |
|
---|
| 331 | <varlistentry id="clear">
|
---|
| 332 | <term><command>clear</command></term>
|
---|
| 333 | <listitem>
|
---|
| 334 | <para>Clears the screen, if possible</para>
|
---|
| 335 | <indexterm zone="ch-system-ncurses clear">
|
---|
| 336 | <primary sortas="b-clear">clear</primary>
|
---|
| 337 | </indexterm>
|
---|
| 338 | </listitem>
|
---|
| 339 | </varlistentry>
|
---|
| 340 |
|
---|
| 341 | <varlistentry id="infocmp">
|
---|
| 342 | <term><command>infocmp</command></term>
|
---|
| 343 | <listitem>
|
---|
| 344 | <para>Compares or prints out terminfo descriptions</para>
|
---|
| 345 | <indexterm zone="ch-system-ncurses infocmp">
|
---|
| 346 | <primary sortas="b-infocmp">infocmp</primary>
|
---|
| 347 | </indexterm>
|
---|
| 348 | </listitem>
|
---|
| 349 | </varlistentry>
|
---|
| 350 |
|
---|
| 351 | <varlistentry id="infotocap">
|
---|
| 352 | <term><command>infotocap</command></term>
|
---|
| 353 | <listitem>
|
---|
| 354 | <para>Converts a terminfo description into a termcap description</para>
|
---|
| 355 | <indexterm zone="ch-system-ncurses infotocap">
|
---|
| 356 | <primary sortas="b-infotocap">infotocap</primary>
|
---|
| 357 | </indexterm>
|
---|
| 358 | </listitem>
|
---|
| 359 | </varlistentry>
|
---|
| 360 |
|
---|
| 361 | <varlistentry id="ncursesw6-config">
|
---|
| 362 | <term><command>ncursesw6-config</command></term>
|
---|
| 363 | <listitem>
|
---|
| 364 | <para>Provides configuration information for ncurses</para>
|
---|
| 365 | <indexterm zone="ch-system-ncurses ncursesw6-config">
|
---|
| 366 | <primary sortas="b-ncursesw6-config">ncursesw6-config</primary>
|
---|
| 367 | </indexterm>
|
---|
| 368 | </listitem>
|
---|
| 369 | </varlistentry>
|
---|
| 370 |
|
---|
| 371 | <varlistentry id="reset">
|
---|
| 372 | <term><command>reset</command></term>
|
---|
| 373 | <listitem>
|
---|
| 374 | <para>Reinitializes a terminal to its default values</para>
|
---|
| 375 | <indexterm zone="ch-system-ncurses reset">
|
---|
| 376 | <primary sortas="b-reset">reset</primary>
|
---|
| 377 | </indexterm>
|
---|
| 378 | </listitem>
|
---|
| 379 | </varlistentry>
|
---|
| 380 |
|
---|
| 381 | <varlistentry id="tabs">
|
---|
| 382 | <term><command>tabs</command></term>
|
---|
| 383 | <listitem>
|
---|
| 384 | <para>Clears and sets tab stops on a terminal</para>
|
---|
| 385 | <indexterm zone="ch-system-ncurses tabs">
|
---|
| 386 | <primary sortas="b-tabs">tabs</primary>
|
---|
| 387 | </indexterm>
|
---|
| 388 | </listitem>
|
---|
| 389 | </varlistentry>
|
---|
| 390 |
|
---|
| 391 | <varlistentry id="tic">
|
---|
| 392 | <term><command>tic</command></term>
|
---|
| 393 | <listitem>
|
---|
| 394 | <para>The terminfo entry-description compiler that translates a
|
---|
| 395 | terminfo file from source format into the binary format needed for the
|
---|
| 396 | ncurses library routines [A terminfo file contains information on the
|
---|
| 397 | capabilities of a certain terminal.]</para>
|
---|
| 398 | <indexterm zone="ch-system-ncurses tic">
|
---|
| 399 | <primary sortas="b-tic">tic</primary>
|
---|
| 400 | </indexterm>
|
---|
| 401 | </listitem>
|
---|
| 402 | </varlistentry>
|
---|
| 403 |
|
---|
| 404 | <varlistentry id="toe">
|
---|
| 405 | <term><command>toe</command></term>
|
---|
| 406 | <listitem>
|
---|
| 407 | <para>Lists all available terminal types, giving the primary name and
|
---|
| 408 | description for each</para>
|
---|
| 409 | <indexterm zone="ch-system-ncurses toe">
|
---|
| 410 | <primary sortas="b-toe">toe</primary>
|
---|
| 411 | </indexterm>
|
---|
| 412 | </listitem>
|
---|
| 413 | </varlistentry>
|
---|
| 414 |
|
---|
| 415 | <varlistentry id="tput">
|
---|
| 416 | <term><command>tput</command></term>
|
---|
| 417 | <listitem>
|
---|
| 418 | <para>Makes the values of terminal-dependent capabilities available to
|
---|
| 419 | the shell; it can also be used to reset or initialize a terminal or
|
---|
| 420 | report its long name</para>
|
---|
| 421 | <indexterm zone="ch-system-ncurses tput">
|
---|
| 422 | <primary sortas="b-tput">tput</primary>
|
---|
| 423 | </indexterm>
|
---|
| 424 | </listitem>
|
---|
| 425 | </varlistentry>
|
---|
| 426 |
|
---|
| 427 | <varlistentry id="tset">
|
---|
| 428 | <term><command>tset</command></term>
|
---|
| 429 | <listitem>
|
---|
| 430 | <para>Can be used to initialize terminals</para>
|
---|
| 431 | <indexterm zone="ch-system-ncurses tset">
|
---|
| 432 | <primary sortas="b-tset">tset</primary>
|
---|
| 433 | </indexterm>
|
---|
| 434 | </listitem>
|
---|
| 435 | </varlistentry>
|
---|
| 436 |
|
---|
| 437 | <varlistentry id="libcursesw">
|
---|
| 438 | <term><filename class="libraryfile">libcursesw</filename></term>
|
---|
| 439 | <listitem>
|
---|
| 440 | <para>A link to <filename>libncursesw</filename></para>
|
---|
| 441 | <indexterm zone="ch-system-ncurses libcursesw">
|
---|
| 442 | <primary sortas="c-libcursesw">libcursesw</primary>
|
---|
| 443 | </indexterm>
|
---|
| 444 | </listitem>
|
---|
| 445 | </varlistentry>
|
---|
| 446 |
|
---|
| 447 | <varlistentry id="libncursesw">
|
---|
| 448 | <term><filename class="libraryfile">libncursesw</filename></term>
|
---|
| 449 | <listitem>
|
---|
| 450 | <para>Contains functions to display text in many complex ways on a
|
---|
| 451 | terminal screen; a good example of the use of these functions is the
|
---|
| 452 | menu displayed during the kernel's <command>make
|
---|
| 453 | menuconfig</command></para>
|
---|
| 454 | <indexterm zone="ch-system-ncurses libncursesw">
|
---|
| 455 | <primary sortas="c-libncursesw">libncursesw</primary>
|
---|
| 456 | </indexterm>
|
---|
| 457 | </listitem>
|
---|
| 458 | </varlistentry>
|
---|
| 459 |
|
---|
[36c45621] | 460 | <varlistentry id="libncurses__w">
|
---|
| 461 | <term><filename class="libraryfile">libncurses++w</filename></term>
|
---|
| 462 | <listitem>
|
---|
| 463 | <para>Contains C++ binding for other libraries in this package</para>
|
---|
| 464 | <indexterm zone="ch-system-ncurses libncurses__w">
|
---|
| 465 | <primary sortas="c-libncurses++w">libncurses++w</primary>
|
---|
| 466 | </indexterm>
|
---|
| 467 | </listitem>
|
---|
| 468 | </varlistentry>
|
---|
| 469 |
|
---|
[6dfcfecc] | 470 | <varlistentry id="libformw">
|
---|
| 471 | <term><filename class="libraryfile">libformw</filename></term>
|
---|
| 472 | <listitem>
|
---|
| 473 | <para>Contains functions to implement forms</para>
|
---|
| 474 | <indexterm zone="ch-system-ncurses libformw">
|
---|
| 475 | <primary sortas="c-libformw">libformw</primary>
|
---|
| 476 | </indexterm>
|
---|
| 477 | </listitem>
|
---|
| 478 | </varlistentry>
|
---|
| 479 |
|
---|
| 480 | <varlistentry id="libmenuw">
|
---|
| 481 | <term><filename class="libraryfile">libmenuw</filename></term>
|
---|
| 482 | <listitem>
|
---|
| 483 | <para>Contains functions to implement menus</para>
|
---|
| 484 | <indexterm zone="ch-system-ncurses libmenuw">
|
---|
| 485 | <primary sortas="c-libmenuw">libmenuw</primary>
|
---|
| 486 | </indexterm>
|
---|
| 487 | </listitem>
|
---|
| 488 | </varlistentry>
|
---|
| 489 |
|
---|
| 490 | <varlistentry id="libpanelw">
|
---|
| 491 | <term><filename class="libraryfile">libpanelw</filename></term>
|
---|
| 492 | <listitem>
|
---|
| 493 | <para>Contains functions to implement panels</para>
|
---|
| 494 | <indexterm zone="ch-system-ncurses libpanelw">
|
---|
| 495 | <primary sortas="c-libpanelw">libpanelw</primary>
|
---|
| 496 | </indexterm>
|
---|
| 497 | </listitem>
|
---|
| 498 | </varlistentry>
|
---|
| 499 |
|
---|
| 500 | </variablelist>
|
---|
| 501 |
|
---|
| 502 | </sect2>
|
---|
| 503 |
|
---|
| 504 | </sect1>
|
---|