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