announce.html.in 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <!--
  3. $Id: announce.html.in,v 1.85 2011/04/04 00:05:34 tom Exp $
  4. ****************************************************************************
  5. * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
  6. * *
  7. * Permission is hereby granted, free of charge, to any person obtaining a *
  8. * copy of this software and associated documentation files (the *
  9. * "Software"), to deal in the Software without restriction, including *
  10. * without limitation the rights to use, copy, modify, merge, publish, *
  11. * distribute, distribute with modifications, sublicense, and/or sell *
  12. * copies of the Software, and to permit persons to whom the Software is *
  13. * furnished to do so, subject to the following conditions: *
  14. * *
  15. * The above copyright notice and this permission notice shall be included *
  16. * in all copies or substantial portions of the Software. *
  17. * *
  18. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
  19. * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
  20. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
  21. * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
  22. * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
  23. * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
  24. * THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
  25. * *
  26. * Except as contained in this notice, the name(s) of the above copyright *
  27. * holders shall not be used in advertising or otherwise to promote the *
  28. * sale, use or other dealings in this Software without prior written *
  29. * authorization. *
  30. ****************************************************************************
  31. -->
  32. <html>
  33. <head>
  34. <meta name="generator" content=
  35. "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org">
  36. <title>Announcing ncurses @VERSION@</title>
  37. <link rev="made" href="mailto:bug-ncurses@gnu.org">
  38. <meta http-equiv="Content-Type" content=
  39. "text/html; charset=us-ascii">
  40. </head>
  41. <body>
  42. <h1>Announcing ncurses @VERSION@</h1>The ncurses (new curses)
  43. library is a free software emulation of curses in System V
  44. Release 4.0, and more. It uses terminfo format, supports pads and
  45. color and multiple highlights and forms characters and
  46. function-key mapping, and has all the other SYSV-curses
  47. enhancements over BSD curses.
  48. <p>In mid-June 1995, the maintainer of 4.4BSD curses declared
  49. that he considered 4.4BSD curses obsolete, and encouraged the
  50. keepers of Unix releases such as BSD/OS, FreeBSD and NetBSD to
  51. switch over to ncurses.</p>
  52. <p>The ncurses code was developed under GNU/Linux. It has been in
  53. use for some time with OpenBSD as the system curses library, and
  54. on FreeBSD and NetBSD as an external package. It should port
  55. easily to any ANSI/POSIX-conforming UNIX. It has even been ported
  56. to OS/2 Warp!</p>
  57. <p>The distribution includes the library and support utilities,
  58. including a terminfo compiler tic(1), a decompiler infocmp(1),
  59. clear(1), tput(1), tset(1), and a termcap conversion tool
  60. captoinfo(1). Full manual pages are provided for the library and
  61. tools.</p>
  62. <p>The ncurses distribution is available via anonymous FTP at the
  63. GNU distribution site <a href=
  64. "ftp://ftp.gnu.org/gnu/ncurses/">ftp://ftp.gnu.org/gnu/ncurses/</a>&nbsp;.<br>
  65. It is also available at <a href=
  66. "ftp://invisible-island.net/ncurses/">ftp://invisible-island.net/ncurses/</a>&nbsp;.</p>
  67. <h1>Release Notes</h1>This release is designed to be upward
  68. compatible from ncurses 5.0 through 5.8; very few applications
  69. will require recompilation, depending on the platform. These are
  70. the highlights from the change-log since ncurses 5.8 release.
  71. <p>
  72. This is a bug-fix release, correcting a small number of urgent problems
  73. in the ncurses library from the 5.8 release.
  74. <p>
  75. It also improves the Ada95 binding:
  76. <ul>
  77. <li>fixes a longstanding portability problem with its use of the
  78. <a href="http://invisible-island.net/ncurses/man/form_fieldtype.3x">set_field_type</a>
  79. function. Because that function uses variable-length argument lists,
  80. its interface with gnat does not work with certain platforms.
  81. <li>improves configurability and portability, particularly when built
  82. separately from the main ncurses tree. The 5.8 release introduced
  83. scripts which can be used to construct separate tarballs for the
  84. Ada95 and ncurses examples.
  85. <p>Those were a proof of concept. For the 5.9 release, those
  86. scripts are augmented with rpm- and dpkg-scripts used in test builds
  87. against a variety of gnat- and system ncurses versions as old as
  88. gnat 3.15 and ncurses 5.4 (see snapshots and systems tested
  89. <a href="http://invisible-island.net/ncurses/ncurses-Ada95.html">here</a>.
  90. <li>additional improvements were made for portability of the
  91. ncurses examples, adding rpm- and dpkg-scripts for test-builds.
  92. See
  93. <a href="http://invisible-island.net/ncurses/ncurses-examples.html">this page</a>
  94. for snapshots and other information.
  95. </ul>
  96. <h1>Features of Ncurses</h1>The ncurses package is fully
  97. compatible with SVr4 (System V Release 4) curses:
  98. <ul>
  99. <li>All 257 of the SVr4 calls have been implemented (and are
  100. documented).</li>
  101. <li>Full support for SVr4 curses features including keyboard
  102. mapping, color, forms-drawing with ACS characters, and
  103. automatic recognition of keypad and function keys.</li>
  104. <li>An emulation of the SVr4 panels library, supporting a stack
  105. of windows with backing store, is included.</li>
  106. <li>An emulation of the SVr4 menus library, supporting a
  107. uniform but flexible interface for menu programming, is
  108. included.</li>
  109. <li>An emulation of the SVr4 form library, supporting data
  110. collection through on-screen forms, is included.</li>
  111. <li>Binary terminfo entries generated by the ncurses tic(1)
  112. implementation are bit-for-bit-compatible with the entry format
  113. SVr4 curses uses.</li>
  114. <li>The utilities have options to allow you to filter terminfo
  115. entries for use with less capable
  116. <strong>curses</strong>/<strong>terminfo</strong> versions such
  117. as the HP/UX and AIX ports.</li>
  118. </ul>The ncurses package also has many useful extensions over
  119. SVr4:
  120. <ul>
  121. <li>The API is 8-bit clean and base-level conformant with the
  122. X/OPEN curses specification, XSI curses (that is, it implements
  123. all BASE level features, and most EXTENDED features). It
  124. includes many function calls not supported under SVr4 curses
  125. (but portability of all calls is documented so you can use the
  126. SVr4 subset only).</li>
  127. <li>Unlike SVr3 curses, ncurses can write to the
  128. rightmost-bottommost corner of the screen if your terminal has
  129. an insert-character capability.</li>
  130. <li>Ada95 and C++ bindings.</li>
  131. <li>Support for mouse event reporting with X Window xterm and
  132. FreeBSD and OS/2 console windows.</li>
  133. <li>Extended mouse support via Alessandro Rubini's gpm
  134. package.</li>
  135. <li>The function <code>wresize</code> allows you to resize
  136. windows, preserving their data.</li>
  137. <li>The function <code>use_default_colors</code> allows you to
  138. use the terminal's default colors for the default color pair,
  139. achieving the effect of transparent colors.</li>
  140. <li>The functions <code>keyok</code> and
  141. <code>define_key</code> allow you to better control the use of
  142. function keys, e.g., disabling the ncurses KEY_MOUSE, or by
  143. defining more than one control sequence to map to a given key
  144. code.</li>
  145. <li>Support for 256-color terminals, such as modern xterm, when
  146. configured using the <code>--enable-ext-colors</code>
  147. option.</li>
  148. <li>Support for 16-color terminals, such as <em>aixterm</em>
  149. and <em>modern xterm</em>.</li>
  150. <li>Better cursor-movement optimization. The package now
  151. features a cursor-local-movement computation more efficient
  152. than either BSD's or System V's.</li>
  153. <li>Super hardware scrolling support. The screen-update code
  154. incorporates a novel, simple, and cheap algorithm that enables
  155. it to make optimal use of hardware scrolling, line-insertion,
  156. and line-deletion for screen-line movements. This algorithm is
  157. more powerful than the 4.4BSD curses <code>quickch</code>
  158. routine.</li>
  159. <li>Real support for terminals with the magic-cookie glitch.
  160. The screen-update code will refrain from drawing a highlight if
  161. the magic- cookie unattributed spaces required just before the
  162. beginning and after the end would step on a non-space
  163. character. It will automatically shift highlight boundaries
  164. when doing so would make it possible to draw the highlight
  165. without changing the visual appearance of the screen.</li>
  166. <li>It is possible to generate the library with a list of
  167. pre-loaded fallback entries linked to it so that it can serve
  168. those terminal types even when no terminfo tree or termcap file
  169. is accessible (this may be useful for support of
  170. screen-oriented programs that must run in single-user
  171. mode).</li>
  172. <li>The tic(1)/captoinfo utility provided with ncurses has the
  173. ability to translate many termcaps from the XENIX, IBM and
  174. AT&amp;T extension sets.</li>
  175. <li>A BSD-like tset(1) utility is provided.</li>
  176. <li>The ncurses library and utilities will automatically read
  177. terminfo entries from $HOME/.terminfo if it exists, and compile
  178. to that directory if it exists and the user has no write access
  179. to the system directory. This feature makes it easier for users
  180. to have personal terminfo entries without giving up access to
  181. the system terminfo directory.</li>
  182. <li>You may specify a path of directories to search for
  183. compiled descriptions with the environment variable
  184. TERMINFO_DIRS (this generalizes the feature provided by
  185. TERMINFO under stock System V.)</li>
  186. <li>In terminfo source files, use capabilities may refer not
  187. just to other entries in the same source file (as in System V)
  188. but also to compiled entries in either the system terminfo
  189. directory or the user's $HOME/.terminfo directory.</li>
  190. <li>A script (<strong>capconvert</strong>) is provided to help
  191. BSD users transition from termcap to terminfo. It gathers the
  192. information in a TERMCAP environment variable and/or a
  193. ~/.termcap local entries file and converts it to an equivalent
  194. local terminfo tree under $HOME/.terminfo.</li>
  195. <li>Automatic fallback to the /etc/termcap file can be compiled
  196. in when it is not possible to build a terminfo tree. This
  197. feature is neither fast nor cheap, you don't want to use it
  198. unless you have to, but it's there.</li>
  199. <li>The table-of-entries utility <strong>toe</strong> makes it
  200. easy for users to see exactly what terminal types are available
  201. on the system.</li>
  202. <li>The library meets the XSI requirement that every macro
  203. entry point have a corresponding function which may be linked
  204. (and will be prototype-checked) if the macro definition is
  205. disabled with <code>#undef</code>.</li>
  206. <li>An HTML "Introduction to Programming with NCURSES" document
  207. provides a narrative introduction to the curses programming
  208. interface.</li>
  209. </ul>
  210. <h1>State of the Package</h1>Numerous bugs present in earlier
  211. versions have been fixed; the library is far more reliable than
  212. it used to be. Bounds checking in many `dangerous' entry points
  213. has been improved. The code is now type-safe according to gcc
  214. -Wall. The library has been checked for malloc leaks and arena
  215. corruption by the Purify memory-allocation tester.
  216. <p>The ncurses code has been tested with a wide variety of
  217. applications including (versions starting with those noted):</p>
  218. <dl>
  219. <dt>cdk</dt>
  220. <dd>Curses Development Kit<br>
  221. <a href=
  222. "http://invisible-island.net/cdk/">http://invisible-island.net/cdk/</a><br>
  223. <a href=
  224. "http://www.vexus.ca/products/CDK/">http://www.vexus.ca/products/CDK/</a></dd>
  225. <dt>ded</dt>
  226. <dd>directory-editor<br>
  227. <a href=
  228. "http://invisible-island.net/ded/">http://invisible-island.net/ded/</a></dd>
  229. <dt>dialog</dt>
  230. <dd>the underlying application used in Slackware's setup, and
  231. the basis for similar applications on GNU/Linux.<br>
  232. <a href=
  233. "http://invisible-island.net/dialog/">http://invisible-island.net/dialog/</a></dd>
  234. <dt>lynx</dt>
  235. <dd>the character-screen WWW browser<br>
  236. <a href=
  237. "http://lynx.isc.org/release/">http://lynx.isc.org/release/</a></dd>
  238. <dt>Midnight Commander</dt>
  239. <dd>file manager<br>
  240. <a href=
  241. "http://www.midnight-commander.org/">http://www.midnight-commander.org/</a></dd>
  242. <dt>mutt</dt>
  243. <dd>mail utility<br>
  244. <a href="http://www.mutt.org/">http://www.mutt.org/</a></dd>
  245. <dt>ncftp</dt>
  246. <dd>file-transfer utility<br>
  247. <a href="http://www.ncftp.com/">http://www.ncftp.com/</a></dd>
  248. <dt>nvi</dt>
  249. <dd>New vi versions 1.50 are able to use ncurses versions 1.9.7
  250. and later.<br>
  251. <a href=
  252. "https://sites.google.com/a/bostic.com/keithbostic/nvi">https://sites.google.com/a/bostic.com/keithbostic/nvi</a><br>
  253. </dd>
  254. <dt>pinfo</dt>
  255. <dd>Lynx-like info browser. <a href=
  256. "https://alioth.debian.org/projects/pinfo/">https://alioth.debian.org/projects/pinfo/</a></dd>
  257. <dt>tin</dt>
  258. <dd>newsreader, supporting color, MIME <a href=
  259. "http://www.tin.org/">http://www.tin.org/</a></dd>
  260. </dl>as well as some that use ncurses for the terminfo support
  261. alone:
  262. <dl>
  263. <dt>minicom</dt>
  264. <dd>terminal emulator<br>
  265. <a href=
  266. "http://alioth.debian.org/projects/minicom/">http://alioth.debian.org/projects/minicom/</a></dd>
  267. <dt>vile</dt>
  268. <dd>vi-like-emacs<br>
  269. <a href=
  270. "http://invisible-island.net/vile/">http://invisible-island.net/vile/</a></dd>
  271. </dl>
  272. <p>The ncurses distribution includes a selection of test programs
  273. (including a few games).</p>
  274. <h2>Who's Who and What's What</h2>Zeyd Ben-Halim started it from
  275. a previous package pcurses, written by Pavel Curtis. Eric S.
  276. Raymond continued development. J&uuml;rgen Pfeifer wrote most of
  277. the form and menu libraries. Ongoing work is being done by
  278. <a href="mailto:dickey@invisible-island.net">Thomas Dickey</a>.
  279. Thomas Dickey acts as the maintainer for the Free Software
  280. Foundation, which holds the copyright on ncurses. Contact the
  281. current maintainers at <a href=
  282. "mailto:bug-ncurses@gnu.org">bug-ncurses@gnu.org</a>.
  283. <p>To join the ncurses mailing list, please write email to
  284. <code>bug-ncurses-request@gnu.org</code> containing the line:</p>
  285. <pre>
  286. subscribe &lt;name&gt;@&lt;host.domain&gt;
  287. </pre>
  288. <p>This list is open to anyone interested in helping with the
  289. development and testing of this package.</p>
  290. <p>Beta versions of ncurses and patches to the current release
  291. are made available at <a href=
  292. "ftp://invisible-island.net/ncurses/">ftp://invisible-island.net/ncurses/</a>&nbsp;.</p>
  293. <h2>Future Plans</h2>
  294. <ul>
  295. <li>Extended-level XPG4 conformance, with internationalization
  296. support.</li>
  297. <li>Ports to more systems, including DOS and Windows.</li>
  298. </ul>We need people to help with these projects. If you are
  299. interested in working on them, please join the ncurses list.
  300. <h2>Other Related Resources</h2>The distribution provides a newer
  301. version of the terminfo-format terminal description file once
  302. maintained by <a href="http://www.catb.org/~esr/terminfo/">Eric
  303. Raymond</a>&nbsp;. Unlike the older version, the termcap and
  304. terminfo data are provided in the same file, and provides several
  305. user-definable extensions beyond the X/Open specification.
  306. <p>You can find lots of information on terminal-related topics
  307. not covered in the terminfo file at <a href=
  308. "http://web.archive.org/web/*/http://www.cs.utk.edu/~shuford/terminal">
  309. Richard Shuford's archive</a>&nbsp;.</p>
  310. </body>
  311. </html>