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