1997-05-15 12:00:00 +08:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
|
|
|
<!--
|
1998-03-01 12:21:12 +08:00
|
|
|
$Id: announce.html.in,v 1.24 1998/02/28 23:16:48 tom Exp $
|
1997-05-15 12:00:00 +08:00
|
|
|
-->
|
|
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
|
|
<TITLE>Announcing ncurses @VERSION@</TITLE>
|
1998-03-01 12:21:12 +08:00
|
|
|
<link rev=made href="mailto:bug-ncurses@gnu.org">
|
1997-05-15 12:00:00 +08:00
|
|
|
</HEAD>
|
|
|
|
<BODY>
|
|
|
|
|
|
|
|
<H1>Announcing ncurses @VERSION@</H1>
|
|
|
|
|
|
|
|
The ncurses (new curses) library is a freeware emulation of System V
|
|
|
|
Release 4.0 curses. It uses terminfo format, supports pads and color
|
|
|
|
and multiple highlights and forms characters and function-key mapping,
|
1998-03-01 12:21:12 +08:00
|
|
|
and has all the other SYSV-curses enhancements over BSD curses.<P>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
In mid-June 1995, the maintainer of 4.4BSD curses declared that he
|
|
|
|
considered 4.4BSD curses obsolete, and is encouraging the keepers of
|
|
|
|
Unix releases such as BSD/OS, freeBSD and netBSD to switch over to
|
1998-03-01 12:21:12 +08:00
|
|
|
ncurses.<P>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
The ncurses code was developed under Linux. It should port easily to
|
1998-03-01 12:21:12 +08:00
|
|
|
any ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp!<P>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
The distribution includes the library and support utilities, including a
|
|
|
|
terminfo compiler tic(1), a decompiler infocmp(1), clear(1), tput(1), tset(1),
|
|
|
|
and a termcap conversion tool captoinfo(1). Full manual pages are provided for
|
1998-03-01 12:21:12 +08:00
|
|
|
the library and tools.<P>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
The ncurses distribution is available via anonymous FTP at
|
|
|
|
the GNU distribution site
|
|
|
|
<A HREF="ftp://prep.ai.mit.edu/pub/gnu">ftp://prep.ai.mit.edu/pub/gnu</A>.
|
|
|
|
It is also available at
|
1997-05-15 12:00:00 +08:00
|
|
|
<A HREF="ftp://ftp.clark.net/pub/dickey/ncurses">ftp://ftp.clark.net/pub/dickey/ncurses</A>.
|
|
|
|
|
|
|
|
<H1>Features of ncurses</H1>
|
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
The ncurses package is fully compatible with SVr4 (System V Release 4) curses:<P>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
<UL>
|
1998-03-01 12:21:12 +08:00
|
|
|
<LI>All 257 of the SVr4 calls have been implemented (and are documented).
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>Full support for SVr4 curses features including keyboard mapping, color,
|
|
|
|
forms-drawing with ACS characters, and automatic recognition of keypad
|
1998-03-01 12:21:12 +08:00
|
|
|
and function keys.
|
|
|
|
<LI>An emulation of the SVr4 panels library, supporting
|
|
|
|
a stack of windows with backing store, is included.
|
|
|
|
<LI>An emulation of the SVr4 menus library, supporting
|
|
|
|
a uniform but flexible interface for menu programming, is included.
|
|
|
|
<LI>An emulation of the SVr4 form library, supporting
|
|
|
|
data collection through on-screen forms, is included.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>Binary terminfo entries generated by the ncurses tic(1) implementation
|
1998-03-01 12:21:12 +08:00
|
|
|
are bit-for-bit-compatible with the entry format SVr4 curses uses.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>The utilities have options to allow you to filter terminfo
|
|
|
|
entries for use with less capable <STRONG>curses</STRONG>/<STRONG>terminfo</STRONG>
|
1998-03-01 12:21:12 +08:00
|
|
|
versions such as the HP/UX and AIX ports.</UL>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
The ncurses package also has many useful extensions over SVr4:<P>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
<UL>
|
|
|
|
<LI>The API is 8-bit clean and base-level conformant with the X/OPEN curses
|
|
|
|
specification, XSI Curses (that is, it implements all BASE level features,
|
|
|
|
but not all EXTENDED features). Most EXTENDED-level features not directly
|
|
|
|
concerned with wide-character support are implemented, including many
|
|
|
|
function calls not supported under SVr4 curses (but portability of all
|
1998-03-01 12:21:12 +08:00
|
|
|
calls is documented so you can use the SVr4 subset only).
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>Unlike SVr4 curses, ncurses can write to the rightmost-bottommost corner
|
1998-03-01 12:21:12 +08:00
|
|
|
of the screen if your terminal has an insert-character capability.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>(PC-clone boxes only) Support for access to the IBM PC ROM characters
|
1998-03-01 12:21:12 +08:00
|
|
|
0-32 through the highlight A_ALTCHARSET.
|
|
|
|
<LI>Ada95 and C++ bindings.
|
|
|
|
<LI>Support for mouse event reporting under xterm.
|
|
|
|
<LI>Extended mouse support via Alessandro Rubini's gpm package.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>The function <CODE>wresize()</CODE> allows you to resize windows, preserving
|
|
|
|
their data.
|
1998-03-01 12:21:12 +08:00
|
|
|
<LI>The function <CODE>use_default_colors()</CODE> allows you to
|
|
|
|
use the terminal's default colors for the default color pair,
|
|
|
|
achieving the effect of transparent colors.
|
|
|
|
<LI>The functions <CODE>keyok()</CODE>
|
|
|
|
and <CODE>define_key()</CODE> allow
|
|
|
|
you to better control the use of function keys,
|
|
|
|
e.g., disabling the ncurses KEY_MOUSE,
|
|
|
|
or by defining more than one control sequence to map to a given key code.
|
|
|
|
<LI>Support for 16-color terminals, such as aixterm and XFree86 xterm.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>Better cursor-movement optimization. The package now features a
|
|
|
|
cursor-local-movement computation more efficient than either BSD's
|
1998-03-01 12:21:12 +08:00
|
|
|
or System V's.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>Super hardware scrolling support. The screen-update code incorporates
|
|
|
|
a novel, simple, and cheap algorithm that enables it to make optimal
|
|
|
|
use of hardware scrolling, line-insertion, and line-deletion
|
|
|
|
for screen-line movements. This algorithm is more powerful than
|
1998-03-01 12:21:12 +08:00
|
|
|
the 4.4BSD curses quickch() routine.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>Real support for terminals with the magic-cookie glitch. The
|
|
|
|
screen-update code will refrain from drawing a highlight if the magic-
|
|
|
|
cookie unattributed spaces required just before the beginning and
|
|
|
|
after the end would step on a non-space character. It will
|
|
|
|
automatically shift highlight boundaries when doing so would make it
|
|
|
|
possible to draw the highlight without changing the visual appearance
|
|
|
|
of the screen.
|
|
|
|
<LI>It is possible to generate the library with a list of pre-loaded
|
|
|
|
fallback entries linked to it so that it can serve those terminal types even
|
|
|
|
when no terminfo tree or termcap file is accessible (this may be useful
|
1998-03-01 12:21:12 +08:00
|
|
|
for support of screen-oriented programs that must run in single-user mode).
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>The tic(1)/captoinfo utility provided with ncurses has the
|
|
|
|
ability to translate many termcaps from the XENIX, IBM and
|
1998-03-01 12:21:12 +08:00
|
|
|
AT&T extension sets.
|
|
|
|
<LI>A BSD-like tset(1) utility is provided.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>The ncurses library and utilities will automatically read terminfo
|
|
|
|
entries from $HOME/.terminfo if it exists, and compile to that directory
|
|
|
|
if it exists and the user has no write access to the system directory.
|
|
|
|
This feature makes it easier for users to have personal terminfo entries
|
1998-03-01 12:21:12 +08:00
|
|
|
without giving up access to the system terminfo directory.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>You may specify a path of directories to search for compiled
|
|
|
|
descriptions with the environment variable TERMINFO_DIRS (this
|
1998-03-01 12:21:12 +08:00
|
|
|
generalizes the feature provided by TERMINFO under stock System V.)
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>In terminfo source files, use capabilities may refer not just to
|
|
|
|
other entries in the same source file (as in System V) but also to
|
|
|
|
compiled entries in either the system terminfo directory or the user's
|
1998-03-01 12:21:12 +08:00
|
|
|
$HOME/.terminfo directory.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>A script (<STRONG>capconvert</STRONG>) is provided to help BSD users
|
|
|
|
transition from termcap to terminfo. It gathers the information in a
|
|
|
|
TERMCAP environment variable and/or a ~/.termcap local entries file
|
1998-03-01 12:21:12 +08:00
|
|
|
and converts it to an equivalent local terminfo tree under $HOME/.terminfo.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>Automatic fallback to the /etc/termcap file can be compiled in
|
|
|
|
when it is not possible to build a terminfo tree. This feature is neither
|
|
|
|
fast nor cheap, you don't want to use it unless you have to,
|
1998-03-01 12:21:12 +08:00
|
|
|
but it's there.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>The table-of-entries utility <STRONG>toe</STRONG> makes it easy for users to
|
1998-03-01 12:21:12 +08:00
|
|
|
see exactly what terminal types are available on the system.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>The library meets the XSI requirement that every macro entry
|
|
|
|
point have a corresponding function which may be linked (and will be
|
|
|
|
prototype-checked) if the macro definition is disabled with
|
1998-03-01 12:21:12 +08:00
|
|
|
<CODE>#undef</CODE>.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>An HTML "Introduction to Programming with NCURSES" document provides
|
|
|
|
a narrative introduction to the curses programming interface.
|
|
|
|
</UL>
|
|
|
|
|
|
|
|
<H1>State of the Package</H1>
|
|
|
|
|
|
|
|
Numerous bugs present in earlier versions have been fixed; the
|
|
|
|
library is far more reliable than it used to be. Bounds checking in many
|
|
|
|
`dangerous' entry points has been improved. The code is now type-safe
|
|
|
|
according to gcc -Wall. The library has been checked for malloc leaks and
|
1998-03-01 12:21:12 +08:00
|
|
|
arena corruption by the Purify memory-allocation tester.<P>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
The ncurses code has been tested with a wide variety of applications
|
1998-03-01 12:21:12 +08:00
|
|
|
including:<P>
|
1997-05-15 12:00:00 +08:00
|
|
|
<DL>
|
|
|
|
<DT> ded
|
|
|
|
<DD> directory-editor
|
|
|
|
<A HREF="ftp://ftp.clark.net/pub/dickey/ded">ftp://ftp.clark.net/pub/dickey/ded</A>.
|
|
|
|
<DT> dialog
|
|
|
|
<DD> the underlying application used in Slackware's setup, and the basis
|
|
|
|
for similar applications on Linux.
|
|
|
|
<DT> lynx-2.7
|
|
|
|
<DD> the character-screen WWW browser
|
1998-03-01 12:21:12 +08:00
|
|
|
<DT> Midnight Commander 4.1
|
|
|
|
<DD> file manager
|
|
|
|
<DT> mutt 0.88
|
|
|
|
<DD> mail utility
|
1997-05-15 12:00:00 +08:00
|
|
|
<DT> ncftp 2.0
|
|
|
|
<DD> file-transfer utility
|
|
|
|
<DT> nvi
|
|
|
|
<DD> New vi versions 1.50 are able to use ncurses versions 1.9.7 and later.
|
|
|
|
<DT> taper
|
|
|
|
<DD> tape archive utility
|
|
|
|
<DT> vh-1.6
|
|
|
|
<DD> Volks-Hypertext browser for the Jargon File
|
|
|
|
</DL>
|
|
|
|
as well as some that use ncurses for the terminfo support alone:
|
|
|
|
<DL>
|
|
|
|
<DT> minicom-1.75
|
|
|
|
<DD> terminal emulator
|
|
|
|
<DT> tin-unoff
|
1998-03-01 12:21:12 +08:00
|
|
|
<DD> tin 1.4 newsreader, supporting color, MIME
|
1997-05-15 12:00:00 +08:00
|
|
|
<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>.
|
|
|
|
<DT> vile
|
|
|
|
<DD> vi-like-emacs
|
|
|
|
<A HREF="ftp://ftp.clark.net/pub/dickey/vile">ftp://ftp.clark.net/pub/dickey/vile</A>.
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
|
|
|
|
The ncurses distribution includes a selection of test programs (including
|
|
|
|
a few games).
|
|
|
|
|
|
|
|
<H2>Who's Who and What's What</H2>
|
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
The original developers of ncurses are <A
|
|
|
|
HREF="mailto:zmbenhal@netcom.com">Zeyd Ben-Halim</A> and
|
|
|
|
<A HREF="http://www.ccil.org/~esr/home.html">Eric S. Raymond</A>.
|
|
|
|
Ongoing work is being done by
|
1997-05-15 12:00:00 +08:00
|
|
|
<A HREF="mailto:dickey@clark.net">Thomas Dickey</A>
|
|
|
|
and
|
1998-03-01 12:21:12 +08:00
|
|
|
<A HREF="mailto:Juergen.Pfeifer@T-Online.de">Jürgen Pfeifer</A>.
|
|
|
|
<A HREF="mailto:florian@gnu.org">Florian La Roche</A>
|
|
|
|
acts as the maintainer for the Free Software Foundation, which holds the
|
|
|
|
copyright on ncurses.
|
|
|
|
Contact the current maintainers at
|
|
|
|
<A HREF="mailto:bug-ncurses@gnu.org">bug-ncurses@gnu.org</A>.
|
1997-05-15 12:00:00 +08:00
|
|
|
<P>
|
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
To join the ncurses mailing list, please write email to
|
|
|
|
<CODE>bug-ncurses-request@gnu.org</CODE> containing the line:
|
1997-05-15 12:00:00 +08:00
|
|
|
<PRE>
|
|
|
|
subscribe <name>@<host.domain>
|
|
|
|
</PRE>
|
|
|
|
|
|
|
|
This list is open to anyone interested in helping with the development and
|
1998-03-01 12:21:12 +08:00
|
|
|
testing of this package.<P>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
Beta versions of ncurses and patches to the current release are made available at
|
|
|
|
<A HREF="ftp://ftp.clark.net/pub/dickey/ncurses">ftp://ftp.clark.net/pub/dickey/ncurses</A>.
|
|
|
|
|
|
|
|
<H2>Future Plans</H2>
|
|
|
|
<UL>
|
1998-03-01 12:21:12 +08:00
|
|
|
<LI>Extended-level XPG4 conformance, with internationalization support.
|
1997-05-15 12:00:00 +08:00
|
|
|
<LI>Ports to more systems, including DOS and Windows.
|
|
|
|
</UL>
|
|
|
|
We need people to help with these projects. If you are interested in working
|
|
|
|
on them, please join the ncurses list.
|
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
<H2>Other Related Resources</H2>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
The distribution includes and uses a version of the terminfo-format
|
1997-05-15 12:00:00 +08:00
|
|
|
terminal description file maintained by Eric Raymond.
|
1998-03-01 12:21:12 +08:00
|
|
|
<A HREF="http://earthspace.net/~esr/terminfo">http://earthspace.net/~esr/terminfo</A>.<P>
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
You can find lots of information on terminal-related topics
|
|
|
|
not covered in the terminfo file at
|
|
|
|
<A HREF="http://www.cs.utk.edu/~shuford/terminal_index.html">Richard Shuford's
|
|
|
|
archive</A>.
|
|
|
|
</BODY>
|
|
|
|
</HTML>
|
|
|
|
<!--
|
|
|
|
# The following sets edit modes for GNU EMACS
|
|
|
|
# Local Variables:
|
|
|
|
# mode:html
|
|
|
|
# case-fold-search:nil
|
|
|
|
# fill-column:70
|
|
|
|
# End:
|
|
|
|
-->
|