mirror of
https://github.com/Aigor44/ncursesw-morphos.git
synced 2024-12-27 07:49:06 +08:00
259 lines
10 KiB
HTML
259 lines
10 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
|
<!--
|
|
$Id: announce.html.in,v 1.16 1997/05/05 22:50:41 tom Exp $
|
|
-->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Announcing ncurses @VERSION@</TITLE>
|
|
<link rev=made href="mailto:dickey@clark.net">
|
|
</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,
|
|
and has all the other SYSV-curses enhancements over BSD curses. <P>
|
|
|
|
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
|
|
ncurses. <P>
|
|
|
|
The ncurses code was developed under Linux. It should port easily to
|
|
any ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp! <P>
|
|
|
|
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
|
|
the library and tools. <P>
|
|
|
|
The ncurses distribution is available via anonymous FTP at:
|
|
<A HREF="ftp://ftp.clark.net/pub/dickey/ncurses">ftp://ftp.clark.net/pub/dickey/ncurses</A>.
|
|
and
|
|
<A HREF="ftp://ftp.netcom.com/pub/zm/zmbenhal/ncurses">ftp://ftp.netcom.com/pub/zm/zmbenhal/ncurses</A>.
|
|
It is also carried on the GNU distribution site at <A HREF="ftp://prep.ai.mit.edu/pub/gnu">ftp://prep.ai.mit.edu/pub/gnu</A>.
|
|
|
|
<H1>Features of ncurses</H1>
|
|
|
|
The ncurses package is fully compatible with SVr4 curses: <P>
|
|
|
|
<UL>
|
|
<LI>All 257 of the SVr4 calls have been implemented (and are documented). <P>
|
|
|
|
<LI>Full support for SVr4 curses features including keyboard mapping, color,
|
|
forms-drawing with ACS characters, and automatic recognition of keypad
|
|
and function keys. <P>
|
|
|
|
<LI>An emulation of the System V Release 4 panels library, supporting
|
|
a stack of windows with backing store, is included. <P>
|
|
|
|
<LI>An emulation of the System V Release 4 menus library, supporting
|
|
a uniform but flexible interface for menu programming, is included. <P>
|
|
|
|
<LI>An emulation of the System V Release 4 form library, supporting
|
|
data collection through on-screen forms, is included. <P>
|
|
|
|
<LI>Binary terminfo entries generated by the ncurses tic(1) implementation
|
|
are bit-for-bit-compatible with the entry format SVr4 curses uses. <P>
|
|
|
|
<LI>The utilities have options to allow you to filter terminfo
|
|
entries for use with less capable <STRONG>curses</STRONG>/<STRONG>terminfo</STRONG>
|
|
versions such as the HP/UX and AIX ports. </UL>
|
|
|
|
The ncurses package also has many useful extensions over SVr4: <P>
|
|
|
|
<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
|
|
calls is documented so you can use the SVr4 subset only). <P>
|
|
|
|
<LI>Unlike SVr4 curses, ncurses can write to the rightmost-bottommost corner
|
|
of the screen if your terminal has an insert-character capability. <P>
|
|
|
|
<LI>(PC-clone boxes only) Support for access to the IBM PC ROM characters
|
|
0-32 through the highlight A_ALTCHARSET. <P>
|
|
|
|
<LI>Support for mouse event reporting under xterm.<P>
|
|
|
|
<LI>The function <CODE>wresize()</CODE> allows you to resize windows, preserving
|
|
their data.
|
|
|
|
<LI>Better cursor-movement optimization. The package now features a
|
|
cursor-local-movement computation more efficient than either BSD's
|
|
or System V's. <P>
|
|
|
|
<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
|
|
the 4.4BSD curses quickch() routine. <P>
|
|
|
|
<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
|
|
for support of screen-oriented programs that must run in single-user mode). <P>
|
|
|
|
<LI>The tic(1)/captoinfo utility provided with ncurses has the
|
|
ability to translate many termcaps from the XENIX, IBM and
|
|
AT&T extension sets. <P>
|
|
|
|
<LI>A BSD-like tset(1) utility is provided. <P>
|
|
|
|
<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
|
|
without giving up access to the system terminfo directory. <P>
|
|
|
|
<LI>You may specify a path of directories to search for compiled
|
|
descriptions with the environment variable TERMINFO_DIRS (this
|
|
generalizes the feature provided by TERMINFO under stock System V.) <P>
|
|
|
|
<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
|
|
$HOME/.terminfo directory. <P>
|
|
|
|
<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
|
|
and converts it to an equivalent local terminfo tree under $HOME/.terminfo. <P>
|
|
|
|
<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,
|
|
but it's there. <P>
|
|
|
|
<LI>The table-of-entries utility <STRONG>toe</STRONG> makes it easy for users to
|
|
see exactly what terminal types are available on the system. <P>
|
|
|
|
<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
|
|
<CODE>#undef</CODE>. <P>
|
|
|
|
<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
|
|
arena corruption by the Purify memory-allocation tester. <P>
|
|
|
|
The ncurses code has been tested with a wide variety of applications
|
|
including: <P>
|
|
<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
|
|
<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
|
|
<DD> tin (unofficial) newsreader, supporting color, MIME
|
|
<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>
|
|
|
|
The original maintainer of ncurses is <A
|
|
HREF="mailto:zmbenhal@netcom.com">Zeyd Ben-Halim</A>. Unfortunately,
|
|
he can only work on the package part time. As a result, since 1.8.1,
|
|
much of the enhancement work and documentation has been done
|
|
by <A HREF="http://www.ccil.org/~esr/home.html">Eric S. Raymond</A>.
|
|
The current primary maintainers are
|
|
<A HREF="mailto:dickey@clark.net">Thomas Dickey</A>
|
|
and
|
|
<A HREF="mailto:Juergen.Pfeifer@T-Online.de">Juergen Pfeifer</A>.
|
|
<P>
|
|
|
|
There is an ncurses mailing list. It is a majordomo list; to join, write
|
|
to <CODE>ncurses-request@mailgate.bsdi.com</CODE> with a message containing the line:
|
|
<PRE>
|
|
subscribe <name>@<host.domain>
|
|
</PRE>
|
|
|
|
This list is open to anyone interested in helping with the development and
|
|
testing of this package. <P>
|
|
|
|
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>
|
|
<LI>Extended mouse support via Alessandro Rubini's gpm package.
|
|
<LI>Extended-level XPG4 conformance, with internationalization support. <P>
|
|
<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.
|
|
|
|
<H2>The terminfo/termcap Database</H2>
|
|
|
|
The distribution includes and uses a copy of the terminfo-format
|
|
terminal description file maintained by Eric Raymond.
|
|
|
|
You can download either the
|
|
<A HREF="http://www.ccil.org/~esr/terminfo/termtypes.tc.gz">termcap</A>
|
|
or
|
|
<A HREF="http://www.ccil.org/~esr/terminfo/termtypes.ti.gz">terminfo</A>
|
|
versions of the terminal-type
|
|
database from Eric's ncurses page,
|
|
<A HREF="http://www.ccil.org/~esr/ncurses.html">http://www.ccil.org/~esr/ncurses.html</A>. <P>
|
|
|
|
<H2>Other Related Resources</H2>
|
|
|
|
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:
|
|
-->
|