source: trunk/essentials/sys-libs/ncurses/README@ 3253

Last change on this file since 3253 was 3043, checked in by bird, 19 years ago

-> essentials

File size: 7.5 KB
RevLine 
[2621]1-- $Id: README,v 1.22 2004/08/07 23:42:43 tom Exp $
2-------------------------------------------------------------------------------
3 README file for the ncurses package
4
5See the file ANNOUNCE for a summary of ncurses features and ports.
6See the file INSTALL for instructions on how to build and install ncurses.
7See the file NEWS for a release history and bug-fix notes.
8See the file TO-DO for things that still need doing, including known bugs.
9
10Browse the file misc/ncurses-intro.html for narrative descriptions of how
11to use ncurses and the panel, menu, and form libraries.
12
13Browse the file doc/html/hackguide.html for a tour of the package internals.
14
15ROADMAP AND PACKAGE OVERVIEW:
16
17You should be reading this file in a directory called: ncurses-d.d, where d.d
18is the current version number (see the dist.mk file in this directory for
19that). There should be a number of subdirectories, including `c++', `form',
20`man', `menu', `misc', `ncurses', `panel', `progs', `test', 'tack' and `Ada95'.
21(The 'tack' program may be distributed separately).
22
23A full build/install of this package typically installs several libraries, a
24handful of utilities, and a database hierarchy. Here is an inventory of the
25pieces:
26
27The libraries are:
28
29 libncurses.a (normal)
30 libncurses.so (shared)
31 libncurses_g.a (debug and trace code enabled)
32 libncurses_p.a (profiling enabled)
33
34 libpanel.a (normal)
35 libpanel.so (shared)
36 libpanel_g.a (debug and trace code enabled)
37
38 libmenu.a (normal)
39 libmenu.so (shared)
40 libmenu_g.a (debug enabled)
41
42 libform.a (normal)
43 libform.so (shared)
44 libform_g.a (debug enabled)
45
46If you configure using the --enable-widec option, a "w" is appended to the
47library names (e.g., libncursesw.a), and the resulting libraries support
48wide-characters, e.g., via a UTF-8 locale. The corresponding header files
49are compatible with the non-wide-character configuration; wide-character
50features are provided by ifdef's in the header files. The wide-character
51library interfaces are not binary-compatible with the non-wide-character
52version.
53
54The ncurses libraries implement the curses API. The panel, menu and forms
55libraries implement clones of the SVr4 panel, menu and forms APIs. The source
56code for these lives in the `ncurses', `panel', `menu', and `form' directories
57respectively.
58
59In the `c++' directory, you'll find code that defines an interface to the
60curses, forms, menus and panels library packaged as C++ classes, and a demo program in C++
61to test it. These class definition modules are not installed by the 'make
62install.libs' rule as libncurses++.
63
64In the `Ada95' directory, you'll find code and documentation for an
65Ada95 binding of the curses API, to be used with the GNAT compiler.
66This binding is built by a normal top-level `make' if configure detects
67an usable version of GNAT (3.11 or above). It is not installed automatically.
68See the Ada95 directory for more build and installation instructions and
69for documentation of the binding.
70
71To do its job, the ncurses code needs your terminal type to be set in the
72environment variable TERM (normally set by your OS; under UNIX, getty(1)
73typically does this, but you can override it in your .profile); and, it needs a
74database of terminal descriptions in which to look up your terminal type's