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