]> ncurses.scripts.mit.edu Git - ncurses.git/blob - NEWS
ncurses 5.6 - patch 20070303
[ncurses.git] / NEWS
1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2005,2006 Free Software Foundation, Inc.               --
3 --                                                                           --
4 -- Permission is hereby granted, free of charge, to any person obtaining a   --
5 -- copy of this software and associated documentation files (the             --
6 -- "Software"), to deal in the Software without restriction, including       --
7 -- without limitation the rights to use, copy, modify, merge, publish,       --
8 -- distribute, distribute with modifications, sublicense, and/or sell copies --
9 -- of the Software, and to permit persons to whom the Software is furnished  --
10 -- to do so, subject to the following conditions:                            --
11 --                                                                           --
12 -- The above copyright notice and this permission notice shall be included   --
13 -- in all copies or substantial portions of the Software.                    --
14 --                                                                           --
15 -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS   --
16 -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF                --
17 -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN --
18 -- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,       --
19 -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR     --
20 -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE --
21 -- USE OR OTHER DEALINGS IN THE SOFTWARE.                                    --
22 --                                                                           --
23 -- Except as contained in this notice, the name(s) of the above copyright    --
24 -- holders shall not be used in advertising or otherwise to promote the      --
25 -- sale, use or other dealings in this Software without prior written        --
26 -- authorization.                                                            --
27 -------------------------------------------------------------------------------
28 -- $Id: NEWS,v 1.1096 2007/03/04 00:17:25 tom Exp $
29 -------------------------------------------------------------------------------
30
31 This is a log of changes that ncurses has gone through since Zeyd started
32 working with Pavel Curtis' original work, pcurses, in 1992.
33
34 Changes through 1.9.9e are recorded by Zeyd M Ben-Halim.
35 Changes since 1.9.9e are recorded by Thomas E Dickey.
36
37 Contributors include those who have provided patches (even small ones), as well
38 as those who provide useful information (bug reports, analyses).  Changes with
39 no cited author are the work of Thomas E Dickey (TD).
40
41 A few contributors are given in this file by their initials.
42 They each account for one percent or more of the changes since 1.9.9e.
43 See the AUTHORS file for the corresponding full names.
44
45 Changes through 1.9.9e did not credit all contributions;
46 it is not possible to add this information.
47
48 20070303
49         + regenerated html documentation.
50         + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
51           opaque in selected configurations.
52         + move the chunk in lib_acs.c which resets acs capabilities when
53           running on a terminal whose locale interferes with those into
54           _nc_setupscreen(), so the libtinfo/libtinfow files can be made
55           identical (requested by Miroslav Lichvar).
56         + do not use configure variable SHLIB_LIBS for building libraries
57           outside the ncurses directory, since that symbol is customized
58           only for that directory, and using it introduces an unneeded
59           dependency on libdl (requested by Miroslav Lichvar).
60         + modify mk-1st.awk so the generated makefile rules for linking or
61           installing shared libraries do not first remove the library, in
62           case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
63           Chua).
64         + revised section "Using NCURSES under XTERM" in ncurses-intro.html
65           (prompted by newsgroup comment by Nick Guenther).
66
67 20070224
68         + change internal return codes of _nc_wgetch() to check for cases
69           where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
70           ungetch'd, and read by wget_wch().
71         + fix static-library build broken in 20070217 changes to remove "-ldl"
72           (report by Miroslav Lichvar).
73         + change makefile/scripts for cygwin to allow building termlib.
74         + use Form_Hook in manpages to match form.h
75         + use Menu_Hook in manpages, as well as a few places in menu.h
76         + correct form- and menu-manpages to use specific Field_Options,
77           Menu_Options and Item_Options types.
78         + correct prototype for _tracechar() in manpage (cf: 20011229).
79         + correct prototype for wunctrl() in manpage.
80
81 20070217
82         + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
83           Lichvar).
84         + modify relinking of shared libraries to apply only when rpath is
85           enabled, and add --disable-relink option which can be used to
86           disable the feature altogether (reports by Michail Vidiassov,
87           Adam J Richter).
88         + fix --with-termlib option for wide-character configuration, stripping
89           the "w" suffix in one place (report by Miroslav Lichvar).
90         + remove "-ldl" from some library lists to reduce dependencies in
91           programs (report by Miroslav Lichvar).
92         + correct description of --enable-signed-char in configure --help
93           (report by Michail Vidiassov).
94         + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
95           which matches an earlier change to CF_SHARED_OPTS, from xterm #224
96           fixes.
97         + remove "${DESTDIR}" from -install_name option used for linking
98           shared libraries on Darwin (report by Michail Vidiassov).
99
100 20070210
101         + add test/inchs.c, test_inch_wide.c, to test win_wchnstr().
102         + remove libdl from library list for termlib (report by Miroslav
103           Lichvar).
104         + fix configure.in to allow --without-progs --with-termlib (patch by
105           Miroslav Lichvar).
106         + modify win_wchnstr() to ensure that only a base cell is returned
107           for each multi-column character (prompted by report by Wei Kong
108           regarding change in mvwin_wch() cf: 20041023).
109
110 20070203
111         + modify fix_wchnstr() in form library to strip attributes (and color)
112           from the cchar_t array (field cells) read from a field's window.
113           Otherwise, when copying the field cells back to the window, the
114           associated color overrides the field's background color (report by
115           Ricardo Cantu).
116         + improve tracing for form library, showing created forms, fields, etc.
117         + ignore --enable-rpath configure option if --with-shared was omitted.
118         + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
119           to allow leak-checking when both tic- and tinfo-libraries are built.
120         + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
121           no longer relies on it.
122         + disallow combining configure script options --with-ticlib and
123           --enable-termcap (report by Rong-En Fan).
124         + remove tack from ncurses tree.
125
126 20070128
127         + fix typo in configure script that broke --with-termlib option
128           (report by Rong-En Fan).
129
130 20070127
131         + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
132           to tgetent() (report by Rong-en Fan).
133         + update tack/HISTORY and tack/README to tell how to build it after
134           it is removed from the ncurses tree.
135         + fix configure check for libtool's version to trim blank lines
136           (report by sci-fi@hush.ai).
137         + review/eliminate other original-file artifacts in cursesw.cc, making
138           its license consistent with ncurses.
139         + use ncurses vw_scanw() rather than reading into a fixed buffer in
140           the c++ binding for scanw() methods (prompted by report by Nuno Dias).
141         + eliminate fixed-buffer vsprintf() calls in c++ binding.
142
143 20070120
144         + add _nc_leaks_tic() to separate leak-checking of tic library from
145           term/ncurses libraries, and thereby eliminate a library dependency.
146         + fix test/mk-test.awk to ignore blank lines.
147         + correct paths in include/headers, for --srcdir (patch by Miroslav
148           Lichvar).
149
150 20070113
151         + add a break-statement in misc/shlib to ensure that it exits on the
152           _first_ matched directory (report by Paul Novak).
153         + add tack/configure, which can be used to build tack outside the
154           ncurses build-tree.
155         + add --with-ticlib option, to build/install the tic-support functions
156           in a separate library (suggested by Miroslav Lichvar).
157
158 20070106
159         + change MKunctrl.awk to reduce relocation table for unctrl.o
160         + change MKkeyname.awk to reduce relocation table for keyname.o
161           (patch by Miroslav Lichvar).
162
163 20061230
164         + modify configure check for libtool's version to trim blank lines
165           (report by sci-fi@hush.ai).
166         + modify some modules to allow them to be reentrant if _REENTRANT is
167           defined: lib_baudrate.c, resizeterm.c (local data only)
168         + eliminate static data from some modules: add_tries.c, hardscroll.c,
169           lib_ttyflags.c, lib_twait.c
170         + improve manpage install to add aliases for the transformed program
171           names, e.g., from --program-prefix.
172         + used linklint to verify links in the HTML documentation, made fixes
173           to manpages as needed.
174         + fix a typo in curs_mouse.3x (report by William McBrine).
175         + fix install-rule for ncurses5-config to make the bin-directory.
176
177 20061223
178         + modify configure script to omit the tic (terminfo compiler) support
179           from ncurses library if --without-progs option is given.
180         + modify install rule for ncurses5-config to do this via "install.libs"
181         + modify shared-library rules to allow FreeBSD 3.x to use rpath.
182         + update config.guess, config.sub
183
184 20061217 5.6 release for upload to ftp.gnu.org
185
186 20061217
187         + add ifdef's for <wctype.h> for HPUX, which has the corresponding
188           definitions in <wchar.h>.
189         + revert the va_copy() change from 20061202, since it was neither
190           correct nor portable.
191         + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
192           rpath on Solaris.
193         + ignore wide-acs line-drawing characters that wcwidth() claims are
194           not one-column.  This is a workaround for Solaris' broken locale
195           support.
196
197 20061216
198         + modify configure --with-gpm option to allow it to accept a parameter,
199           i.e., the name of the dynamic GPM library to load via dlopen()
200           (requested by Bryan Henderson).
201         + add configure option --with-valgrind, changes from vile.
202         + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
203           'return' in preference to 'exit()'.
204
205 20061209
206         + change default for --with-develop back to "no".
207         + add XTABS to tracing of TTY bits.
208         + updated autoconf patch to ifdef-out the misfeature which declares
209           exit() for configure tests.  This fixes a redefinition warning on
210           Solaris.
211         + use ${CC} rather than ${LD} in shared library rules for IRIX64,
212           Solaris to help ensure that initialization sections are provided for
213           extra linkage requirements, e.g., of C++ applications (prompted by
214           comment by Casper Dik in newsgroup).
215         + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
216           from the autoconf predefined symbol.  There was no conflict,
217           since "$target" was used only in the generated edit_man.sh file,
218           but SuSE's rpm package contains a patch.
219
220 20061202
221         + update man/term.5 to reflect extended terminfo support and hashed
222           database configuration.
223         + updates for test/configure script.
224         + adapted from SuSE rpm package:
225           + remove long-obsolete workaround for broken-linker which declared
226             cur_term in tic.c
227           + improve error recovery in PUTC() macro when wcrtomb() does not
228             return usable results for an 8-bit character.
229         + patches from rpm package (SuSE):
230           + use va_copy() in extra varargs manipulation for tracing version
231             of printw, etc.
232           + use a va_list rather than a null in _nc_freeall()'s call to
233             _nc_printf_string().
234         + add some see-also references in manpages to show related
235           wide-character functions (suggested by Claus Fischer).
236
237 20061125
238         + add a check in lib_color.c to ensure caller does not increase COLORS
239           above max_colors, which is used as an array index (discussion with
240           Simon Sasburg).
241         + add ifdef's allowing ncurses to be built with tparm() using either
242           varargs (the existing status), or using a fixed-parameter list (to
243           match X/Open).
244
245 20061104
246         + fix redrawing of windows other than stdscr using wredrawln() by
247           touching the corresponding rows in curscr (discussion with Dan
248           Gookin).
249         + add test/redraw.c
250         + add test/echochar.c
251         + review/cleanup manpage descriptions of error-returns for form- and
252           menu-libraries (prompted by FreeBSD docs/46196).
253
254 20061028
255         + add AUTHORS file -TD
256         + omit the -D options from output of the new config script --cflags
257           option (suggested by Ralf S Engelschall).
258         + make NCURSES_INLINE unconditionally defined in curses.h
259
260 20061021
261         + revert change to accommodate bash 3.2, since that breaks other
262           platforms, e.g., Solaris.
263         + minor fixes to NEWS file to simplify scripting to obtain list of
264           contributors.
265         + improve some shared-library configure scripting for Linux, FreeBSD
266           and NetBSD to make "--with-shlib-version" work.
267         + change configure-script rules for FreeBSD shared libraries to allow
268           for rpath support in versions past 3.
269         + use $(DESTDIR) in makefile rules for installing/uninstalling the
270           package config script (reports/patches by Christian Wiese,
271           Ralf S Engelschall).
272         + fix a warning in the configure script for NetBSD 2.0, working around
273           spurious blanks embedded in its ${MAKEFLAGS} symbol.
274         + change test/Makefile to simplify installing test programs in a
275           different directory when --enable-rpath is used.
276
277 20061014
278         + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
279         + add/install a package config script, e.g., "ncurses5-config" or
280           "ncursesw5-config", according to configuration options.
281
282 20061007
283         + add several GNU Screen terminfo variations with 16- and 256-colors,
284           and status line (Alain Bench).
285         + change the way shared libraries (other than libtool) are installed.
286           Rather than copying the build-tree's libraries, link the shared
287           objects into the install directory.  This makes the --with-rpath
288           option work except with $(DESTDIR) (cf: 20000930).
289
290 20060930
291         + fix ifdef in c++/internal.h for QNX 6.1
292         + test-compiled with (old) egcs-1.1.2, modified configure script to
293           not unset the $CXX and related variables which would prevent this.
294         + fix a few terminfo.src typos exposed by improvments to "-f" option.
295         + improve infocmp/tic "-f" option formatting.
296
297 20060923
298         + make --disable-largefile option work (report by Thomas M Ott).
299         + updated html documentation.
300         + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
301         + minor improvements to rxvt+pcfkeys -TD
302
303 20060916
304         + move static data from lib_mouse.c into SCREEN struct.
305         + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
306           (report by Michail Vidiassov).
307         + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
308           option (from lynx changes) -TD
309         + adapt AC_PROG_EGREP check, noting that this is likely to be another
310           place aggravated by POSIXLY_CORRECT.
311         + modify configure check for awk to ensure that it is found (prompted
312           by report by Christopher Parker).
313         + update config.sub
314
315 20060909
316         + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
317         + remove invis capability from klone+sgr, mainly used by linux entry,
318           since it does not really do this -TD
319
320 20060903
321         + correct logic in wadd_wch() and wecho_wch(), which did not guard
322           against passing the multi-column attribute into a call on waddch(),
323           e.g., using data returned by win_wch() (cf: 20041023)
324           (report by Sadrul H Chowdhury).
325
326 20060902
327         + fix kterm's acsc string -TD
328         + fix for change to tic/infocmp in 20060819 to ensure no blank is
329           embedded into a termcap description.
330         + workaround for 20050806 ifdef's change to allow visbuf.c to compile
331           when using --with-termlib --with-trace options.
332         + improve tgetstr() by making the return value point into the user's
333           buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
334           #202480)).
335         + correct libraries needed for foldkeys (report by Stanislav Ievlev)
336
337 20060826
338         + add terminfo entries for xfce terminal (xfce) and multi gnome
339           terminal (mgt) -TD
340         + add test/foldkeys.c
341
342 20060819
343         + modify tic and infocmp to avoid writing trailing blanks on terminfo
344           source output (Debian #378783).
345         + modify configure script to ensure that if the C compiler is used
346           rather than the loader in making shared libraries, the $(CFLAGS)
347           variable is also used (Redhat Bugzilla #199369).
348         + port hashed-db code to db2 and db3.
349         + fix a bug in tgetent() from 20060625 and 20060715 changes
350           (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
351
352 20060805
353         + updated xterm function-keys terminfo to match xterm #216 -TD
354         + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
355           e.g., the db 1.8.5 interface).
356
357 20060729
358         + modify toe to access termcap data, e.g., via cgetent() functions,
359           or as a text file if those are not available.
360         + use _nc_basename() in tset to improve $SHELL check for csh/sh.
361         + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
362           can access termcap data when the terminfo database is disabled.
363
364 20060722
365         + widen the test for xterm kmous a little to allow for other strings
366           than \E[M, e.g., for xterm-sco functionality in xterm.
367         + update xterm-related terminfo entries to match xterm patch #216 -TD
368         + update config.guess, config.sub
369
370 20060715
371         + fix for install-rule in Ada95 to add terminal_interface.ads
372           and terminal_interface.ali (anonymous posting in comp.lang.ada).
373         + correction to manpage for getcchar() (report by William McBrine).
374         + add test/chgat.c
375         + modify wchgat() to mark updated cells as changed so a refresh will
376           repaint those cells (comments by Sadrul H Chowdhury and William
377           McBrine).
378         + split up dependency of names.c and codes.c in ncurses/Makefile to
379           work with parallel make (report/analysis by Joseph S Myers).
380         + suppress a warning message (which is ignored) for systems without
381           an ldconfig program (patch by Justin Hibbits).
382         + modify configure script --disable-symlinks option to allow one to
383           disable symlink() in tic even when link() does not work (report by
384           Nigel Horne).
385         + modify MKfallback.sh to use tic -x when constructing fallback tables
386           to allow extended capabilities to be retrieved from a fallback entry.
387         + improve leak-checking logic in tgetent() from 20060625 to ensure that
388           it does not free the current screen (report by Miroslav Lichvar).
389
390 20060708
391         + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
392         + correct _nc_free_entries() and related functions used for memory leak
393           checking of tic.
394
395 20060701
396         + revert a minor change for magic-cookie support from 20060513, which
397           caused unexpected reset of attributes, e.g., when resizing test/view
398           in color mode.
399         + note in clear manpage that the program ignores command-line
400           parameters (prompted by Debian #371855).
401         + fixes to make lib_gen.c build properly with changes to the configure
402           --disable-macros option and NCURSES_NOMACROS (cf:  20060527)
403         + update/correct several terminfo entries -TD
404         + add some notes regarding copyright to terminfo.src -TD
405
406 20060625
407         + fixes to build Ada95 binding with gnat-4.1.0
408         + modify read_termtype() so the term_names data is always allocated as
409           part of the str_table, a better fix for a memory leak (cf: 20030809).
410         + reduce memory leaks in repeated calls to tgetent() by remembering the
411           last TERMINAL* value allocated to hold the corresponding data and
412           freeing that if the tgetent() result buffer is the same as the
413           previous call (report by "Matt" for FreeBSD gnu/98975).
414         + modify tack to test extended capability function-key strings.
415         + improved gnome terminfo entry (GenToo #122566).
416         + improved xterm-256color terminfo entry (patch by Alain Bench).
417
418 20060617
419         + fix two small memory leaks related to repeated tgetent() calls
420           with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
421         + add --enable-signed-char to simplify Debian package.
422         + reduce name-pollution in term.h by removing #define's for HAVE_xxx
423           symbols.
424         + correct typo in curs_terminfo.3x (Debian #369168).
425
426 20060603
427         + enable the mouse in test/movewindow.c
428         + improve a limit-check in frm_def.c (John Heasley).
429         + minor copyright fixes.
430         + change configure script to produce test/Makefile from data file.
431
432 20060527
433         + add a configure option --enable-wgetch-events to enable
434           NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
435           lib_twait.c (report by Bernd Jendrissek).
436         + remove include/nomacros.h from build, since the ifdef for
437           NCURSES_NOMACROS makes that obsolete.
438         + add entrypoints for some functions which were only provided as macros
439           to make NCURSES_NOMACROS ifdef work properly:  getcurx(), getcury(),
440           getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
441           wgetbkgrnd().
442         + provide ifdef for NCURSES_NOMACROS which suppresses most macro
443           definitions from curses.h, i.e., where a macro is defined to override
444           a function to improve performance.  Allowing a developer to suppress
445           these definitions can simplify some application (discussion with
446           Stanislav Ievlev).
447         + improve description of memu/meml in terminfo manpage.
448
449 20060520
450         + if msgr is false, reset video attributes when doing an automargin
451           wrap to the next line.  This makes the ncurses 'k' test work properly
452           for hpterm.
453         + correct caching of keyname(), which was using only half of its table.
454         + minor fixes to memory-leak checking.
455         + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
456           arrays, making ACS_LEN less visible to applications (suggested by
457           Stanislav Ievlev).
458         + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
459           _screen_acs_map will have the same offset in both ncurses/ncursesw,
460           making the corresponding tinfo/tinfow libraries binary-compatible
461           (cf: 20041016, report by Stanislav Ievlev).
462
463 20060513
464         + improve debug-tracing for EmitRange().
465         + change default for --with-develop to "yes".  Add NCURSES_NO_HARD_TABS
466           and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
467           suppression of the related hard-tabs and xmc-glitch features.
468         + add ncurses version number to top-level manpages, e.g., ncurses, tic,
469           infocmp, terminfo as well as form, menu, panel.
470         + update config.guess, config.sub
471         + modify ncurses.c to work around a bug in NetBSD 3.0 curses
472           (field_buffer returning null for a valid field).  The 'r' test
473           appears to not work with that configuration since the new_fieldtype()
474           function is broken in that implementation.
475
476 20060506
477         + add hpterm-color terminfo entry -TD
478         + fixes to compile test-programs with HPUX 11.23
479
480 20060422
481         + add copyright notices to files other than those that are generated,
482           data or adapted from pdcurses (reports by William McBrine, David
483           Taylor).
484         + improve rendering on hpterm by not resetting attributes at the end
485           of doupdate() if the terminal has the magic-cookie feature (report
486           by Bernd Rieke).
487         + add 256color variants of terminfo entries for programs which are
488           reported to implement this feature -TD
489
490 20060416
491         + fix typo in change to NewChar() macro from 20060311 changes, which
492           broke tab-expansion (report by Frederic L W Meunier).
493
494 20060415
495         + document -U option of tic and infocmp.
496         + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
497           due to size limit, e.g., converting to termcap format.  Also
498           suppress them if the output format does not contain acsc and it
499           was not VT100-like, i.e., a one-one mapping (Novell #163715).
500         + add configure check to ensure that SIGWINCH is defined on platforms
501           such as OS X which exclude that when _XOPEN_SOURCE, etc., are
502           defined (report by Nicholas Cole)
503
504 20060408
505         + modify write_object() to not write coincidental extensions of an
506           entry made due to it being referenced in a use= clause (report by
507           Alain Bench).
508         + another fix for infocmp -i option, which did not ensure that some
509           escape sequences had comparable prefixes (report by Alain Bench).
510
511 20060401
512         + improve discussion of init/reset in terminfo and tput manpages
513           (report by Alain Bench).
514         + use is3 string for a fallback of rs3 in the reset program; it was
515           using is2 (report by Alain Bench).
516         + correct logic for infocmp -i option, which did not account for
517           multiple digits in a parameter (cf: 20040828) (report by Alain
518           Bench).
519         + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
520           option work after 20060114 changes (report by Arkadiusz Miskiewicz).
521         + add copyright notices to test-programs as needed (report by William
522           McBrine).
523
524 20060318
525         + modify ncurses.c 'F' test to combine the wide-characters with color
526           and/or video attributes.
527         + modify test/ncurses to use CTL/Q or ESC consistently for exiting
528           a test-screen (some commands used 'x' or 'q').
529
530 20060312
531         + fix an off-by-one in the scrolling-region change (cf_ 20060311).
532
533 20060311
534         + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
535           a null character is found (report by Igor Bogomazov).
536         + modify progs/Makefile.in to make "tput init" work properly with
537           cygwin, i.e., do not pass a ".exe" in the reference string used
538           in check_aliases (report by Samuel Thibault).
539         + add some checks to ensure current position is within scrolling
540           region before scrolling on a new line (report by Dan Gookin).
541         + change some NewChar() usage to static variables to work around
542           stack garbage introduced when cchar_t is not packed (Redhat #182024).
543
544 20060225
545         + workarounds to build test/movewindow with PDcurses 2.7.
546         + fix for nsterm-16color entry (patch by Alain Bench).
547         + correct a typo in infocmp manpage (Debian #354281).
548
549 20060218
550         + add nsterm-16color entry -TD
551         + updated mlterm terminfo entry -TD
552         + remove 970913 feature for copying subwindows as they are moved in
553           mvwin() (discussion with Bryan Christ).
554         + modify test/demo_menus.c to demonstrate moving a menu (both the
555           window and subwindow) using shifted cursor-keys.
556         + start implementing recursive mvwin() in movewindow.c (incomplete).
557         + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
558           for movewindow.c (report by William McBrine).
559         + add help-message to test/movewindow.c
560
561 20060211
562         + add test/movewindow.c, to test mvderwin().
563         + fix ncurses soft-key test so color changes are shown immediately
564           rather than delayed.
565         + modify ncurses soft-key test to hide the keys when exiting the test
566           screen.
567         + fixes to build test programs with PDCurses 2.7, e.g., its headers
568           rely on autoconf symbols, and it declares stubs for nonfunctional
569           terminfo and termcap entrypoints.
570
571 20060204
572         + improved test/configure to build test/ncurses on HPUX 11 using the
573           vendor curses.
574         + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
575           benefit of developers who do not read INSTALL.
576
577 20060128
578         + correct form library Window_To_Buffer() change (cf:  20040516), which
579           should ignore the video attributes (report by Ricardo Cantu).
580
581 20060121
582         + minor fixes to xmc-glitch experimental code:
583           + suppress line-drawing
584           + implement max_attributes
585           tested with xterm.
586         + minor fixes for the database iterator.
587         + fix some buffer limits in c++ demo (comment by Falk Hueffner in
588           Debian #348117).
589
590 20060114
591         + add toe -a option, to show all databases.  This uses new private
592           interfaces in the ncurses library for iterating through the list of
593           databases.
594         + fix toe from 20000909 changes which made it not look at
595           $HOME/.terminfo
596         + make toe's -v option parameter optional as per manpage.
597         + improve SIGWINCH handling by postponing its effect during newterm(),
598           etc., when allocating screens.
599
600 20060111
601         + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs.  Use
602           this in test/filter.c
603         + fix an error in filter() modification which caused some applications
604           to fail.
605
606 20060107
607         + check if filter() was called when getting the screensize.  Keep it
608           at 1 if so (based on Redhat #174498).
609         + add extension nofilter().
610         + refined the workaround for ACS mapping.
611         + make ifdef's consistent in curses.h for the extended colors so the
612           header file can be used for the normal curses library.  The header
613           file installed for extended colors is a variation of the
614           wide-character configuration (report by Frederic L W Meunier).
615
616 20051231
617         + add a workaround to ACS mapping to allow applications such as
618           test/blue.c to use the "PC ROM" characters by masking them with
619           A_ALTCHARSET.  This worked up til 5.5, but was lost in the revision
620           of legacy coding (report by Michael Deutschmann).
621         + add a null-pointer check in the wide-character version of
622           calculate_actual_width() (report by Victor Julien).
623         + improve test/ncurses 'd' (color-edit) test by allowing the RGB
624           values to be set independently (patch by William McBrine).
625         + modify test/configure script to allow building test programs with
626           PDCurses/X11.
627         + modified test programs to allow some to work with NetBSD curses.
628           Several do not because NetBSD curses implements a subset of X/Open
629           curses, and also lacks much of SVr4 additions.  But it's enough for
630           comparison.
631         + update config.guess and config.sub
632
633 20051224
634         + use BSD-specific fix for return-value from cgetent() from CVS where
635           an unknown terminal type would be reportd as "database not found".
636         + make tgetent() return code more readable using new symbols
637           TGETENT_YES, etc.
638         + remove references to non-existent "tctest" program.
639         + remove TESTPROGS from progs/Makefile.in (it was referring to code
640           that was never built in that directory).
641         + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
642
643 20051217
644         + add use_legacy_coding() function to support lynx's font-switching
645           feature.
646         + fix formatting in curs_termcap.3x (report by Mike Frysinger).
647         + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
648           bool.
649
650 20051210
651         + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
652           overwrite() and copywin() with different combinations of colors and
653           attributes (including background color) to make it easy to see the
654           effect of the different functions.
655         + corrections to menu/m_global.c for wide-characters (report by
656           Victor Julien).
657
658 20051203
659         + add configure option --without-dlsym, allowing developers to
660           configure GPM support without using dlsym() (discussion with Michael
661           Setzer).
662         + fix wins_nwstr(), which did not handle single-column non-8bit codes
663           (Debian #341661).
664
665 20051126
666         + move prototypes for wide-character trace functions from curses.tail
667           to curses.wide to avoid accidental reference to those if
668           _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
669           included.
670         + add/use NCURSES_INLINE definition.
671         + change some internal functions to use int/unsigned rather than the
672           short equivalents.
673
674 20051119
675         + remove a redundant check in lib_color.c (Debian #335655).
676         + use ld's -search_paths_first option on Darwin to work around odd
677           search rules on that platform (report by Christian Gennerat, analysis
678           by Andrea Govoni).
679         + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
680         + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
681         + fix several bugs in test/bs.c (patch by Stephen Lindholm).
682
683 20051112
684         + other minor fixes to cygwin based on tack -TD
685         + correct smacs in cygwin (Debian #338234, report by Baurzhan
686           Ismagulov, who noted that it was fixed in Cygwin).
687
688 20051029
689         + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
690         + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
691           since those record the state of multicolumn characters (Debian
692           #316663).
693         + modify werase to clear multicolumn characters that extend into
694           a derived window (Debian #316663).
695
696 20051022
697         + move assignment from environment variable ESCDELAY from initscr()
698           down to newterm() so the environment variable affects timeouts for
699           terminals opened with newterm() as well.
700         + fix a memory leak in keyname().
701         + add test/demo_altkeys.c
702         + modify test/demo_defkey.c to exit from loop via 'q' to allow
703           leak-checking, as well as fix a buffer size in winnstr() call.
704
705 20051015
706         + correct order of use-clauses in rxvt-basic entry which made codes for
707           f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
708         + suppress configure check for gnatmake if Ada95/Makefile.in is not
709           found.
710         + correct a typo in configure --with-bool option for the case where
711           --without-cxx is used (report by Daniel Jacobowitz).
712         + add a note to INSTALL's discussion of --with-normal, pointing out
713           that one may wish to use --without-gpm to ensure a completely
714           static link (prompted by report by Felix von Leitner).
715
716 20051010 5.5 release for upload to ftp.gnu.org
717
718 20051008
719         + document in demo_forms.c some portability issues.
720
721 20051001
722         + document side-effect of werase() which sets the cursor position.
723         + save/restore the current position in form field editing to make
724           overlay mode work.
725
726 20050924
727         + correct header dependencies in progs, allowing parallel make (report
728           by Daniel Jacobowitz).
729         + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
730           the configure check for --with-build-cc (report by Daniel Jacobowitz).
731         + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
732           NetBSD.
733         + update config.guess and config.sub from
734                 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
735
736 20050917
737         + modify sed expression which computes path for /usr/lib/terminfo
738           symbolic link in install to ensure that it does not change unexpected
739           levels of the path (Gentoo #42336).
740         + modify default for --disable-lp64 configure option to reduce impact
741           on existing 64-bit builds.  Enabling the _LP64 option may change the
742           size of chtype and mmask_t.  However, for ABI 6, it is enabled by
743           default (report by Mike Frysinger).
744         + add configure script check for --enable-ext-mouse, bump ABI to 6 by
745           default if it is used.
746         + improve configure script logic for bumping ABI to omit this if the
747           --with-abi-version option was used.
748         + update address for Free Software Foundation in tack's source.
749         + correct wins_wch(), which was not marking the filler-cells of
750           multi-column characters (cf:  20041023).
751
752 20050910
753         + modify mouse initialization to ensure that Gpm_Open() is called only
754           once.  Otherwise GPM gets confused in its initialization of signal
755           handlers (Debian #326709).
756
757 20050903
758         + modify logic for backspacing in a multiline form field to ensure that
759           it works even when the preceding line is full (report by Frank van
760           Vugt).
761         + remove comment about BUGS section of ncurses manpage (Debian #325481)
762
763 20050827
764         + document some workarounds for shared and libtool library
765           configurations in INSTALL (see --with-shared and --with-libtool).
766         + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
767           cross-compilers which emit the platform name in their version
768           message, e.g.,
769                 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
770           (report by Frank van Vugt).
771
772 20050820
773         + start updating documentation for upcoming 5.5 release.
774         + fix to make libtool  and libtinfo work together again (cf: 20050122).
775         + fixes to allow building traces into libtinfo
776         + add debug trace to tic that shows if/how ncurses will write to the
777           lower corner of a terminal's screen.
778         + update llib-l* files.
779
780 20050813
781         + modify initializers in c++ binding to build with old versions of g++.
782         + improve special case for 20050115 repainting fix, ensuring that if
783           the first changed cell is not a character that the range to be
784           repainted is adjusted to start at a character's beginning (Debian
785           #316663).
786
787 20050806
788         + fixes to build on QNX 6.1
789         + improve configure script checks for Intel 9.0 compiler.
790         + remove #include's for libc.h (obsolete).
791         + adjust ifdef's in curses.priv.h so that when cross-compiling to
792           produce comp_hash and make_keys, no dependency on wchar.h is needed.
793           That simplifies the build-cppflags (report by Frank van Vugt).
794         + move modules related to key-binding into libtinfo to fix linkage
795           problem caused by 20050430 changes to MKkeyname.sh (report by
796           Konstantin Andreev).
797
798 20050723
799         + updates/fixes for configure script macros from vile -TD
800         + make prism9's sgr string agree with the rest of the terminfo -TD
801         + make vt220's sgr0 string consistent with sgr string, do this for
802           several related cases -TD
803         + improve translation to termcap by filtering the 'me' (sgr0) strings
804           as in the runtime call to tgetent() (prompted by a discussion with
805           Thomas Klausner).
806         + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
807           resets line-drawing.
808
809 20050716
810         + fix special cases for trimming sgr0 for hurd and vt220 (Debian
811           #318621).
812         + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
813           allow it to be used by tic to provide information about the runtime
814           changes that would be made to sgr0 for termcap applications.
815         + modify make_sed.sh to make the group-name in the NAME section of
816           form/menu library manpage agree with the TITLE string when renaming
817           is done for Debian (Debian #78866).
818
819 20050702
820         + modify parameter type in c++ binding for insch() and mvwinsch() to
821           be consistent with underlying ncurses library (was char, is chtype).
822         + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
823           on Linux.
824         + improve configure check for nanosleep(), checking that it works since
825           some older systems such as AIX 4.3 have a nonworking version.
826
827 20050625
828         + update config.guess and config.sub from
829                 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
830         + modify misc/shlib to work in test-directory.
831         + suppress $suffix in misc/run_tic.sh when cross-compiling.  This
832           allows cross-compiles to use the host's tic program to handle the
833           "make install.data" step.
834         + improve description of $LINES and $COLUMNS variables in manpages
835           (prompted by report by Dave Ulrick).
836         + improve description of cross-compiling in INSTALL
837         + add NCURSES-Programming-HOWTO.html by Pradeep Padala
838           (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
839         + modify configure script to obtain soname for GPM library (discussion
840           with Daniel Jacobowitz).
841         + modify configure script so that --with-chtype option will still
842           compute the unsigned literals suffix for constants in curses.h
843           (report by Daniel Jacobowitz:
844         + patches from Daniel Jacobowitz:
845           + the man_db.renames entry for tack.1 was backwards.
846           + tack.1 had some 1m's that should have been 1M's.
847           + the section for curs_inwstr.3 was wrong.
848
849 20050619
850         + correction to --with-chtype option (report by Daniel Jacobowitz).
851
852 20050618
853         + move build-time edit_man.sh and edit_man.sed scripts to top directory
854           to simplify reusing them for renaming tack's manpage (prompted by a
855           review of Debian package).
856         + revert minor optimization from 20041030 (Debian #313609).
857         + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
858           1.5.10 and 1.5.18 (all work except as noted previously for the c++
859           install using libtool 1.5.0):
860           + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
861             program.
862           + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
863         + add configure options --with-chtype and --with-mmask-t, to allow
864           overriding of the non-LP64 model's use of the corresponding types.
865         + revise test for size of chtype (and mmask_t), which always returned
866           "long" due to an uninitialized variable (report by Daniel Jacobowitz).
867
868 20050611
869         + change _tracef's that used "%p" format for va_list values to ignore
870           that, since on some platforms those are not pointers.
871         + fixes for long-formats in printf's due to largefile support.
872
873 20050604
874         + fixes for termcap support:
875           + reset pointer to _nc_curr_token.tk_name when the input stream is
876             closed, which could point to free memory (cf: 20030215).
877           + delink TERMTYPE data which is used by the termcap reader, so that
878             extended names data will be freed consistently.
879           + free pointer to TERMTYPE data in _nc_free_termtype() rather than
880             its callers.
881           + add some entrypoints for freeing permanently allocated data via
882             _nc_freeall() when NO_LEAKS is defined.
883         + amend 20041030 change to _nc_do_color to ensure that optimization is
884           applied only when the terminal supports back_color_erase (bce).
885
886 20050528
887         + add sun-color terminfo entry -TD
888         + correct a missing assignment in c++ binding's method
889           NCursesPanel::UserPointer() from 20050409 changes.
890         + improve configure check for large-files, adding check for dirent64
891           from vile -TD
892         + minor change to configure script to improve linker options for the
893           Ada95 tree.
894
895 20050515
896         + document error conditions for ncurses library functions (report by
897           Stanislav Ievlev).
898         + regenerated html documentation for ada binding.
899           see ftp://invisible-island.net/ncurses/patches/gnathtml
900
901 20050507
902         + regenerated html documentation for manpages.
903         + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
904           ncurses/Makefile (Gentoo #89772).
905         + modify c++/demo.cc to build with g++ -fno-implicit-templates option
906           (patch by Mike Frysinger).
907         + modify tic to filter out long extended names when translating to
908           termcap format.  Only two characters are permissible for termcap
909           capability names.
910
911 20050430
912         + modify terminfo entries xterm-new and rxvt to add strings for
913           shift-, control-cursor keys.
914         + workaround to allow c++ binding to compile with g++ 2.95.3, which
915           has a broken implementation of static_cast<> (patch by Jeff Chua).
916         + modify initialization of key lookup table so that if an extended
917           capability (tic -x) string is defined, and its name begins with 'k',
918           it will automatically be treated as a key.
919         + modify test/keynames.c to allow for the possibility of extended
920           key names, e.g., via define_key(), or via "tic -x".
921         + add test/demo_termcap.c to show the contents of given entry via the
922           termcap interface.
923
924 20050423
925         + minor fixes for vt100/vt52 entries -TD
926         + add configure option --enable-largefile
927         + corrected libraries used to build Ada95/gen/gen, found in testing
928           gcc 4.0.0.
929
930 20050416
931         + update config.guess, config.sub
932         + modify configure script check for _XOPEN_SOURCE, disable that on
933           Darwin whose header files have problems (patch by Chris Zubrzycki).
934         + modify form library Is_Printable_String() to use iswprint() rather
935           than wcwidth() for determining if a character is printable.  The
936           latter caused it to reject menu items containing non-spacing
937           characters.
938         + modify ncurses test program's F-test to handle non-spacing characters
939           by combining them with a reverse-video blank.
940         + review/fix several gcc -Wconversion warnings.
941
942 20050409
943         + correct an off-by-one error in m_driver() for mouse-clicks used to
944           position the mouse to a particular item.
945         + implement test/demo_menus.c
946         + add some checks in lib_mouse to ensure SP is set.
947         + modify C++ binding to make 20050403 changes work with the configure
948           --enable-const option.
949
950 20050403
951         + modify start_color() to return ERR if it cannot allocate memory.
952         + address g++ compiler warnings in C++ binding by adding explicit
953           member initialization, assignment operators and copy constructors.
954           Most of the changes simply preserve the existing semantics of the
955           binding, which can leak memory, etc., but by making these features
956           visible, it provides a framework for improving the binding.
957         + improve C++ binding using static_cast, etc.
958         + modify configure script --enable-warnings to add options to g++ to
959           correspond to the gcc --enable-warnings.
960         + modify C++ binding to use some C internal functions to make it
961           compile properly on Solaris (and other platforms).
962
963 20050327
964         + amend change from 20050320 to limit it to configurations with a
965           valid locale.
966         + fix a bug introduced in 20050320 which broke the translation of
967           nonprinting characters to uparrow form (report by Takahashi Tamotsu).
968
969 20050326
970         + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
971           chtype and mmask_t, but add configure option --disable-lp64 in case
972           anyone used that configuration.
973         + update misc/shlib script to account for Mac OS X (report by Michail
974           Vidiassov).
975         + correct comparison for wrapping multibyte characters in
976           waddch_literal() (report by Takahashi Tamotsu).
977
978 20050320
979         + add -c and -w options to tset to allow user to suppress ncurses'
980           resizing of the terminal emulator window in the special case where it
981           is not able to detect the true size (report by Win Delvaux, Debian
982           #300419).
983         + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
984           codes 128-159 as part of multibyte characters (report by Wang
985           WenRui, Debian #300512).
986
987 20050319
988         + modify ncurses.c 'd' test to make it work with 88-color
989           configuration, i.e., by implementing scrolling.
990         + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
991           configuration.
992
993 20050312
994         + change tracemunch to use strict checking.
995         + modify ncurses.c 'p' test to test line-drawing within a pad.
996         + implement environment variable NCURSES_NO_UTF8_ACS to support
997           miscellaneous terminal emulators which ignore alternate character
998           set escape sequences when in UTF-8 mode.
999
1000 20050305
1001         + change NCursesWindow::err_handler() to a virtual function (request by
1002           Steve Beal).
1003         + modify fty_int.c and fty_num.c to handle wide characters (report by
1004           Wolfgang Gutjahr).
1005         + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
1006           and wide characters inconsistently (report by Wolfgang Gutjahr).
1007         + update llib-* files to reflect internal interface additions/changes.
1008
1009 20050226
1010         + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
1011           from lynx.
1012         + add aixterm-16color terminfo entry -TD
1013         + modified xterm-new terminfo entry to work with tgetent() changes -TD
1014         + extended changes in tgetent() from 20040710 to allow the substring of
1015           sgr0 which matches rmacs to be at the beginning of the sgr0 string
1016           (request by Thomas Wolff).  Wolff says the visual effect in
1017           combination with pre-20040710 ncurses is improved.
1018         + fix off-by-one in winnstr() call which caused form field validation
1019           of multibyte characters to ignore the last character in a field.
1020         + correct logic in winsch() for inserting multibyte strings; the code
1021           would clear cells after the insertion rather than push them to the
1022           right (cf: 20040228).
1023         + fix an inconsistency in Check_Alpha_Field() between normal and wide
1024           character logic (report by Wolfgang Gutjahr).
1025
1026 20050219
1027         + fix a bug in editing wide-characters in form library: deleting a
1028           nonwide character modified the previous wide-character.
1029         + update manpage to describe NCURSES_MOUSE_VERSION 2.
1030         + correct manpage description of mouseinterval() (Debian #280687).
1031         + add a note to default_colors.3x explaining why this extension was
1032           added (Debian #295083).
1033         + add traces to panel library.
1034
1035 20050212
1036         + improve editing of wide-characters in form library:  left/right
1037           cursor movement, and single-character deletions work properly.
1038         + disable GPM mouse support when $TERM happens to be prefixed with
1039           "xterm".  Gpm_Open() would otherwise assert that it can deal with
1040           mouse events in this case.
1041         + modify GPM mouse support so it closes the server connection when
1042           the caller disables the mouse (report by Stanislav Ievlev).
1043
1044 20050205
1045         + add traces for callback functions in form library.
1046         + add experimental configure option --enable-ext-mouse, which defines
1047           NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
1048           support wheel mice, which may transmit buttons 4 and 5.  This works
1049           with xterm and similar X terminal emulators (prompted by question by
1050           Andreas Henningsson, this is also related to Debian #230990).
1051         + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
1052           avoid redefinition warnings on cygwin.
1053
1054 20050129
1055         + merge remaining development changes for extended colors (mostly
1056           complete, does not appear to break other configurations).
1057         + add xterm-88color.dat (part of extended colors testing).
1058         + improve _tracedump() handling of color pairs past 96.
1059         + modify return-value from start_color() to return OK if colors have
1060           already been started.
1061         + modify curs_color.3x list error conditions for init_pair(),
1062           pair_content() and color_content().
1063         + modify pair_content() to return -1 for consistency with init_pair()
1064           if it corresponds to the default-color.
1065         + change internal representation of default-color to allow application
1066           to use color number 255.  This does not affect the total number of
1067           color pairs which are allowed.
1068         + add a top-level tags rule.
1069
1070 20050122
1071         + add a null-pointer check in wgetch() in case it is called without
1072           first calling initscr().
1073         + add some null-pointer checks for SP, which is not set by libtinfo.
1074         + modify misc/shlib to ensure that absolute pathnames are used.
1075         + modify test/Makefile.in, etc., to link test programs only against the
1076           libraries needed, e.g., omit form/menu/panel library for the ones
1077           that are curses-specific.
1078         + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
1079           libtinfo.so and libtinfow.so have the same ABI.  The reason for this
1080           is that the corresponding data which belongs to the upper-level
1081           ncurses library has a different size in each model (report by
1082           Stanislav Ievlev).
1083
1084 20050115
1085         + minor fixes to allow test-compiles with g++.
1086         + correct column value shown in tic's warnings, which did not account
1087           for leading whitespace.
1088         + add a check in _nc_trans_string() for improperly ended strings, i.e.,
1089           where a following line begins in column 1.
1090         + modify _nc_save_str() to return a null pointer on buffer overflow.
1091         + improve repainting while scrolling wide-character data (Eungkyu Song).
1092
1093 20050108
1094         + merge some development changes to extend color capabilities.
1095
1096 20050101
1097         + merge some development changes to extend color capabilities.
1098         + fix manpage typo (FreeBSD report docs/75544).
1099         + update config.guess, config.sub
1100         > patches for configure script (Albert Chin-A-Young):
1101         + improved fix to make mbstate_t recognized on HPUX 11i (cf:
1102           20030705), making vsscanf() prototype visible on IRIX64.  Tested for
1103           on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
1104           IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
1105         + print the result of the --disable-home-terminfo option.
1106         + use -rpath when compiling with SGI C compiler.
1107
1108 20041225
1109         + add trace calls to remaining public functions in form and menu
1110           libraries.
1111         + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
1112         + fix typo in test/ncurses.c 'c' test from 20041218.
1113
1114 20041218
1115         + revise test/ncurses.c 'c' color test to improve use for xterm-88color
1116           and xterm-256color, added 'C' test using the wide-character color_set
1117           and attr_set functions.
1118
1119 20041211
1120         + modify configure script to work with Intel compiler.
1121         + fix an limit-check in wadd_wchnstr() which caused labels in the
1122           forms-demo to be one character short.
1123         + fix typo in curs_addchstr.3x (Jared Yanovich).
1124         + add trace calls to most functions in form and menu libraries.
1125         + update working-position for adding wide-characters when window is
1126           scrolled (prompted by related report by Eungkyu Song).
1127
1128 20041204
1129         + replace some references on Linux to wcrtomb() which use it to obtain
1130           the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
1131           broken in glibc (see Debian #284260).
1132         + corrected length-computation in wide-character support for
1133           field_buffer().
1134         + some fixes to frm_driver.c to allow it to accept multibyte input.
1135         + modify configure script to work with Intel 8.0 compiler.
1136
1137 20041127
1138         + amend change to setupterm() in 20030405 which would reuse the value
1139           of cur_term if the same output was selected.  This now reuses it only
1140           when setupterm() is called from tgetent(), which has no notion of
1141           separate SCREENs.  Note that tgetent() must be called after initscr()
1142           or newterm() to use this feature (Redhat Bugzilla #140326).
1143         + add a check in CF_BUILD_CC macro to ensure that developer has given
1144           the --with-build-cc option when cross-compiling (report by Alexandre
1145           Campo).
1146         + improved configure script checks for _XOPEN_SOURCE and
1147           _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
1148           updates from lynx).
1149         + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
1150           for consistency (comment by Dan Nelson).
1151
1152 20041120
1153         + update wsvt25 terminfo entry -TD
1154         + modify test/ins_wide.c to test all flavors of ins_wstr().
1155         + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
1156           which consists of multi-column characters, since this function
1157           constructs them (cf: 20041023).
1158         + modify winnstr() to return multibyte character strings for the
1159           wide-character configuration.
1160
1161 20041106
1162         + fixes to make slk_set() and slk_wset() accept and store multibyte
1163           or multicolumn characters.
1164
1165 20041030
1166         + improve color optimization a little by making _nc_do_color() check
1167           if the old/new pairs are equivalent to the default pair 0.
1168         + modify assume_default_colors() to not require that
1169           use_default_colors() be called first.
1170
1171 20041023
1172         + modify term_attrs() to use termattrs(), add the extended attributes
1173           such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
1174         + add logic in waddch_literal() to clear orphaned cells when one
1175           multi-column character partly overwrites another.
1176         + improved logic for clearing cells when a multi-column character
1177           must be wrapped to a new line.
1178         + revise storage of cells for multi-column characters to correct a
1179           problem with repainting.  In the old scheme, it was possible for
1180           doupdate() to decide that only part of a multi-column character
1181           should be repainted since the filler cells stored only an attribute
1182           to denote them as fillers, rather than the character value and the
1183           attribute.
1184
1185 20041016
1186         + minor fixes for traces.
1187         + add SP->_screen_acs_map[], used to ensure that mapping of missing
1188           line-drawing characters is handled properly.  For example, ACS_DARROW
1189           is absent from xterm-new, and it was coincidentally displayed the
1190           same as ACS_BTEE.
1191
1192 20041009
1193         + amend 20021221 workaround for broken acs to reset the sgr, rmacs
1194           and smacs strings as well.  Also modify the check for screen's
1195           limitations in that area to allow the multi-character shift-in
1196           and shift-out which seem to work.
1197         + change GPM initialization, using dl library to load it dynamically
1198           at runtime (Debian #110586).
1199
1200 20041002
1201         + correct logic for color pair in setcchar() and getcchar() (patch by
1202           Marcin 'Qrczak' Kowalczyk).
1203         + add t/T commands to ncurses b/B tests to allow a different color to
1204           be tested for the attrset part of the test than is used in the
1205           background color.
1206
1207 20040925
1208         + fix to make setcchar() to work when its wchar_t* parameter is
1209           pointing to a string which contains more data than can be converted.
1210         + modify wget_wstr() and example in ncurses.c to work if wchar_t and
1211           wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
1212
1213 20040918
1214         + remove check in wget_wch() added to fix an infinite loop, appears to
1215           have been working around a transitory glibc bug, and interferes
1216           with normal operation (report by Marcin 'Qrczak' Kowalczyk).
1217         + correct wadd_wch() and wecho_wch(), which did not pass the rendition
1218           information (report by Marcin 'Qrczak' Kowalczyk).
1219         + fix aclocal.m4 so that the wide-character version of ncurses gets
1220           compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
1221           (adapted from patch by James J Ramsey).
1222         + change configure script for --with-caps option to indicate that it
1223           is no longer experimental.
1224         + change configure script to reflect the fact that --enable-widec has
1225           not been "experimental" since 5.3 (report by Bruno Lustosa).
1226
1227 20040911
1228         + add 'B' test to ncurses.c, to exercise some wide-character functions.
1229
1230 20040828
1231         + modify infocmp -i option to match 8-bit controls against its table
1232           entries, e.g., so it can analyze the xterm-8bit entry.
1233         + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
1234         + correct translation of "%%" in terminfo format to termcap, e.g.,
1235           using "tic -C" (Redhat Bugzilla #130921).
1236         + modified configure script CF_XOPEN_SOURCE macro to ensure that if
1237           it defines _POSIX_C_SOURCE, that it defines it to a specific value
1238           (comp.os.stratus newsgroup comment).
1239
1240 20040821
1241         + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
1242           fatal, and gnat does not follow the guidelines for pragmas).
1243           However that did find a coding error in Assume_Default_Colors().
1244         + modify several terminfo entries to ensure xterm mouse and cursor
1245           visibility are reset in rs2 string:  hurd, putty, gnome,
1246           konsole-base, mlterm, Eterm, screen (Debian #265784, #55637).  The
1247           xterm entries are left alone - old ones for compatibility, and the
1248           new ones do not require this change. -TD
1249
1250 20040814
1251         + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
1252           and window managers (Debian #265631).
1253         > terminfo updates -TD
1254         + remove dch/dch1 from rxvt because they are implemented inconsistently
1255           with the common usage of bce/ech
1256         + remove khome from vt220 (vt220's have no home key)
1257         + add rxvt+pcfkeys
1258
1259 20040807
1260         + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
1261           combinations of video attributes so that for instance bold and
1262           underline can be tested.  This made the legend too crowded, added
1263           a help window as well.
1264         + modify test/ncurses.c 'b' test to cycle through default colors if
1265           the -d option is set.
1266         + update putty terminfo entry (Robert de Bath).
1267
1268 20040731
1269         + modify test/cardfile.c to allow it to read more data than can be
1270           displayed.
1271         + correct logic in resizeterm.c which kept it from processing all
1272           levels of window hierarchy (reports by Folkert van Heusden,
1273           Chris Share).
1274
1275 20040724
1276         + modify "tic -cv" to ignore delays when comparing strings.  Also
1277           modify it to ignore a canceled sgr string, e.g., for terminals which
1278           cannot properly combine attributes in one control sequence.
1279         + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
1280           patch by Hans de Goede)
1281         > terminfo updates -TD
1282         + make ncsa-m rmacs/smacs consistent with sgr
1283         + add sgr, rc/sc and ech to syscons entries
1284         + add function-keys to decansi
1285         + add sgr to mterm-ansi
1286         + add sgr, civis, cnorm to emu
1287         + correct/simplify cup in addrinfo
1288
1289 20040717
1290         > terminfo updates -TD
1291         + add xterm-pc-fkeys
1292         + review/update gnome and gnome-rh90 entries (prompted by Redhat
1293           Bugzilla #122815).
1294         + review/update konsole entries
1295         + add sgr, correct sgr0 for kterm and mlterm
1296         + correct tsl string in kterm
1297
1298 20040711
1299         + add configure option --without-xterm-new
1300
1301 20040710
1302         + add check in wget_wch() for printable bytes that are not part of a
1303           multibyte character.
1304         + modify wadd_wchnstr() to render text using window's background
1305           attributes.
1306         + improve tic's check to compare sgr and sgr0.
1307         + fix c++ directory's .cc.i rule.
1308         + modify logic in tgetent() which adjusts the termcap "me" string
1309           to work with ISO-2022 string used in xterm-new (cf: 20010908).
1310         + modify tic's check for conflicting function keys to omit that if
1311           converting termcap to termcap format.
1312         + add -U option to tic and infocmp.
1313         + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
1314         > terminfo updates -TD
1315         + minor fixes for emu
1316         + add emu-220
1317         + change wyse acsc strings to use 'i' map rather than 'I'
1318         + fixes for avatar0
1319         + fixes for vp3a+
1320
1321 20040703
1322         + use tic -x to install terminfo database -TD
1323         + add -x to infocmp's usage message.
1324         + correct field used for comparing O_ROWMAJOR in set_menu_format()
1325           (report/patch by Tony Li).
1326         + fix a missing nul check in set_field_buffer() from 20040508 changes.
1327         > terminfo updates -TD
1328           + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
1329             xterm-basic -TD
1330           + align with xterm patch #192's use of xterm-new -TD
1331           + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
1332           + make xterm-new the default "xterm" entry -TD
1333
1334 20040626
1335         + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
1336           cross-compiling from a separate directory tree (report/patch by
1337           Dan Engel).
1338         + modify is_term_resized() to ensure that window sizes are nonzero,
1339           as documented in the manpage (report by Ian Collier).
1340         + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
1341           (Debian #249214, report/patch by Jeff Bailey).
1342         + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
1343         + update config.guess, config.sub
1344         > terminfo updates -TD
1345           + add mlterm
1346           + add xterm-xf86-v44
1347           + modify xterm-new aka xterm-xfree86 to accommodate luit, which
1348             relies on G1 being used via an ISO-2022 escape sequence (report by
1349             Juliusz Chroboczek)
1350           + add 'hurd' entry
1351
1352 20040619
1353         + reconsidered winsnstr(), decided after comparing other
1354           implementations that wrapping is an X/Open documentation error.
1355         + modify test/inserts.c to test all flavors of insstr().
1356
1357 20040605
1358         + add setlocale() calls to a few test programs which may require it:
1359           demo_forms.c, filter.c, ins_wide.c, inserts.c
1360         + correct a few misspelled function names in ncurses-intro.html (report
1361           by Tony Li).
1362         + correct internal name of key_defined() manpage, which conflicted with
1363           define_key().
1364
1365 20040529
1366         + correct size of internal pad used for holding wide-character
1367           field_buffer() results.
1368         + modify data_ahead() to work with wide-characters.
1369
1370 20040522
1371         + improve description of terminfo if-then-else expressions (suggested
1372           by Arne Thomassen).
1373         + improve test/ncurses.c 'd' test, allow it to use external file for
1374           initial palette (added xterm-16color.dat and linux-color.dat), and
1375           reset colors to the initial palette when starting/ending the test.
1376         + change limit-check in init_color() to allow r/g/b component to
1377           reach 1000 (cf: 20020928).
1378
1379 20040516
1380         + modify form library to use cchar_t's rather than char's in the
1381           wide-character configuration for storing data for field buffers.
1382         + correct logic of win_wchnstr(), which did not work for more than
1383           one cell.
1384
1385 20040508
1386         + replace memset/memcpy usage in form library with for-loops to
1387           simplify changing the datatype of FIELD.buf, part of wide-character
1388           changes.
1389         + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
1390
1391 20040501
1392         + modify menu library to account for actual number of columns used by
1393           multibyte character strings, in the wide-character configuration
1394           (adapted from patch by Philipp Tomsich).
1395         + add "-x" option to infocmp like tic's "-x", for use in "-F"
1396           comparisons.  This modifies infocmp to only report extended
1397           capabilities if the -x option is given, making this more consistent
1398           with tic.  Some scripts may break, since infocmp previous gave this
1399           information without an option.
1400         + modify termcap-parsing to retain 2-character aliases at the beginning
1401           of an entry if the "-x" option is used in tic.
1402
1403 20040424
1404         + minor compiler-warning and test-program fixes.
1405
1406 20040417
1407         + modify tic's missing-sgr warning to apply to terminfo only.
1408         + free some memory leaks in tic.
1409         + remove check in post_menu() that prevented menus from extending
1410           beyond the screen (request by Max J. Werner).
1411         + remove check in newwin() that prevents allocating windows
1412           that extend beyond the screen.  Solaris curses does this.
1413         + add ifdef in test/color_set.c to allow it to compile with older
1414           curses.
1415         + add napms() calls to test/dots.c to make it not be a CPU hog.
1416
1417 20040403
1418         + modify unctrl() to return null if its parameter does not correspond
1419           to an unsigned char.
1420         + add some limit-checks to guard isprint(), etc., from being used on
1421           values that do not fit into an unsigned char (report by Sami Farin).
1422
1423 20040328
1424         + fix a typo in the _nc_get_locale() change.
1425
1426 20040327
1427         + modify _nc_get_locale() to use setlocale() to query the program's
1428           current locale rather than using getenv().  This fixes a case in tin
1429           which relies on legacy treatment of 8-bit characters when the locale
1430           is not initialized (reported by Urs Jansen).
1431         + add sgr string to screen's and rxvt's terminfo entries -TD.
1432         + add a check in tic for terminfo entries having an sgr0 but no sgr
1433           string.  This confuses Tru64 and HPUX curses when combined with
1434           color, e.g., making them leave line-drawing characters in odd places.
1435         + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
1436           original definitions used in Debian package to fix PowerPC bug before
1437           20030802 (Debian #237629).
1438
1439 20040320
1440         + modify PutAttrChar() and PUTC() macro to improve use of
1441           A_ALTCHARSET attribute to prevent line-drawing characters from
1442           being lost in situations where the locale would otherwise treat the
1443           raw data as nonprintable (Debian #227879).
1444
1445 20040313
1446         + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
1447           by Jim Idle).
1448         + remove ".PP" after ".SH NAME" in a few manpages; this confuses
1449           some apropos script (Debian #237831).
1450
1451 20040306
1452         + modify ncurses.c 'r' test so editing commands, like inserted text,
1453           set the field background, and the state of insert/overlay editing
1454           mode is shown in that test.
1455         + change syntax of dummy targets in Ada95 makefiles to work with pmake.
1456         + correct logic in test/ncurses.c 'b' for noncolor terminals which
1457           did not recognize a quit-command (cf: 20030419).
1458
1459 20040228
1460         + modify _nc_insert_ch() to allow for its input to be part of a
1461           multibyte string.
1462         + split out lib_insnstr.c, to prepare to rewrite it.  X/Open states
1463           that this function performs wrapping, unlike all of the other
1464           insert-functions.  Currently it does not wrap.
1465         + check for nl_langinfo(CODESET), use it if available (report by
1466           Stanislav Ievlev).
1467         + split-out CF_BUILD_CC macro, actually did this for lynx first.
1468         + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
1469           which happened to work with bash, but not with Bourne shell (report
1470           by Marco d'Itri via tin-dev).
1471
1472 20040221
1473         + some changes to adapt the form library to wide characters, incomplete
1474           (request by Mike Aubury).
1475         + add symbol to curses.h which can be used to suppress include of
1476           stdbool.h, e.g.,
1477                 #define NCURSES_ENABLE_STDBOOL_H 0
1478                 #include <curses.h>
1479           (discussion on XFree86 mailing list).
1480
1481 20040214
1482         + modify configure --with-termlib option to accept a value which sets
1483           the name of the terminfo library.  This would allow a packager to
1484           build libtinfow.so renamed to coincide with libtinfo.so (discussion
1485           with Stanislav Ievlev).
1486         + improve documentation of --with-install-prefix, --prefix and
1487           $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
1488         + add configure check if the compiler can use -c -o options to rename
1489           its output file, use that to omit the 'cd' command which was used to
1490           ensure object files are created in a separate staging directory
1491           (prompted by comments by Johnny Wezel, Martin Mokrejs).
1492
1493 20040208 5.4 release for upload to ftp.gnu.org
1494         + update TO-DO.
1495
1496 20040207 pre-release
1497         + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
1498           and do not count %d if it follows a %p.
1499         + correct an inconsistency between handling of codes in the 128-255
1500           range, e.g., as illustrated by test/ncurses.c f/F tests.  In POSIX
1501           locale, the latter did not show printable results, while the former
1502           did.
1503         + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
1504           OS X, which alters "%%" to "% % " (report by Robert Simms, fix
1505           verified by Scott Corscadden).
1506
1507 20040131 pre-release
1508         + modify SCREEN struct to align it between normal/wide curses flavors
1509           to simplify future changes to build a single version of libtinfo
1510           (patch by Stanislav Ievlev).
1511         + document handling of carriage return by addch() in manpage.
1512         + document special features of unctrl() in manpage.
1513         + documented interface changes in INSTALL.
1514         + corrected control-char test in lib_addch.c to account for locale
1515           (Debian #230335, cf: 971206).
1516         + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
1517         + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
1518         + minor configure-script fixes for older ports, e.g., BeOS R4.5.
1519
1520 20040125 pre-release
1521         + amend change to PutAttrChar() from 20030614 which computed the number
1522           of cells for a possibly multi-cell character.  The 20030614 change
1523           forced the cell to a blank if the result from wcwidth() was not
1524           greater than zero.  However, wcwidth() called for parameters in the
1525           range 128-255 can give this return value.  The logic now simply
1526           ensures that the number of cells is greater than zero without
1527           modifying the displayed value.
1528
1529 20040124 pre-release
1530         + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
1531         + modify configure script check for ranlib to use AC_CHECK_TOOL, since
1532           that works better for cross-compiling.
1533
1534 20040117 pre-release
1535         + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
1536           work around core dump in Solaris 8's locale support, e.g., for
1537           zh_CN.GB18030 (report by Saravanan Bellan).
1538         + add includes for <stdarg.h> and <stdio.h> in configure script macro
1539           to make <wchar.h> check work with Tru64 4.0d.
1540         + add terminfo entry for U/Win -TD
1541         + add terminfo entries for SFU aka Interix aka OpenNT (Federico
1542           Bianchi).
1543         + modify tput's error messages to prefix them with the program name
1544           (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
1545           #227586)).
1546         + correct a place in tack where exit_standout_mode was used instead of
1547           exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
1548         + modify c++/cursesf.h to use const in the Enumeration_Field method.
1549         + remove an ambiguous (actually redundant) method from c++/cursesf.h
1550         + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
1551         + improve sed script which extracts libtool's version in the
1552           CF_WITH_LIBTOOL macro.
1553         + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
1554           simplify local patch for Albert Chin-A-Young)..
1555         + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
1556           patch by Albert Chin-A-Young)..
1557         + fix a missing substitution in configure.in for "$target" needed for
1558           HPUX .so/.sl case.
1559         + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
1560           NetBSD 1.6 conflicts with _XOPEN_SOURCE.
1561         + make check for stdbool.h more specific, to ensure that including it
1562           will actually define/declare bool for the configured compiler.
1563         + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool.  The
1564           intention of that is to #define NCURSES_BOOL as bool when the
1565           compiler declares bool, and to #define bool as NCURSES_BOOL when it
1566           does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
1567
1568 20040110 pre-release
1569         + change minor version to 4, i.e., ncurses 5.4
1570         + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
1571           Sittler).
1572         + simplified ncurses/base/version.c by defining the result from the
1573           configure script rather than using sprintf (suggested by Stanislav
1574           Ievlev).
1575         + remove obsolete casts from c++/cursesw.h (reported by Stanislav
1576           Ievlev).
1577         + modify configure script so that when configuring for termlib, programs
1578           such as tic are not linked with the upper-level ncurses library
1579           (suggested by Stanislav Ievlev).
1580         + move version.c from ncurses/base to ncurses/tinfo to allow linking
1581           of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
1582
1583 20040103
1584         + adjust -D's to build ncursesw on OpenBSD.
1585         + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
1586         + add pecho_wchar().
1587         + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
1588           available) on older platforms.
1589
1590 20031227
1591         + add -D's to build ncursew on FreeBSD 5.1.
1592         + modify shared library configuration for FreeBSD 4.x/5.x to add the
1593           soname information (request by Marc Glisse).
1594         + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
1595           for limiting the length of a filename in the terminfo database.
1596         + modify termname() to return the terminal name used by setupterm()
1597           rather than $TERM, without truncating to 14 characters as documented
1598           by X/Open (report by Stanislav Ievlev, cf:  970719).
1599         + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
1600
1601 20031220
1602         + add configure option --with-manpage-format=catonly to address
1603           behavior of BSDI, allow install of man+cat files on NetBSD, whose
1604           behavior has diverged by requiring both to be present.
1605         + remove leading blanks from comment-lines in manlinks.sed script to
1606           work with Tru64 4.0d.
1607         + add screen.linux terminfo entry (discussion on mutt-users mailing
1608           list).
1609
1610 20031213
1611         + add a check for tic to flag missing backslashes for termcap
1612           continuation lines.  ncurses reads the whole entry, but termcap
1613           applications do not.
1614         + add configure option "--with-manpage-aliases" extending
1615           "--with-manpage-aliases" to provide the option of generating ".so"
1616           files rather than symbolic links for manpage aliases.
1617         + add bool definition in include/curses.h.in for configurations with no
1618           usable C++ compiler (cf: 20030607).
1619         + fix pathname of SigAction.h for building with --srcdir (reported by
1620           Mike Castle).
1621
1622 20031206
1623         + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
1624           since that header is used only within ncurses/tty/lib_tstp.c, for
1625           non-POSIX systems (discussion with Stanislav Ievlev).
1626         + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
1627           <inger@altlinux.org>).
1628         + add test/background.c and test/color_set.c
1629         + modify color_set() function to work with color pair 0 (report by
1630           George Andreou <gbandreo@tem.uoc.gr>).
1631         + add configure option --with-trace, since defining TRACE seems too
1632           awkward for some cases.
1633         + remove a call to _nc_free_termtype() from read_termtype(), since the
1634           corresponding buffer contents were already zeroed by a memset (cf:
1635           20000101).
1636         + improve configure check for _XOPEN_SOURCE and related definitions,
1637           adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
1638           __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
1639         + small fixes to compile on Solaris and IRIX64 using cc.
1640         + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
1641           (cf: 20031101).
1642
1643 20031129
1644         + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
1645           values (Philippe Blain).
1646         + improve the nanosleep() logic in napms() by checking for EINTR and
1647           restarting (Philippe Blain).
1648         + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
1649           <mooz@welho.com>).
1650
1651 20031122
1652         + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
1653         + allow "\|" escape in terminfo; tic should not warn about this.
1654         + save the full pathname of the trace-file the first time it is opened,
1655           to avoid creating it in different directories if the application
1656           opens and closes it while changing its working directory.
1657         + modify configure script to provide a non-empty default for
1658           $BROKEN_LINKER
1659
1660 20031108
1661         + add DJGPP to special case of DOS-style drive letters potentially
1662           appearing in TERMCAP environment variable.
1663         + fix some spelling in comments (reports by Jason McIntyre, Jonathon
1664           Gray).
1665         + update config.guess, config.sub
1666
1667 20031101
1668         + fix a memory leak in error-return from setupterm() (report by
1669           Stanislav Ievlev <inger@altlinux.org>).
1670         + use EXEEXT and OBJEXT consistently in makefiles.
1671         + amend fixes for cross-compiling to use separate executable-suffix
1672           BUILD_EXEEXT (cf: 20031018).
1673         + modify MKkey_defs.sh to check for sort utility that does not
1674           recognize key options, e.g., busybox (report by Peter S Mazinger
1675           <ps.m@gmx.net>).
1676         + fix potential out-of-bounds indexing in _nc_infotocap() (found by
1677           David Krause using some of the new malloc debugging features
1678           under OpenBSD, patch by Ted Unangst).
1679         + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
1680           ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
1681
1682 20031025
1683         + update terminfo for xterm-xfree86 -TD
1684         + add check for multiple "tc=" clauses in a termcap to tic.
1685         + check for missing op/oc in tic.
1686         + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
1687           tic to show cancelled capabilities.  These functions were ignoring
1688           the state of the target entry, which should be untouched if cancelled.
1689         + correct comment in tack/output.c (Debian #215806).
1690         + add some null-pointer checks to lib_options.c (report by Michael
1691           Bienia).
1692         + regenerated html documentation.
1693         + correction to tar-copy.sh, remove a trap command that resulted in
1694           leaving temporary files (cf: 20030510).
1695         + remove contact/maintainer addresses for Juergen Pfeifer (his request).
1696
1697 20031018
1698         + updated test/configure to reflect changes for libtool (cf: 20030830).
1699         + fix several places in tack/pad.c which tested and used the parameter-
1700           and parameterless strings inconsistently, i.e., in pad_rin(),
1701           pad_il(), pad_indn() and pad_dl() (Debian #215805).
1702         + minor fixes for configure script and makefiles to cleanup executables
1703           generated when cross-compiling for DJGPP.
1704         + modify infocmp to omit check for $TERM for operations that do not
1705           require it, e.g., "infocmp -e" used to build fallback list (report by
1706           Koblinger Egmont).
1707
1708 20031004
1709         + add terminfo entries for DJGPP.
1710         + updated note about maintainer in ncurses-intro.html
1711
1712 20030927
1713         + update terminfo entries for gnome terminal.
1714         + modify tack to reset colors after each color test, correct a place
1715           where exit_standout_mode was used instead of exit_attribute_mode.
1716         + improve tack's bce test by making it set colors other than black
1717           on white.
1718         + plug a potential recursion between napms() and _nc_timed_wait()
1719           (report by Philippe Blain).
1720
1721 20030920
1722         + add --with-rel-version option to allow workaround to allow making
1723           libtool on Darwin generate the "same" library names as with the
1724           --with-shared option.  The Darwin ld program does not work well
1725           with a zero as the minor-version value (request by Chris Zubrzycki).
1726         + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
1727         + modify tack to allow it to run from fallback terminfo data.
1728         > patch by Philippe Blain:
1729         + improve PutRange() by adjusting call to EmitRange() and corresponding
1730           return-value to not emit unchanged characters on the end of the
1731           range.
1732         + improve a check for changed-attribute by exiting a loop when the
1733           change is found.
1734         + improve logic in TransformLine(), eliminating a duplicated comparison
1735           in the clr_bol logic.
1736
1737 20030913
1738         > patch by Philippe Blain:
1739         + in ncurses/tty/lib_mvcur.c,
1740           move the label 'nonlocal' just before the second gettimeofday() to
1741           be able to compute the diff time when 'goto nonlocal' used.
1742           Rename 'msec' to 'microsec' in the debug-message.
1743         + in ncurses/tty/lib_mvcur.c,
1744           Use _nc_outch() in carriage return/newline movement instead of
1745           putchar() which goes to stdout.  Move test for xold>0 out of loop.
1746         + in ncurses/tinfo/setbuf.c,
1747           Set the flag SP->_buffered at the end of operations when all has been
1748           successful (typeMalloc can fail).
1749         + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
1750
1751 20030906
1752         + modify configure script to avoid using "head -1", which does not
1753           work if POSIXLY_CORRECT (sic) is set.
1754         + modify run_tic.in to avoid using wrong shared libraries when
1755           cross-compiling (Dan Kegel).
1756
1757 20030830
1758         + alter configure script help message to make it clearer that
1759           --with-build-cc does not specify a cross-compiler (suggested by Dan
1760           Kegel <dank@kegel.com>).
1761         + modify configure script to accommodate libtool 1.5, as well as add an
1762           parameter to the "--with-libtool" option which can specify the
1763           pathname of libtool (report by Chris Zubrzycki).  We note that
1764           libtool 1.5 has more than one bug in its C++ support, so it is not
1765           able to install libncurses++, for instance, if $DESTDIR or the option
1766           --with-install-prefix is used.
1767
1768 20030823
1769         > patch by Philippe Blain:
1770         + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
1771         + make baudrate computation in delay_output() consistent with the
1772           assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
1773
1774 20030816
1775         + modify logic in waddch_literal() to take into account zh_TW.Big5
1776           whose multibyte sequences may contain "printable" characters, e.g.,
1777           a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
1778         + improve storage used by _nc_safe_strcpy() by ensuring that the size
1779           is reset based on the initialization call, in case it were called
1780           after other strcpy/strcat calls (report by Philippe Blain).
1781         > patch by Philippe Blain:
1782         + remove an unused ifdef for REAL_ATTR & WANT_CHAR
1783         + correct a place where _cup_cost was used rather than _cuu_cost
1784
1785 20030809
1786         + fix a small memory leak in _nc_free_termtype().
1787         + close trace-file if trace() is called with a zero parameter.
1788         + free memory allocated for soft-key strings, in delscreen().
1789         + fix an allocation size in safe_sprintf.c for the "*" format code.
1790         + correct safe_sprintf.c to not return a null pointer if the format
1791           happens to be an empty string.  This applies to the "configure
1792           --enable-safe-sprintf" option (Redhat #101486).
1793
1794 20030802
1795         + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
1796           Daniel Jacobowitz).
1797         > patch by Philippe Blain:
1798         + change padding for change_scroll_region to not be proportional to
1799           the size of the scroll-region.
1800         + correct error-return in _nc_safe_strcat().
1801
1802 20030726
1803         + correct limit-checks in _nc_scroll_window() (report and test-case by
1804           Thomas Graf <graf@dms.at> cf: 20011020).
1805         + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
1806           _GNU_SOURCE check.
1807
1808 20030719
1809         + use clr_eol in preference to blanks for bce terminals, so select and
1810           paste will have fewer trailing blanks, e.g., when using xterm
1811           (request by Vincent Lefevre).
1812         + correct prototype for wunctrl() in manpage.
1813         + add configure --with-abi-version option (discussion with Charles
1814           Wilson).
1815         > cygwin changes from Charles Wilson:
1816           + aclocal.m4: on cygwin, use autodetected prefix for import
1817             and static lib, but use "cyg" for DLL.
1818           + include/ncurses_dll.h: correct the comments to reflect current
1819             status of cygwin/mingw port.  Fix compiler warning.
1820           + misc/run_tic.in: ensure that tic.exe can find the uninstalled
1821             DLL, by adding the lib-directory to the PATH variable.
1822           + misc/terminfo.src (nxterm|xterm-color): make xterm-color
1823             primary instead of nxterm, to match XFree86's xterm.terminfo
1824             usage and to prevent circular links.
1825             (rxvt): add additional codes from rxvt.org.
1826             (rxvt-color): new alias
1827             (rxvt-xpm): new alias
1828             (rxvt-cygwin): like rxvt, but with special acsc codes.
1829             (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
1830             with a "native" MSWin GUI.  Each takes different acsc codes,
1831             which are both different from the "normal" rxvt's acsc.
1832             (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
1833             (cygwinDBG): ditto.
1834           + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
1835             and static libs.
1836
1837 20030712
1838         + update config.guess, config.sub
1839         + add triples for configuring shared libraries with the Debian
1840           GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
1841
1842 20030705
1843         + modify CF_GCC_WARNINGS so it only applies to gcc, not g++.  Some
1844           platforms have installed g++ along with the native C compiler, which
1845           would not accept gcc warning options.
1846         + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
1847           get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
1848         + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
1849         + correct a sign-extension in wadd_wch() and wecho_wchar() from
1850           20030628 (report by Tomohiro Kubota).
1851         + work around omission of btowc() and wctob() from wide-character
1852           support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
1853           Gabor Z Papp).
1854         + add portability note to curs_get_wstr.3x (Debian #199957).
1855
1856 20030628
1857         + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
1858           respectively, to avoid calling waddch_noecho() with wide-character
1859           data, since that function assumes its input is 8-bit data.
1860           Similarly, modify waddnwstr() to call wadd_wch().
1861         + remove logic from waddnstr() which transformed multibyte character
1862           strings into wide-characters.  Rewrite of waddch_literal() from
1863           20030621 assumes its input is raw multibyte data rather than wide
1864           characters (report by Tomohiro Kubota).
1865
1866 20030621
1867         + write getyx() and related 2-return macros in terms of getcury(),
1868           getcurx(), etc.
1869         + modify waddch_literal() in case an application passes bytes of a
1870           multibyte character directly to waddch().  In this case, waddch()
1871           must reassemble the bytes into a wide-character (report by Tomohiro
1872           Kubota <kubota@debian.org>).
1873
1874 20030614
1875         + modify waddch_literal() in case a multibyte value occupies more than
1876           two cells.
1877         + modify PutAttrChar() to compute the number of character cells that
1878           are used in multibyte values.  This fixes a problem displaying
1879           double-width characters (report/test by Mitsuru Chinen
1880           <mchinen@yamato.ibm.com>).
1881         + add a null-pointer check for result of keyname() in _tracechar()
1882         + modify _tracechar() to work around glibc sprintf bug.
1883
1884 20030607
1885         + add a call to setlocale() in cursesmain.cc, making demo display
1886           properly in a UTF-8 locale.
1887         + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
1888           by discussion with Gabor Z Papp).
1889         + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
1890           appease -Wchar-subscript with g++ 3.3 (Debian #195732).
1891         + fix a redefinition of $RANLIB in the configure script when libtool
1892           is used, which broke configure on Mac OS X (report by Chris Zubrzycki
1893           <beren@mac.com>).
1894         + simplify ifdef for bool declaration in curses.h.in (suggested by
1895           Albert Chin-A-Young).
1896         + remove configure script check to allow -Wconversion for older
1897           versions of gcc (suggested by Albert Chin-A-Young).
1898
1899 20030531
1900         + regenerated html manpages.
1901         + modify ifdef's in curses.h.in that disabled use of __attribute__()
1902           for g++, since recent versions implement the cases which ncurses uses
1903           (Debian #195230).
1904         + modify _nc_get_token() to handle a case where an entry has no
1905           description, and capabilities begin on the same line as the entry
1906           name.
1907         + fix a typo in ncurses_dll.h reported by gcc 3.3.
1908         + add an entry for key_defined.3x to man_db.renames.
1909
1910 20030524
1911         + modify setcchar() to allow converting control characters to complex
1912           characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
1913         + add tkterm entry -TD
1914         + modify parse_entry.c to allow a terminfo entry with a leading
1915           2-character name (report by Don Libes).
1916         + corrected acsc in screen.teraterm, which requires a PC-style mapping.
1917         + fix trace statements in read_entry.c to use lseek() rather than
1918           tell().
1919         + fix signed/unsigned warnings from Sun's compiler (gcc should give
1920           these warnings, but it is unpredictable).
1921         + modify configure script to omit -Winline for gcc 3.3, since that
1922           feature is broken.
1923         + modify manlinks.sed to add a few functions that were overlooked since
1924           they return function pointers:  field_init, field_term, form_init,
1925           form_term, item_init, item_term, menu_init and menu_term.
1926
1927 20030517
1928         + prevent recursion in wgetch() via wgetnstr() if the connection cannot
1929           be switched between cooked/raw modes because it is not a TTY (report
1930           by Wolfgang Gutjahr <gutw@knapp.com>).
1931         + change parameter of define_key() and key_defined() to const (prompted
1932           by Debian #192860).
1933         + add a check in test/configure for ncurses extensions, since there
1934           are some older versions, etc., which would not compile with the
1935           current test programs.
1936         + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
1937           convert wchar_t string to multibyte form before printing it.
1938         + corrections to lib_get_wstr.c:
1939           + null-terminate buffer passed to setcchar(), which occasionally
1940             failed.
1941           + map special characters such as erase- and kill-characters into
1942             key-codes so those will work as expected even if they are not
1943             mentioned in the terminfo.
1944         + modify PUTC() and Charable() macros to make wide-character line
1945           drawing work for POSIX locale on Linux console (cf: 20021221).
1946
1947 20030510
1948         + make typography for program options in manpages consistent (report
1949           by Miloslav Trmac <mitr@volny.cz>).
1950         + correct dependencies in Ada95/src/Makefile.in, so the builds with
1951           "--srcdir" work (report by Warren L Dodge).
1952         + correct missing definition of $(CC) in Ada95/gen/Makefile.in
1953           (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
1954         + fix typos and whitespace in manpages (patch by Jason McIntyre
1955           <jmc@prioris.mini.pw.edu.pl>).
1956
1957 20030503
1958         + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
1959           REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
1960           the editing position before making modifications.
1961         + add test/demo_forms and associated test/edit_field.c demos.
1962         + modify test/configure.in to use test/modules for the list of objects
1963           to compile rather than using the list of programs.
1964
1965 20030419
1966         + modify logic of acsc to use the original character if no mapping is
1967           defined, noting that Solaris does this.
1968         + modify ncurses 'b' test to avoid using the acs_map[] array since
1969           20021231 changes it to no longer contain information from the acsc
1970           string.
1971         + modify makefile rules in c++, progs, tack and test to ensure that
1972           the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link
1973           command (report by Jose Luis Rico Botella <informatica@serpis.com>).
1974         + modify soft-key initialization to use A_REVERSE if A_STANDOUT would
1975           not be shown when colors are used, i.e., if ncv#1 is set in the
1976           terminfo as is done in "screen".
1977
1978 20030412
1979         + add a test for slk_color(), in ncurses.c
1980         + fix some issues reported by valgrind in the slk_set() and slk_wset()
1981           code, from recent rewrite.
1982         + modify ncurses 'E' test to use show previous label via slk_label(),
1983           as in 'e' test.
1984         + modify wide-character versions of NewChar(), NewChar2() macros to
1985           ensure that the whole struct is initialized.
1986
1987 20030405
1988         + modify setupterm() to check if the terminfo and terminal-modes have
1989           already been read.  This ensures that it does not reinvoke
1990           def_prog_mode() when an application calls more than one function,
1991           such as tgetent() and initscr() (report by Olaf Buddenhagen).
1992
1993 20030329
1994         + add 'E' test to ncurses.c, to exercise slk_wset().
1995         + correct handling of carriage-return in wgetn_wstr(), used in demo of
1996           slk_wset().
1997         + first draft of slk_wset() function.
1998
1999 20030322
2000         + improved warnings in tic when suppressing items to fit in termcap's
2001           1023-byte limit.
2002         + built a list in test/README showing which externals are being used
2003           by either programs in the test-directory or via internal library
2004           calls.
2005         + adjust include-options in CF_ETIP_DEFINES to avoid missing
2006           ncurses_dll.h, fixing special definitions that may be needed for
2007           etip.h (reported by Greg Schafer <gschafer@zip.com.au>).
2008
2009 20030315
2010         + minor fixes for cardfile.c, to make it write the updated fields to
2011           a file when ^W is given.
2012         + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in
2013           trace code.
2014
2015 20030308
2016         + correct a case in _nc_remove_string(), used by define_key(), to avoid
2017           infinite loop if the given string happens to be a substring of other
2018           strings which are assigned to keys (report by John McCutchan).
2019         + add key_defined() function, to tell which keycode a string is bound
2020           to (discussion with John McCutchan <ttb@tentacle.dhs.org>).
2021         + correct keybound(), which reported definitions in the wrong table,
2022           i.e., the list of definitions which are disabled by keyok().
2023         + modify demo_keydef.c to show the details it changes, and to check
2024           for errors.
2025
2026 20030301
2027         + restructured test/configure script, make it work for libncursesw.
2028         + add description of link_fieldtype() to manpage (report by
2029           L Dee Holtsclaw <dee@sunbeltsoft.com>).
2030
2031 20030222
2032         + corrected ifdef's relating to configure check for wchar_t, etc.
2033         + if the output is a socket or other non-tty device, use 1 millisecond
2034           for the cost in mvcur; previously it was 9 milliseconds because the
2035           baudrate was not known.
2036         + in _nc_get_tty_mode(), initialize the TTY buffer on error, since
2037           glibc copies uninitialized data in that case, as noted by valgrind.
2038         + modify tput to use the same parameter analysis as tparm() does, to
2039           provide for user-defined strings, e.g., for xterm title, a
2040           corresponding capability might be
2041                 title=\E]2;%p1%s^G,
2042         + modify MKlib_gen.sh to avoid passing "#" tokens through the C
2043           preprocessor.  This works around Mac OS X's preprocessor, which
2044           insists on adding a blank on each side of the token (report/analysis
2045           by Kevin Murphy <murphy@genome.chop.edu>).
2046
2047 20030215
2048         + add configure check for wchar_t and wint_t types, rather than rely
2049           on preprocessor definitions.  Also work around for gcc fixinclude
2050           bug which creates a shadow copy of curses.h if it sees these symbols
2051           apparently typedef'd.
2052         + if database is disabled, do not generate run_tic.sh
2053         + minor fixes for memory-leak checking when termcap is read.
2054
2055 20030208
2056         + add checking in tic for incomplete line-drawing character mapping.
2057         + update configure script to reflect fix for AC_PROG_GCC_TRADITIONAL,
2058           which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by
2059           Gerben Wierda <Sherlock@rna.nl>).
2060         + make return value from _nc_printf_string() consistent.  Before,
2061           depending on whether --enable-safe-sprintf was used, it might not be
2062           cached for reallocating.
2063
2064 20030201
2065         + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c
2066         + correct a potentially-uninitialized value if _read_termtype() does
2067           not read as much data as expected (report by Wolfgang Rohdewald
2068           <wr6@uni.de>).
2069         + correct several places where the aclocal.m4 macros relied on cache
2070           variable names which were incompatible (as usual) between autoconf
2071           2.13 and 2.5x, causing the test for broken-linker to give incorrect
2072           results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser
2073           <te@dbs.uni-hannover.de>).
2074         + do not try to open gpm mouse driver if standard output is not a tty;
2075           the gpm library does not make this check (bug report for dialog
2076           by David Oliveira <davidoliveira@develop.prozone.ws>).
2077
2078 20030125
2079         + modified emx.src to correspond more closely to terminfo.src, added
2080           emx-base to the latter -TD
2081         + add configure option for FreeBSD sysmouse, --with-sysmouse, and
2082           implement support for that in lib_mouse.c, lib_getch.c
2083
2084 20030118
2085         + revert 20030105 change to can_clear_with(), does not work for the
2086           case where the update is made on cells which are blanks with
2087           attributes, e.g., reverse.
2088         + improve ifdef's to guard against redefinition of wchar_t and wint_t
2089           in curses.h (report by Urs Jansen).
2090
2091 20030111
2092         + improve mvcur() by checking if it is safe to move when video
2093           attributes are set (msgr), and if not, reset/restore attributes
2094           within that function rather than doing it separately in the GoTo()
2095           function in tty_update.c (suggested by Philippe Blain).
2096         + add a message in run_tic.in to explain more clearly what does not
2097           work when attempting to create a symbolic link for /usr/lib/terminfo
2098           on OS/2 and other platforms with no symbolic links (report by John
2099           Polterak).
2100         + change several sed scripts to avoid using "\+" since it is not a BRE
2101           (basic regular expression).  One instance caused terminfo.5 to be
2102           misformatted on FreeBSD (report by Kazuo Horikawa
2103           <horikawa@FreeBSD.org> (see FreeBSD docs/46709)).
2104         + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins).
2105
2106 20030105
2107         + improve description of terminfo operators, especially static/dynamic
2108           variables (comments by Mark I Manning IV <mark4th@earthlink.net>).
2109         + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to
2110           use the predefined TYPE_ALPHA field-type, and by defining a
2111           specialized type for the middle initial/name.
2112         + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature
2113           of sed 4.0
2114         > patch by Philippe Blain:
2115         + optimize can_clear_with() a little by testing first if the parameter
2116           is indeed a "blank".
2117         + simplify ClrBottom() a little by allowing it to use clr_eos to clear
2118           sections as small as one line.
2119         + improve ClrToEOL() by checking if clr_eos is available before trying
2120           to use it.
2121         + use tputs() rather than putp() in a few cases in tty_update.c since
2122           the corresponding delays are proportional to the number of lines
2123           affected: repeat_char, clr_eos, change_scroll_region.
2124
2125 20021231
2126         + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from
2127           global acs_map[] array; removed the lines that did the copying.
2128
2129 20021228
2130         + change some overlooked tputs() calls in scrolling code to use putp()
2131           (report by Philippe Blain).
2132         + modify lib_getch.c to avoid recursion via wgetnstr() when the input
2133           is not a tty and consequently mode-changes do not work (report by
2134           <R.Chamberlin@querix.com>).
2135         + rewrote lib_acs.c to allow PutAttrChar() to decide how to render
2136           alternate-characters, i.e., to work with Linux console and UTF-8
2137           locale.
2138         + correct line/column reference in adjust_window(), needed to make
2139           special windows such as curscr track properly when resizing (report
2140           by Lucas Gonze <lgonze@panix.com>).
2141         > patch by Philippe Blain:
2142         + correct the value used for blank in ClrBottom() (broken in 20000708).
2143         + correct an off-by-one in GoTo() parameter in _nc_scrolln().
2144
2145 20021221
2146         + change several tputs() calls in scrolling code to use putp(), to
2147           enable padding which may be needed for some terminals (patch by
2148           Philippe Blain).
2149         + use '%' as sed substitute delimiter in run_tic script to avoid
2150           problems with pathname delimiters such as ':' and '@' (report by John
2151           Polterak).
2152         + implement a workaround so that line-drawing works with screen's
2153           crippled UTF-8 support (tested with 3.9.13).  This only works with
2154           the wide-character support (--enable-widec); the normal library will
2155           simply suppress line-drawing when running in a UTF-8 locale in screen.
2156
2157 20021214
2158         + allow BUILD_CC and related configure script variables to be
2159           overridden from the environment.
2160         + make build-tools variables in ncurses/Makefile.in consistent with
2161           the configure script variables (report by Maciej W Rozycki).
2162         + modify ncurses/modules to allow
2163                 configure --disable-leaks --disable-ext-funcs
2164           to build (report by Gary Samuelson).
2165         + fix a few places in configure.in which lacked quotes (report by
2166           Gary Samuelson <gary.samuelson@verizon.com>).
2167         + correct handling of multibyte characters in waddch_literal() which
2168           force wrapping because they are started too late on the line (report
2169           by Sam Varshavchik).
2170         + small fix for CF_GNAT_VERSION to ignore the help-message which
2171           gnatmake adds to its version-message.
2172         > Maciej W Rozycki <macro@ds2.pg.gda.pl>:
2173         + use AC_CHECK_TOOL to get proper values for AR and LD for cross
2174           compiling.
2175         + use $cross_compiling variable in configure script rather than
2176           comparing $host_alias and $target alias, since "host" is
2177           traditionally misused in autoconf to refer to the target platform.
2178         + change configure --help message to use "build" rather than "host"
2179           when referring to the --with-build-XXX options.
2180
2181 20021206
2182         + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for
2183           possible gnat versions such as 3.2 (report by Chris Lingard
2184           <chris@stockwith.co.uk>).
2185         + modify #define's for CKILL and other default control characters in
2186           tset to use the system's default values if they are defined.
2187         + correct interchanged defaults for kill and interrupt characters
2188           in tset, which caused it to report unnecessarily (Debian #171583).
2189         + repair check for missing C++ compiler, which is broken in autoconf
2190           2.5x by hardcoding it to g++ (report by Martin Mokrejs).
2191         + update config.guess, config.sub (2002-11-30)
2192         + modify configure script to skip --with-shared, etc., when the
2193           --with-libtool option is given, since they would be ignored anyway.
2194         + fix to allow "configure --with-libtool --with-termlib" to build.
2195         + modify configure script to show version number of libtool, to help
2196           with bug reports.  libtool still gets confused if the installed
2197           ncurses libraries are old, since it ignores the -L options at some
2198           point (tested with libtool 1.3.3 and 1.4.3).
2199         + reorder configure script's updating of $CPPFLAGS and $CFLAGS to
2200           prevent -I options in the user's environment from introducing
2201           conflicts with the build -I options (may be related to reports by
2202           Patrick Ash and George Goffe).
2203         + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to
2204           test/demo_keyok.c to allow building these with libtool.
2205
2206 20021123
2207         + add example program test/define_key.c for define_key().
2208         + add example program test/keyok.c for keyok().
2209         + add example program test/ins_wide.c for wins_wch() and wins_wstr().
2210         + modify wins_wch() and wins_wstr() to interpret tabs by using the
2211           winsch() internal function.
2212         + modify setcchar() to allow for wchar_t input strings that have
2213           more than one spacing character.
2214
2215 20021116
2216         + fix a boundary check in lib_insch.c (patch by Philippe Blain).
2217         + change type for *printw functions from NCURSES_CONST to const
2218           (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>,
2219           but really from a note on X/Open's website stating that either is
2220           acceptable, and the latter will be used in a future revision).
2221         + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in
2222           lib_mouse.c (20021026) -TD
2223         + add screen-bce, screen-s entries from screen 3.9.13 (report by
2224           Adam Lazur <zal@debian.org>) -TD
2225         + add mterm terminfo entries -TD
2226
2227 20021109
2228         + split-out useful fragments in terminfo for vt100 and vt220 numeric
2229           keypad, i.e., vt100+keypad, vt100+pfkeys, vt100+fnkeys and
2230           vt220+keypad.  The last as embedded in various entries had ka3 and
2231           kb2 interchanged (report/discussion with Leonard den Ottolander
2232           <leonardjo@hetnet.nl>).
2233         + add check in tic for keypads consistent with vt100 layout.
2234         + improve checks in tic for color capabilities
2235
2236 20021102
2237         + check for missing/empty/illegal terminfo name in _nc_read_entry()
2238           (report by Martin Mokrejs, where $TERM was set to an empty string).
2239         + rewrote lib_insch.c, combining it with lib_insstr.c so both handle
2240           tab and other control characters consistently (report by Philippe
2241           Blain).
2242         + remove an #undef for KEY_EVENT from curses.tail used in the
2243           experimental NCURSES_WGETCH_EVENTS feature.  The #undef confuses
2244           dpkg's build script (Debian #165897).
2245         + fix MKlib_gen.sh, working around the ironically named POSIXLY_CORRECT
2246           feature of GNU sed 4.0 (reported by Ervin Nemeth <airwin@inf.bme.hu>).
2247
2248 20021026
2249         + implement logic in lib_mouse.c to handle position reports which are
2250           generated when XFree86 xterm is initialized with private modes 1002
2251           or 1003.  These are returned to the application as the
2252           REPORT_MOUSE_POSITION mask, which was not implemented.  Tested both
2253           with ncurses 'a' menu (prompted by discussion with Larry Riedel
2254           <Larry@Riedel.org>).
2255         + modify lib_mouse.c to look for "XM" terminfo string, which allows
2256           one to override the escape sequence used to enable/disable mouse
2257           mode.  In particular this works for XFree86 xterm private modes
2258           1002 and 1003.  If "XM" is missing (note that this is an extended
2259           name), lib_mouse uses the conventional private mode 1000.
2260         + correct NOT_LOCAL() macro in lib_mvcur.c to refer to screen_columns
2261           where it used screen_lines (report by Philippe Blain).
2262         + correct makefile rules for the case when both --with-libtool and
2263           --with-gpm are given (report by Mr E_T <troll@logi.net.au>).
2264         + add note to terminfo manpage regarding the differences between
2265           setaf/setab and setf/setb capabilities (report by Pavel Roskin).
2266
2267 20021019
2268         + remove redundant initialization of TABSIZE in newterm(), since it is
2269           already done in setupterm() (report by Philippe Blain).
2270         + add test/inserts.c, to test winnstr() and winsch().
2271         + replace 'sort' in dist.mk with script that sets locale to POSIX.
2272         + update URLs in announce.html.in (patch by Frederic L W Meunier).
2273         + remove glibc add-on files, which are no longer needed (report by
2274           Frederic L W Meunier).
2275
2276 20021012 5.3 release for upload to ftp.gnu.org
2277         + modify ifdef's in etip.h.in to allow the etip.h header to compile
2278           with gcc 3.2 (patch by Dimitar Zhekov <jimmy@is-vn.bg>).
2279         + add logic to setupterm() to make it like initscr() and newterm(),
2280           by checking for $NCURSES_TRACE environment variable and enabling
2281           the debug trace in that case.
2282         + modify setupterm() to ensure that it initializes the baudrate, for
2283           applications such as tput (report by Frank Henigman).
2284         + modify definition of bits used for command-line and library debug
2285           traces to avoid overlap, using new definition TRACE_SHIFT to relate
2286           the two.
2287         + document tput's interpretation of parameterized strings according to
2288           whether parameters are given, etc. (discussion with Robert De Bath).
2289
2290 20021005 pre-release
2291         + correct winnwstr() to account for non-character cells generated when
2292           a double-width character is added (report by Michael Bienia
2293           <michael@vorlon.ping.de>).
2294         + modify _nc_viswbuf2n() to provide better results using wctomb().
2295         + correct logic in _nc_varargs() which broke tracing of parameters for
2296           formats such as "%.*s".
2297         + correct scale factor in linux-c and linux-c-nc terminfo entries
2298           (report Floyd Davidson).
2299         + change tic -A option to -t, add the same option to infocmp for
2300           consistency.
2301         + correct "%c" implementation in lib_tparm.c, which did not map a null
2302           character to a 128 (cf: 980620) (patch by Frank Henigman
2303           <fjhenigman@mud.cgl.uwaterloo.ca>).
2304
2305 20020928 pre-release
2306         + modify MKkey_defs.sh to check for POSIX sort -k option, use that if
2307           it is found, to accommodate newer utility which dropped the
2308           compatibility support for +number options (reported by Andrey A
2309           Chernov).
2310         + modify linux terminfo entry to use color palette feature from
2311           linux-c-nc entry (comments by Tomasz Wasiak and Floyd Davidson).
2312         + restore original color definitions in endwin() if init_color() was
2313           used, and resume those colors on the next doupdate() or refresh()
2314           (report by Tomasz Wasiak <tjwasiak@komputom.com.pl>).
2315         + improve debug-traces by modifying MKlib_gen.sh to generate calls
2316           to returnBool() and returnAttr().
2317         + add/use _nc_visbufn() and _nc_viswbufn() to limit the debug trace
2318           of waddnstr() and similar functions to match the parameters as used.
2319         + add/use _nc_retrace_bool() and _nc_retrace_unsigned().
2320         + correct type used by _nc_retrace_chtype().
2321         + add debug traces to some functions in lib_mouse.c
2322         + modify lib_addch.c to handle non-spacing characters.
2323         + correct parameter of RemAttr() in lib_bkgd.c, which caused the c++
2324           demo's boxes to lose the A_ALTCHARSET flag (broken in 20020629).
2325         + correct width computed in _tracedump(), which did not account for
2326           the attributes (broken in 20010602).
2327         + modify test/tracemunch to replace addresses for windows other than
2328           curscr, newscr and stdscr with window0, window1, etc.
2329
2330 20020921 pre-release
2331         + redid fix for edit_man.sed path.
2332         + workaround for Cygwin bug which makes subprocess writes to stdout
2333           result in core dump.
2334         + documented getbegx(), etc.
2335         + minor fixes to configure script to use '%' consistently as a sed
2336           delimiter rather than '@'.
2337         > patch by Philippe Blain:
2338         + add check in lib_overlay.c to ensure that the windows to be merged
2339           actually overlap, and in copywin(), limit the area to be touched
2340           to the lines given for the destination window.
2341
2342 20020914 pre-release
2343         + modified curses.h so that if the wide-character version is installed
2344           overwriting /usr/include/curses.h, and if it relied on libutf8.h,
2345           then applications that use that header for wide-character support
2346           must define HAVE_LIBUTF8_H.
2347         + modify putwin(), getwin() and dupwin() to allow them to operate on
2348           pads (request by Philippe Blain).
2349         + correct attribute-merging in wborder(), broken in 20020216 (report
2350           by Tomasz Wasiak <tjwasiak@grubasek.komputom.com.pl>).
2351         > patch by Philippe Blain:
2352         + corrected pop-counts in tparam_internal() to '!' and '~' cases.
2353         + use sizeof(NCURSES_CH_T) in one place that used sizeof(chtype).
2354         + remove some unused variables from mvcur test-driver.
2355
2356 20020907 pre-release
2357         + change configure script to allow install of widec-character
2358           (ncursesw) headers to overwrite normal (ncurses) headers, since the
2359           latter is a compatible subset of the former.
2360         + fix path of edit_man.sed in configure script, needed to regenerate
2361           html manpages on Debian.
2362         + fix mismatched enums in vsscanf.c, which caused warning on Solaris.
2363         + update README.emx to reflect current patch used for autoconf.
2364         + change web- and ftp-site to invisible-island.net
2365         > patch by Philippe Blain:
2366         + change case for 'P' in tparam_internal() to indicate that it pops
2367           a variable from the stack.
2368         + correct sense of precision and width in parse_format(), to avoid
2369           confusion.
2370         + modify lib_tparm.c, absorb really_get_space() into get_space().
2371         + modify getwin() and dupwin() to copy the _notimeout, _idlok and
2372           _idcok window fields.
2373         + better fix for _nc_set_type(), using typeMalloc().
2374
2375 20020901 pre-release
2376         + change minor version to 3, i.e., ncurses 5.3
2377         + update config.guess, config.sub
2378         + retest build with each configure option; minor ifdef fixes.
2379         + make keyname() return a null pointer rather than "UNKNOWN STRING" to
2380           match XSI.
2381         + modify handling of wide line-drawing character functions to use the
2382           normal line-drawing characters when not in UTF-8 locale.
2383         + add check/fix to comp_parse.c to suppress warning about missing acsc
2384           string.  This happens in configurations where raw termcap information
2385           is processed; tic already does this and other checks.
2386         + modify tic's check for ich/ich1 versus rmir/smir to only warn about
2387           ich1, to match xterm patch #70 notes.
2388         + moved information for ripped-off lines into SCREEN struct to allow
2389           use in resizeterm().
2390         + add experimental wgetch_events(), ifdef'd with NCURSES_WGETCH_EVENTS
2391           (adapted from patch by Ilya Zakharevich - see ncurses/README.IZ).
2392         + amend check in kgetch() from 20020824 to look only for function-keys,
2393           otherwise escape sequences are not resolved properly.
2394         > patch by Philippe Blain:
2395         + removed redundant assignment to SP->_checkfd from newterm().
2396         + check return-value of setupterm() in restartterm().
2397         + use sizeof(NCURSES_CH_T) in a few places that used sizeof(chtype).
2398         + prevent dupwin() from duplicating a pad.
2399         + prevent putwin() from writing a pad.
2400         + use typeRealloc() or typeMalloc() in preference to direct calls on
2401           _nc_doalloc().
2402
2403 20020824
2404         + add a check in kgetch() for cooked characters in the fifo to avoid
2405           calling fifo_push() when a KEY_RESIZE is available (report/analysis
2406           by Sam Varshavchik <mrsam@courier-mta.com>).
2407         + fix an overlooked case for bugzilla #68199 (Philippe Blain).
2408         + ensure clearerr() is called before using ferror() e.g., in
2409           lib_screen.c (report by Philippe Blain).
2410
2411 20020817
2412         + modify lib_screen.c and lib_newwin.c to maintain the SCREEN-specific
2413           pointers for curscr/stdscr/newscr when scr_save() and scr_restore()
2414           modify the global curscr/stdscr/newscr variables.  Fixes Redhat
2415           bugzilla #68199 dated 2002-07-07.
2416         + add checks for null pointer in calls to tparm() and tgoto() based on
2417           FreeBSD bug report.  If ncurses were built with termcap support, and
2418           the first call to tgoto() were a zero-length string, the result would
2419           be a null pointer, which was not handled properly.
2420         + correct a typo in terminfo.head, which gave the octal code for colon
2421           rather than comma.
2422         + remove the "tic -u" option from 20020810, since it did not account
2423           for nested "tc=" clauses, and when that was addressed, was still
2424           unsatisfactory.
2425
2426 20020810
2427         + add tic -A option to suppress capabilities which are commented out
2428           when translating to termcap.
2429         + add tic -u option to provide older behavior of "tc=" clauses.
2430         + modified tic to expand all but the final "tc=" clause in a termcap
2431           entry, to accommodate termcap libraries which do not handle multiple
2432           tc clauses.
2433         + correct typo in curs_inopts.3x regarding CS8/CS7 usage (report by
2434           Philippe Blain).
2435         + remove a couple of redundant uses of A_ATTRIBUTES in expressions
2436           using AttrOf(), which already incorporates that mask (report by
2437           Philippe Blain).
2438         + document TABSIZE variable.
2439         + add NCURSES_ASSUMED_COLORS environment variable, to allow users to
2440           override compiled-in default black-on-white assumption used in
2441           assume_default_colors().
2442         + correct an off-by-one comparison against max_colors in COLORFGBG
2443           logic.
2444         + correct a use of uninitialized memory found by valgrind (reported by
2445           Olaf Buddenhagen <olafBuddenhagen@web.de>).
2446         + modified wresize() to ensure that a failed realloc will not corrupt
2447           the window structure, and to make subwindows fit within the resized
2448           window (completes Debian #87678, #101699)
2449
2450 20020803
2451         + fix an off-by-one in lib_pad.c check for limits of pad (patch by
2452           Philippe Blain).
2453         + revise logic for BeOS in lib_twait.c altered in 20011013 to restore
2454           logic used by lib_getch.c's support for GPM or EMX mouse (report by
2455           Philippe Blain)
2456         + remove NCURSES_CONST from several prototypes in curses.wide, to make
2457           the --enable-const --enable-widec configure options to work together
2458           (report by George Goffe <grgoffe@yahoo.com>).
2459
2460 20020727
2461         + finish no-leak checking in cardfile.c, using this for testing changes
2462           to resizeterm().
2463         + simplify _nc_freeall() using delscreen().
2464
2465 20020720
2466         + check error-return from _nc_set_tty_mode() in _nc_initscr() and
2467           reset_prog_mode() (report/patch by Philippe Blain).
2468         + regenerate configure using patch for autoconf 2.52, to address
2469           problem with identifying C++ bool type.
2470         + correct/improve logic to produce an exit status for errors in tput,
2471           which did not exit with an error when told to put a string not in the
2472           current terminfo entry (report by David Gomez <david@pleyades.net>).
2473         + modify configure script AC_OUTPUT() call to work around defect in
2474           autoconf 2.52 which adds an ifdef'd include to the generated
2475           configure definitions.
2476         + remove fstat() check from scr_init(), which also fixes a missing
2477           include for <sys/stat.h> from 20020713 (reported by David Ellement,
2478           fix suggested by Philippe Blain).
2479         + update curs_scanw.3x manpage to note that XSI curses differs from
2480           SVr4 curses: return-values are incompatible.
2481         + correct several prototypes in manpages which used const
2482           inconsistently with the curses.h file, and removed spurious const's
2483           in a few places from curses.h, e.g., for wbkgd() (report by Glenn
2484           Maynard <glenn@zewt.org>).
2485         + change internal type used by tparm() to long, to work with LP64 model.
2486         + modify nc_alloc.h to allow building with g++, for testing.
2487
2488 20020713
2489         + add resize-handling to cardfile.c test program.
2490         + altered resizeterm() to avoid having it fail when a child window
2491           cannot be resized because it would be larger than its parent.  (More
2492           work must be done on this, but it works well enough to integrate).
2493         + improve a limit-check in lib_refresh.c
2494         + remove check in lib_screen.c relating dumptime to file's modification
2495           times, since that would not necessarily work for remotely mounted
2496           filesystems.
2497         + modify lrtest to simplify debugging changes to resizeterm, e.g.,
2498           t/T commands to enable/disable tracing.
2499         + updated status of multibyte support in TO-DO.
2500         + update contact info in source-files (patch by Juergen Pfeifer).
2501
2502 20020706
2503         + add Caps.hpux11, as an example.
2504         + modify version_filter(), used to implement -R option for tic and
2505           infocmp, to use computed array offsets based on the Caps.* file which
2506           is actually configured, rather than constants which correspond to
2507           the Caps file.
2508         + reorganized lib_raw.c to avoid updating SP and cur_term state if the
2509           functions fail (reported by Philippe Blain).
2510         + add -Wundef to gcc warnings, adjust a few ifdef's to accommodate gcc.
2511
2512 20020629
2513         + correct parameters to setcchar() in ncurses.c (cf: 20020406).
2514         + set locale in most test programs (view.c and ncurses.c were the
2515           only ones).
2516         + add configure option --with-build-cppflags (report by Maksim A
2517           Nikulin <M.A.Nikulin@inp.nsk.su>).
2518         + correct a typo in wide-character logic for lib_bkgnd.c (Philippe
2519           Blain).
2520         + modify lib_wacs.c to not cancel the acsc, smacs, rmacs strings when
2521           in UTF-8 locale.  Wide-character functions use Unicode values, while
2522           narrow-character functions use the terminfo data.
2523         + fix a couple of places in Ada95/samples which did not compile with
2524           gnat 3.14
2525         + modify mkinstalldirs so the DOS-pathname case is locale-independent.
2526         + fix locale problem in MKlib_gen.sh by forcing related variables to
2527           POSIX (C), using same approach as autoconf (set variables only if
2528           they were set before).  Update MKterminfo.sh and MKtermsort.sh to
2529           match.
2530
2531 20020622
2532         + add charset to generated html.
2533         + add mvterm entry, adapted from a FreeBSD bug-report by Daniel Rudy
2534           <dcrudy@pacbell.net> -TD
2535         + add rxvt-16color, ibm+16color entries -TD
2536         + modify check in --disable-overwrite option so that it is used by
2537           default unless the --prefix/$prefix value is not /usr, in attempt to
2538           work around packagers, e.g., for Sun's freeware, who do not read the
2539           INSTALL notes.
2540
2541 20020615
2542         + modify wgetch() to allow returning ungetch'd KEY_RESIZE as a function
2543           key code in get_wch().
2544         + extended resize-handling in test/ncurses 'a' menu to the entire
2545           stack of windows created with 'w' commands.
2546         + improve $COLORFGBG feature by interpreting an out-of-range color
2547           value as an SGR 39 or 49, for foreground/background respectively.
2548         + correct a typo in configure --enable-colorfgbg option, and move it
2549           to the experimental section (cf: 20011208).
2550
2551 20020601
2552         + add logic to dump_entry.c to remove function-key definitions that do
2553           not fit into the 1023-byte limit for generated termcaps.  This makes
2554           hds200 fit.
2555         + more improvements to tic's warnings, including logic to ignore
2556           differences between delay values in sgr strings.
2557         + move definition of KEY_RESIZE into MKkeydefs.sh script, to
2558           accommodate Caps.osf1r5 which introduced a conflicting definition.
2559
2560 20020525
2561         + add simple resize-handling in test/ncurses.c 'a' menu.
2562         + fixes in keyname() and _tracechar() to handle negative values.
2563         + make tic's warnings about mismatches in sgr strings easier to follow.
2564         + correct tic checks for number of parameters in smgbp and smglp.
2565         + improve scoansi terminfo entry, and add scoansi-new entry -TD
2566         + add pcvt25-color terminfo entry -TD
2567         + add kf13-kf48 strings to cons25w terminfo entry (reported by Stephen
2568           Hurd <deuce@lordlegacy.org> in newsgroup lucky.freebsd.bugs) -TD
2569         + add entrypoint _nc_trace_ttymode(), use this to distinguish the
2570           Ottyb and Nttyb members of terminal (aka cur_term), for tracing.
2571
2572 20020523
2573         + correct and simplify logic for lib_pad.c change in 20020518 (reported
2574           by Mike Castle).
2575
2576 20020518
2577         + fix lib_pad.c for case of drawing a double-width character which
2578           falls off the left margin of the pad (patch by Kriang Lerdsuwanakij
2579           <lerdsuwa@users.sourceforge.net>)
2580         + modify configure script to work around broken gcc 3.1 "--version"
2581           option, which adds unnecessary trash to the requested information.
2582         + adjust ifdef's in case SIGWINCH is not defined, e.g., with DJGPP
2583           (reported by Ben Decker <deckerben@freenet.de>).
2584
2585 20020511
2586         + implement vid_puts(), vid_attr(), term_attrs() based on the narrow-
2587           character versions as well.
2588         + implement erasewchar(), killwchar() based on erasechar() and
2589           killchar().
2590         + modify erasechar() and killchar() to return ERR if the value was
2591           VDISABLE.
2592         + correct a bug in wresize() in handling subwindows (based on patch by
2593           Roger Gammans <rgammans@computer-surgery.co.uk>, report by Scott Beck
2594           <scott@gossamer-threads.com>).
2595         + improve test/tclock.c by making the second-hand update more often
2596           if gettimeofday() is available.
2597
2598 20020429
2599         + workaround for Solaris sed with MKlib_gen.sh (reported by Andy
2600           Tsouladze <andyt@mypoints.com>).
2601
2602 20020427
2603         + correct return-value from getcchar(), making it consistent with
2604           Solaris and Tru64.
2605         + reorder loops that generate makefile rules for different models vs
2606           subsets so configure --with-termlib works again.  This was broken by
2607           logic added to avoid duplicate rules in changes to accommodate cygwin
2608           dll's (reported by George.R.Goffe@seagate.com).
2609         + update config.guess, config.sub
2610
2611 20020421
2612         + modify ifdef's in write_entry.c to allow use of symbolic links on
2613           platforms with no hard links, e.g., BeOS.
2614         + modify a few includes to allow compile with BeOS, which has stdbool.h
2615           with a conflicting definition for 'bool' versus its OS.h definition.
2616         + amend MKlib_gen.sh to work with gawk, which defines 'func' as an
2617           alias for 'function'.
2618
2619 20020420
2620         + correct form of prototype for ripoffline().
2621         + modify MKlib_gen.sh to test that all functions marked as implemented
2622           can be linked.
2623
2624 20020413
2625         + add manpages: curs_get_wstr.3x, curs_in_wchstr.3x
2626         + implement wgetn_wstr().
2627         + implement win_wchnstr().
2628         + remove redefinition of unget_wch() in lib_gen.c (reported by
2629           Jungshik Shin <jshin@jtan.com>).
2630
2631 20020406
2632         + modified several of the test programs to allow them to compile with
2633           vendor curses implementations, e.g., Solaris, AIX -TD
2634
2635 20020323
2636         + modified test/configure to allow configuring against ncursesw.
2637         + change WACS_xxx definition to use address, to work like Tru64 curses.
2638
2639 20020317
2640         + add 'e' and 'm' toggles to 'a', 'A' tests in ncurses.c to demonstrate
2641           effect of echo/noecho and meta modes.
2642         + add 'A' test to ncurses.c to demonstrate wget_wch() and related
2643           functions.
2644         + add manpage: curs_get_wch.3x
2645         + implement unget_wch().
2646         + implement wget_wch().
2647
2648 20020310
2649         + regenerated html manpages.
2650         + add manpages: curs_in_wch.3x, curs_ins_wch.3x, curs_ins_wstr.3x
2651         + implement wins_wch().
2652         + implement win_wch().
2653         + implement wins_nwstr(), wins_wstr().
2654
2655 20020309
2656         + add manpages: curs_addwstr.3x, curs_winwstr.3x
2657         + implement winnwstr(), winwstr().
2658
2659 20020223
2660         + add manpages: curs_add_wchstr.3x, curs_bkgrnd.3x
2661         + document wunctrl, key_name.
2662         + implement key_name().
2663         + remove const's in lib_box.c incorrectly leftover after splitting off
2664           lib_box_set.c
2665         + update llib-lncurses, llib-ncursesw, fix configure script related to
2666           these.
2667
2668 20020218
2669         + remove quotes on "SYNOPSIS" in man/curs_box_set.3x, which resulted
2670           in spurious symlinks on install.
2671
2672 20020216
2673         + implement whline_set(), wvline_set(), add manpage curs_border_set.
2674         + add subtest 'b' to 'F' and 'f' in ncurses.c to demonstrate use of
2675           box() and box_set() functions.
2676         + add subtest 'u' to 'F' in ncurses.c, to demonstrate use of addstr()
2677           given UTF-8 string equivalents of WACS_xxx symbols.
2678         + minor fixes to several manpages based on groff -ww output.
2679         + add descriptions of external variables of termcap interface to
2680           the manpage (report by Bruce Evans <bde@zeta.org.au>).
2681         > patches by Bernhard Rosenkraenzer:
2682         + correct configure option --with-bool, which was executed as
2683           --with-ospeed.
2684         + add quotes for parameters of --with-bool and --with-ospeed configure
2685           options.
2686         > patch by Sven Verdoolaege (report by Gerhard Haering
2687           <haering_linux@gmx.de>):
2688         + correct typos in definitions of several wide-character macros:
2689           waddwstr, wgetbkgrnd, mvaddwstr, mvwadd_wchnstr, mvwadd_wchnstr,
2690           mvwaddwstr.
2691         + pass $(CPPFLAGS) to MKlib_gen.sh, thereby fixing a missing definition
2692           of _XOPEN_SOURCE_EXTENDED, e.g., on Solaris
2693
2694 20020209
2695         + implement wide-acs characters for UTF-8 locales.  When in UTF-8
2696           locale, ignore narrow version of acs.  Add 'F' test to test/ncurses.c
2697           to demonstrate.
2698         + correct prototype in keybound manpage (noted from a Debian mailing
2699           list item).
2700
2701 20020202
2702         + add several cases to the wscanw() example in testcurs.c, showing the
2703           format.
2704         + implement a simple vsscanf() fallback function which uses the %n
2705           conversion to help parse the input data (prompted by discussion with
2706           Albert Chin-A-Young).
2707         + modify mk-1st.awk and test/Makefile.in to add $(LDFLAGS) when making
2708           shared libraries, and to use $(CFLAGS) when linking test programs
2709           (patch by Albert Chin-A-Young).
2710         + add a call to _nc_keypad() in keypad() to accommodate applications
2711           such as nvi, which use curses for output but not for input (fixes
2712           Debian #131263, cf: 20011215).
2713         + add entrypoints to resizeterm.c which provide better control over the
2714           process:  is_term_resized() and resize_term().  The latter restores
2715           the original design of resizeterm() before KEY_RESIZE was added in
2716           970906.  Do this to accommodate 20010922 changes to view.c, but allow
2717           for programs with their own sigwinch handler, such as lynx (reported
2718           by Russell Ruby <russ@math.orst.edu>).
2719
2720 20020127
2721         + fix a typo in change to mk-1st.awk, which broke the shared-library
2722           makefile rules (reported by Martin Mokrejs).
2723
2724 20020126
2725         + update config.guess, config.sub
2726         + finish changes needed to build dll's on cygwin.
2727         + fix a typo in mvwchat() macro (reported by Cy <yam@homerow.net).
2728
2729 20020119
2730         + add case in lib_baudrate.c for B921600 (patch by Andrey A Chernov).
2731         + correct missing sed-editing stage in manpage installs which is used
2732           to rename manpages, broken in 20010324 fix for Debian #89939 (Debian
2733           #78866).
2734         + remove -L$(libdir) from linker flags, probably not needed any more
2735           since HPUX is handled properly (reported by Niibe Yutaka
2736           <gniibe@m17n.org>).
2737         + add configure check for mbstate_t, needed for wide-character
2738           configuration.  On some platforms we must include <wchar.h> to
2739           define this (reported by Daniel Jacobowitz).
2740         + incorporate some of the changes needed to build dll's on cygwin.
2741
2742 20020112a
2743         + workaround for awk did not work with mawk, adjusted shell script.
2744
2745 20020112
2746         + add Caps.osf1r5, as an example.
2747         + modify behavior of can_clear_with() so that if an application is
2748           running in a non-bce terminals with default colors enabled, it
2749           returns true, allowing the user to select/paste text without picking
2750           up extraneous trailing blanks (adapted from patch by Daniel
2751           Jacobowitz <dmj+@andrew.cmu.edu>).
2752         + modify generated curses.h to ifdef-out prototypes for extensions if
2753           they are disabled, and to define curses_version() as a string in that
2754           case.  This is needed to make the programs such as tic build in that
2755           configuration.
2756         + modified generated headers.sh to remove a gzip'd version of the
2757           target file if it exists, in case non-gzip'd manpages are installed
2758           into a directory where gzip'd ones exist.  In that case, the latter
2759           would be found.
2760         + corrected a redundant initialization of signal handlers from 20010922
2761           changes.
2762         + clarified bug-reporting address in terminfo.src (report by John H
2763           DuBois III <spcecdt@armory.com>).
2764         > several fixes from Robert Joop:
2765         + do not use "-v" option of awk in MKkey_defs.sh because it does not
2766           work with SunOS nawk.
2767         + modify definitions for libutf8 in curses.h to avoid redefinition
2768           warnings for mblen
2769         + quoted references to compiler in shell command in misc/Makefile, in
2770           case it uses multiple tokens.
2771
2772 20011229
2773         + restore special case from 20010922 changes to omit SA_RESTART when
2774           setting up SIGWINCH handler, which is needed to allow wgetch() to be
2775           interrupted by that signal.
2776         + update configure macro CF_WITH_PATHLIST, to omit some double quotes
2777           not needed with autoconf 2.52
2778         + revert configure script to autoconf 2.13 patched with
2779                 autoconf-2.13-19990117.patch.gz (or later)
2780           from
2781                 ftp://invisible-island.net/autoconf/
2782           because autoconf 2.52 macro AC_PROG_AWK does not work on HPUX 11.0
2783           (report by David Ellement <ellement@sdd.hp.com>).  This also fixes a
2784           different problem configuring with Mac OS X (reported by Marc Smith
2785           <marc.a.smith@home.com>).
2786
2787 20011222
2788         + modify include/edit_cfg.h to eliminate BROKEN_LINKER symbol from
2789           term.h
2790         + move prototype for _nc_vsscanf() into curses.h.in to omit
2791           HAVE_VSSCANF symbol from curses.h, which was dependent upon the
2792           ncurses_cfg.h file which is not installed.
2793         + use ACS_LEN rather than SIZEOF(acs_map) in trace code of lib_acs.c,
2794           to work with broken linker configuration, e.g., cygwin (report by
2795           Robert Joop <rj@rainbow.in-berlin.de>).
2796         + make napms() call _nc_timed_wait() rather than poll() or select(),
2797           to work around broken implementations of these on cygwin.
2798
2799 20011218
2800         + drop configure macro CF_WIDEC_SHIFT, since that was rendered obsolete
2801           by Sven Verdoolaege's rewrite of wide-character support.  This makes
2802           libncursesw incompatible again, but makes the header files almost the
2803           same as in the narrow-character configuration.
2804         + simplify definitions that combine wide/narrow versions of bkgd, etc.,
2805           to eliminate differences between the wide/narrow versions of curses.h
2806         + correct typo in configure macro CF_FUNC_VSSCANF
2807         + correct location of call to _nc_keypad() from 20011215 changes which
2808           prevented keypad() from being disabled (reported by Lars Hecking).
2809
2810 20011215
2811         + rewrote ncurses 'a' test to exercise wgetch() and keypad() functions
2812           better, e.g., by adding a 'w' command to create new windows which
2813           may have different keypad() settings.
2814         + corrected logic of keypad() by adding internal screen state to track
2815           whether the terminal's keypad-mode has been set.  Use this in
2816           wgetch() to update the keypad-mode according to whether the
2817           associated window's keypad-mode has been set with keypad().  This
2818           corrects a related problem restoring terminal state after handling
2819           SIGTSTP (reported by Mike Castle).
2820         + regenerate configure using patch for autoconf 2.52
2821                 autoconf-2.52-patch.gz
2822           at
2823                 ftp://invisible-island.net/autoconf/
2824         + update config.guess, config.sub from
2825                 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
2826         + minor changes to quoting in configure script to allow it to work
2827           with autoconf 2.52
2828
2829 20011208
2830         + modify final checks in lib_setup.c for line and col values, making
2831           them independent.
2832         + modify acs_map[] if configure --broken-linker is specified, to make
2833           it use a function rather than an array (prompted by an incorrect
2834           implementation in cygwin package).
2835         + correct spelling of configure option --enable-colorfgbg, which
2836           happened to work if --with-develop was set (noted in cygwin package
2837           for ncurses).
2838         + modify ifdef for genericerror() to compile with SUNWspro Sun WorkShop
2839           6 update 1 C++ 5.2 (patch by Sullivan N Beck <sbeck@cise.ufl.edu>).
2840         + add configure checks to see if ncurses' fallback vsscanf() will
2841           compile either of the special cases for FILE structs, and if not,
2842           force it to the case which simply returns an error (report by
2843           Sullivan N Beck <sbeck@cise.ufl.edu> indicates that Solaris 8 with
2844           64-bits does not allow access to FILE's fields).
2845         + modify ifdef's for c++/cursesw.cc to use the fallback vsscanf() in
2846           the ncurses library if no better substitute for this can be found
2847           in the C++ runtime.
2848         + modify the build to name dynamic libraries according to the
2849           convention used on OS X and Darwin.  Rather than something like
2850           libncurses.dylib.5.2, Darwin would name it libncurses.  5.dylib.
2851           There are a few additional minor fixes, such as setting the library
2852           version and compatibility version numbers (patch by Jason Evans
2853           <jevans@apple.com>).
2854         + use 'sh' to run mkinstalldirs, to work around problems with buggy
2855           versions of 'make' on OS/2 (report by John Polterak <jp@eyup.org>).
2856         + correct typo in manpage description of curs_set() (Debian #121548).
2857         + replace the configure script existence-check for mkstemp() by one
2858           that checks if the function works, needed for older glibc and
2859           AmigaOS.
2860
2861 20011201
2862         + modify script that generates fallbacks.c to compile a temporary
2863           copy of the terminfo source in case the host does not contain all of
2864           the entries requested for fallbacks (request by Greg Roelofs).
2865         + modify configure script to accommodate systems such as Mac OS X whose
2866           <stdbool.h> header defines a 'bool' type inconsistent with ncurses,
2867           which normally makes 'bool' consistent with C++.  Include <stdbool.h>
2868           from curses.h to force consistent usage, define a new type
2869           NCURSES_BOOL and related that to the exported 'bool' as either a
2870           typedef or definition, according to whether <stdbool.h> is present
2871           (based on a bug report for tin 1.5.9 by Aaron Adams <adamsa@mac.com>).
2872
2873 20011124
2874         + added/updated terminfo entries for M$ telnet and KDE konsole -TD
2875
2876 20011117
2877         + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
2878           (Benjamin C W Sittler).
2879         + add putty terminfo entry -TD
2880         + if configuring for wide-curses, define _XOPEN_SOURCE_EXTENDED, since
2881           this may not otherwise be defined to make test/view.c compile.
2882
2883 20011110
2884         + review/correct several missing/generated items in curses.wide, sorted
2885           the lists to make subsequent diff's easier to track.
2886
2887 20011103
2888         + add manual pages for add_wch(), echo_wchar(), getcchar(),
2889           mvadd_wch(), mvwadd_wch(), setcchar(), wadd_wch() and wecho_wchar().
2890         + implement wecho_wchar()
2891         + modify _tracedump() to handle wide-characters by mapping them to '?'
2892           and control-characters to '.', to make the trace file readable.  Also
2893           dynamically allocate the buffer used by _tracedump() for formatting
2894           the results.
2895         + modify T_CALLED/T_RETURN macros to ease balancing call/return lines
2896           in a trace by using curly braces.
2897         + implement _nc_viscbuf(), for tracing cchar_t arrays.
2898         + correct trace-calls in setcchar() and getcchar() functions, which
2899           traced the return values but not the entry to each function.
2900         + correct usage message in test/view.c, which still mentioned -u flag.
2901
2902 20011027
2903         + modify configure script to allow building with termcap only, or with
2904           fallbacks only.  In this case, we do not build tic and toe.
2905         + add configure --with-termpath option, to override default TERMPATH
2906           value of /etc/termcap:/usr/share/misc/termcap.
2907         + cosmetic change to tack: make menu descriptions agree with menu
2908           titles.
2909
2910 20011020
2911         + rewrote limit-checks in wscrl() and associated _nc_scroll_window(),
2912           to ensure that if the parameter of wscrl() is larger than the size of
2913           the scrolling region, then the scrolling region will be cleared
2914           (report by Ben Kohlen <bckohlen@yahoo.com>).
2915         + add trace/varargs.c, using this to trace parameters in lib_printw.c
2916         + implement _tracecchar_t2() and _tracecchar_t().
2917         + split-out trace/visbuf.c
2918         + correct typo in lib_printw.c changes from 20010922 (report by Mike
2919           Castle).
2920
2921 20011013
2922         + modify run_tic.sh to check if the build is a cross-compile.  In that
2923           case, do not use the build's tic to install the terminfo database
2924           (report by Rafael Rodriguez Velilla <rrv@tid.es>).
2925         + modify mouse click resolution so that mouseinterval(-1) will disable
2926           it, e.g., to handle touchscreens via a slow connection (request by
2927           Byron Stanoszek <gandalf@winds.org>).
2928         + correct mouseinterval() default value shown in curs_mouse.3x
2929         + remove conflicting definition of mouse_trafo() (reported by Lars
2930           Hecking, using gcc 2.95.3).
2931
2932 20011001
2933         + simpler fix for signal_name(), to replace the one overlooked in
2934           20010929 (reported by Larry Virden).
2935
2936 20010929
2937         + add -i option to view.c, to test ncurses' check for non-default
2938           signal handler for SIGINT, etc.
2939         + add cases for shared-libraries on Darwin/OS X (patch by Rob Braun
2940           <bbraun@synack.net>).
2941         + modify tset to restore original I/O modes if an error is encountered.
2942           Also modify to use buffered stderr consistently rather than mixing
2943           with write().
2944         + change signal_name() function to use if-then-else rather than case
2945           statement, since signal-values aren't really integers (reported by
2946           Larry Virden).
2947         + add limit checks in wredrawln(), fixing a problem where lynx was
2948           repainting a pad which was much larger than the screen.
2949
2950 20010922
2951         + fix:  PutRange() was counting the second part of a wide character as
2952           part of a run, resulting in a cursor position that was one too far
2953           (patch by Sven Verdoolaege).
2954         + modify resizeterm() to not queue a KEY_RESIZE if there was no
2955           SIGWINCH, thereby separating the two styles of SIGWINCH handling
2956           in test/view.c
2957         + simplified lib_tstp.c, modify it to use SA_RESTART flag for SIGWINCH.
2958         + eliminate several static buffers in the terminfo compiler, using
2959           allocated buffers.
2960         + modify MKkeyname.awk so that keyname() does not store its result into
2961           a static buffer that is overwritten by the next call.
2962         + reorganize the output of infocmp -E and -e options to compile cleanly
2963           with gcc -Wwrite-strings warnings.
2964         + remove redefinition of chgat/wchgat/mvwchgat from curses.wide
2965
2966 20010915
2967         + add label to test/view.c, showing the name of the last key or signal
2968           that made the screen repaint, to make it clearer when a sigwinch
2969           does this.
2970         + use ExitProgram() consistently in the test-programs to make it
2971           simpler to test leaks with dmalloc, etc.
2972         + move hashtab static data out of hashmap.c into SCREEN struct.
2973         + make NO_LEAK code compile with revised WINDOWLIST structs.
2974
2975 20010908
2976         + modify tgetent() to check if exit_attribute_mode resets the alternate
2977           character set, and if so, attempt to adjust the copy of the termcap
2978           "me" string which it will return to eliminate that part.  In
2979           particular, 'screen' would lose track of line-drawing characters
2980           (report by Frederic L W Meunier <0@pervalidus.net>, analysis by
2981           Michael Schroeder).
2982
2983 20010901
2984         + specify DOCTYPE in html manpages.
2985         + add missing macros for several "generated" functions:  attr_get(),
2986           attr_off(), attr_on(), attr_set(), chgat(), mvchgat(), mvwchgat() and
2987           mouse_trafo().
2988         + modify view.c to agree with non-experimental status of ncurses'
2989           sigwinch handler:
2990           + change the sense of the -r option, making it default to ncurses'
2991             sigwinch handler.
2992           + add a note explaining what functions are unsafe in a signal
2993             handler.
2994           + add a -c option, to set color display, for testing.
2995         + unset $data variable in MKterminfo.sh script, to address potential
2996           infinite loop if shell malfunction (report by Samuel Mikes
2997           <smikes@cubane.com>, for bash 2.05.0 on a Linux 2.0.36 system).
2998         + change kbs in mach terminfo entries to ^?  (Marcus Brinkmann
2999           <Marcus.Brinkmann@ruhr-uni-bochum.de>).
3000         + correct logic for COLORFGBG environment variable: if rxvt is compiled
3001           with xpm support, the variable has three fields, making it slightly
3002           incompatible with itself.  In either case, the background color is
3003           the last field.
3004
3005 20010825
3006         + move calls to def_shell_mode() and def_prog_mode() before loop with
3007           callbacks in lib_set_term.c, since the c++ demo otherwise initialized
3008           the tty modes before saving them (patch by John David Anglin
3009           <dave@hiauly1.hia.nrc.ca>).
3010         + duplicate logic used to initialize trace in newterm(), in initscr()
3011           to avoid confusing trace of initscr().
3012         + simplify allocation of WINDOW and WINDOWLIST structs by making the
3013           first a part of the second rather than storing a pointer.  This saves
3014           a call to malloc for each window (discussion with Philippe Blain).
3015         + remove unused variable 'used_ncv' from lib_vidattr.c (Philippe
3016           Blain).
3017         + modify c++/Makefile.in to accommodate archive programs that are
3018           different for C++ than for C, and add cases for vendor's C++
3019           compilers on Solaris and IRIX (report by Albert Chin-A-Young).
3020         + correct manpage description of criteria for deciding if the terminal
3021           supports xterm mouse controls.
3022         + add several configure script options to aid with cross-compiling:
3023           --with-build-cc, --with-build-cflags, --with-build-ldflags, and
3024           --with-build-libs (request by Greg Roelofs).
3025         + change criteria for deciding if configure is cross-compiling from
3026           host/build mismatch to host/target mismatch (request by Greg Roelofs
3027           <greg.roelofs@philips.com>).
3028         + correct logic for infocmp -e and -E options which writes the data for
3029           the ext_Names[] array.  This is needed if one constructs a fallback
3030           table for a terminfo entry which uses extended termcap names, e.g.,
3031           AX in a color xterm.
3032         + fix undefined NCURSES_PATHSEP when configure --disable-database
3033           option is given.
3034
3035 20010811
3036         + fix for VALID_BOOLEAN() macro when char is not signed.
3037         + modify 'clean' rule for C++ binding to work with Sun compiler, which
3038           caches additional information in a subdirectory of the objects.
3039         + added llib-ncursesw.
3040
3041 20010804
3042         + add Caps.keys example for experimental extended function keys
3043           (adapted from a patch by Ilya Zakharevich).
3044         + correct parameter types of vidputs() and vidattr() to agree with
3045           header files (report by William P Setzer).
3046         + fix typos in several man-pages (patch by William P Setzer).
3047         + remove unneeded ifdef for __GNUG__ in CF_CPP_VSCAN_FUNC configure
3048           macro, which made ncurses C++ binding fail to build with other
3049           C++ compilers such as HPUX 11.x (report by Albert Chin-A-Young).
3050         + workaround for bug in HPUX 11.x C compiler: add a blank after
3051           NCURSES_EXPORT macro in form.h (report by Albert Chin-A-Young)
3052         + ignore blank lines in Caps* files in MKkey_defs.sh script (report by
3053           Albert Chin-A-Young).
3054         + correct definition of key_end in Caps.aix4, which left KEY_END
3055           undefined (report by Albert Chin-A-Young).
3056         + remove a QNX-specific fallback prototype for vsscanf(), which is
3057           obsolete with QNX RTP.
3058         + review/fix some of the T() and TR() macro calls, having noticed that
3059           there was no data for delwin() in a trace of dialog because there was
3060           no returnVoid call for wtimeout().  Also, traces in lib_twait.c are
3061           now selected under TRACE_IEVENT rather than TRACE_CALLS.
3062
3063 20010728
3064         + add a _nc_access() check before opening files listed via $TERMPATH.
3065         + using modified man2html, regenerate some of the html manpages to fix
3066           broken HREF's where the link was hyphenated.
3067
3068 20010721
3069         + add some limit/pointer checks to -S option of tputs.
3070         + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
3071           (Benjamin C W Sittler).
3072         + add a note in curs_termcap.3x regarding a defect in the XSI
3073           description of tgetent (based on a discussion with Urs Jansen
3074           regarding the HPUX 11.x implementation, whose termcap interface is
3075           not compatible with existing termcap programs).
3076         + modify manhtml rule in dist.mk to preserve copyright notice on the
3077           generated files, as well as to address HTML style issues reported by
3078           tidy and weblint.  Regenerated/updated corresponding html files.
3079         + comment out use of Protected_Character and related rarely used
3080           attributes in ncurses Ada95 test/demo to compile with wide-character
3081           configuration.
3082
3083 20010714
3084         + implement a simple example in C++ demo to test scanw().
3085         + corrected stdio function used to implement scanw() in cursesw.cc
3086         + correct definition of RemAttr() macro from 20010602 changes, which
3087           caused C++ SillyDemo to not show line-drawing characters.
3088         + modify C++ binding, adding getKey() which can be overridden by user
3089           to substitute functions other than getch() for keyboard processing
3090           of forms and menus (patch by Juergen Pfeifer).
3091
3092 20010707
3093         + fix some of the trace calls which needed modification to work with
3094           new wide-character structures.
3095         + modify magic-cookie code in tty_update.c to compile with new
3096           wide-character structures (report by <George.R.Goffe@seagate.com>).
3097         + ensure that _XOPEN_SOURCE_EXTENDED is defined in curses.priv.h if
3098           compiling for wide-character configuration.
3099         + make addwnstr() handle non-spacing characters (patch by Sven
3100           Verdoolaege).
3101
3102 20010630
3103         + add configure check to define _GNU_SOURCE, needed to prop up glibc
3104           header files.
3105         + split-out include/curses.wide to solve spurious redefinitions caused
3106           by defining _GNU_SOURCE, and move includes for <signal.h> before
3107           <curses.h> to work around misdefinition of ERR in glibc 2.1.3 header
3108           file.
3109         + extended ospeed change to NetBSD and OpenBSD -TD
3110         + modify logic in lib_baudrate.c for ospeed, for FreeBSD to make it
3111           work properly for termcap applications (patch by Andrey A Chernov).
3112
3113 20010623
3114         + correct an overlooked CharOf/UChar instance (reports by Eugene Lee
3115           <eugene@anime.net>, Sven Verdoolaege).
3116         + correct unneeded ifdef for wunctrl() (reported by Sven Verdoolaege)
3117
3118 20010618
3119         + change overlooked several CharOf/UChar instances.
3120         > several patches from Sven Verdoolaege:
3121         + correct a typo in wunctrl(), which made it appear that botwc() was
3122           needed (no such function: use btowc()).
3123         + reimplement wide-character demo in test/view.c, using new functions.
3124         + implement getcchar(), setcchar(), wadd_wchnstr() and related macros.
3125         + fix a syntax problem with do/if/while in PUTC macro (curses.priv.h).
3126
3127 20010616
3128         + add parentheses in macros for malloc in test.priv.h, fixes an
3129           expression in view.c (report by Wolfgang Gutjahr <gutw@knapp.co.at>).
3130         + add Caps.uwin, as an example.
3131         + change the way curses.h is generated, making the list of function
3132           key definitions extracted from the Caps file.
3133         + add #undef's before possible redefinition of ERR and OK in curses.h
3134         + modify logic in tic, toe, tput and tset which checks for basename of
3135           argv[0] to work properly on systems such as OS/2 which have
3136           case-independent filenames and/or program suffixes, e.g., ".ext".
3137
3138 20010609
3139         + add a configure check, if --enable-widec is specified, for putwc(),
3140           which may be in libutf8.
3141         + remove some unnecessary text from curs_extend.3x and
3142           default_colors.3x which caused man-db to make incorrect symbolic
3143           links (Debian bug report #99550).
3144         + add configure check if cast for _IO_va_list is needed to compile
3145           C++ vscan code (Debian bug report #97945).
3146         > several patches from Sven Verdoolaege:
3147         + correct code that used non-standard auto-initialization of a struct,
3148           which gcc allows (report by Larry Virden).
3149         + use putwc() in PUTC() macro.
3150         + make addstr() work for the special case where the codeset is
3151           non-stateful (eg. UTF-8), as well as stateful codesets.
3152
3153 20010603
3154         + correct loop expression in NEXT_CHAR macro for lib_addstr.c changes
3155           from 20010602 (report by Mike Castle).
3156
3157 20010602
3158         + modify mvcur() to avoid emitting newline characters when nonl() mode
3159           is set.  Normally this is not a problem since the actual terminal
3160           mode is set to suppress nl/crlf translations, however it is useful to
3161           allow the caller to manipulate the terminal mode to avoid staircasing
3162           effects after spawning a process which writes messages (for lynx
3163           2.8.4) -TD
3164         > several patches from Sven Verdoolaege <skimo@kotnet.org>:
3165         + remove redundant type-conversion in fifo_push()
3166         + correct definition of addwstr() macro in curses.h.in
3167         + remove _nc_utf8_outch()
3168         + rename most existing uses of CharOf() to UChar(), e.g., where it is
3169           used to prevent sign-extension in ctype macros.
3170         + change some chtype's to attr_t's where the corresponding variables
3171           are used to manipulate attributes.
3172         + UpdateAttr() was applied to both attributes (attr_t) and characters
3173           (chtype).  Modify macro and calls to it to make these distinct.
3174         + add CharEq() macro, use in places where wide-character configuration
3175           implementation uses a struct for cchar_t.
3176         + moved struct ldat into curses.priv.h, to hide implementation details.
3177         + change CharOf() macro to use it for masking A_CHARTEXT data from
3178           chtype's.
3179         + add L() macro to curses.priv.h, for long-character literals.
3180         + replace several assignments from struct ldat entries to chtype or
3181           char values with combinations of CharOf() and AttrOf() macros.
3182         + add/use intermediate ChAttrOf() and ChCharOf() macros where we know
3183           we are using chtype data.
3184         + add/use lowlevel attribute manipulation macros AddAttr(), RemAttr()
3185           and SetAttr().
3186         + add/use SetChar() macro, to change a cchar_t based on a character and
3187           attributes.
3188         + convert most internal use of chtype to NCURSES_CH_T, to simplify use
3189           of cchar_t for wide-character configuration.  Similarly, use ARG_CH_T
3190           where a pointer would be more useful.
3191         + add stubs for tracing cchar_t values.
3192         + add/use macro ISBLANK()
3193         + add/use constructors for cchar_t's: NewChar(), NewChar2().
3194         + add/use macros CHREF(), CHDEREF(), AttrOfD(), CharOfD() to facilitate
3195           passing cchar_t's by address.
3196         + add/use PUTC_DATA, PUTC() macros.
3197         + for wide-character configuration, move the window background data to
3198           the end of the WINDOW struct so that whether _XOPEN_SOURCE_EXTENDED
3199           is defined or not, the offsets in the struct will not change.
3200         + modify addch() to work with wide-characters.
3201         + mark several wide-character functions as generated in curses.h.in
3202         + implement wunctrl(), wadd_wch(), wbkgrndset(), wbkgrnd(),
3203           wborder_set() and waddnwstr().
3204
3205 20010526
3206         + add experimental --with-caps=XXX option to customize to similar
3207           terminfo database formats such as AIX 4.x
3208         + add Caps.aix4 as an example.
3209         + modify Caps to add columns for the the KEY_xxx symbols.
3210         + modify configure --with-widec to suppress overwrite of libcurses.so
3211           and curses.h
3212         + add checks to toe.c to avoid being confused by files and directories
3213           where we would expect the reverse, e.g., source-files in the
3214           top-level terminfo levels as is the case for AIX.
3215
3216 20010519
3217         + add top-level 'depend' rule for the C sources, assuming that the
3218           makedepend program is available.  As a side-effect, this makes
3219           the generated sources, as in "make sources" (prompted by a report
3220           by Mike Castle that "make -j" fails because the resulting parallel
3221           processes race to generate ncurses/names.c).
3222         + modify configure script so that --disable-overwrite option's action
3223           to add a symbolic link for libcurses applies to the static library as
3224           well as the shared library when both are configured (report by Felix
3225           Natter <f.natter@ndh.net>).
3226         + add ELKS terminfo entries (Federico Bianchi
3227           <bianchi@www.arte.unipi.it>)
3228         + add u6 (CSR) to Eterm (Michael Jennings).
3229
3230 20010512
3231         + modify test/ncurses.c to work with xterm-256color, which has fewer
3232           color pairs than colors*colors (report by David Ellement
3233           <ellement@sdd.hp.com>).
3234
3235 20010505
3236         + corrected screen.xterm-xfree86 entry.
3237         + update comment in Caps regarding IBM (AIX) function-key definitions.
3238
3239 20010421
3240         + modify c++/Makefile.in to link with libncurses++w.a when configured
3241           for wide-characters (patch by Sven Verdoolaege).
3242         + add check in _nc_trace_buf() to refrain from freeing a null pointer.
3243         + improve CF_PROG_INSTALL macro using CF_DIRNAME.
3244         + update config.guess, config.sub from autoconf 2.49e (alpha).
3245
3246 20010414
3247         + add secondary check in tic.c, similar_sgr() to see if the reason
3248           for mismatch was that the individual capabilities used a time-delay
3249           while sgr did not.  Used this to cleanup mismatches, e.g., in vt100,
3250           and remove time-delay from Apple_Terminal entries.
3251         + add Apple_Terminal terminfo entries (Benjamin C W Sittler
3252           <bsittler@iname.com>).
3253         + correct definitions of shifted editing keys for xterm-xfree86 -TD
3254         + fix a bug in test/bs.c from 20010407 (patch by Erik Sigra).
3255         + prevent relative_move() from doing an overwrite if it detects 8-bit
3256           characters when configured for UTF-8 (reported by Sven Verdoolaege
3257           <skimo@kotnet.org>).
3258
3259 20010407
3260         + add configure checks for strstream.h vscan function, and similar
3261           stdio-based function which may be used in C++ binding for gcc 3.0
3262           (reports by George Goffe, Lars Hecking, Mike Castle).
3263         + rewrite parts of configure.in which used changequote().  That feature
3264           is broken in the latest autoconf alphas (e.g., 2.49d).
3265         + add a missing pathname for ncurses_dll.h, needed when building in
3266           a directory outside the source tree (patch by Sven Verdoolaege
3267           <skimo@kotnet.org>).
3268         > fix 2 bugs in test/bs.c Erik Sigra <sigra@home.se>:
3269         + no ships were ever placed in the last row or in the last column.
3270           This made the game very easy to win, because you never had to waste
3271           any shots there, but the computer did.
3272         + the squares around a sunken ship that belonged to the player were not
3273           displayed as already hit by the computer, like it does for the
3274           player.
3275
3276 20010331
3277         + add some examples of customizing screen's terminfo:
3278           screen.xterm-xfree86, screen.xterm-r6, screen.teraterm -TD
3279         + modify screen's terminfo entry to match the khome/kend in screen
3280           3.09.08 (Debian bug report #92215).
3281         + correct a memory leak in forms library (report by Stefan Vogtner
3282           <stefan@vogtner.de>) (patch by Juergen Pfeifer).
3283
3284 20010324
3285         + change symbols used to guard against repeated includes to begin
3286           consistently with "NCURSES_" rather than a leading underscore.  There
3287           are other symbols defined in the header files which begin with a
3288           leading underscore, but they are part of the legacy interface.
3289         + reorder includes in c++ binding so that rcs identifiers can be
3290           compiled-in.
3291         + add .cc.ii rule to c++ makefile, to get preprocessor output for
3292           debugging.
3293         + correct configure script handling of @keyword@ substitutions when the
3294           --with-manpage-renames option is given (cf:  20000715, fixes Debian
3295           bug #89939).
3296         + report stack underflow/overflow in tparm() when tic -cv option is
3297           given.
3298         + remove spurious "%|" operator from xterm-xfree86 terminfo entry,
3299           (reported by Adam Costello <amc@cs.berkeley.edu>, Debian bug #89222).
3300
3301 20010310
3302         + cleanup of newdemo.c, fixing some ambiguous expressions noted by gcc
3303           2.95.2, and correcting some conflicting color pair initializations.
3304         + add missing copyright notice for cursesw.h
3305         + review, make minor fixes for use of '::' for referring to C-language
3306           interface from C++ binding.
3307         + modify configure check for g++ library slightly to accommodate
3308           nonstandard version number, e.g., <vendor>-2.7 (report by Ronald Ho
3309           <rho@mipos2.intel.com>).
3310         + add configure check for c++ <sstream> header, replace hardcoded
3311           ifdef.
3312         + workaround for pre-release of gcc 3.0 libstdc++, which has dropped
3313           vscan from strstreambuf to follow standard, use wrapper for C vscanf
3314           instead (report by George Goffe <grgoffe@excite.com> and Matt Taggart
3315           <taggart@carmen.fc.hp.com>, fixes Debian .
3316
3317 20010303
3318         + modify interface of _nc_get_token() to pass 'silent' parameter to it,
3319           to make quieter loading of /etc/termcap (patch by Todd C Miller).
3320         + correct a few typos in curs_slk.3x and curs_outopts.3x manpages
3321           (patch by Todd C Miller).
3322
3323 20010224
3324         + compiler-warning fixes (reported by Nelson Beebe).
3325
3326 20010210
3327         + modify screen terminfo entry to use new 3.9.8 feature allowing xterm
3328           mouse controls -TD
3329
3330 20010203
3331         + broaden patterns used to match OS/2 EMX in configure script to cover
3332           variant used in newer config.guess/config.sub
3333         + remove changequote() calls from configure script, since this feature
3334           is broken in the autoconf 2.49c alpha, maintainers decline to fix.
3335         + remove macro callPutChar() from tty_update.c, since this is no longer
3336           needed (reported by Philippe Blain).
3337         + add a null-pointer check in tic.c to handle the case when the input
3338           file is really empty.  Modify the next_char() function in comp_scan.c
3339           to allow arbitrarily long lines, and incidentally supply a newline to
3340           files that do not end in a newline.  These changes improve tic's
3341           recovery from attempts to read binary files, e.g., its output from
3342           the terminfo database (reported by Bernhard Rosenkraenzer).
3343
3344 20010127
3345         + revert change to c++/demo.cc from 20001209, which changed definition
3346           of main() apparently to accommodate cygwin linker, but broke the demo
3347           program.
3348         + workaround for broken egcs 2.91.66 which calls member functions
3349           (i.e., lines() and colors() of NCursesWindow before calling its
3350           constructor.  Add calls to initialize() in a few constructors which
3351           did not do this already.
3352         + use the GNAT preprocessor to make the necessary switch between TRACE
3353           and NO_TRACE configurations (patch by Juergen Pfeifer).
3354         > patches by Bernhard Rosenkraenzer:
3355         + modify kterm terminfo entry to use SCS sequence to support alternate
3356           character set (it does not work with SI/SO).
3357         + --with-ospeed=something didn't work.  configure.in checked for a
3358           $enableval where it should check for $withval.  Also,
3359           ncurses/llib-lncurses still had a hardcoded short.
3360
3361 20010114
3362         + correction to my merge of Tom Riddle's patch that broke tic in some
3363           conditions (reported by Enoch Wexler <enoch@wexler.co.il>) -TD
3364
3365 20010113
3366         + modify view.c to test halfdelay().  Like other tests, this recognizes
3367           the 's' and space commands for stopping/starting polled input, shows
3368           a freerunning clock in the header.  If given a parameter to 's', that
3369           makes view.c use halfdelay() with that parameter rather than
3370           nodelay().
3371         + fix to allow compile with the experimental configure option
3372           --disable-hashmap.
3373         + modify postprocess_termcap() to avoid overwriting key_backspace,
3374           key_left, key_down when processing a non-base entry (report/patch by
3375           Tom Riddle).
3376         + modify _nc_wrap_entry(), adding option to reallocate the string
3377           table, needed in _nc_merge_entry() when merging termcap entries.
3378           (adapted from report/patch by Tom Riddle <ftr@oracom.com>).
3379         + modify a few configure script macros to keep $CFLAGS used only for
3380           compiler options, preprocessor options in $CPPFLAGS.
3381
3382 20001230
3383         + correct marker positions in lrtest.c after receiving a sigwinch.
3384         + fix ifdef's in ncurses.c to build against pre-5.2 for testing.
3385         + fixes to tclock for resizing behavior, redundant computation (report
3386           and patch by A M Kuchling <akuchlin@mems-exchange.org>).
3387
3388 20001216
3389         + improved scoansi terminfo entry -TD
3390         + modify configure script and makefile in Ada95/src to compile a stub
3391           for the trace functions when ncurses does not provide those.
3392
3393 20001209
3394         + add ncurses_dll.h and related definitions to support generating DLL's
3395           with cygwin (adapted from a patch by Charles Wilson
3396           <cwilson@ece.gatech.edu>, changed NCURSES_EXPORT macro to make it
3397           work with 'indent') -TD
3398
3399 20001202
3400         + correct prototypes for some functions in curs_termcap.3x, matching
3401           termcap.h, which matches X/Open.
3402         > patch by Juergen Pfeifer:
3403         + a revised version of the Ada enhancements sent in by "H.
3404           Nanosecond", aka Eugene V Melaragno <aldomel@ix.netcom.com>.  This
3405           patch includes
3406           - small fixes to the existing ncurses binding
3407           - addition of some more low-level functions to the binding, including
3408             termcap and terminfo functions
3409           - An Ada implementation of the "ncurses" test application originally
3410             written in C.
3411
3412 20001125
3413         + modify logic in lib_setup.c to allow either lines or columns value
3414           from terminfo to be used if the screen size cannot be determined
3415           dynamically rather than requiring both (patch by Ehud Karni
3416           <ehud@unix.simonwiesel.co.il>).
3417         + add check in lib_tgoto.c's is_termcap() function to reject null or
3418           empty strings (reported by Valentin Nechayev <netch@netch.kiev.ua> to
3419           freebsd-bugs).
3420         + add definition from configure script that denotes the path-separator,
3421           which is normally a colon.  The path-separator is a semicolon on
3422           OS/2 EMX and similar systems which may use a colon within pathnames.
3423         + alter logic to set default for --disable-overwrite option to set it
3424           to 'yes' if the --prefix/$prefix value is not /usr/local, thereby
3425           accommodating the most common cause of problems: gcc's nonstandard
3426           search rules.  Other locations such as /usr/local/ncurses will
3427           default to overwriting (report by Lars Hecking <lhecking@nmrc.ie>).
3428
3429 20001118
3430         + modify default for --disable-overwrite configure option to disable
3431           if the --prefix or $prefix value is not /usr.
3432         + add cygwin to systems for which ncurses is installed by default into
3433           /usr rather than /usr/local.
3434
3435 20001111
3436         + minor optimization in comp_error.c and lib_termname.c, using
3437           strncat() to replace strncpy() (patch by Solar Designer).
3438         + add a use_terminfo_vars() check for $HOME/.termcap, and check for
3439           geteuid() to use_terminfo_vars() (patch by Solar Designer
3440           <solar@false.com>).
3441         + improved cygwin terminfo entry, based on patch by
3442           <ernie_boyd@yahoo.com>.
3443         + modify _nc_write_entry() to allow for the possibility that linking
3444           aliases on a filesystem that ignores case would not succeed because
3445           the source and destination differ only by case, e.g., NCR260VT300WPP0
3446           on cygwin (report by Neil Zanella).
3447         + fix a typo in the curs_deleteln.3x man page (patch by Bernhard
3448           Rosenkraenzer <bero@redhat.de>).
3449
3450 20001104
3451         + add configure option --with-ospeed to assist packagers in transition
3452           to 5.3 change to ospeed type.
3453         + add/use CharOf() macro to suppress sign-extension of char type on
3454           platforms where this is a problem in ctype macros, e.g., Solaris.
3455         + change trace output to binary format.
3456         + correct a missing quote adjustment in CF_PATH_SYNTAX autoconf
3457           macro, for OS/2 EMX configuration.
3458         + rearrange a few configure macros, moving preprocessor options to
3459           $CPPFLAGS (a now-obsolete version of autoconf did not consistently
3460           use $CPPFLAGS in both the compile and preprocessor checks).
3461         + add a check in relative_move() to guard against buffer overflow in
3462           the overwrite logic.
3463
3464 20001028
3465         + add message to configure script showing g++ version.
3466         + resync config.guess, config.sub
3467         + modify lib_delwin.c, making it return ERR if the window did not exist
3468           (suggested by Neil Zanella).
3469         + add cases for FreeBSD 3.1 to tdlint and makellib scripts, used this
3470           to test/review ncurses library.  (Would use lclint, but it doesn't
3471           work).
3472         + reorganized knight.c to avoid forward references.  Correct screen
3473           updates when backtracking, especially to the first cell.  Add F/B/a
3474           commands.
3475
3476 20001021 5.2 release for upload to ftp.gnu.org
3477         + update generated html files from manpages.
3478         + modify dist.mk to use edit_man.sh to substitute autoconf'd variables
3479           in html manpages.
3480         + fix an uninitialized pointer in read_termcap.c (report by Todd C
3481           Miller, from report/patch by Philip Guenther <guenther@gac.edu>).
3482         + correct help-message and array limit in knight.c (patch by Brian
3483           Raiter <breadbox@muppetlabs.com>).
3484         > patch by Juergen Pfeifer:
3485         + fix to avoid warning by GNAT-3.13p about use of inconsistent casing
3486           for some identifiers defined in the standard package.
3487         + cosmetic change to forms/fty_enum.c
3488
3489 20001014
3490         + correct an off-by-one position in test/railroad.c which could cause
3491           wrapping at the right margin.
3492         + test/repair some issues with libtool configuration.  Make
3493           --disable-echo force libtool --silent.  (Libtool does not work for
3494           OS/2 EMX, works partly for SCO - libtool is still very specific to
3495           gcc).
3496         + change default of --with-manpage-tbl to "no", since for most of the
3497           platforms which do have tbl installed, the system "man" program
3498           understands how to run tbl automatically.
3499         + minor improvement to force_bar() in comp_parse.c (Bernhard
3500           Rosenkraenzer <bero@redhat.de>).
3501         + modify lib_tparm.c to use get_space() before writing terminating
3502           null character, both for consistency as well as to ensure that if
3503           save_char() was called immediately before, that the allocated memory
3504           is enough (patch by Sergei Ivanov).
3505         + add note about termcap ML capability which is duplicated between two
3506           different capabilities:  smgl and smglr (reported by Sergei Ivanov
3507           <svivanov@pdmi.ras.ru>).
3508         + correct parameter counts in include/Caps for dclk as well as some
3509           printer-specific capabilities: csnm, defc, scs, scsd, smgtp, smglp.
3510         > patch by Johnny C Lam <lamj@stat.cmu.edu>:
3511         + add support for building with libtool (apparently version 1.3.5,
3512           since old versions do not handle -L../lib), using new configure
3513           option --with-libtool.
3514         + add configure option --with-manpage-tbl, which causes the manpages to
3515           be preprocessed by tbl(1) prior to installation,
3516         + add configure option --without-curses-h, which causes the
3517           installation process to install curses.h as ncurses.h and make
3518           appropriate changes to headers and manpages.
3519
3520 20001009
3521         + correct order of options/parameters in run_tic.in invocation of tic,
3522           which did not work with standard getopt() (reported by Ethan
3523           Butterfield <primus@veris.org>).
3524         + correct logic for 'reverse' variable in lib_vidattr.c, which was
3525           setting it true without checking if newmode had A_REVERSE set, e.g.,
3526           using $TERM=ansi on OS/2 EMX (see 20000917).
3527         > patch by Todd C Miller:
3528         + add a few missing use_terminfo_vars() and fixes up _nc_tgetent().
3529           Previously, _nc_cgetset() would still get called on cp so the
3530           simplest thing is to set cp to NULL if !use_terminfo_vars().
3531         + added checks for an empty $HOME environment variable.
3532         > patches for OS/2 EMX (Ilya Zakharevich):
3533         + modify convert_configure.pl to support INSTALL.  Change compiler
3534           options in that script to use multithreading, needed for the mouse.
3535         + modify OS/2 mouse support, retrying as a 2-button mouse if code fails
3536           to set up a 3-button mouse.
3537         + improve code for OS/2 mouse support, using _nc_timed_wait() to
3538           replace select() call.
3539
3540 20001007
3541         + change type of ospeed variable back to short to match its use in
3542           legacy applications (reported by Andrey A Chernov).
3543         + add case to configure script for --enable-rpath on IRIX (patch by
3544           Albert Chin-A-Young).
3545         + minor fix to position_check() function, to ensure it gets the whole
3546           cursor report before decoding.
3547         + add configure option --disable-assumed-color, to allow pre-5.1
3548           convention of default colors used for color-pair 0 to be configured
3549           (see assume_default_colors()).
3550         + rename configure option --enable-hashmap --disable-hashmap, and
3551           reorder the configure options, splitting the experimental and
3552           development
3553         + add configure option --disable-root-environ, which tells ncurses to
3554           disregard $TERMINFO and similar environment variables if the current
3555           user is root, or running setuid/setgid (based on discussion with
3556           several people).
3557         + modified misc/run_tic.in to use tic -o, to eliminate dependency on
3558           $TERMINFO variable for installs.
3559         + add table entry for plab_norm to tput, so it passes in strings
3560           for that capability.
3561         + modify parse_format() in lib_tparm.c to ignore precision if it is
3562           longer than 10000 (report by Jouko Pynnonen).
3563         + rewrote limit checks in lib_mvcur.c using new functions
3564           _nc_safe_strcat(), etc.  Made other related changes to check lengths
3565           used for strcat/strcpy (report by Jouko Pynnonen
3566           <jouko@solutions.fi>).
3567
3568 20000930
3569         + modify several descriptions, including those for setaf, setab, in
3570           include/Caps to indicate that the entries are parameterized.  This
3571           information is used to tell which strings are translated when
3572           converting to termcap.  Fixes a problem where the generated termcap
3573           would contain a spurious "%p1" for the terminfo "%p1%d".
3574         + modify ld -rpath options (e.g., Linux, and Solaris) to use an
3575           absolute pathname for the build tree's lib directory (prompted by
3576           discussion with Albert Chin-A-Young).
3577         + modify "make install.man" and "make uninstall.man" to include tack's
3578           man-page.
3579         + various fixes for install scripts used to support configure --srcdir
3580           and --with-install-prefix (reported by Matthew Clarke
3581           <Matthew_Clarke@mindlink.bc.ca>).
3582         + make configure script checks on variables $GCC and $GXX consistently
3583           compare against 'yes' rather than test if they are nonnull, since
3584           either may be set to the corresponding name of the C or C++ compiler
3585           (report/patch by Albert Chin-A-Young).
3586
3587 20000923
3588         + modify rs2 capability in xterm-r6 and similar where cursor
3589           save/restore bracketed the sequence for resetting video attributes.
3590           The cursor restore would undo that (report by John Hawkinson
3591           <jhawk@MIT.EDU> (see NetBSD misc/11052)).
3592         + using parameter check added to tic, corrected 27 typos in
3593           terminfo.src -TD
3594         + modify tic to verify that its inputs are really files, in case
3595           someone tries to read a directory (or /dev/zero).
3596         + add a check for empty buffers returned by fgets() in comp_scan.c
3597           next_char() function, in case tic is run on a non-text file (fixes
3598           a core dump reported by Aaron Campbell <aaron@cs.dal.ca>).
3599         + add to railroad.c some code exercising tgoto(), providing an
3600           alternate form of display if the terminal supports cursor addressing.
3601         + split-out tgoto() again, this time into new file lib_tgoto.c, and
3602           implement a conventional BSD-style tgoto() which is used if the
3603           capability string does not contain terminfo-style padding or
3604           parameters (requested by Andrey A Chernov).
3605         + add check to tic which reports capabilities that do not reference
3606           the expected number of parameters.
3607         + add error checking to infocmp's -v and -m options to ensure that
3608           the option value is indeed a number.
3609         + some cleanup of logic in _nc_signal_handler() to verify if SIGWINCH
3610           handler is setup.  Separated the old/new sigaction data for SIGTSTP
3611           from the other signals.
3612
3613 20000917
3614         + add S0, E0 extensions to screen's terminfo entry, which is another
3615           way to solve the misconfiguration issue -TD
3616         + completed special case for tgoto from 20000916
3617
3618 20000916
3619         + update xterm terminfo entries to match XFree86 xterm patch #146 -TD
3620         + add Matrix Orbital terminfo entries (from Eric Z Ayers
3621           <eric@ale.org>).
3622         + add special case to lib_tparm.c to allow 'screen' program to use a
3623           termcap-style parameter "%." to tgoto() for switching character sets.
3624         + use LN_S substitution in run_tic.in, to work on OS/2 EMX which has
3625           no symbolic links.
3626         + updated notes in README.emx regarding autoconf patches.
3627         + replace a lookup table in lib_vidattr.c used to decode no_color_video
3628           with a logic expression (suggested by Philippe Blain).
3629         + add a/A toggle to ncurses.c 'b' test, which clears/sets alternate
3630           character set attribute from the displayed text.
3631         + correct inequality in parameter analysis of rewritten lib_tparm.c
3632           which had the effect of ignoring p9 in set_attributes (sgr), breaking
3633           alternate character set (reported by Piotr Majka <charvel@link.pl>).
3634         + correct ifdef'ing for GCC_PRINTF, GCC_SCANF which would not compile
3635           with Sun WorkShop compilers since these tokens were empty (cf:
3636           20000902, reported by Albert Chin-A-Young).
3637
3638 20000909
3639         + correct an uninitialized parameter to open_tempfile() in tic.c which
3640           made "tic -I" give an ambiguous error message about tmpnam.
3641         + add special case in lib_vidattr.c to reset underline and standout for
3642           devices that have no sgr0 defined (patch by Don Lewis
3643           <Don.Lewis@tsc.tdk.com>).  Note that this will not work for bold
3644           mode, since there is no exit-bold-mode capability.
3645         + improved patch for Make_Enum_Type (patch by Juergen Pfeifer).
3646         + modify tparm to disallow arithmetic on strings, analyze the varargs
3647           list to read strings as strings and numbers as numbers.
3648         + modify tparm's internal function spop() to treat a null pointer as
3649           an empty string.
3650         + modify tput program so it can be renamed or invoked via a link as
3651           'reset' or 'init', producing the same effect as 'tput reset' or 'tput
3652           init'.
3653         + add private entrypoint _nc_basename(), use to consolidate related
3654           code in progs, as well as accommodating OS/2 EMX pathnames.
3655         + remove NCURSES_CONST line from edit_cfg.sh to compensate for its
3656           removal (except via AC_SUBST) from configure.in, making
3657           --enable-const work again (reported by Juergen Pfeifer).
3658         + regen'd configure to pick up "hpux*" change from 20000902.
3659
3660 20000902
3661         + modify tset.c to check for transformed "reset" program name, if any.
3662         + add a check for null pointer in Make_Enum_Type() (reported by Steven
3663           W Orr <steveo@world.std.com>).
3664         + change functions _nc_parse_entry() and postprocess_termcap() to avoid
3665           using strtok(), because it is non-reentrant (reported by Andrey A
3666           Chernov <ache@nagual.pp.ru>).
3667         + remove "hpux10.*" case from CF_SHARED_OPTS configure script macro.
3668           This differed from the "hpux*" case by using reversed symbolic
3669           links, which made the 5.1 version not match the configuration of
3670           5.0 shared libraries (reported by Albert Chin-A-Young).
3671         + correct a dependency in Ada95/src/Makefile.in which prevented
3672           building with configure --srcdir (patch by H Nanosecond
3673           <aldomel@ix.netcom.com>).
3674         + modify ifdef's in curses.h.in to avoid warning if GCC_PRINTF or
3675           GCC_SCANF was not previously defined (reported by Pavel Roskin
3676           <proski@gnu.org>).
3677         + add MKncurses_def.sh to generate fallback definitions for
3678           ncurses_cfg.h, to quiet gcc -Wundef warnings, modified ifdef's in
3679           code to consistently use "#if" rather than "#ifdef".
3680
3681 20000826
3682         + add QNX qansi entries to terminfo -TD
3683         + add os2 entry to misc/emx.src (<jmcoopr@webmail.bmi.net>).
3684         + add configure option --with-database to allow specifying a different
3685           terminfo source-file to install.  On OS/2 EMX, this defaults to
3686           misc/emx.src
3687         + change misc/run_tic.sh to derive it from misc/run_tic.in, to simplify
3688           setting .exe extension on OS/2 EMX.
3689         + add .exe extension in Ada95/gen/Makefile.in,
3690           Ada95/samples/Makefile.in, for OS/2 EMX (reported by
3691           <jmcoopr@webmail.bmi.net>).
3692         + add configure check for filesystems (such as OS/2 EMX) which do not
3693           distinguish between upper/lowercase filenames, use this to fix tags
3694           rules in makefiles.
3695         + initialize fds[] array to 0's in _nc_timed_wait(); apparently poll()
3696           only sets the revents members of that array when there is activity
3697           corresponding to the related file (report by Glenn Cooper
3698           <gcooper@qantas.com.au>, using Purify on Solaris 5.6).
3699         + change configure script to use AC_CANONICAL_SYSTEM rather than
3700           AC_CANONICAL_HOST, which means that configure --target will set
3701           a default program-prefix.
3702         + add note on cross-compiling to INSTALL (which does not rely on the
3703           AC_CANONICAL_* macros).
3704
3705 20000819
3706         + add cases for EMX OS/2 to config.guess, config.sub
3707         + new version of config.guess, config.sub from lynx 2.8.4dev.7
3708         + add definitions via transform.h to allow tic and tput to check for
3709           the transformed aliases rather than the original infotocap, etc.
3710         + simplify transform-expressions in progs/Makefile.in, make the
3711           uninstall rule work for transformed program names.
3712         + change symbol used by --install-prefix configure option from
3713           INSTALL_PREFIX to DESTDIR (the latter has become common usage
3714           although the name is misleading).
3715         + modify programs to use curses_version() string to report the version
3716           of ncurses with which they are compiled rather than the
3717           NCURSES_VERSION string.  The function returns the patch level in
3718           addition to the major and minor version numbers.
3719
3720 20000812
3721         + modify CF_MAN_PAGES configure macro to make transformed program names
3722           a parameter to that macro rather than embedding them in the macro.
3723         + newer config.guess, config.sub (reference version used in lynx
3724           2.8.4dev.7).
3725         + add configure option --with-default-terminfo-dir=DIR to allow
3726           specifying the default terminfo database directory (request by Albert
3727           Chin-A-Young).
3728         + minor updates for terminfo.src from FreeBSD termcap change-history.
3729         + correct notes in README and INSTALL regarding documentation files
3730           that were moved from misc directory to doc (report by Rich Kulawiec
3731           <rsk@gsp.org>).
3732         + change most remaining unquoted parameters of 'test' in configure
3733           script to use quotes, for instance fixing a problem in the
3734           --disable-database option (reported by Christian Mondrup
3735           <scancm@biobase.dk>).
3736         + minor adjustments to work around some of the incompatibilities/bugs
3737           in autoconf 2.29a alpha.
3738         + add -I/usr/local/include when --with-ncurses option is used in
3739           test/configure script.
3740         + correct logic in adjust_cancels(), which did not check both
3741           alternatives when reclassifying an extended name between boolean,
3742           number and string, causing an infinite loop in tic.
3743
3744 20000730
3745         + correct a missing backslash in curses.priv.h
3746
3747 20000729
3748         + change handling of non_dest_scroll_region in tty_update.c to clear
3749           text after it is shifted in rather than before shifting out.  Also
3750           correct row computation (reported by Ruediger Kuhlmann
3751           <uck4@rz.uni-karlsruhe.de>).
3752         + add/use new trace function to display chtype values from winch() and
3753           getbkgd().
3754         + add trace mask TRACE_ATTRS, alter several existing _tracef calls that
3755           trace attribute changes under TRACE_CALLS to use this.
3756         + modify MKlib_gen.sh so that functions returning chtype will call
3757           returnChar().
3758         + add returnChar() trace, for functions returning chtype.
3759         + change indent.pro to line up parenthesis.
3760
3761 20000722
3762         + fix a heap problem with the c++ binding (report by
3763           <alexander_liberson@ninewest.com>, patch by Juergen Pfeifer).
3764         + minor adjustment to ClrToEOL() to handle an out-of-bounds parameter.
3765         + modify the check for big-core to force a couple of memory accesses,
3766           which may work as needed for older/less-capable machines (if not,
3767           there's still the explicit configure option).
3768         > fixes based on diff's for Amiga and BeOS found at
3769           http://www.mathematik.uni-karlsruhe.de/~kuhlmann/cross/ncurses/
3770         + alter definition of NCURSES_CONST to make it non-empty.
3771         + add amiga-vnc terminfo entry.
3772         + redefine 'TEXT' in menu.h for AMIGA, since it is reported to have
3773           an (unspecified) symbol conflict.
3774         + replaced case-statement in _nc_tracebits() for CSIZE with a table to
3775           simplify working around implementations that define random
3776           combinations of the related macros to zero.
3777         + modify configure test for tcgetattr() to allow for old
3778           implementations, e.g., on BeOS, which only defined it as a macro.
3779         > patches by Bruno Haible:
3780         + when checking LC_ALL/LC_CTYPE/LANG environment variables for UTF-8
3781           locale, ignore those which are set to an empty value, as per SUSV2.
3782         + encode 0xFFFD in UTF-8 with 3 bytes, not 2.
3783         + modify _nc_utf8_outch() to avoid sign-extension when checking for
3784           out-of-range value.
3785
3786 20000715
3787         + correct manlinks.sed script to avoid using ERE "\+", which is not
3788           understood by older versions of sed (patch by Albert Chin-A-Young).
3789         + implement configure script options that transform installed program
3790           names, e.g., --program-prefix, including the manpage names and cross
3791           references (patch by Albert Chin-A-Young <china@thewrittenword.com>).
3792         + correct several mismatches between manpage filename and ".TH"
3793           directives, renaming dft_fgbg.3x to default_colors.3x and
3794           menu_attribs.3x to menu_attributes.3x (report by Todd C Miller).
3795         + correct missing includes for <string.h> in several places, including
3796           the C++ binding.  This is not noted by gcc unless we use the
3797           -fno-builtin option (reported by Igor Schein <igor@txc.com>).
3798         + modified progs/tset.c and tack/sysdep.c to build with sgttyb
3799           interface if neither termio or termios is available.  Tested this
3800           with FreeBSD 2.1.5 (which does have termios - but the sgttyb does
3801           work).
3802
3803 20000708 5.1 release for upload to ftp.gnu.org
3804         + document configure options in INSTALL.
3805         + add man-page for ncurses trace functions.
3806         + correct return value shown in curs_touch.3x for is_linetouched() and
3807           is_wintouched(), in curs_initscr.3x for isendwin(), and in
3808           curs_termattr.3x for has_ic() and has_il().
3809         + add prototypes for touchline() and touchwin(), adding them to the
3810           list of generated functions.
3811         + modify fifo_push() to put ERR into the fifo just like other values to
3812           return from wgetch().  It was returning without doing that, making
3813           end-of-file condition incorrectly return a 0 (reported by Todd C
3814           Miller).
3815         + uncomment CC_SHARED_OPTS for progs and tack (see 971115), since they
3816           are needed for SCO OpenServer.
3817         + move _nc_disable_period from free_ttype.c to comp_scan.c to appease
3818           dynamic loaders on SCO and IRIX64.
3819         + add "-a" option to test/ncurses.c to invoke assume_default_colors()
3820           for testing.
3821         + correct assignment in assume_default_colors() which tells ncurses
3822           whether to use default colors, or the assumed ones (reported by Gary
3823           Funck <gary@Intrepid.Com>).
3824         + review/correct logic in mk-1st.awk for making symbolic links for
3825           shared libraries, in particular for FreeBSD, etc.
3826         + regenerate misc/*.def files for OS/2 EMX dll's.
3827         + correct quoting of values for CC_SHARED_OPTS in aclocal.m4 for
3828           cases openbsd2*, openbsd*, freebsd* and netbsd* (patch by Peter
3829           Wemm) (err in 20000610).
3830         + minor updates to release notes, as well as adding/updating URLs for
3831           examples cited in announce.html
3832         > several fixes from Philippe Blain <philippe.blain2@freesbee.fr>:
3833         + correct placement of ifdef for NCURSES_XNAMES in function
3834           _nc_free_termtype(), fixes a memory leak.
3835         + add a call to _nc_synchook() to the end of function whline() like
3836           that in wvline() (difference was in 1.9.4).
3837         + make ClearScreen() a little faster by moving two instances of
3838           UpdateAttr() out of for-loops.
3839         + simplify ClrBottom() by eliminating the tstLine data, using for-loops
3840           (cf: 960428).
3841
3842 20000701 pre-release
3843         + change minor version to 1, i.e., ncurses 5.1
3844         + add experimental configure option --enable-colorfgbg to check for
3845           $COLORTERM variable as set by rxvt/aterm/Eterm.
3846         + add Eterm terminfo entry (Michael Jennings <mej@valinux.com>).
3847         + modify manlinks.sed to pick aliases from the SYNOPSIS section, and
3848           several manpages so manlinks.sed can find aliases for creating
3849           symbolic links.
3850         + add explanation to run_tic.sh regarding extended terminal
3851           capabilities.
3852         + change message format for edit_cfg.sh, since some people interpret
3853           it as a warning.
3854         + correct unescaped '$' in sysv5uw7*|unix_sv* rule for CF_SHARED_OPTS
3855           configure macro (report by Thanh Ma <Thanh.Ma@casi-rusco.com>).
3856         + correct logic in lib_twait.c as used by lib_mouse.c for GPM mouse
3857           support when poll() is used rather than select() (prompted by
3858           discussion with David Allen <DAllen24@aol.com>).
3859
3860 20000624 pre-release
3861         + modify TransformLine() to check for cells with different color pairs
3862           that happen to render the same display colors.
3863         + apply $NCURSES_NO_PADDING to cost-computation in mvcur().
3864         + improve cost computation in PutRange() by accounting for the use
3865           of parm_right_cursor in mvcur().
3866         + correct cost computation in EmitRange(), which was not using the
3867           normalized value for cursor_address.
3868         + newer config.guess, config.sub (reference version used in TIN 1.5.6).
3869
3870 20000617
3871         + update config.guess, config.sub (reference version used in PCRE 3.2).
3872         + resync changes to gnathtml against version 1.22, regenerated html
3873           files under doc/html/ada using this (1.22.1.1).
3874         + regenerated html files under doc/html/man after correcting top and
3875           bottom margin options for man2html in dist.mk
3876         + minor fixes to test programs ncurses 'i' and testcurs program to make
3877           the subwindow's background color cover the subwindow.
3878         + modify configure script so AC_MSG_ERROR is temporarily defined to a
3879           warning in AC_PROG_CXX to make it recover from a missing C++ compiler
3880           without requiring user to add --without-cxx option (adapted from
3881           comment by Akim Demaille <akim@epita.fr> to autoconf mailing list).
3882         + modify headers.sh to avoid creating temporary files in the build
3883           directory when installing headers (reported by Sergei Pokrovsky
3884           <pok@nbsp.nsk.su>)
3885
3886 20000610
3887         + regenerated the html files under doc/html/ada/files and
3888           doc/html/ada/funcs with a slightly-improved gnathtml.
3889         + add kmous capability to linux terminfo entry to allow it to use
3890           xterm-style events provided by gpm patch by Joerg Schoen.
3891         + make the configure macro CF_SHARED_OPTS a little smarter by testing
3892           if -fPIC is supported by gcc rather than -fpic.  The former option
3893           allows larger symbol tables.
3894         + update config.guess and config.sub (patches by
3895           Kevin Buettner <kev@primenet.com> (for elf64_ia64),
3896           Bernd Kuemmerlen <bkuemmer@mevis.de> (for MacOS X)).
3897         + add warning for 'tic -cv' about use of '^?' in terminfo source, which
3898           is an extension.
3899
3900 20000527
3901         + modify echo() behavior of getch() to match Solaris curses for
3902           carriage return and backspace (reported by Neil Zanella).
3903         + change _nc_flush() to a function.
3904         + modify delscreen() to check if the output stream has been closed, and
3905           if so, free the buffer allocated for setbuf (this provides an