]> ncurses.scripts.mit.edu Git - ncurses.git/blob - announce.html
ncurses 4.2
[ncurses.git] / announce.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
2 <!--
3   $Id: announce.html,v 1.23 1998/02/28 23:21:12 tom Exp $
4 -->
5 <HTML>
6 <HEAD>
7 <TITLE>Announcing ncurses 4.2</TITLE>
8 <link rev=made href="mailto:bug-ncurses@gnu.org">
9 </HEAD>
10 <BODY>
11
12 <H1>Announcing ncurses 4.2</H1>
13
14 The ncurses (new curses) library is a freeware emulation of System V
15 Release 4.0 curses.  It uses terminfo format, supports pads and color
16 and multiple highlights and forms characters and function-key mapping,
17 and has all the other SYSV-curses enhancements over BSD curses.<P>
18
19 In mid-June 1995, the maintainer of 4.4BSD curses declared that he
20 considered 4.4BSD curses obsolete, and is encouraging the keepers of
21 Unix releases such as BSD/OS, freeBSD and netBSD to switch over to
22 ncurses.<P>
23
24 The ncurses code was developed under Linux.  It should port easily to
25 any ANSI/POSIX-conforming UNIX.  It has even been ported to OS/2 Warp!<P>
26
27 The distribution includes the library and support utilities, including a
28 terminfo compiler tic(1), a decompiler infocmp(1), clear(1), tput(1), tset(1),
29 and a termcap conversion tool captoinfo(1).  Full manual pages are provided for
30 the library and tools.<P>
31
32 The ncurses distribution is available via anonymous FTP at
33 the GNU distribution site
34 <A HREF="ftp://prep.ai.mit.edu/pub/gnu">ftp://prep.ai.mit.edu/pub/gnu</A>.
35 It is also available at
36 <A HREF="ftp://ftp.clark.net/pub/dickey/ncurses">ftp://ftp.clark.net/pub/dickey/ncurses</A>.
37
38 <H1>Features of ncurses</H1>
39
40 The ncurses package is fully compatible with SVr4 (System V Release 4) curses:<P>
41
42 <UL>
43 <LI>All 257 of the SVr4 calls have been implemented (and are documented).
44 <LI>Full support for SVr4 curses features including keyboard mapping, color,
45 forms-drawing with ACS characters, and automatic recognition of keypad
46 and function keys.
47 <LI>An emulation of the SVr4 panels library, supporting 
48 a stack of windows with backing store, is included.
49 <LI>An emulation of the SVr4 menus library, supporting 
50 a uniform but flexible interface for menu programming, is included.
51 <LI>An emulation of the SVr4 form library, supporting 
52 data collection through on-screen forms, is included.
53 <LI>Binary terminfo entries generated by the ncurses tic(1) implementation
54 are bit-for-bit-compatible with the entry format SVr4 curses uses.
55 <LI>The utilities have options to allow you to filter terminfo
56 entries for use with less capable <STRONG>curses</STRONG>/<STRONG>terminfo</STRONG>
57 versions such as the HP/UX and AIX ports.</UL>
58
59 The ncurses package also has many useful extensions over SVr4:<P>
60
61 <UL>
62 <LI>The API is 8-bit clean and base-level conformant with the X/OPEN curses
63 specification, XSI Curses (that is, it implements all BASE level features,
64 but not all EXTENDED features).  Most EXTENDED-level features not directly
65 concerned with wide-character support are implemented, including many
66 function calls not supported under SVr4 curses (but portability of all
67 calls is documented so you can use the SVr4 subset only).
68 <LI>Unlike SVr4 curses, ncurses can write to the rightmost-bottommost corner
69 of the screen if your terminal has an insert-character capability.
70 <LI>(PC-clone boxes only) Support for access to the IBM PC ROM characters
71 0-32 through the highlight A_ALTCHARSET.
72 <LI>Ada95 and C++ bindings.
73 <LI>Support for mouse event reporting under xterm.
74 <LI>Extended mouse support via Alessandro Rubini's gpm package.
75 <LI>The function <CODE>wresize()</CODE> allows you to resize windows, preserving
76 their data.
77 <LI>The function <CODE>use_default_colors()</CODE> allows you to
78 use the terminal's default colors for the default color pair,
79 achieving the effect of transparent colors.
80 <LI>The functions <CODE>keyok()</CODE>
81 and <CODE>define_key()</CODE> allow
82 you to better control the use of function keys,
83 e.g., disabling the ncurses KEY_MOUSE,
84 or by defining more than one control sequence to map to a given key code.
85 <LI>Support for 16-color terminals, such as aixterm and XFree86 xterm.
86 <LI>Better cursor-movement optimization.  The package now features a
87 cursor-local-movement computation more efficient than either BSD's
88 or System V's.
89 <LI>Super hardware scrolling support.  The screen-update code incorporates
90 a novel, simple, and cheap algorithm that enables it to make optimal
91 use of hardware scrolling, line-insertion, and line-deletion
92 for screen-line movements.  This algorithm is more powerful than
93 the 4.4BSD curses quickch() routine.
94 <LI>Real support for terminals with the magic-cookie glitch.  The
95 screen-update code will refrain from drawing a highlight if the magic-
96 cookie unattributed spaces required just before the beginning and
97 after the end would step on a non-space character.  It will
98 automatically shift highlight boundaries when doing so would make it
99 possible to draw the highlight without changing the visual appearance
100 of the screen.
101 <LI>It is possible to generate the library with a list of pre-loaded 
102 fallback entries linked to it so that it can serve those terminal types even
103 when no terminfo tree or termcap file is accessible (this may be useful
104 for support of screen-oriented programs that must run in single-user mode).
105 <LI>The tic(1)/captoinfo utility provided with ncurses has the
106 ability to translate many termcaps from the XENIX, IBM and
107 AT&amp;T extension sets.
108 <LI>A BSD-like tset(1) utility is provided.
109 <LI>The ncurses library and utilities will automatically read terminfo
110 entries from $HOME/.terminfo if it exists, and compile to that directory
111 if it exists and the user has no write access to the system directory.
112 This feature makes it easier for users to have personal terminfo entries
113 without giving up access to the system terminfo directory.
114 <LI>You may specify a path of directories to search for compiled 
115 descriptions with the environment variable TERMINFO_DIRS (this
116 generalizes the feature provided by TERMINFO under stock System V.)
117 <LI>In terminfo source files, use capabilities may refer not just to
118 other entries in the same source file (as in System V) but also to
119 compiled entries in either the system terminfo directory or the user's
120 $HOME/.terminfo directory.
121 <LI>A script (<STRONG>capconvert</STRONG>) is provided to help BSD users
122 transition from termcap to terminfo.  It gathers the information in a
123 TERMCAP environment variable and/or a ~/.termcap local entries file
124 and converts it to an equivalent local terminfo tree under $HOME/.terminfo.
125 <LI>Automatic fallback to the /etc/termcap file can be compiled in
126 when it is not possible to build a terminfo tree.  This feature is neither
127 fast nor cheap, you don't want to use it unless you have to,
128 but it's there.
129 <LI>The table-of-entries utility <STRONG>toe</STRONG> makes it easy for users to
130 see exactly what terminal types are available on the system.
131 <LI>The library meets the XSI requirement that every macro entry
132 point have a corresponding function which may be linked (and will be
133 prototype-checked) if the macro definition is disabled with
134 <CODE>#undef</CODE>.
135 <LI>An HTML "Introduction to Programming with NCURSES" document provides
136 a narrative introduction to the curses programming interface.
137 </UL>
138
139 <H1>State of the Package</H1>
140
141 Numerous bugs present in earlier versions have been fixed; the
142 library is far more reliable than it used to be.  Bounds checking in many 
143 `dangerous' entry points has been improved.  The code is now type-safe 
144 according to gcc -Wall.  The library has been checked for malloc leaks and
145 arena corruption by the Purify memory-allocation tester.<P>
146
147 The ncurses code has been tested with a wide variety of applications
148 including:<P>
149 <DL>
150 <DT> ded
151 <DD> directory-editor
152 <A HREF="ftp://ftp.clark.net/pub/dickey/ded">ftp://ftp.clark.net/pub/dickey/ded</A>.
153 <DT> dialog
154 <DD> the underlying application used in Slackware's setup, and the basis
155 for similar applications on Linux.
156 <DT> lynx-2.7 
157 <DD> the character-screen WWW browser
158 <DT> Midnight Commander 4.1
159 <DD> file manager
160 <DT> mutt 0.88
161 <DD> mail utility
162 <DT> ncftp 2.0
163 <DD> file-transfer utility
164 <DT> nvi
165 <DD> New vi versions 1.50 are able to use ncurses versions 1.9.7 and later.
166 <DT> taper
167 <DD> tape archive utility
168 <DT> vh-1.6
169 <DD> Volks-Hypertext browser for the Jargon File
170 </DL>
171 as well as some that use ncurses for the terminfo support alone:
172 <DL>
173 <DT> minicom-1.75
174 <DD> terminal emulator
175 <DT> tin-unoff
176 <DD> tin 1.4 newsreader, supporting color, MIME
177 <A HREF="ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff">ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff</A>.
178 <DT> vile
179 <DD> vi-like-emacs
180 <A HREF="ftp://ftp.clark.net/pub/dickey/vile">ftp://ftp.clark.net/pub/dickey/vile</A>.
181 </DL>
182 <P>
183
184 The ncurses distribution includes a selection of test programs (including
185 a few games).
186
187 <H2>Who's Who and What's What</H2>
188
189 The original developers of ncurses are <A
190 HREF="mailto:zmbenhal@netcom.com">Zeyd Ben-Halim</A> and
191 <A HREF="http://www.ccil.org/~esr/home.html">Eric S. Raymond</A>.
192 Ongoing work is being done by
193 <A HREF="mailto:dickey@clark.net">Thomas Dickey</A>
194 and
195 <A HREF="mailto:Juergen.Pfeifer@T-Online.de">J&uuml;rgen Pfeifer</A>.
196 <A HREF="mailto:florian@gnu.org">Florian La Roche</A>
197 acts as the maintainer for the Free Software Foundation, which holds the
198 copyright on ncurses.
199 Contact the current maintainers at
200 <A HREF="mailto:bug-ncurses@gnu.org">bug-ncurses@gnu.org</A>.
201 <P>
202
203 To join the ncurses mailing list, please write email to
204 <CODE>bug-ncurses-request@gnu.org</CODE> containing the line:
205 <PRE>
206              subscribe &lt;name&gt;@&lt;host.domain&gt;
207 </PRE>
208
209 This list is open to anyone interested in helping with the development and
210 testing of this package.<P>
211
212 Beta versions of ncurses and patches to the current release are made available at
213 <A HREF="ftp://ftp.clark.net/pub/dickey/ncurses">ftp://ftp.clark.net/pub/dickey/ncurses</A>.
214
215 <H2>Future Plans</H2>
216 <UL>
217 <LI>Extended-level XPG4 conformance, with internationalization support.
218 <LI>Ports to more systems, including DOS and Windows.
219 </UL>
220 We need people to help with these projects.  If you are interested in working 
221 on them, please join the ncurses list.
222
223 <H2>Other Related Resources</H2>
224
225 The distribution includes and uses a version of the terminfo-format
226 terminal description file maintained by Eric Raymond.
227 <A HREF="http://earthspace.net/~esr/terminfo">http://earthspace.net/~esr/terminfo</A>.<P>
228
229 You can find lots of information on terminal-related topics
230 not covered in the terminfo file at
231 <A HREF="http://www.cs.utk.edu/~shuford/terminal_index.html">Richard Shuford's
232 archive</A>.
233 </BODY>
234 </HTML>
235 <!-- 
236 # The following sets edit modes for GNU EMACS
237 # Local Variables:
238 # mode:html
239 # case-fold-search:nil
240 # fill-column:70
241 # End:
242 -->