ANNOUNCE 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  1. Announcing ncurses 5.7
  2. The ncurses (new curses) library is a free software emulation of
  3. curses in System V Release 4.0, and more. It uses terminfo format,
  4. supports pads and color and multiple highlights and forms characters
  5. and function-key mapping, and has all the other SYSV-curses
  6. enhancements over BSD curses.
  7. In mid-June 1995, the maintainer of 4.4BSD curses declared that he
  8. considered 4.4BSD curses obsolete, and encouraged the keepers of Unix
  9. releases such as BSD/OS, FreeBSD and NetBSD to switch over to ncurses.
  10. The ncurses code was developed under GNU/Linux. It has been in use for
  11. some time with OpenBSD as the system curses library, and on FreeBSD
  12. and NetBSD as an external package. It should port easily to any
  13. ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp!
  14. The distribution includes the library and support utilities, including
  15. a terminfo compiler tic(1), a decompiler infocmp(1), clear(1),
  16. tput(1), tset(1), and a termcap conversion tool captoinfo(1). Full
  17. manual pages are provided for the library and tools.
  18. The ncurses distribution is available via anonymous FTP at the GNU
  19. distribution site [1]ftp://ftp.gnu.org/gnu/ncurses/ .
  20. It is also available at [2]ftp://invisible-island.net/ncurses/ .
  21. Release Notes
  22. This release is designed to be upward compatible from ncurses 5.0
  23. through 5.6; very few applications will require recompilation,
  24. depending on the platform. These are the highlights from the
  25. change-log since ncurses 5.6 release.
  26. Interface changes:
  27. * generate linkable stubs for some macros:
  28. getattrs
  29. New features and improvements:
  30. * library
  31. + new flavor of the ncurses library provides rudimentary
  32. support for POSIX threads. Several functions are reentrant,
  33. but most require either a window-level or screen-level mutex.
  34. (This is API-compatible, but not ABI-compatible with the
  35. normal library).
  36. + add NCURSES_OPAQUE symbol to curses.h, will use to make
  37. structs opaque in selected configurations.
  38. + add NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS symbols to
  39. curses.h to make it simpler to tell if the extended functions
  40. and/or colors are declared.
  41. + add wresize() to C++ binding
  42. + eliminate fixed-buffer vsprintf() calls in C++ binding.
  43. + add several functions to C++ binding which wrap C functions
  44. that pass a WINDOW* parameter.
  45. + adapt mouse-handling code from menu library in form-library
  46. + improve tracing for form library, showing created forms,
  47. fields, etc.
  48. + make $NCURSES_NO_PADDING feature work for termcap interface .
  49. + add check to trace-file open, if the given name is a
  50. directory, add ".log" to the name and try again.
  51. + several new manpages: curs_legacy.3x, curs_memleaks.3x,
  52. curs_opaque.3x and curs_threads.3x
  53. * programs:
  54. + modified three test-programs to demonstrate the threading
  55. support in this version: ditto, rain, worm.
  56. + several new test-programs: demo_panels, dots_mvcur,
  57. inch_wide, inchs, key_name, key_names, savescreen,
  58. savescreen.sh test_arrays, test_get_wstr, test_getstr,
  59. test_instr, test_inwstr and test_opaque.
  60. + add adacurses-config to the Ada95 install.
  61. + modify tic -f option to format spaces as \s to prevent them
  62. from being lost when that is read back in unformatted
  63. strings.
  64. + The tack program is now distributed separately from ncurses.
  65. * terminal database
  66. + added entries:
  67. o Eterm-256color, Eterm-88color and rxvt-88color
  68. o aterm
  69. o konsole-256color
  70. o mrxvt
  71. o screen.mlterm
  72. o screen.rxvt
  73. o teraterm4.59 is now the primary primary teraterm entry,
  74. renamed original to teraterm2.3
  75. o 9term terminal
  76. o Newbury Data entries
  77. + updated/improved entries:
  78. o gnome to version 2.22.3
  79. o h19, z100
  80. o konsole to version 1.6.6
  81. o mlterm, mlterm+pcfkeys
  82. o xterm, and building-blocks for function-keys to [3]xterm
  83. patch #230.
  84. Major bug fixes:
  85. * add logic to tic for cancelling strings in user-defined
  86. capabilities (this is needed for current konsole terminfo entry).
  87. * modify mk-1st.awk so the generated makefile rules for linking or
  88. installing shared libraries do not first remove the library, in
  89. case it is in use, e.g., libncurses.so by /bin/sh.
  90. * correct check for notimeout() in wgetch().
  91. * fix a sign-extension bug in infocmp's repair_acsc() function.
  92. * change winnstr() to stop at the end of the line.
  93. * make Ada95 demo_panels() example work.
  94. * fix for adding a non-spacing character at the beginning of a line.
  95. * fill in extended-color pair to make colors work for
  96. wide-characters using extended-colors.
  97. * improve refresh of window on top of multi-column characters,
  98. taking into account split characters on left/right window
  99. boundaries.
  100. * modify win_wchnstr() to ensure that only a base cell is returned
  101. for each multi-column character.
  102. * improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
  103. using unctrl() to display illegal bytes rather than trying to
  104. append further bytes to make up a valid sequence.
  105. * restore curs_set() state after endwin()/refresh()
  106. * modify keyname() to use "^X" form only if meta() has been called,
  107. or if keyname() is called without initializing curses, e.g., via
  108. initscr() or newterm().
  109. * modify unctrl() to check codes in 128-255 range versus isprint().
  110. If they are not printable, and locale was set, use a "M-" or "~"
  111. sequence.
  112. * improve resizeterm() by moving ripped-off lines, and repainting
  113. the soft-keys.
  114. * modify form library to accept control characters such as newline
  115. in set_field_buffer(), which is compatible with Solaris.
  116. * use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc.,
  117. to make those work properly with the --enable-ext-mouse
  118. configuration
  119. * correct some functions in Ada95 binding which were using return
  120. value from C where none was returned.
  121. * reviewed/fixed issues reported by Coverity and Klocwork tools.
  122. Portability:
  123. * configure script:
  124. + new options:
  125. --disable-big-strings
  126. control whether static string tables are generated
  127. as single large strings (to improve startup
  128. performance), or as array of individual strings.
  129. --disable-relink
  130. control whether shared libraries are relinked
  131. (during install) when rpath is enabled.
  132. --disable-tic-depends
  133. make explicit whether tic library depends on
  134. ncurses/ncursesw library.
  135. --enable-mixed-case
  136. override the configure script's check if the
  137. filesystem supports mixed-case filenames. This
  138. allows one to control how the terminal database
  139. maps to the filesystem. For filesystems that do not
  140. support mixed-case, the library uses generate
  141. 2-character (hexadecimal) codes for the lower-level
  142. of the filesystem terminfo database
  143. --enable-reentrant
  144. builds a different flavor of the ncurses library
  145. (ncursest) which improves reentrant use of the
  146. library by reducing global and static variables
  147. (see the "--with-pthread" option for the threaded
  148. support).
  149. --enable-weak-symbols
  150. use weak-symbols for linking to the POSIX thread
  151. library, and use the same soname for the ncurses
  152. shared library as the normal library (caveat: the
  153. ABI is for the threaded library, which makes global
  154. data accessed via functions).
  155. --with-pthread
  156. build with the POSIX thread library (tested with
  157. AIX, Linux, FreeBSD, OpenBSD, HPUX, IRIX64,
  158. Solaris, Tru64).
  159. --with-ticlib
  160. build/install the tic-support functions in a
  161. separate library
  162. + improved options:
  163. --enable-ext-colors
  164. requires the wide-character configuration.
  165. --with-chtype
  166. ignore option value "unsigned" is always added to
  167. the type in curses.h; do the same for
  168. --with-mmask-t.
  169. --with-dmalloc
  170. build-fix for redefinition of strndup.
  171. --with-hashed-db
  172. accepts a parameter which is the install-prefix of
  173. a given Berkeley Database.
  174. --with-hashed-db
  175. the $LIBS environment variable overrides the search
  176. for the db library.
  177. --without-hashed-db
  178. assumed when "--disable-database" is used.
  179. * other configure/build issues:
  180. + build-fixes for LynxOS
  181. + modify shared-library rules to allow FreeBSD 3.x to use
  182. rpath.
  183. + build-fix for FreeBSD "contemporary" TTY interface.
  184. + build-fixes for AIX with libtool.
  185. + build-fixes for Darwin and libtool.
  186. + modify BeOS-specific ifdef's to build on Haiku.
  187. + corrected gcc options for building shared libraries on
  188. Solaris and IRIX64.
  189. + change shared-library configuration for OpenBSD, make rpath
  190. work.
  191. + build-fixes for using libutf8, e.g., on OpenBSD 3.7
  192. + add "-e" option in ncurses/Makefile.in when generating
  193. source-files to force earlier exit if the build environment
  194. fails unexpectedly.
  195. + add support for shared libraries for QNX.
  196. + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
  197. substitution by IBM xlc to '#' as part of its extensions to
  198. digraphs.
  199. * library:
  200. + rewrite wrapper for wcrtomb(), making it work on Solaris.
  201. This is used in the form library to determine the length of
  202. the buffer needed by field_buffer.
  203. + add/use configure script macro CF_SIG_ATOMIC_T, use the
  204. corresponding type for data manipulated by signal handlers.
  205. + set locale in misc/ncurses-config.in since it uses a range
  206. + disable GPM mouse support when $TERM does not happen to
  207. contain "linux", since Gpm_Open() no longer limits its
  208. assertion to terminals that it might handle, e.g., within
  209. "screen" in xterm.
  210. + reset mouse file-descriptor when unloading GPM library.
  211. * test programs:
  212. + update test programs to build/work with various UNIX curses
  213. for comparisons.
  214. Features of Ncurses
  215. The ncurses package is fully compatible with SVr4 (System V Release 4)
  216. curses:
  217. * All 257 of the SVr4 calls have been implemented (and are
  218. documented).
  219. * Full support for SVr4 curses features including keyboard mapping,
  220. color, forms-drawing with ACS characters, and automatic
  221. recognition of keypad and function keys.
  222. * An emulation of the SVr4 panels library, supporting a stack of
  223. windows with backing store, is included.
  224. * An emulation of the SVr4 menus library, supporting a uniform but
  225. flexible interface for menu programming, is included.
  226. * An emulation of the SVr4 form library, supporting data collection
  227. through on-screen forms, is included.
  228. * Binary terminfo entries generated by the ncurses tic(1)
  229. implementation are bit-for-bit-compatible with the entry format
  230. SVr4 curses uses.
  231. * The utilities have options to allow you to filter terminfo entries
  232. for use with less capable curses/terminfo versions such as the
  233. HP/UX and AIX ports.
  234. The ncurses package also has many useful extensions over SVr4:
  235. * The API is 8-bit clean and base-level conformant with the X/OPEN
  236. curses specification, XSI curses (that is, it implements all BASE
  237. level features, and most EXTENDED features). It includes many
  238. function calls not supported under SVr4 curses (but portability of
  239. all calls is documented so you can use the SVr4 subset only).
  240. * Unlike SVr3 curses, ncurses can write to the rightmost-bottommost
  241. corner of the screen if your terminal has an insert-character
  242. capability.
  243. * Ada95 and C++ bindings.
  244. * Support for mouse event reporting with X Window xterm and FreeBSD
  245. and OS/2 console windows.
  246. * Extended mouse support via Alessandro Rubini's gpm package.
  247. * The function wresize() allows you to resize windows, preserving
  248. their data.
  249. * The function use_default_colors() allows you to use the terminal's
  250. default colors for the default color pair, achieving the effect of
  251. transparent colors.
  252. * The functions keyok() and define_key() allow you to better control
  253. the use of function keys, e.g., disabling the ncurses KEY_MOUSE,
  254. or by defining more than one control sequence to map to a given
  255. key code.
  256. * Support for 256-color terminals, such as modern xterm, when
  257. configured using the --enable-ext-colors option.
  258. * Support for 16-color terminals, such as aixterm and modern xterm.
  259. * Better cursor-movement optimization. The package now features a
  260. cursor-local-movement computation more efficient than either BSD's
  261. or System V's.
  262. * Super hardware scrolling support. The screen-update code
  263. incorporates a novel, simple, and cheap algorithm that enables it
  264. to make optimal use of hardware scrolling, line-insertion, and
  265. line-deletion for screen-line movements. This algorithm is more
  266. powerful than the 4.4BSD curses quickch() routine.
  267. * Real support for terminals with the magic-cookie glitch. The
  268. screen-update code will refrain from drawing a highlight if the
  269. magic- cookie unattributed spaces required just before the
  270. beginning and after the end would step on a non-space character.
  271. It will automatically shift highlight boundaries when doing so
  272. would make it possible to draw the highlight without changing the
  273. visual appearance of the screen.
  274. * It is possible to generate the library with a list of pre-loaded
  275. fallback entries linked to it so that it can serve those terminal
  276. types even when no terminfo tree or termcap file is accessible
  277. (this may be useful for support of screen-oriented programs that
  278. must run in single-user mode).
  279. * The tic(1)/captoinfo utility provided with ncurses has the ability
  280. to translate many termcaps from the XENIX, IBM and AT&T extension
  281. sets.
  282. * A BSD-like tset(1) utility is provided.
  283. * The ncurses library and utilities will automatically read terminfo
  284. entries from $HOME/.terminfo if it exists, and compile to that
  285. directory if it exists and the user has no write access to the
  286. system directory. This feature makes it easier for users to have
  287. personal terminfo entries without giving up access to the system
  288. terminfo directory.
  289. * You may specify a path of directories to search for compiled
  290. descriptions with the environment variable TERMINFO_DIRS (this
  291. generalizes the feature provided by TERMINFO under stock System
  292. V.)
  293. * In terminfo source files, use capabilities may refer not just to
  294. other entries in the same source file (as in System V) but also to
  295. compiled entries in either the system terminfo directory or the
  296. user's $HOME/.terminfo directory.
  297. * A script (capconvert) is provided to help BSD users transition
  298. from termcap to terminfo. It gathers the information in a TERMCAP
  299. environment variable and/or a ~/.termcap local entries file and
  300. converts it to an equivalent local terminfo tree under
  301. $HOME/.terminfo.
  302. * Automatic fallback to the /etc/termcap file can be compiled in
  303. when it is not possible to build a terminfo tree. This feature is
  304. neither fast nor cheap, you don't want to use it unless you have
  305. to, but it's there.
  306. * The table-of-entries utility toe makes it easy for users to see
  307. exactly what terminal types are available on the system.
  308. * The library meets the XSI requirement that every macro entry point
  309. have a corresponding function which may be linked (and will be
  310. prototype-checked) if the macro definition is disabled with
  311. #undef.
  312. * An HTML "Introduction to Programming with NCURSES" document
  313. provides a narrative introduction to the curses programming
  314. interface.
  315. State of the Package
  316. Numerous bugs present in earlier versions have been fixed; the library
  317. is far more reliable than it used to be. Bounds checking in many
  318. `dangerous' entry points has been improved. The code is now type-safe
  319. according to gcc -Wall. The library has been checked for malloc leaks
  320. and arena corruption by the Purify memory-allocation tester.
  321. The ncurses code has been tested with a wide variety of applications
  322. including (versions starting with those noted):
  323. cdk
  324. Curses Development Kit
  325. [4]http://invisible-island.net/cdk/
  326. [5]http://www.vexus.ca/products/CDK/
  327. ded
  328. directory-editor
  329. [6]http://invisible-island.net/ded/
  330. dialog
  331. the underlying application used in Slackware's setup, and the
  332. basis for similar applications on GNU/Linux.
  333. [7]http://invisible-island.net/dialog/
  334. lynx
  335. the character-screen WWW browser
  336. [8]http://lynx.isc.org/release/
  337. Midnight Commander
  338. file manager
  339. [9]http://www.ibiblio.org/mc/
  340. mutt
  341. mail utility
  342. [10]http://www.mutt.org/
  343. ncftp
  344. file-transfer utility
  345. [11]http://www.ncftp.com/
  346. nvi
  347. New vi versions 1.50 are able to use ncurses versions 1.9.7 and
  348. later.
  349. [12]http://www.bostic.com/vi/
  350. pinfo
  351. Lynx-like info browser.
  352. [13]https://alioth.debian.org/projects/pinfo/
  353. tin
  354. newsreader, supporting color, MIME [14]http://www.tin.org/
  355. as well as some that use ncurses for the terminfo support alone:
  356. minicom
  357. terminal emulator
  358. [15]http://alioth.debian.org/projects/minicom/
  359. vile
  360. vi-like-emacs
  361. [16]http://invisible-island.net/vile/
  362. The ncurses distribution includes a selection of test programs
  363. (including a few games).
  364. Who's Who and What's What
  365. Zeyd Ben-Halim started it from a previous package pcurses, written by
  366. Pavel Curtis. Eric S. Raymond continued development. Jürgen Pfeifer
  367. wrote most of the form and menu libraries. Ongoing work is being done
  368. by [17]Thomas Dickey. Thomas Dickey acts as the maintainer for the
  369. Free Software Foundation, which holds the copyright on ncurses.
  370. Contact the current maintainers at [18]bug-ncurses@gnu.org.
  371. To join the ncurses mailing list, please write email to
  372. bug-ncurses-request@gnu.org containing the line:
  373. subscribe <name>@<host.domain>
  374. This list is open to anyone interested in helping with the development
  375. and testing of this package.
  376. Beta versions of ncurses and patches to the current release are made
  377. available at [19]ftp://invisible-island.net/ncurses/ .
  378. Future Plans
  379. * Extended-level XPG4 conformance, with internationalization
  380. support.
  381. * Ports to more systems, including DOS and Windows.
  382. We need people to help with these projects. If you are interested in
  383. working on them, please join the ncurses list.
  384. Other Related Resources
  385. The distribution provides a newer version of the terminfo-format
  386. terminal description file once maintained by [20]Eric Raymond . Unlike
  387. the older version, the termcap and terminfo data are provided in the
  388. same file, and provides several user-definable extensions beyond the
  389. X/Open specification.
  390. You can find lots of information on terminal-related topics not
  391. covered in the terminfo file at [21]Richard Shuford's archive .
  392. References
  393. 1. ftp://ftp.gnu.org/gnu/ncurses/
  394. 2. ftp://invisible-island.net/ncurses/
  395. 3. http://invisible-island.net/xterm/xterm.log.html#xterm_230
  396. 4. http://invisible-island.net/cdk/
  397. 5. http://www.vexus.ca/products/CDK/
  398. 6. http://invisible-island.net/ded/
  399. 7. http://invisible-island.net/dialog/
  400. 8. http://lynx.isc.org/release/
  401. 9. http://www.ibiblio.org/mc/
  402. 10. http://www.mutt.org/
  403. 11. http://www.ncftp.com/
  404. 12. http://www.bostic.com/vi/
  405. 13. https://alioth.debian.org/projects/pinfo/
  406. 14. http://www.tin.org/
  407. 15. http://alioth.debian.org/projects/minicom/
  408. 16. http://invisible-island.net/vile/
  409. 17. mailto:dickey@invisible-island.net
  410. 18. mailto:bug-ncurses@gnu.org
  411. 19. ftp://invisible-island.net/ncurses/
  412. 20. http://www.catb.org/~esr/terminfo/
  413. 21. http://www.cs.utk.edu/~shuford/terminal_index.html