Correct typo: vender -> vendor
[dragonfly.git] / contrib / ncurses-5.4 / NEWS
1 -- $Id: NEWS,v 1.797 2004/02/08 21:15:26 tom Exp $
2
3 This is a log of changes that ncurses has gone through since Zeyd started
4 working with Pavel Curtis' original work, pcurses, in 1992.
5
6 Changes through 1.9.9e are recorded by Zeyd M. Ben-Halim.
7 Changes since 1.9.9e are recorded by Thomas Dickey.
8
9 20040208 5.4 release for upload to ftp.gnu.org
10         + update TO-DO.
11
12 20040207 pre-release
13         + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
14           and do not count %d if it follows a %p.
15         + correct an inconsistency between handling of codes in the 128-255
16           range, e.g., as illustrated by test/ncurses.c f/F tests.  In POSIX
17           locale, the latter did not show printable results, while the former
18           did.
19         + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
20           OS X, which alters "%%" to "% % " (report by Robert Simms, fix
21           verified by Scott Corscadden).
22
23 20040131 pre-release
24         + modify SCREEN struct to align it between normal/wide curses flavors
25           to simplify future changes to build a single version of libtinfo
26           (patch by Stanislav Ievlev).
27         + document handling of carriage return by addch() in manpage.
28         + document special features of unctrl() in manpage.
29         + documented interface changes in INSTALL.
30         + corrected control-char test in lib_addch.c to account for locale
31           (Debian #230335, cf: 971206).
32         + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
33         + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
34         + minor configure-script fixes for older ports, e.g., BeOS R4.5.
35
36 20040125 pre-release
37         + amend change to PutAttrChar() from 20030614 which computed the number
38           of cells for a possibly multi-cell character.  The 20030614 change
39           forced the cell to a blank if the result from wcwidth() was not
40           greater than zero.  However, wcwidth() called for parameters in the
41           range 128-255 can give this return value.  The logic now simply
42           ensures that the number of cells is greater than zero without
43           modifying the displayed value.
44
45 20040124 pre-release
46         + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
47         + modify configure script check for ranlib to use AC_CHECK_TOOL, since
48           that works better for cross-compiling.
49
50 20040117 pre-release
51         + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
52           work around core dump in Solaris 8's locale support, e.g., for
53           zh_CN.GB18030 (report by Saravanan Bellan).
54         + add includes for <stdarg.h> and <stdio.h> in configure script macro
55           to make <wchar.h> check work with Tru64 4.0d.
56         + add terminfo entry for U/Win -TD
57         + add terminfo entries for SFU aka Interix aka OpenNT (Federico
58           Bianchi).
59         + modify tput's error messages to prefix them with the program name
60           (report by Vincent Lefevre, patch by Daniel Jacobowitz, Debian
61           #227586).
62         + correct a place in tack where exit_standout_mode was used instead of
63           exit_attribute_mode (patch by Jochen Voss, Debian #224443).
64         + modify c++/cursesf.h to use const in the Enumeration_Field method.
65         + remove an ambiguous (actually redundant) method from c++/cursesf.h
66         + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
67         + improve sed script which extracts libtool's version in the
68           CF_WITH_LIBTOOL macro.
69         + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
70           simplify local patch for Albert Chin-A-Young)..
71         + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
72           patch by Albert Chin-A-Young)..
73         + fix a missing substitution in configure.in for "$target" needed for
74           HPUX .so/.sl case.
75         + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
76           NetBSD 1.6 conflicts with _XOPEN_SOURCE.
77         + make check for stdbool.h more specific, to ensure that including it
78           will actually define/declare bool for the configured compiler.
79         + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool.  The
80           intention of that is to #define NCURSES_BOOL as bool when the
81           compiler declares bool, and to #define bool as NCURSES_BOOL when it
82           does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
83
84 20040110 pre-release
85         + change minor version to 4, i.e., ncurses 5.4
86         + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
87           Sittler).
88         + simplified ncurses/base/version.c by defining the result from the
89           configure script rather than using sprintf (suggested by Stanislav
90           Ievlev).
91         + remove obsolete casts from c++/cursesw.h (reported by Stanislav
92           Ievlev).
93         + modify configure script so that when configuring for termlib, programs
94           such as tic are not linked with the upper-level ncurses library
95           (suggested by Stanislav Ievlev).
96         + move version.c from ncurses/base to ncurses/tinfo to allow linking
97           of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
98
99 20040103
100         + adjust -D's to build ncursesw on OpenBSD.
101         + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
102         + add pecho_wchar().
103         + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
104           available) on older platforms.
105
106 20031227
107         + add -D's to build ncursew on FreeBSD 5.1.
108         + modify shared library configuration for FreeBSD 4.x/5.x to add the
109           soname information (request by Marc Glisse).
110         + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
111           for limiting the length of a filename in the terminfo database.
112         + modify termname() to return the terminal name used by setupterm()
113           rather than $TERM, without truncating to 14 characters as documented
114           by X/Open (report by Stanislav Ievlev, cf:  970719).
115         + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
116
117 20031220
118         + add configure option --with-manpage-format=catonly to address
119           behavior of BSDI, allow install of man+cat files on NetBSD, whose
120           behavior has diverged by requiring both to be present.
121         + remove leading blanks from comment-lines in manlinks.sed script to
122           work with Tru64 4.0d.
123         + add screen.linux terminfo entry (discussion on mutt-users mailing
124           list).
125
126 20031213
127         + add a check for tic to flag missing backslashes for termcap
128           continuation lines.  ncurses reads the whole entry, but termcap
129           applications do not.
130         + add configure option "--with-manpage-aliases" extending
131           "--with-manpage-aliases" to provide the option of generating ".so"
132           files rather than symbolic links for manpage aliases.
133         + add bool definition in include/curses.h.in for configurations with no
134           usable C++ compiler (cf: 20030607).
135         + fix pathname of SigAction.h for building with --srcdir (reported by
136           Mike Castle).
137
138 20031206
139         + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
140           since that header is used only within ncurses/tty/lib_tstp.c, for
141           non-POSIX systems (discussion with Stanislav Ievlev).
142         + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
143           <inger@altlinux.org>).
144         + add test/background.c and test/color_set.c
145         + modify color_set() function to work with color pair 0 (report by
146           George Andreou <gbandreo@tem.uoc.gr>).
147         + add configure option --with-trace, since defining TRACE seems too
148           awkward for some cases.
149         + remove a call to _nc_free_termtype() from read_termtype(), since the
150           corresponding buffer contents were already zeroed by a memset (cf:
151           20000101).
152         + improve configure check for _XOPEN_SOURCE and related definitions,
153           adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
154           __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
155         + small fixes to compile on Solaris and IRIX64 using cc.
156         + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
157           (cf: 20031101).
158
159 20031129
160         + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
161           values (Philippe Blain).
162         + improve the nanosleep() logic in napms() by checking for EINTR and
163           restarting (Philippe Blain).
164         + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
165           <mooz@welho.com>).
166
167 20031122
168         + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
169         + allow "\|" escape in terminfo; tic should not warn about this.
170         + save the full pathname of the trace-file the first time it is opened,
171           to avoid creating it in different directories if the application
172           opens and closes it while changing its working directory.
173         + modify configure script to provide a non-empty default for
174           $BROKEN_LINKER
175
176 20031108
177         + add DJGPP to special case of DOS-style drive letters potentially
178           appearing in TERMCAP environment variable.
179         + fix some spelling in comments (reports by jmc, Jonathon Gray).
180         + update config.guess, config.sub
181
182 20031101
183         + fix a memory leak in error-return from setupterm() (report by
184           Stanislav Ievlev <inger@altlinux.org>).
185         + use EXEEXT and OBJEXT consistently in makefiles.
186         + amend fixes for cross-compiling to use separate executable-suffix
187           BUILD_EXEEXT (cf: 20031018).
188         + modify MKkey_defs.sh to check for sort utility that does not
189           recognize key options, e.g., busybox (report by Peter S Mazinger
190           <ps.m@gmx.net>).
191         + fix potential out-of-bounds indexing in _nc_infotocap() (found by
192           David Krause using some of the new malloc debugging features
193           under OpenBSD, patch by Ted Unangst).
194         + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
195           ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
196
197 20031025
198         + update terminfo for xterm-xfree86 -TD
199         + add check for multiple "tc=" clauses in a termcap to tic.
200         + check for missing op/oc in tic.
201         + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
202           tic to show cancelled capabilities.  These functions were ignoring
203           the state of the target entry, which should be untouched if cancelled.
204         + correct comment in tack/output.c (Debian #215806).
205         + add some null-pointer checks to lib_options.c (report by Michael
206           Bienia).
207         + regenerated html documentation.
208         + correction to tar-copy.sh, remove a trap command that resulted in
209           leaving temporary files (cf: 20030510).
210         + remove contact/maintainer addresses for Juergen Pfeifer (his request).
211
212 20031018
213         + updated test/configure to reflect changes for libtool (cf: 20030830).
214         + fix several places in tack/pad.c which tested and used the parameter-
215           and parameterless strings inconsistently, i.e., in pad_rin(),
216           pad_il(), pad_indn() and pad_dl() (Debian #215805).
217         + minor fixes for configure script and makefiles to cleanup executables
218           generated when cross-compiling for DJGPP.
219         + modify infocmp to omit check for $TERM for operations that do not
220           require it, e.g., "infocmp -e" used to build fallback list (report by
221           Koblinger Egmont).
222
223 20031004
224         + add terminfo entries for DJGPP.
225         + updated note about maintainer in ncurses-intro.html
226
227 20030927
228         + update terminfo entries for gnome terminal.
229         + modify tack to reset colors after each color test, correct a place
230           where exit_standout_mode was used instead of exit_attribute_mode.
231         + improve tack's bce test by making it set colors other than black
232           on white.
233         + plug a potential recursion between napms() and _nc_timed_wait()
234           (report by Philippe Blain).
235
236 20030920
237         + add --with-rel-version option to allow workaround to allow making
238           libtool on Darwin generate the "same" library names as with the
239           --with-shared option.  The Darwin ld program does not work well
240           with a zero as the minor-version value (request by Chris Zubrzycki).
241         + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
242         + modify tack to allow it to run from fallback terminfo data.
243         > Philippe Blain:
244         + improve PutRange() by adjusting call to EmitRange() and corresponding
245           return-value to not emit unchanged characters on the end of the
246           range.
247         + improve a check for changed-attribute by exiting a loop when the
248           change is found.
249         + improve logic in TransformLine(), eliminating a duplicated comparison
250           in the clr_bol logic.
251
252 20030913
253         > Philippe Blain:
254         + in ncurses/tty/lib_mvcur.c,
255           move the label 'nonlocal' just before the second gettimeofday() to
256           be able to compute the diff time when 'goto nonlocal' used.
257           Rename 'msec' to 'microsec' in the debug-message.
258         + in ncurses/tty/lib_mvcur.c,
259           Use _nc_outch() in carriage return/newline movement instead of
260           putchar() which goes to stdout.  Move test for xold>0 out of loop.
261         + in ncurses/tinfo/setbuf.c,
262           Set the flag SP->_buffered at the end of operations when all has been
263           successful (typeMalloc can fail).
264         + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
265
266 20030906
267         + modify configure script to avoid using "head -1", which does not
268           work if POSIXLY_CORRECT (sic) is set.
269         + modify run_tic.in to avoid using wrong shared libraries when
270           cross-compiling (Dan Kegel).
271
272 20030830
273         + alter configure script help message to make it clearer that
274           --with-build-cc does not specify a cross-compiler (suggested by Dan
275           Kegel <dank@kegel.com>).
276         + modify configure script to accommodate libtool 1.5, as well as add an
277           parameter to the "--with-libtool" option which can specify the
278           pathname of libtool (report by Chris Zubrzycki).  We note that
279           libtool 1.5 has more than one bug in its C++ support, so it is not
280           able to install libncurses++, for instance, if $DESTDIR or the option
281           --with-install-prefix is used.
282
283 20030823
284         > Philippe Blain:
285         + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
286         + make baudrate computation in delay_output() consistent with the
287           assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
288
289 20030816
290         + modify logic in waddch_literal() to take into account zh_TW.Big5
291           whose multibyte sequences may contain "printable" characters, e.g.,
292           a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
293         + improve storage used by _nc_safe_strcpy() by ensuring that the size
294           is reset based on the initialization call, in case it were called
295           after other strcpy/strcat calls (report by Philippe Blain).
296         > Philippe Blain:
297         + remove an unused ifdef for REAL_ATTR & WANT_CHAR
298         + correct a place where _cup_cost was used rather than _cuu_cost
299
300 20030809
301         + fix a small memory leak in _nc_free_termtype().
302         + close trace-file if trace() is called with a zero parameter.
303         + free memory allocated for soft-key strings, in delscreen().
304         + fix an allocation size in safe_sprintf.c for the "*" format code.
305         + correct safe_sprintf.c to not return a null pointer if the format
306           happens to be an empty string.  This applies to the "configure
307           --enable-safe-sprintf" option (Redhat #101486).
308
309 20030802
310         + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
311           Daniel Jacobowitz).
312         > Philippe Blain:
313         + change padding for change_scroll_region to not be proportional to
314           the size of the scroll-region.
315         + correct error-return in _nc_safe_strcat().
316
317 20030726
318         + correct limit-checks in _nc_scroll_window() (report and test-case by
319           Thomas Graf <graf@dms.at> cf: 20011020).
320         + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
321           _GNU_SOURCE check.
322
323 20030719
324         + use clr_eol in preference to blanks for bce terminals, so select and
325           paste will have fewer trailing blanks, e.g., when using xterm
326           (request by Vincent Lefevre).
327         + correct prototype for wunctrl() in manpage.
328         + add configure --with-abi-version option (discussion with Charles
329           Wilson).
330         > cygwin changes from Charles Wilson:
331           + aclocal.m4: on cygwin, use autodetected prefix for import
332             and static lib, but use "cyg" for DLL.
333           + include/ncurses_dll.h: correct the comments to reflect current
334             status of cygwin/mingw port.  Fix compiler warning.
335           + misc/run_tic.in: ensure that tic.exe can find the uninstalled
336             DLL, by adding the lib-directory to the PATH variable.
337           + misc/terminfo.src (nxterm|xterm-color): make xterm-color
338             primary instead of nxterm, to match XFree86's xterm.terminfo
339             usage and to prevent circular links.
340             (rxvt): add additional codes from rxvt.org.
341             (rxvt-color): new alias
342             (rxvt-xpm): new alias
343             (rxvt-cygwin): like rxvt, but with special acsc codes.
344             (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
345             with a "native" MSWin GUI.  Each takes different acsc codes,
346             which are both different from the "normal" rxvt's acsc.
347             (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
348             (cygwinDBG): ditto.
349           + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
350             and static libs.
351
352 20030712
353         + update config.guess, config.sub
354         + add triples for configuring shared libraries with the Debian
355           GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
356
357 20030705
358         + modify CF_GCC_WARNINGS so it only applies to gcc, not g++.  Some
359           platforms have installed g++ along with the native C compiler, which
360           would not accept gcc warning options.
361         + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
362           get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
363         + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
364         + correct a sign-extension in wadd_wch() and wecho_wchar() from
365           20030628 (report by Tomohiro KUBOTA).
366         + work around omission of btowc() and wctob() from wide-character
367           support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
368           Gabor Z Papp).
369         + add portability note to curs_get_wstr.3x (Debian #199957).
370
371 20030628
372         + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
373           respectively, to avoid calling waddch_noecho() with wide-character
374           data, since that function assumes its input is 8-bit data.
375           Similarly, modify waddnwstr() to call wadd_wch().
376         + remove logic from waddnstr() which transformed multibyte character
377           strings into wide-characters.  Rewrite of waddch_literal() from
378           20030621 assumes its input is raw multibyte data rather than wide
379           characters (report by Tomohiro KUBOTA).
380
381 20030621
382         + write getyx() and related 2-return macros in terms of getcury(),
383           getcurx(), etc.
384         + modify waddch_literal() in case an application passes bytes of a
385           multibyte character directly to waddch().  In this case, waddch()
386           must reassemble the bytes into a wide-character (report by Tomohiro
387           KUBOTA <kubota@debian.org>).
388
389 20030614
390         + modify waddch_literal() in case a multibyte value occupies more than
391           two cells.
392         + modify PutAttrChar() to compute the number of character cells that
393           are used in multibyte values.  This fixes a problem displaying
394           double-width characters (report/test by Mitsuru Chinen
395           <mchinen@yamato.ibm.com>).
396         + add a null-pointer check for result of keyname() in _tracechar()
397         + modify _tracechar() to work around glibc sprintf bug.
398
399 20030607
400         + add a call to setlocale() in cursesmain.cc, making demo display
401           properly in a UTF-8 locale.
402         + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
403           by discussion with Gabor Z Papp).
404         + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
405           appease -Wchar-subscript with g++ 3.3 (Debian #195732).
406         + fix a redefinition of $RANLIB in the configure script when libtool
407           is used, which broke configure on Mac OS X (report by Chris Zubrzycki
408           <beren@mac.com>).
409         + simplify ifdef for bool declaration in curses.h.in (suggested by
410           Albert Chin-A-Young).
411         + remove configure script check to allow -Wconversion for older
412           versions of gcc (suggested by Albert Chin-A-Young).
413
414 20030531
415         + regenerated html manpages.
416         + modify ifdef's in curses.h.in that disabled use of __attribute__()
417           for g++, since recent versions implement the cases which ncurses uses
418           (Debian #195230).
419         + modify _nc_get_token() to handle a case where an entry has no
420           description, and capabilities begin on the same line as the entry
421           name.
422         + fix a typo in ncurses_dll.h reported by gcc 3.3.
423         + add an entry for key_defined.3x to man_db.renames.
424
425 20030524
426         + modify setcchar() to allow converting control characters to complex
427           characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
428         + add tkterm entry -TD
429         + modify parse_entry.c to allow a terminfo entry with a leading
430           2-character name (report by Don Libes).
431         + corrected acsc in screen.teraterm, which requires a PC-style mapping.
432         + fix trace statements in read_entry.c to use lseek() rather than
433           tell().
434         + fix signed/unsigned warnings from Sun's compiler (gcc should give
435           these warnings, but it is unpredictable).
436         + modify configure script to omit -Winline for gcc 3.3, since that
437           feature is broken.
438         + modify manlinks.sed to add a few functions that were overlooked since
439           they return function pointers:  field_init, field_term, form_init,
440           form_term, item_init, item_term, menu_init and menu_term.
441
442 20030517
443         + prevent recursion in wgetch() via wgetnstr() if the connection cannot
444           be switched between cooked/raw modes because it is not a TTY (report
445           by Wolfgang Gutjahr <gutw@knapp.com>).
446         + change parameter of define_key() and key_defined() to const (prompted
447           by Debian #192860).
448         + add a check in test/configure for ncurses extensions, since there
449           are some older versions, etc., which would not compile with the
450           current test programs.
451         + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
452           convert wchar_t string to multibyte form before printing it.
453         + corrections to lib_get_wstr.c:
454           + null-terminate buffer passed to setcchar(), which occasionally
455             failed.
456           + map special characters such as erase- and kill-characters into
457             key-codes so those will work as expected even if they are not
458             mentioned in the terminfo.
459         + modify PUTC() and Charable() macros to make wide-character line
460           drawing work for POSIX locale on Linux console (cf: 20021221).
461
462 20030510
463         + make typography for program options in manpages consistent (report
464           by Miloslav Trmac <mitr@volny.cz>).
465         + correct dependencies in Ada95/src/Makefile.in, so the builds with
466           "--srcdir" work (report by Warren L Dodge).
467         + correct missing definition of $(CC) in Ada95/gen/Makefile.in
468           (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
469         + fix typos and whitespace in manpages (patch by jmc
470           <jmc@prioris.mini.pw.edu.pl>).
471
472 20030503
473         + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
474           REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
475           the editing position before making modifications.
476         + add test/demo_forms and associated test/edit_field.c demos.
477         + modify test/configure.in to use test/modules for the list of objects
478           to compile rather than using the list of programs.
479
480 20030419
481         + modify logic of acsc to use the original character if no mapping is
482           defined, noting that Solaris does this.
483         + modify ncurses 'b' test to avoid using the acs_map[] array since
484           20021231 changes it to no longer contain information from the acsc
485           string.
486         + modify makefile rules in c++, progs, tack and test to ensure that
487           the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link
488           command (report by Jose Luis Rico Botella <informatica@serpis.com>).
489         + modify soft-key initialization to use A_REVERSE if A_STANDOUT would
490           not be shown when colors are used, i.e., if ncv#1 is set in the
491           terminfo as is done in "screen".
492
493 20030412
494         + add a test for slk_color(), in ncurses.c
495         + fix some issues reported by valgrind in the slk_set() and slk_wset()
496           code, from recent rewrite.
497         + modify ncurses 'E' test to use show previous label via slk_label(),
498           as in 'e' test.
499         + modify wide-character versions of NewChar(), NewChar2() macros to
500           ensure that the whole struct is initialized.
501
502 20030405
503         + modify setupterm() to check if the terminfo and terminal-modes have
504           already been read.  This ensures that it does not reinvoke
505           def_prog_mode() when an application calls more than one function,
506           such as tgetent() and initscr() (report by Olaf Buddenhagen).
507
508 20030329
509         + add 'E' test to ncurses.c, to exercise slk_wset().
510         + correct handling of carriage-return in wgetn_wstr(), used in demo of
511           slk_wset().
512         + first draft of slk_wset() function.
513
514 20030322
515         + improved warnings in tic when suppressing items to fit in termcap's
516           1023-byte limit.
517         + built a list in test/README showing which externals are being used
518           by either programs in the test-directory or via internal library
519           calls.
520         + adjust include-options in CF_ETIP_DEFINES to avoid missing
521           ncurses_dll.h, fixing special definitions that may be needed for
522           etip.h (reported by Greg Schafer <gschafer@zip.com.au>).
523
524 20030315
525         + minor fixes for cardfile.c, to make it write the updated fields to
526           a file when ^W is given.
527         + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in
528           trace code.
529
530 20030308
531         + correct a case in _nc_remove_string(), used by define_key(), to avoid
532           infinite loop if the given string happens to be a substring of other
533           strings which are assigned to keys (report by John McCutchan).
534         + add key_defined() function, to tell which keycode a string is bound
535           to (discussion with John McCutchan <ttb@tentacle.dhs.org>).
536         + correct keybound(), which reported definitions in the wrong table,
537           i.e., the list of definitions which are disabled by keyok().
538         + modify demo_keydef.c to show the details it changes, and to check
539           for errors.
540
541 20030301
542         + restructured test/configure script, make it work for libncursesw.
543         + add description of link_fieldtype() to manpage (report by
544           L Dee Holtsclaw <dee@sunbeltsoft.com>).
545
546 20030222
547         + corrected ifdef's relating to configure check for wchar_t, etc.
548         + if the output is a socket or other non-tty device, use 1 millisecond
549           for the cost in mvcur; previously it was 9 milliseconds because the
550           baudrate was not known.
551         + in _nc_get_tty_mode(), initialize the TTY buffer on error, since
552           glibc copies uninitialized data in that case, as noted by valgrind.
553         + modify tput to use the same parameter analysis as tparm() does, to
554           provide for user-defined strings, e.g., for xterm title, a
555           corresponding capability might be
556                 title=\E]2;%p1%s^G,
557         + modify MKlib_gen.sh to avoid passing "#" tokens through the C
558           preprocessor.  This works around Mac OS X's preprocessor, which
559           insists on adding a blank on each side of the token (report/analysis
560           by Kevin Murphy <murphy@genome.chop.edu>).
561
562 20030215
563         + add configure check for wchar_t and wint_t types, rather than rely
564           on preprocessor definitions.  Also work around for gcc fixinclude
565           bug which creates a shadow copy of curses.h if it sees these symbols
566           apparently typedef'd.
567         + if database is disabled, do not generate run_tic.sh
568         + minor fixes for memory-leak checking when termcap is read.
569
570 20030208
571         + add checking in tic for incomplete line-drawing character mapping.
572         + update configure script to reflect fix for AC_PROG_GCC_TRADITIONAL,
573           which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by
574           Gerben Wierda <Sherlock@rna.nl>).
575         + make return value from _nc_printf_string() consistent.  Before,
576           depending on whether --enable-safe-sprintf was used, it might not be
577           cached for reallocating.
578
579 20030201
580         + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c
581         + correct a potentially-uninitialized value if _read_termtype() does
582           not read as much data as expected (report by Wolfgang Rohdewald
583           <wr6@uni.de>).
584         + correct several places where the aclocal.m4 macros relied on cache
585           variable names which were incompatible (as usual) between autoconf
586           2.13 and 2.5x, causing the test for broken-linker to give incorrect
587           results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser
588           <te@dbs.uni-hannover.de>).
589         + do not try to open gpm mouse driver if standard output is not a tty;
590           the gpm library does not make this check (from bug report for dialog
591           by David Oliveira <davidoliveira@develop.prozone.ws>).
592
593 20030125
594         + modified emx.src to correspond more closely to terminfo.src, added
595           emx-base to the latter -TD
596         + add configure option for FreeBSD sysmouse, --with-sysmouse, and
597           implement support for that in lib_mouse.c, lib_getch.c
598
599 20030118
600         + revert 20030105 change to can_clear_with(), does not work for the
601           case where the update is made on cells which are blanks with
602           attributes, e.g., reverse.
603         + improve ifdef's to guard against redefinition of wchar_t and wint_t
604           in curses.h (report by Urs Jansen).
605
606 20030111
607         + improve mvcur() by checking if it is safe to move when video
608           attributes are set (msgr), and if not, reset/restore attributes
609           within that function rather than doing it separately in the GoTo()
610           function in tty_update.c (suggested by Philippe Blain).
611         + add a message in run_tic.in to explain more clearly what does not
612           work when attempting to create a symbolic link for /usr/lib/terminfo
613           on OS/2 and other platforms with no symbolic links (report by John
614           Polterak).
615         + change several sed scripts to avoid using "\+" since it is not a BRE
616           (basic regular expression).  One instance caused terminfo.5 to be
617           misformatted on FreeBSD (from a FreeBSD bug report by Kazuo Horikawa
618           <horikawa@FreeBSD.org>).
619         + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins).
620
621 20030105
622         + improve description of terminfo operators, especially static/dynamic
623           variables (comments by Mark I Manning IV <mark4th@earthlink.net>).
624         + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to
625           use the predefined TYPE_ALPHA field-type, and by defining a
626           specialized type for the middle initial/name.
627         + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature
628           of sed 4.0
629         > Philippe Blain:
630         + optimize can_clear_with() a little by testing first if the parameter
631           is indeed a "blank".
632         + simplify ClrBottom() a little by allowing it to use clr_eos to clear
633           sections as small as one line.
634         + improve ClrToEOL() by checking if clr_eos is available before trying
635           to use it.
636         + use tputs() rather than putp() in a few cases in tty_update.c since
637           the corresponding delays are proportional to the number of lines
638           affected: repeat_char, clr_eos, change_scroll_region.
639
640 20021231
641         + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from
642           global acs_map[] array; removed the lines that did the copying.
643
644 20021228
645         + change some overlooked tputs() calls in scrolling code to use putp()
646           (report by Philippe Blain).
647         + modify lib_getch.c to avoid recursion via wgetnstr() when the input
648           is not a tty and consequently mode-changes do not work (report by
649           <R.Chamberlin@querix.com>).
650         + rewrote lib_acs.c to allow PutAttrChar() to decide how to render
651           alternate-characters, i.e., to work with Linux console and UTF-8
652           locale.
653         + correct line/column reference in adjust_window(), needed to make
654           special windows such as curscr track properly when resizing (report
655           by Lucas Gonze <lgonze@panix.com>).
656         > Philippe Blain:
657         + correct the value used for blank in ClrBottom() (broken in 20000708).
658         + correct an off-by-one in GoTo() parameter in _nc_scrolln().
659
660 20021221
661         + change several tputs() calls in scrolling code to use putp(), to
662           enable padding which may be needed for some terminals (patch by
663           by Philippe Blain).
664         + use '%' as sed substitute delimiter in run_tic script to avoid
665           problems with pathname delimiters such as ':' and '@' (report by John
666           Polterak).
667         + implement a workaround so that line-drawing works with screen's
668           crippled UTF-8 support (tested with 3.9.13).  This only works with
669           the wide-character support (--enable-widec); the normal library will
670           simply suppress line-drawing when running in a UTF-8 locale in screen.
671
672 20021214
673         + allow BUILD_CC and related configure script variables to be
674           overridden from the environment.
675         + make build-tools variables in ncurses/Makefile.in consistent with
676           the configure script variables (report by Maciej W Rozycki).
677         + modify ncurses/modules to allow
678                 configure --disable-leaks --disable-ext-funcs
679           to build (report by Gary Samuelson).
680         + fix a few places in configure.in which lacked quotes (report by
681           Gary Samuelson <gary.samuelson@verizon.com>).
682         + correct handling of multibyte characters in waddch_literal() which
683           force wrapping because they are started too late on the line (report
684           by Sam Varshavchik).
685         + small fix for CF_GNAT_VERSION to ignore the help-message which
686           gnatmake adds to its version-message.
687         > Maciej W Rozycki <macro@ds2.pg.gda.pl>:
688         + use AC_CHECK_TOOL to get proper values for AR and LD for cross
689           compiling.
690         + use $cross_compiling variable in configure script rather than
691           comparing $host_alias and $target alias, since "host" is
692           traditionally misused in autoconf to refer to the target platform.
693         + change configure --help message to use "build" rather than "host"
694           when referring to the --with-build-XXX options.
695
696 20021206
697         + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for
698           possible gnat versions such as 3.2 (report by Chris Lingard
699           <chris@stockwith.co.uk>).
700         + modify #define's for CKILL and other default control characters in
701           tset to use the system's default values if they are defined.
702         + correct interchanged defaults for kill and interrupt characters
703           in tset, which caused it to report unnecessarily (Debian #171583).
704         + repair check for missing C++ compiler, which is broken in autoconf
705           2.5x by hardcoding it to g++ (report by Martin Mokrejs).
706         + update config.guess, config.sub (2002-11-30)
707         + modify configure script to skip --with-shared, etc., when the
708           --with-libtool option is given, since they would be ignored anyway.
709         + fix to allow "configure --with-libtool --with-termlib" to build.
710         + modify configure script to show version number of libtool, to help
711           with bug reports.  libtool still gets confused if the installed
712           ncurses libraries are old, since it ignores the -L options at some
713           point (tested with libtool 1.3.3 and 1.4.3).
714         + reorder configure script's updating of $CPPFLAGS and $CFLAGS to
715           prevent -I options in the user's environment from introducing
716           conflicts with the build -I options (may be related to reports by
717           Patrick Ash and George Goffe).
718         + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to
719           test/demo_keyok.c to allow building these with libtool.
720
721 20021123
722         + add example program test/define_key.c for define_key().
723         + add example program test/keyok.c for keyok().
724         + add example program test/ins_wide.c for wins_wch() and wins_wstr().
725         + modify wins_wch() and wins_wstr() to interpret tabs by using the
726           winsch() internal function.
727         + modify setcchar() to allow for wchar_t input strings that have
728           more than one spacing character.
729
730 20021116
731         + fix a boundary check in lib_insch.c (patch by Philippe Blain).
732         + change type for *printw functions from NCURSES_CONST to const
733           (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>,
734           but really from a note on X/Open's website stating that either is
735           acceptable, and the latter will be used in a future revision).
736         + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in
737           lib_mouse.c (20021026) -TD
738         + add screen-bce, screen-s entries from screen 3.9.13 (report by
739           Adam Lazur <zal@debian.org>) -TD
740         + add mterm terminfo entries -TD
741
742 20021109
743         + split-out useful fragments in terminfo for vt100 and vt220 numeric
744           keypad, i.e., vt100+keypad, vt100+pfkeys, vt100+fnkeys and
745           vt220+keypad.  The last as embedded in various entries had ka3 and
746           kb2 interchanged (report/discussion with Leonard den Ottolander
747           <leonardjo@hetnet.nl>).
748         + add check in tic for keypads consistent with vt100 layout.
749         + improve checks in tic for color capabilities
750
751 20021102
752         + check for missing/empty/illegal terminfo name in _nc_read_entry()
753           (report by Martin Mokrejs, where $TERM was set to an empty string).
754         + rewrote lib_insch.c, combining it with lib_insstr.c so both handle
755           tab and other control characters consistently (report by Philippe
756           Blain).
757         + remove an #undef for KEY_EVENT from curses.tail used in the
758           experimental NCURSES_WGETCH_EVENTS feature.  The #undef confuses
759           dpkg's build script (Debian #165897).
760         + fix MKlib_gen.sh, working around the ironically named POSIXLY_CORRECT
761           feature of GNU sed 4.0 (reported by Ervin Nemeth <airwin@inf.bme.hu>).
762
763 20021026
764         + implement logic in lib_mouse.c to handle position reports which are
765           generated when XFree86 xterm is initialized with private modes 1002
766           or 1003.  These are returned to the application as the
767           REPORT_MOUSE_POSITION mask, which was not implemented.  Tested both
768           with ncurses 'a' menu (prompted by discussion with Larry Riedel
769           <Larry@Riedel.org>).
770         + modify lib_mouse.c to look for "XM" terminfo string, which allows
771           one to override the escape sequence used to enable/disable mouse
772           mode.  In particular this works for XFree86 xterm private modes
773           1002 and 1003.  If "XM" is missing (note that this is an extended
774           name), lib_mouse uses the conventional private mode 1000.
775         + correct NOT_LOCAL() macro in lib_mvcur.c to refer to screen_columns
776           where it used screen_lines (report by Philippe Blain).
777         + correct makefile rules for the case when both --with-libtool and
778           --with-gpm are given (report by Mr E_T <troll@logi.net.au>).
779         + add note to terminfo manpage regarding the differences between
780           setaf/setab and setf/setb capabilities (report by Pavel Roskin).
781
782 20021019
783         + remove redundant initialization of TABSIZE in newterm(), since it is
784           already done in setupterm() (report by Philippe Blain).
785         + add test/inserts.c, to test winnstr() and winsch().
786         + replace 'sort' in dist.mk with script that sets locale to POSIX.
787         + update URLs in announce.html.in (patch by Frederic L W Meunier).
788         + remove glibc add-on files, which are no longer needed (report by
789           Frederic L W Meunier).
790
791 20021012 5.3 release for upload to ftp.gnu.org
792         + modify ifdef's in etip.h.in to allow the etip.h header to compile
793           with gcc 3.2 (patch by Dimitar Zhekov <jimmy@is-vn.bg>).
794         + add logic to setupterm() to make it like initscr() and newterm(),
795           by checking for $NCURSES_TRACE environment variable and enabling
796           the debug trace in that case.
797         + modify setupterm() to ensure that it initializes the baudrate, for
798           applications such as tput (report by Frank Henigman).
799         + modify definition of bits used for command-line and library debug
800           traces to avoid overlap, using new definition TRACE_SHIFT to relate
801           the two.
802         + document tput's interpretation of parameterized strings according to
803           whether parameters are given, etc. (discussion with Robert De Bath).
804
805 20021005 pre-release
806         + correct winnwstr() to account for non-character cells generated when
807           a double-width character is added (report by Michael Bienia
808           <michael@vorlon.ping.de>).
809         + modify _nc_viswbuf2n() to provide better results using wctomb().
810         + correct logic in _nc_varargs() which broke tracing of parameters for
811           formats such as "%.*s".
812         + correct scale factor in linux-c and linux-c-nc terminfo entries
813           (report Floyd Davidson).
814         + change tic -A option to -t, add the same option to infocmp for
815           consistency.
816         + correct "%c" implementation in lib_tparm.c, which did not map a null
817           character to a 128 (cf: 980620) (patch by Frank Henigman
818           <fjhenigman@mud.cgl.uwaterloo.ca>).
819
820 20020928 pre-release
821         + modify MKkey_defs.sh to check for POSIX sort -k option, use that if
822           it is found, to accommodate newer utility which dropped the
823           compatibility support for +number options (reported by Andrey A
824           Chernov).
825         + modify linux terminfo entry to use color palette feature from
826           linux-c-nc entry (comments by Tomasz Wasiak and Floyd Davidson).
827         + restore original color definitions in endwin() if init_color() was
828           used, and resume those colors on the next doupdate() or refresh()
829           (report by Tomasz Wasiak <tjwasiak@komputom.com.pl>).
830         + improve debug-traces by modifying MKlib_gen.sh to generate calls
831           to returnBool() and returnAttr().
832         + add/use _nc_visbufn() and _nc_viswbufn() to limit the debug trace
833           of waddnstr() and similar functions to match the parameters as used.
834         + add/use _nc_retrace_bool() and _nc_retrace_unsigned().
835         + correct type used by _nc_retrace_chtype().
836         + add debug traces to some functions in lib_mouse.c
837         + modify lib_addch.c to handle non-spacing characters.
838         + correct parameter of RemAttr() in lib_bkgd.c, which caused the c++
839           demo's boxes to lose the A_ALTCHARSET flag (broken in 20020629).
840         + correct width computed in _tracedump(), which did not account for
841           the attributes (broken in 20010602).
842         + modify test/tracemunch to replace addresses for windows other than
843           curscr, newscr and stdscr with window0, window1, etc.
844
845 20020921 pre-release
846         + redid fix for edit_man.sed path.
847         + workaround for Cygwin bug which makes subprocess writes to stdout
848           result in core dump.
849         + documented getbegx(), etc.
850         + minor fixes to configure script to use '%' consistently as a sed
851           delimiter rather than '@'.
852         > Philippe Blain:
853         + add check in lib_overlay.c to ensure that the windows to be merged
854           actually overlap, and in copywin(), limit the area to be touched
855           to the lines given for the destination window.
856
857 20020914 pre-release
858         + modified curses.h so that if the wide-character version is installed
859           overwriting /usr/include/curses.h, and if it relied on libutf8.h,
860           then applications that use that header for wide-character support
861           must define HAVE_LIBUTF8_H.
862         + modify putwin(), getwin() and dupwin() to allow them to operate on
863           pads (request by Philippe Blain).
864         + correct attribute-merging in wborder(), broken in 20020216 (report
865           by Tomasz Wasiak <tjwasiak@grubasek.komputom.com.pl>).
866         > Philippe Blain:
867         + corrected pop-counts in tparam_internal() to '!' and '~' cases.
868         + use sizeof(NCURSES_CH_T) in one place that used sizeof(chtype).
869         + remove some unused variables from mvcur test-driver.
870
871 20020907 pre-release
872         + change configure script to allow install of widec-character
873           (ncursesw) headers to overwrite normal (ncurses) headers, since the
874           latter is a compatible subset of the former.
875         + fix path of edit_man.sed in configure script, needed to regenerate
876           html manpages on Debian.
877         + fix mismatched enums in vsscanf.c, which caused warning on Solaris.
878         + update README.emx to reflect current patch used for autoconf.
879         + change web- and ftp-site to invisible-island.net
880         > Philippe Blain:
881         + change case for 'P' in tparam_internal() to indicate that it pops
882           a variable from the stack.
883         + correct sense of precision and width in parse_format(), to avoid
884           confusion.
885         + modify lib_tparm.c, absorb really_get_space() into get_space().
886         + modify getwin() and dupwin() to copy the _notimeout, _idlok and
887           _idcok window fields.
888         + better fix for _nc_set_type(), using typeMalloc().
889
890 20020901 pre-release
891         + change minor version to 3, i.e., ncurses 5.3
892         + update config.guess, config.sub
893         + retest build with each configure option; minor ifdef fixes.
894         + make keyname() return a null pointer rather than "UNKNOWN STRING" to
895           match XSI.
896         + modify handling of wide line-drawing character functions to use the
897           normal line-drawing characters when not in UTF-8 locale.
898         + add check/fix to comp_parse.c to suppress warning about missing acsc
899           string.  This happens in configurations where raw termcap information
900           is processed; tic already does this and other checks.
901         + modify tic's check for ich/ich1 versus rmir/smir to only warn about
902           ich1, to match xterm patch #70 notes.
903         + moved information for ripped-off lines into SCREEN struct to allow
904           use in resizeterm().
905         + add experimental wgetch_events(), ifdef'd with NCURSES_WGETCH_EVENTS
906           (adapted from patch by Ilya Zakharevich - see ncurses/README.IZ).
907         + amend check in kgetch() from 20020824 to look only for function-keys,
908           otherwise escape sequences are not resolved properly.
909         > Philippe Blain:
910         + removed redundant assignment to SP->_checkfd from newterm().
911         + check return-value of setupterm() in restartterm().
912         + use sizeof(NCURSES_CH_T) in a few places that used sizeof(chtype).
913         + prevent dupwin() from duplicating a pad.
914         + prevent putwin() from writing a pad.
915         + use typeRealloc() or typeMalloc() in preference to direct calls on
916           _nc_doalloc().
917
918 20020824
919         + add a check in kgetch() for cooked characters in the fifo to avoid
920           calling fifo_push() when a KEY_RESIZE is available (report/analysis
921           by Sam Varshavchik <mrsam@courier-mta.com>).
922         + fix an overlooked case for bugzilla #68199 (Philippe Blain).
923         + ensure clearerr() is called before using ferror() e.g., in
924           lib_screen.c (report by Philippe Blain).
925
926 20020817
927         + modify lib_screen.c and lib_newwin.c to maintain the SCREEN-specific
928           pointers for curscr/stdscr/newscr when scr_save() and scr_restore()
929           modify the global curscr/stdscr/newscr variables.  Fixes Redhat
930           bugzilla #68199 dated 2002-07-07.
931         + add checks for null pointer in calls to tparm() and tgoto() based on
932           FreeBSD bug report.  If ncurses were built with termcap support, and
933           the first call to tgoto() were a zero-length string, the result would
934           be a null pointer, which was not handled properly.
935         + correct a typo in terminfo.head, which gave the octal code for colon
936           rather than comma.
937         + remove the "tic -u" option from 20020810, since it did not account
938           for nested "tc=" clauses, and when that was addressed, was still
939           unsatisfactory.
940
941 20020810
942         + add tic -A option to suppress capabilities which are commented out
943           when translating to termcap.
944         + add tic -u option to provide older behavior of "tc=" clauses.
945         + modified tic to expand all but the final "tc=" clause in a termcap
946           entry, to accommodate termcap libraries which do not handle multiple
947           tc clauses.
948         + correct typo in curs_inopts.3x regarding CS8/CS7 usage (report by
949           Philippe Blain).
950         + remove a couple of redundant uses of A_ATTRIBUTES in expressions
951           using AttrOf(), which already incorporates that mask (report by
952           Philippe Blain).
953         + document TABSIZE variable.
954         + add NCURSES_ASSUMED_COLORS environment variable, to allow users to
955           override compiled-in default black-on-white assumption used in
956           assume_default_colors().
957         + correct an off-by-one comparison against max_colors in COLORFGBG
958           logic.
959         + correct a use of uninitialized memory found by valgrind (reported by
960           Olaf Buddenhagen <olafBuddenhagen@web.de>).
961         + modified wresize() to ensure that a failed realloc will not corrupt
962           the window structure, and to make subwindows fit within the resized
963           window (completes Debian #87678, #101699)
964
965 20020803
966         + fix an off-by-one in lib_pad.c check for limits of pad (patch by
967           Philippe Blain).
968         + revise logic for BeOS in lib_twait.c altered in 20011013 to restore
969           logic used by lib_getch.c's support for GPM or EMX mouse (report by
970           Philippe Blain)
971         + remove NCURSES_CONST from several prototypes in curses.wide, to make
972           the --enable-const --enable-widec configure options to work together
973           (report by George Goffe <grgoffe@yahoo.com>).
974
975 20020727
976         + finish no-leak checking in cardfile.c, using this for testing changes
977           to resizeterm().
978         + simplify _nc_freeall() using delscreen().
979
980 20020720
981         + check error-return from _nc_set_tty_mode() in _nc_initscr() and
982           reset_prog_mode() (report/patch by Philippe Blain).
983         + regenerate configure using patch for autoconf 2.52, to address
984           problem with identifying C++ bool type.
985         + correct/improve logic to produce an exit status for errors in tput,
986           which did not exit with an error when told to put a string not in the
987           current terminfo entry (report by David Gomez <david@pleyades.net>).
988         + modify configure script AC_OUTPUT() call to work around defect in
989           autoconf 2.52 which adds an ifdef'd include to the generated
990           configure definitions.
991         + remove fstat() check from scr_init(), which also fixes a missing
992           include for <sys/stat.h> from 20020713 (reported by David Ellement,
993           fix suggested by Philippe Blain).
994         + update curs_scanw.3x manpage to note that XSI curses differs from
995           SVr4 curses: return-values are incompatible.
996         + correct several prototypes in manpages which used const
997           inconsistently with the curses.h file, and removed spurious const's
998           in a few places from curses.h, e.g., for wbkgd() (report by Glenn
999           Maynard <glenn@zewt.org>).
1000         + change internal type used by tparm() to long, to work with LP64 model.
1001         + modify nc_alloc.h to allow building with g++, for testing.
1002
1003 20020713
1004         + add resize-handling to cardfile.c test program.
1005         + altered resizeterm() to avoid having it fail when a child window
1006           cannot be resized because it would be larger than its parent.  (More
1007           work must be done on this, but it works well enough to integrate).
1008         + improve a limit-check in lib_refresh.c
1009         + remove check in lib_screen.c relating dumptime to file's modification
1010           times, since that would not necessarily work for remotely mounted
1011           filesystems.
1012         + modify lrtest to simplify debugging changes to resizeterm, e.g.,
1013           t/T commands to enable/disable tracing.
1014         + updated status of multibyte support in TO-DO.
1015         + update contact info in source-files (patch by Juergen Pfeifer).
1016
1017 20020706
1018         + add Caps.hpux11, as an example.
1019         + modify version_filter(), used to implement -R option for tic and
1020           infocmp, to use computed array offsets based on the Caps.* file which
1021           is actually configured, rather than constants which correspond to
1022           the Caps file.
1023         + reorganized lib_raw.c to avoid updating SP and cur_term state if the
1024           functions fail (reported by Philippe Blain).
1025         + add -Wundef to gcc warnings, adjust a few ifdef's to accommodate gcc.
1026
1027 20020629
1028         + correct parameters to setcchar() in ncurses.c (cf: 20020406).
1029         + set locale in most test programs (view.c and ncurses.c were the
1030           only ones).
1031         + add configure option --with-build-cppflags (report by Maksim A
1032           Nikulin <M.A.Nikulin@inp.nsk.su>).
1033         + correct a typo in wide-character logic for lib_bkgnd.c (Philippe
1034           Blain).
1035         + modify lib_wacs.c to not cancel the acsc, smacs, rmacs strings when
1036           in UTF-8 locale.  Wide-character functions use Unicode values, while
1037           narrow-character functions use the terminfo data.
1038         + fix a couple of places in Ada95/samples which did not compile with
1039           gnat 3.14
1040         + modify mkinstalldirs so the DOS-pathname case is locale-independent.
1041         + fix locale problem in MKlib_gen.sh by forcing related variables to
1042           POSIX (C), using same approach as autoconf (set variables only if
1043           they were set before).  Update MKterminfo.sh and MKtermsort.sh to
1044           match.
1045
1046 20020622
1047         + add charset to generated html.
1048         + add mvterm entry, adapted from a FreeBSD bug-report by Daniel Rudy
1049           <dcrudy@pacbell.net> -TD
1050         + add rxvt-16color, ibm+16color entries -TD
1051         + modify check in --disable-overwrite option so that it is used by
1052           default unless the --prefix/$prefix value is not /usr, in attempt to
1053           work around packagers, e.g., for Sun's freeware, who do not read the
1054           INSTALL notes.
1055
1056 20020615
1057         + modify wgetch() to allow returning ungetch'd KEY_RESIZE as a function
1058           key code in get_wch().
1059         + extended resize-handling in test/ncurses 'a' menu to the entire
1060           stack of windows created with 'w' commands.
1061         + improve $COLORFGBG feature by interpreting an out-of-range color
1062           value as an SGR 39 or 49, for foreground/background respectively.
1063         + correct a typo in configure --enable-colorfgbg option, and move it
1064           to the experimental section (cf: 20011208).
1065
1066 20020601
1067         + add logic to dump_entry.c to remove function-key definitions that do
1068           not fit into the 1023-byte limit for generated termcaps.  This makes
1069           hds200 fit.
1070         + more improvements to tic's warnings, including logic to ignore
1071           differences between delay values in sgr strings.
1072         + move definition of KEY_RESIZE into MKkeydefs.sh script, to
1073           accommodate Caps.osf1r5 which introduced a conflicting definition.
1074
1075 20020525
1076         + add simple resize-handling in test/ncurses.c 'a' menu.
1077         + fixes in keyname() and _tracechar() to handle negative values.
1078         + make tic's warnings about mismatches in sgr strings easier to follow.
1079         + correct tic checks for number of parameters in smgbp and smglp.
1080         + improve scoansi terminfo entry, and add scoansi-new entry -TD
1081         + add pcvt25-color terminfo entry -TD
1082         + add kf13-kf48 strings to cons25w terminfo entry (reported by Stephen
1083           Hurd <deuce@lordlegacy.org> in newsgroup lucky.freebsd.bugs) -TD
1084         + add entrypoint _nc_trace_ttymode(), use this to distinguish the
1085           Ottyb and Nttyb members of terminal (aka cur_term), for tracing.
1086
1087 20020523
1088         + correct and simplify logic for lib_pad.c change in 20020518 (reported
1089           by Mike Castle).
1090
1091 20020518
1092         + fix lib_pad.c for case of drawing a double-width character which
1093           falls off the left margin of the pad (patch by Kriang Lerdsuwanakij
1094           <lerdsuwa@users.sourceforge.net>)
1095         + modify configure script to work around broken gcc 3.1 "--version"
1096           option, which adds unnecessary trash to the requested information.
1097         + adjust ifdef's in case SIGWINCH is not defined, e.g., with DJGPP
1098           (reported by Ben Decker <deckerben@freenet.de>).
1099
1100 20020511
1101         + implement vid_puts(), vid_attr(), term_attrs() based on the narrow-
1102           character versions as well.
1103         + implement erasewchar(), killwchar() based on erasechar() and
1104           killchar().
1105         + modify erasechar() and killchar() to return ERR if the value was
1106           VDISABLE.
1107         + correct a bug in wresize() in handling subwindows (based on patch by
1108           Roger Gammans <rgammans@computer-surgery.co.uk>, report by Scott Beck
1109           <scott@gossamer-threads.com>).
1110         + improve test/tclock.c by making the second-hand update more often
1111           if gettimeofday() is available.
1112
1113 20020429
1114         + workaround for Solaris sed with MKlib_gen.sh (reported by Andy
1115           Tsouladze <andyt@mypoints.com>).
1116
1117 20020427
1118         + correct return-value from getcchar(), making it consistent with
1119           Solaris and Tru64.
1120         + reorder loops that generate makefile rules for different models vs
1121           subsets so configure --with-termlib works again.  This was broken by
1122           logic added to avoid duplicate rules in changes to accommodate cygwin
1123           dll's (reported by George.R.Goffe@seagate.com).
1124         + update config.guess, config.sub
1125
1126 20020421
1127         + modify ifdef's in write_entry.c to allow use of symbolic links on
1128           platforms with no hard links, e.g., BeOS.
1129         + modify a few includes to allow compile with BeOS, which has stdbool.h
1130           with a conflicting definition for 'bool' versus its OS.h definition.
1131         + amend MKlib_gen.sh to work with gawk, which defines 'func' as an
1132           alias for 'function'.
1133
1134 20020420
1135         + correct form of prototype for ripoffline().
1136         + modify MKlib_gen.sh to test that all functions marked as implemented
1137           can be linked.
1138
1139 20020413
1140         + add manpages: curs_get_wstr.3x, curs_in_wchstr.3x
1141         + implement wgetn_wstr().
1142         + implement win_wchnstr().
1143         + remove redefinition of unget_wch() in lib_gen.c (reported by
1144           Jungshik Shin <jshin@jtan.com>).
1145
1146 20020406
1147         + modified several of the test programs to allow them to compile with
1148           vendor curses implementations (Solaris, AIX).
1149
1150 20020323
1151         + modified test/configure to allow configuring against ncursesw.
1152         + change WACS_xxx definition to use address, to work like Tru64 curses.
1153
1154 20020317
1155         + add 'e' and 'm' toggles to 'a', 'A' tests in ncurses.c to demonstrate
1156           effect of echo/noecho and meta modes.
1157         + add 'A' test to ncurses.c to demonstrate wget_wch() and related
1158           functions.
1159         + add manpage: curs_get_wch.3x
1160         + implement unget_wch().
1161         + implement wget_wch().
1162
1163 20020310
1164         + regenerated html manpages.
1165         + add manpages: curs_in_wch.3x, curs_ins_wch.3x, curs_ins_wstr.3x
1166         + implement wins_wch().
1167         + implement win_wch().
1168         + implement wins_nwstr(), wins_wstr().
1169
1170 20020309
1171         + add manpages: curs_addwstr.3x, curs_winwstr.3x
1172         + implement winnwstr(), winwstr().
1173
1174 20020223
1175         + add manpages: curs_add_wchstr.3x, curs_bkgrnd.3x
1176         + document wunctrl, key_name.
1177         + implement key_name().
1178         + remove const's in lib_box.c incorrectly leftover after splitting off
1179           lib_box_set.c
1180         + update llib-lncurses, llib-ncursesw, fix configure script related to
1181           these.
1182
1183 20020218
1184         + remove quotes on "SYNOPSIS" in man/curs_box_set.3x, which resulted
1185           in spurious symlinks on install.
1186
1187 20020216
1188         + implement whline_set(), wvline_set(), add manpage curs_border_set.
1189         + add subtest 'b' to 'F' and 'f' in ncurses.c to demonstrate use of
1190           box() and box_set() functions.
1191         + add subtest 'u' to 'F' in ncurses.c, to demonstrate use of addstr()
1192           given UTF-8 string equivalents of WACS_xxx symbols.
1193         + minor fixes to several manpages based on groff -ww output.
1194         + add descriptions of external variables of termcap interface to
1195           the manpage (report by Bruce Evans <bde@zeta.org.au>).
1196         > patches by Bernhard Rosenkraenzer:
1197         + correct configure option --with-bool, which was executed as
1198           --with-ospeed.
1199         + add quotes for parameters of --with-bool and --with-ospeed configure
1200           options.
1201         > patch by Sven Verdoolaege (report by Gerhard Haering
1202           <haering_linux@gmx.de>):
1203         + correct typos in definitions of several wide-character macros:
1204           waddwstr, wgetbkgrnd, mvaddwstr, mvwadd_wchnstr, mvwadd_wchnstr,
1205           mvwaddwstr.
1206         + pass $(CPPFLAGS) to MKlib_gen.sh, thereby fixing a missing definition
1207           of _XOPEN_SOURCE_EXTENDED, e.g., on Solaris
1208
1209 20020209
1210         + implement wide-acs characters for UTF-8 locales.  When in UTF-8
1211           locale, ignore narrow version of acs.  Add 'F' test to test/ncurses.c
1212           to demonstrate.
1213         + correct prototype in keybound manpage (noted from a Debian mailing
1214           list item).
1215
1216 20020202
1217         + add several cases to the wscanw() example in testcurs.c, showing the
1218           format.
1219         + implement a simple vsscanf() fallback function which uses the %n
1220           conversion to help parse the input data (prompted by discussion with
1221           Albert Chin-A-Young).
1222         + modify mk-1st.awk and test/Makefile.in to add $(LDFLAGS) when making
1223           shared libraries, and to use $(CFLAGS) when linking test programs
1224           (patch by Albert Chin-A-Young).
1225         + add a call to _nc_keypad() in keypad() to accommodate applications
1226           such as nvi, which use curses for output but not for input (fixes
1227           Debian #131263, cf: 20011215).
1228         + add entrypoints to resizeterm.c which provide better control over the
1229           process:  is_term_resized() and resize_term().  The latter restores
1230           the original design of resizeterm() before KEY_RESIZE was added in
1231           970906.  Do this to accommodate 20010922 changes to view.c, but allow
1232           for programs with their own sigwinch handler, such as lynx (reported
1233           by Russell Ruby <russ@math.orst.edu>).
1234
1235 20020127
1236         + fix a typo in change to mk-1st.awk, which broke the shared-library
1237           makefile rules (reported by Martin Mokrejs).
1238
1239 20020126
1240         + update config.guess, config.sub
1241         + finish changes needed to build dll's on cygwin.
1242         + fix a typo in mvwchat() macro (reported by Cy <yam@homerow.net).
1243
1244 20020119
1245         + add case in lib_baudrate.c for B921600 (patch by Andrey A Chernov).
1246         + correct missing sed-editing stage in manpage installs which is used
1247           to rename manpages, broken in 20010324 fix for Debian #89939 (Debian
1248           #78866).
1249         + remove -L$(libdir) from linker flags, probably not needed any more
1250           since HPUX is handled properly (reported by NIIBE Yutaka
1251           <gniibe@m17n.org>).
1252         + add configure check for mbstate_t, needed for wide-character
1253           configuration.  On some platforms we must include <wchar.h> to
1254           define this (reported by Daniel Jacobowitz).
1255         + incorporate some of the changes needed to build dll's on cygwin.
1256
1257 20020112a
1258         + workaround for awk did not work with mawk, adjusted shell script.
1259
1260 20020112
1261         + add Caps.osf1r5, as an example.
1262         + modify behavior of can_clear_with() so that if an application is
1263           running in a non-bce terminals with default colors enabled, it
1264           returns true, allowing the user to select/paste text without picking
1265           up extraneous trailing blanks (adapted from patch by Daniel
1266           Jacobowitz <dmj+@andrew.cmu.edu>).
1267         + modify generated curses.h to ifdef-out prototypes for extensions if
1268           they are disabled, and to define curses_version() as a string in that
1269           case.  This is needed to make the programs such as tic build in that
1270           configuration.
1271         + modified generated headers.sh to remove a gzip'd version of the
1272           target file if it exists, in case non-gzip'd manpages are installed
1273           into a directory where gzip'd ones exist.  In that case, the latter
1274           would be found.
1275         + corrected a redundant initialization of signal handlers from 20010922
1276           changes.
1277         + clarified bug-reporting address in terminfo.src (report by John H
1278           DuBois III <spcecdt@armory.com>).
1279         > several fixes from Robert Joop:
1280         + do not use "-v" option of awk in MKkey_defs.sh because it does not
1281           work with SunOS nawk.
1282         + modify definitions for libutf8 in curses.h to avoid redefinition
1283           warnings for mblen
1284         + quoted references to compiler in shell command in misc/Makefile, in
1285           case it uses multiple tokens.
1286
1287 20011229
1288         + restore special case from 20010922 changes to omit SA_RESTART when
1289           setting up SIGWINCH handler, which is needed to allow wgetch() to be
1290           interrupted by that signal.
1291         + update configure macro CF_WITH_PATHLIST, to omit some double quotes
1292           not needed with autoconf 2.52
1293         + revert configure script to autoconf 2.13 patched with
1294                 autoconf-2.13-19990117.patch.gz (or later)
1295           from
1296                 ftp://invisible-island.net/autoconf/
1297           because autoconf 2.52 macro AC_PROG_AWK does not work on HPUX 11.0
1298           (report by David Ellement <ellement@sdd.hp.com>).  This also fixes a
1299           different problem configuring with Mac OS X (reported by Marc Smith
1300           <marc.a.smith@home.com>).
1301
1302 20011222
1303         + modify include/edit_cfg.h to eliminate BROKEN_LINKER symbol from
1304           term.h
1305         + move prototype for _nc_vsscanf() into curses.h.in to omit
1306           HAVE_VSSCANF symbol from curses.h, which was dependent upon the
1307           ncurses_cfg.h file which is not installed.
1308         + use ACS_LEN rather than SIZEOF(acs_map) in trace code of lib_acs.c,
1309           to work with broken linker configuration, e.g., cygwin (report by
1310           Robert Joop <rj@rainbow.in-berlin.de>).
1311         + make napms() call _nc_timed_wait() rather than poll() or select(),
1312           to work around broken implementations of these on cygwin.
1313
1314 20011218
1315         + drop configure macro CF_WIDEC_SHIFT, since that was rendered obsolete
1316           by Sven Verdoolaege's rewrite of wide-character support.  This makes
1317           libncursesw incompatible again, but makes the header files almost the
1318           same as in the narrow-character configuration.
1319         + simplify definitions that combine wide/narrow versions of bkgd, etc.,
1320           to eliminate differences between the wide/narrow versions of curses.h
1321         + correct typo in configure macro CF_FUNC_VSSCANF
1322         + correct location of call to _nc_keypad() from 20011215 changes which
1323           prevented keypad() from being disabled (reported by Lars Hecking).
1324
1325 20011215
1326         + rewrote ncurses 'a' test to exercise wgetch() and keypad() functions
1327           better, e.g., by adding a 'w' command to create new windows which
1328           may have different keypad() settings.
1329         + corrected logic of keypad() by adding internal screen state to track
1330           whether the terminal's keypad-mode has been set.  Use this in
1331           wgetch() to update the keypad-mode according to whether the
1332           associated window's keypad-mode has been set with keypad().  This
1333           corrects a related problem restoring terminal state after handling
1334           SIGTSTP (reported by Mike Castle).
1335         + regenerate configure using patch for autoconf 2.52
1336                 autoconf-2.52-patch.gz
1337           at
1338                 ftp://invisible-island.net/autoconf/
1339         + update config.guess, config.sub from
1340                 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1341         + minor changes to quoting in configure script to allow it to work
1342           with autoconf 2.52
1343
1344 20011208
1345         + modify final checks in lib_setup.c for line and col values, making
1346           them independent.
1347         + modify acs_map[] if configure --broken-linker is specified, to make
1348           it use a function rather than an array (prompted by an incorrect
1349           implementation in cygwin package).
1350         + correct spelling of configure option --enable-colorfgbg, which
1351           happened to work if --with-develop was set (noted in cygwin package
1352           for ncurses).
1353         + modify ifdef for genericerror() to compile with SUNWspro Sun WorkShop
1354           6 update 1 C++ 5.2 (patch by Sullivan N Beck <sbeck@cise.ufl.edu>).
1355         + add configure checks to see if ncurses' fallback vsscanf() will
1356           compile either of the special cases for FILE structs, and if not,
1357           force it to the case which simply returns an error (report by
1358           Sullivan N Beck <sbeck@cise.ufl.edu> indicates that Solaris 8 with
1359           64-bits does not allow access to FILE's fields).
1360         + modify ifdef's for c++/cursesw.cc to use the fallback vsscanf() in
1361           the ncurses library if no better substitute for this can be found
1362           in the C++ runtime.
1363         + modify the build to name dynamic libraries according to the
1364           convention used on OS X and Darwin.  Rather than something like
1365           libncurses.dylib.5.2, Darwin would name it libncurses.  5.dylib.
1366           There are a few additional minor fixes, such as setting the library
1367           version and compatibility version numbers (patch by Jason Evans
1368           <jevans@apple.com>).
1369         + use 'sh' to run mkinstalldirs, to work around problems with buggy
1370           versions of 'make' on OS/2 (report by John Polterak <jp@eyup.org>).
1371         + correct typo in manpage description of curs_set() (Debian #121548).
1372         + replace the configure script existence-check for mkstemp() by one
1373           that checks if the function works, needed for older glibc and
1374           AmigaOS.
1375
1376 20011201
1377         + modify script that generates fallbacks.c to compile a temporary
1378           copy of the terminfo source in case the host does not contain all of
1379           the entries requested for fallbacks (request by Greg Roelofs).
1380         + modify configure script to accommodate systems such as Mac OS X whose
1381           <stdbool.h> header defines a 'bool' type inconsistent with ncurses,
1382           which normally makes 'bool' consistent with C++.  Include <stdbool.h>
1383           from curses.h to force consistent usage, define a new type
1384           NCURSES_BOOL and related that to the exported 'bool' as either a
1385           typedef or definition, according to whether <stdbool.h> is present
1386           (based on a bug report for tin 1.5.9 by Aaron Adams <adamsa@mac.com>).
1387
1388 20011124
1389         + added/updated terminfo entries for M$ telnet and KDE konsole -TD
1390
1391 20011117
1392         + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
1393           (Benjamin C W Sittler).
1394         + add putty terminfo entry -TD
1395         + if configuring for wide-curses, define _XOPEN_SOURCE_EXTENDED, since
1396           this may not otherwise be defined to make test/view.c compile.
1397
1398 20011110
1399         + review/correct several missing/generated items in curses.wide, sorted
1400           the lists to make subsequent diff's easier to track.
1401
1402 20011103
1403         + add manual pages for add_wch(), echo_wchar(), getcchar(),
1404           mvadd_wch(), mvwadd_wch(), setcchar(), wadd_wch() and wecho_wchar().
1405         + implement wecho_wchar()
1406         + modify _tracedump() to handle wide-characters by mapping them to '?'
1407           and control-characters to '.', to make the trace file readable.  Also
1408           dynamically allocate the buffer used by _tracedump() for formatting
1409           the results.
1410         + modify T_CALLED/T_RETURN macros to ease balancing call/return lines
1411           in a trace by using curly braces.
1412         + implement _nc_viscbuf(), for tracing cchar_t arrays.
1413         + correct trace-calls in setcchar() and getcchar() functions, which
1414           traced the return values but not the entry to each function.
1415         + correct usage message in test/view.c, which still mentioned -u flag.
1416
1417 20011027
1418         + modify configure script to allow building with termcap only, or with
1419           fallbacks only.  In this case, we do not build tic and toe.
1420         + add configure --with-termpath option, to override default TERMPATH
1421           value of /etc/termcap:/usr/share/misc/termcap.
1422         + cosmetic change to tack: make menu descriptions agree with menu
1423           titles.
1424
1425 20011020
1426         + rewrote limit-checks in wscrl() and associated _nc_scroll_window(),
1427           to ensure that if the parameter of wscrl() is larger than the size of
1428           the scrolling region, then the scrolling region will be cleared
1429           (report by Ben Kohlen <bckohlen@yahoo.com>).
1430         + add trace/varargs.c, using this to trace parameters in lib_printw.c
1431         + implement _tracecchar_t2() and _tracecchar_t().
1432         + split-out trace/visbuf.c
1433         + correct typo in lib_printw.c changes from 20010922 (report by Mike
1434           Castle).
1435
1436 20011013
1437         + modify run_tic.sh to check if the build is a cross-compile.  In that
1438           case, do not use the build's tic to install the terminfo database
1439           (report by Rafael Rodriguez Velilla <rrv@tid.es>).
1440         + modify mouse click resolution so that mouseinterval(-1) will disable
1441           it, e.g., to handle touchscreens via a slow connection (request by
1442           Byron Stanoszek <gandalf@winds.org>).
1443         + correct mouseinterval() default value shown in curs_mouse.3x
1444         + remove conflicting definition of mouse_trafo() (reported by Lars
1445           Hecking, using gcc 2.95.3).
1446
1447 20011001
1448         + simpler fix for signal_name(), to replace the one overlooked in
1449           20010929 (reported by Larry Virden).
1450
1451 20010929
1452         + add -i option to view.c, to test ncurses' check for non-default
1453           signal handler for SIGINT, etc.
1454         + add cases for shared-libraries on Darwin/OS X (patch by Rob Braun
1455           <bbraun@synack.net>).
1456         + modify tset to restore original I/O modes if an error is encountered.
1457           Also modify to use buffered stderr consistently rather than mixing
1458           with write().
1459         + change signal_name() function to use if-then-else rather than case
1460           statement, since signal-values aren't really integers (reported by
1461           Larry Virden).
1462         + add limit checks in wredrawln(), fixing a problem where lynx was
1463           repainting a pad which was much larger than the screen.
1464
1465 20010922
1466         + fix:  PutRange() was counting the second part of a wide character as
1467           part of a run, resulting in a cursor position that was one too far
1468           (patch by Sven Verdoolaege).
1469         + modify resizeterm() to not queue a KEY_RESIZE if there was no
1470           SIGWINCH, thereby separating the two styles of SIGWINCH handling
1471           in test/view.c
1472         + simplified lib_tstp.c, modify it to use SA_RESTART flag for SIGWINCH.
1473         + eliminate several static buffers in the terminfo compiler, using
1474           allocated buffers.
1475         + modify MKkeyname.awk so that keyname() does not store its result into
1476           a static buffer that is overwritten by the next call.
1477         + reorganize the output of infocmp -E and -e options to compile cleanly
1478           with gcc -Wwrite-strings warnings.
1479         + remove redefinition of chgat/wchgat/mvwchgat from curses.wide
1480
1481 20010915
1482         + add label to test/view.c, showing the name of the last key or signal
1483           that made the screen repaint, to make it clearer when a sigwinch
1484           does this.
1485         + use ExitProgram() consistently in the test-programs to make it
1486           simpler to test leaks with dmalloc, etc.
1487         + move hashtab static data out of hashmap.c into SCREEN struct.
1488         + make NO_LEAK code compile with revised WINDOWLIST structs.
1489
1490 20010908
1491         + modify tgetent() to check if exit_attribute_mode resets the alternate
1492           character set, and if so, attempt to adjust the copy of the termcap
1493           "me" string which it will return to eliminate that part.  In
1494           particular, 'screen' would lose track of line-drawing characters
1495           (report by Frederic L W Meunier <0@pervalidus.net>, analysis by
1496           Michael Schroeder).
1497
1498 20010901
1499         + specify DOCTYPE in html manpages.
1500         + add missing macros for several "generated" functions:  attr_get(),
1501           attr_off(), attr_on(), attr_set(), chgat(), mvchgat(), mvwchgat() and
1502           mouse_trafo().
1503         + modify view.c to agree with non-experimental status of ncurses'
1504           sigwinch handler:
1505           + change the sense of the -r option, making it default to ncurses'
1506             sigwinch handler.
1507           + add a note explaining what functions are unsafe in a signal
1508             handler.
1509           + add a -c option, to set color display, for testing.
1510         + unset $data variable in MKterminfo.sh script, to address potential
1511           infinite loop if shell malfunction (report by Samuel Mikes
1512           <smikes@cubane.com>, for bash 2.05.0 on a Linux 2.0.36 system).
1513         + change kbs in mach terminfo entries to ^?  (Marcus Brinkmann
1514           <Marcus.Brinkmann@ruhr-uni-bochum.de>).
1515         + correct logic for COLORFGBG environment variable: if rxvt is compiled
1516           with xpm support, the variable has three fields, making it slightly
1517           incompatible with itself.  In either case, the background color is
1518           the last field.
1519
1520 20010825
1521         + move calls to def_shell_mode() and def_prog_mode() before loop with
1522           callbacks in lib_set_term.c, since the c++ demo otherwise initialized
1523           the tty modes before saving them (patch by John David Anglin
1524           <dave@hiauly1.hia.nrc.ca>).
1525         + duplicate logic used to initialize trace in newterm(), in initscr()
1526           to avoid confusing trace of initscr().
1527         + simplify allocation of WINDOW and WINDOWLIST structs by making the
1528           first a part of the second rather than storing a pointer.  This saves
1529           a call to malloc for each window (discussion with Philippe Blain).
1530         + remove unused variable 'used_ncv' from lib_vidattr.c (Philippe
1531           Blain).
1532         + modify c++/Makefile.in to accommodate archive programs that are
1533           different for C++ than for C, and add cases for vendor's C++
1534           compilers on Solaris and IRIX (report by Albert Chin-A-Young).
1535         + correct manpage description of criteria for deciding if the terminal
1536           supports xterm mouse controls.
1537         + add several configure script options to aid with cross-compiling:
1538           --with-build-cc, --with-build-cflags, --with-build-ldflags, and
1539           --with-build-libs (request by Greg Roelofs).
1540         + change criteria for deciding if configure is cross-compiling from
1541           host/build mismatch to host/target mismatch (request by Greg Roelofs
1542           <greg.roelofs@philips.com>).
1543         + correct logic for infocmp -e and -E options which writes the data for
1544           the ext_Names[] array.  This is needed if one constructs a fallback
1545           table for a terminfo entry which uses extended termcap names, e.g.,
1546           AX in a color xterm.
1547         + fix undefined NCURSES_PATHSEP when configure --disable-database
1548           option is given.
1549
1550 20010811
1551         + fix for VALID_BOOLEAN() macro when char is not signed.
1552         + modify 'clean' rule for C++ binding to work with Sun compiler, which
1553           caches additional information in a subdirectory of the objects.
1554         + added llib-ncursesw.
1555
1556 20010804
1557         + add Caps.keys example for experimental extended function keys
1558           (adapted from a patch by Ilya Zakharevich).
1559         + correct parameter types of vidputs() and vidattr() to agree with
1560           header files (report by William P Setzer).
1561         + fix typos in several man-pages (patch by William P Setzer).
1562         + remove unneeded ifdef for __GNUG__ in CF_CPP_VSCAN_FUNC configure
1563           macro, which made ncurses C++ binding fail to build with other
1564           C++ compilers such as HPUX 11.x (report by Albert Chin-A-Young).
1565         + workaround for bug in HPUX 11.x C compiler: add a blank after
1566           NCURSES_EXPORT macro in form.h (report by Albert Chin-A-Young)
1567         + ignore blank lines in Caps* files in MKkey_defs.sh script (report by
1568           Albert Chin-A-Young).
1569         + correct definition of key_end in Caps.aix4, which left KEY_END
1570           undefined (report by Albert Chin-A-Young).
1571         + remove a QNX-specific fallback prototype for vsscanf(), which is
1572           obsolete with QNX RTP.
1573         + review/fix some of the T() and TR() macro calls, having noticed that
1574           there was no data for delwin() in a trace of dialog because there was
1575           no returnVoid call for wtimeout().  Also, traces in lib_twait.c are
1576           now selected under TRACE_IEVENT rather than TRACE_CALLS.
1577
1578 20010728
1579         + add a _nc_access() check before opening files listed via $TERMPATH.
1580         + using modified man2html, regenerate some of the html manpages to fix
1581           broken HREF's where the link was hyphenated.
1582
1583 20010721
1584         + add some limit/pointer checks to -S option of tputs.
1585         + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
1586           (Benjamin C W Sittler).
1587         + add a note in curs_termcap.3x regarding a defect in the XSI
1588           description of tgetent (based on a discussion with Urs Jansen
1589           regarding the HPUX 11.x implementation, whose termcap interface is
1590           not compatible with existing termcap programs).
1591         + modify manhtml rule in dist.mk to preserve copyright notice on the
1592           generated files, as well as to address HTML style issues reported by
1593           tidy and weblint.  Regenerated/updated corresponding html files.
1594         + comment out use of Protected_Character and related rarely used
1595           attributes in ncurses Ada95 test/demo to compile with wide-character
1596           configuration.
1597
1598 20010714
1599         + implement a simple example in C++ demo to test scanw().
1600         + corrected stdio function used to implement scanw() in cursesw.cc
1601         + correct definition of RemAttr() macro from 20010602 changes, which
1602           caused C++ SillyDemo to not show line-drawing characters.
1603         + modify C++ binding, adding getKey() which can be overridden by user
1604           to substitute functions other than getch() for keyboard processing
1605           of forms and menus (patch by Juergen Pfeifer).
1606
1607 20010707
1608         + fix some of the trace calls which needed modification to work with
1609           new wide-character structures.
1610         + modify magic-cookie code in tty_update.c to compile with new
1611           wide-character structures (report by <George.R.Goffe@seagate.com>).
1612         + ensure that _XOPEN_SOURCE_EXTENDED is defined in curses.priv.h if
1613           compiling for wide-character configuration.
1614         + make addwnstr() handle non-spacing characters (patch by Sven
1615           Verdoolaege).
1616
1617 20010630
1618         + add configure check to define _GNU_SOURCE, needed to prop up glibc
1619           header files.
1620         + split-out include/curses.wide to solve spurious redefinitions caused
1621           by defining _GNU_SOURCE, and move includes for <signal.h> before
1622           <curses.h> to work around misdefinition of ERR in glibc 2.1.3 header
1623           file.
1624         + extended ospeed change to NetBSD and OpenBSD -TD
1625         + modify logic in lib_baudrate.c for ospeed, for FreeBSD to make it
1626           work properly for termcap applications (patch by Andrey A Chernov).
1627
1628 20010623
1629         + correct an overlooked CharOf/UChar instance (reports by Eugene Lee
1630           <eugene@anime.net>, Sven Verdoolaege).
1631         + correct unneeded ifdef for wunctrl() (reported by Sven Verdoolaege)
1632
1633 20010618
1634         + change overlooked several CharOf/UChar instances.
1635         > several patches from Sven Verdoolaege:
1636         + correct a typo in wunctrl(), which made it appear that botwc() was
1637           needed (no such function: use btowc()).
1638         + reimplement wide-character demo in test/view.c, using new functions.
1639         + implement getcchar(), setcchar(), wadd_wchnstr() and related macros.
1640         + fix a syntax problem with do/if/while in PUTC macro (curses.priv.h).
1641
1642 20010616
1643         + add parentheses in macros for malloc in test.priv.h, fixes an
1644           expression in view.c (report by Wolfgang Gutjahr <gutw@knapp.co.at>).
1645         + add Caps.uwin, as an example.
1646         + change the way curses.h is generated, making the list of function
1647           key definitions extracted from the Caps file.
1648         + add #undef's before possible redefinition of ERR and OK in curses.h
1649         + modify logic in tic, toe, tput and tset which checks for basename of
1650           argv[0] to work properly on systems such as OS/2 which have
1651           case-independent filenames and/or program suffixes, e.g., ".ext".
1652
1653 20010609
1654         + add a configure check, if --enable-widec is specified, for putwc(),
1655           which may be in libutf8.
1656         + remove some unnecessary text from curs_extend.3x and
1657           default_colors.3x which caused man-db to make incorrect symbolic
1658           links (Debian bug report #99550).
1659         + add configure check if cast for _IO_va_list is needed to compile
1660           C++ vscan code (Debian bug report #97945).
1661         > several patches from Sven Verdoolaege:
1662         + correct code that used non-standard auto-initialization of a struct,
1663           which gcc allows (report by Larry Virden).
1664         + use putwc() in PUTC() macro.
1665         + make addstr() work for the special case where the codeset is
1666           non-stateful (eg. UTF-8), as well as stateful codesets.
1667
1668 20010603
1669         + correct loop expression in NEXT_CHAR macro for lib_addstr.c changes
1670           from 20010602 (report by Mike Castle).
1671
1672 20010602
1673         + modify mvcur() to avoid emitting newline characters when nonl() mode
1674           is set.  Normally this is not a problem since the actual terminal
1675           mode is set to suppress nl/crlf translations, however it is useful to
1676           allow the caller to manipulate the terminal mode to avoid staircasing
1677           effects after spawning a process which writes messages (for lynx
1678           2.8.4) -TD
1679         > several patches from Sven Verdoolaege <skimo@kotnet.org>:
1680         + remove redundant type-conversion in fifo_push()
1681         + correct definition of addwstr() macro in curses.h.in
1682         + remove _nc_utf8_outch()
1683         + rename most existing uses of CharOf() to UChar(), e.g., where it is
1684           used to prevent sign-extension in ctype macros.
1685         + change some chtype's to attr_t's where the corresponding variables
1686           are used to manipulate attributes.
1687         + UpdateAttr() was applied to both attributes (attr_t) and characters
1688           (chtype).  Modify macro and calls to it to make these distinct.
1689         + add CharEq() macro, use in places where wide-character configuration
1690           implementation uses a struct for cchar_t.
1691         + moved struct ldat into curses.priv.h, to hide implementation details.
1692         + change CharOf() macro to use it for masking A_CHARTEXT data from
1693           chtype's.
1694         + add L() macro to curses.priv.h, for long-character literals.
1695         + replace several assignments from struct ldat entries to chtype or
1696           char values with combinations of CharOf() and AttrOf() macros.
1697         + add/use intermediate ChAttrOf() and ChCharOf() macros where we know
1698           we are using chtype data.
1699         + add/use lowlevel attribute manipulation macros AddAttr(), RemAttr()
1700           and SetAttr().
1701         + add/use SetChar() macro, to change a cchar_t based on a character and
1702           attributes.
1703         + convert most internal use of chtype to NCURSES_CH_T, to simplify use
1704           of cchar_t for wide-character configuration.  Similarly, use ARG_CH_T
1705           where a pointer would be more useful.
1706         + add stubs for tracing cchar_t values.
1707         + add/use macro ISBLANK()
1708         + add/use constructors for cchar_t's: NewChar(), NewChar2().
1709         + add/use macros CHREF(), CHDEREF(), AttrOfD(), CharOfD() to facilitate
1710           passing cchar_t's by address.
1711         + add/use PUTC_DATA, PUTC() macros.
1712         + for wide-character configuration, move the window background data to
1713           the end of the WINDOW struct so that whether _XOPEN_SOURCE_EXTENDED
1714           is defined or not, the offsets in the struct will not change.
1715         + modify addch() to work with wide-characters.
1716         + mark several wide-character functions as generated in curses.h.in
1717         + implement wunctrl(), wadd_wch(), wbkgrndset(), wbkgrnd(),
1718           wborder_set() and waddnwstr().
1719
1720 20010526
1721         + add experimental --with-caps=XXX option to customize to similar
1722           terminfo database formats such as AIX 4.x
1723         + add Caps.aix4 as an example.
1724         + modify Caps to add columns for the the KEY_xxx symbols.
1725         + modify configure --with-widec to suppress overwrite of libcurses.so
1726           and curses.h
1727         + add checks to toe.c to avoid being confused by files and directories
1728           where we would expect the reverse, e.g., source-files in the
1729           top-level terminfo levels as is the case for AIX.
1730
1731 20010519
1732         + add top-level 'depend' rule for the C sources, assuming that the
1733           makedepend program is available.  As a side-effect, this makes
1734           the generated sources, as in "make sources" (prompted by a report
1735           by Mike Castle that "make -j" fails because the resulting parallel
1736           processes race to generate ncurses/names.c).
1737         + modify configure script so that --disable-overwrite option's action
1738           to add a symbolic link for libcurses applies to the static library as
1739           well as the shared library when both are configured (report by Felix
1740           Natter <f.natter@ndh.net>).
1741         + add ELKS terminfo entries (Federico Bianchi
1742           <bianchi@www.arte.unipi.it>)
1743         + add u6 (CSR) to Eterm (Michael Jennings).
1744
1745 20010512
1746         + modify test/ncurses.c to work with xterm-256color, which has fewer
1747           color pairs than colors*colors (report by David Ellement
1748           <ellement@sdd.hp.com>).
1749
1750 20010505
1751         + corrected screen.xterm-xfree86 entry.
1752         + update comment in Caps regarding IBM (AIX) function-key definitions.
1753
1754 20010421
1755         + modify c++/Makefile.in to link with libncurses++w.a when configured
1756           for wide-characters (patch by Sven Verdoolaege).
1757         + add check in _nc_trace_buf() to refrain from freeing a null pointer.
1758         + improve CF_PROG_INSTALL macro using CF_DIRNAME.
1759         + update config.guess, config.sub from autoconf 2.49e (alpha).
1760
1761 20010414
1762         + add secondary check in tic.c, similar_sgr() to see if the reason
1763           for mismatch was that the individual capabilities used a time-delay
1764           while sgr did not.  Used this to cleanup mismatches, e.g., in vt100,
1765           and remove time-delay from Apple_Terminal entries.
1766         + add Apple_Terminal terminfo entries (Benjamin C W Sittler
1767           <bsittler@iname.com>).
1768         + correct definitions of shifted editing keys for xterm-xfree86 -TD
1769         + fix a bug in test/bs.c from 20010407 (patch by Erik Sigra).
1770         + prevent relative_move() from doing an overwrite if it detects 8-bit
1771           characters when configured for UTF-8 (reported by Sven Verdoolaege
1772           <skimo@kotnet.org>).
1773
1774 20010407
1775         + add configure checks for strstream.h vscan function, and similar
1776           stdio-based function which may be used in C++ binding for gcc 3.0
1777           (reports by George Goffe, Lars Hecking, Mike Castle).
1778         + rewrite parts of configure.in which used changequote().  That feature
1779           is broken in the latest autoconf alphas (e.g., 2.49d).
1780         + add a missing pathname for ncurses_dll.h, needed when building in
1781           a directory outside the source tree (patch by Sven Verdoolaege
1782           <skimo@kotnet.org>).
1783         > fix 2 bugs in test/bs.c (patch by Erik Sigra <sigra@home.se>):
1784         + no ships were ever placed in the last row or in the last column.
1785           This made the game very easy to win, because you never had to waste
1786           any shots there, but the computer did.
1787         + the squares around a sunken ship that belonged to the player were not
1788           displayed as already hit by the computer, like it does for the
1789           player.
1790
1791 20010331
1792         + add some examples of customizing screen's terminfo:
1793           screen.xterm-xfree86, screen.xterm-r6, screen.teraterm -TD
1794         + modify screen's terminfo entry to match the khome/kend in screen
1795           3.09.08 (Debian bug report #92215).
1796         + correct a memory leak in forms library (report by Stefan Vogtner
1797           <stefan@vogtner.de>, patch by Juergen Pfeifer).
1798
1799 20010324
1800         + change symbols used to guard against repeated includes to begin
1801           consistently with "NCURSES_" rather than a leading underscore.  There
1802           are other symbols defined in the header files which begin with a
1803           leading underscore, but they are part of the legacy interface.
1804         + reorder includes in c++ binding so that rcs identifiers can be
1805           compiled-in.
1806         + add .cc.ii rule to c++ makefile, to get preprocessor output for
1807           debugging.
1808         + correct configure script handling of @keyword@ substitutions when the
1809           --with-manpage-renames option is given (cf:  20000715, fixes Debian
1810           bug #89939).
1811         + report stack underflow/overflow in tparm() when tic -cv option is
1812           given.
1813         + remove spurious "%|" operator from xterm-xfree86 terminfo entry,
1814           (reported by Adam Costello <amc@cs.berkeley.edu>, Debian bug #89222).
1815
1816 20010310
1817         + cleanup of newdemo.c, fixing some ambiguous expressions noted by gcc
1818           2.95.2, and correcting some conflicting color pair initializations.
1819         + add missing copyright notice for cursesw.h
1820         + review, make minor fixes for use of '::' for referring to C-language
1821           interface from C++ binding.
1822         + modify configure check for g++ library slightly to accommodate
1823           nonstandard version number, e.g., <vendor>-2.7 (report by Ronald Ho
1824           <rho@mipos2.intel.com>).
1825         + add configure check for c++ <sstream> header, replace hardcoded
1826           ifdef.
1827         + workaround for pre-release of gcc 3.0 libstdc++, which has dropped
1828           vscan from strstreambuf to follow standard, use wrapper for C vscanf
1829           instead (report by George Goffe <grgoffe@excite.com> and Matt Taggart
1830           <taggart@carmen.fc.hp.com>, fixes Debian .
1831
1832 20010303
1833         + modify interface of _nc_get_token() to pass 'silent' parameter to it,
1834           to make quieter loading of /etc/termcap (patch by Todd C Miller).
1835         + correct a few typos in curs_slk.3x and curs_outopts.3x manpages
1836           (patch by Todd C Miller).
1837
1838 20010224
1839         + compiler-warning fixes (reported by Nelson Beebe).
1840
1841 20010210
1842         + modify screen terminfo entry to use new 3.9.8 feature allowing xterm
1843           mouse controls -TD
1844
1845 20010203
1846         + broaden patterns used to match OS/2 EMX in configure script to cover
1847           variant used in newer config.guess/config.sub
1848         + remove changequote() calls from configure script, since this feature
1849           is broken in the autoconf 2.49c alpha, maintainers decline to fix.
1850         + remove macro callPutChar() from tty_update.c, since this is no longer
1851           needed (reported by Philippe Blain).
1852         + add a null-pointer check in tic.c to handle the case when the input
1853           file is really empty.  Modify the next_char() function in comp_scan.c
1854           to allow arbitrarily long lines, and incidentally supply a newline to
1855           files that do not end in a newline.  These changes improve tic's
1856           recovery from attempts to read binary files, e.g., its output from
1857           the terminfo database (reported by Bernhard Rosenkraenzer).
1858
1859 20010127
1860         + revert change to c++/demo.cc from 20001209, which changed definition
1861           of main() apparently to accommodate cygwin linker, but broke the demo
1862           program.
1863         + workaround for broken egcs 2.91.66 which calls member functions
1864           (i.e., lines() and colors() of NCursesWindow before calling its
1865           constructor.  Add calls to initialize() in a few constructors which
1866           did not do this already.
1867         + use the GNAT preprocessor to make the necessary switch between TRACE
1868           and NO_TRACE configurations (patch by Juergen Pfeifer).
1869         > patches by Bernhard Rosenkraenzer:
1870         + modify kterm terminfo entry to use SCS sequence to support alternate
1871           character set (it does not work with SI/SO).
1872         + --with-ospeed=something didn't work.  configure.in checked for a
1873           $enableval where it should check for $withval.  Also,
1874           ncurses/llib-lncurses still had a hardcoded short.
1875
1876 20010114
1877         + correction to my merge of Tom Riddle's patch that broke tic in some
1878           conditions (reported by Enoch Wexler <enoch@wexler.co.il>) -TD
1879
1880 20010113
1881         + modify view.c to test halfdelay().  Like other tests, this recognizes
1882           the 's' and space commands for stopping/starting polled input, shows
1883           a freerunning clock in the header.  If given a parameter to 's', that
1884           makes view.c use halfdelay() with that parameter rather than
1885           nodelay().
1886         + fix to allow compile with the experimental configure option
1887           --disable-hashmap.
1888         + modify postprocess_termcap() to avoid overwriting key_backspace,
1889           key_left, key_down when processing a non-base entry (report/patch by
1890           Tom Riddle).
1891         + modify _nc_wrap_entry(), adding option to reallocate the string
1892           table, needed in _nc_merge_entry() when merging termcap entries.
1893           (adapted from report/patch by Tom Riddle <ftr@oracom.com>).
1894         + modify a few configure script macros to keep $CFLAGS used only for
1895           compiler options, preprocessor options in $CPPFLAGS.
1896
1897 20001230
1898         + correct marker positions in lrtest.c after receiving a sigwinch.
1899         + fix ifdef's in ncurses.c to build against pre-5.2 for testing.
1900         + fixes to tclock for resizing behavior, redundant computation (report
1901           and patch by A M Kuchling <akuchlin@mems-exchange.org>).
1902
1903 20001216
1904         + improved scoansi terminfo entry -TD
1905         + modify configure script and makefile in Ada95/src to compile a stub
1906           for the trace functions when ncurses does not provide those.
1907
1908 20001209
1909         + add ncurses_dll.h and related definitions to support generating DLL's
1910           with cygwin (adapted from a patch by Charles Wilson
1911           <cwilson@ece.gatech.edu>, changed NCURSES_EXPORT macro to make it
1912           work with 'indent').
1913
1914 20001202
1915         + correct prototypes for some functions in curs_termcap.3x, matching
1916           termcap.h, which matches X/Open.
1917         > patch by Juergen Pfeifer:
1918         + a revised version of the Ada enhancements sent in by "H.
1919           Nanosecond", aka Eugene V Melaragno <aldomel@ix.netcom.com>.  This
1920           patch includes
1921           - small fixes to the existing ncurses binding
1922           - addition of some more low-level functions to the binding, including
1923             termcap and terminfo functions
1924           - An Ada implementation of the "ncurses" test application originally
1925             written in C.
1926
1927 20001125
1928         + modify logic in lib_setup.c to allow either lines or columns value
1929           from terminfo to be used if the screen size cannot be determined
1930           dynamically rather than requiring both (patch by Ehud Karni
1931           <ehud@unix.simonwiesel.co.il>).
1932         + add check in lib_tgoto.c's is_termcap() function to reject null or
1933           empty strings (reported by Valentin Nechayev <netch@netch.kiev.ua> to
1934           freebsd-bugs).
1935         + add definition from configure script that denotes the path-separator,
1936           which is normally a colon.  The path-separator is a semicolon on
1937           OS/2 EMX and similar systems which may use a colon within pathnames.
1938         + alter logic to set default for --disable-overwrite option to set it
1939           to 'yes' if the --prefix/$prefix value is not /usr/local, thereby
1940           accommodating the most common cause of problems: gcc's nonstandard
1941           search rules.  Other locations such as /usr/local/ncurses will
1942           default to overwriting (report by Lars Hecking <lhecking@nmrc.ie>).
1943
1944 20001118
1945         + modify default for --disable-overwrite configure option to disable
1946           if the --prefix or $prefix value is not /usr.
1947         + add cygwin to systems for which ncurses is installed by default into
1948           /usr rather than /usr/local.
1949
1950 20001111
1951         + minor optimization in comp_error.c and lib_termname.c, using
1952           strncat() to replace strncpy() (patch by Solar Designer).
1953         + add a use_terminfo_vars() check for $HOME/.termcap, and check for
1954           geteuid() to use_terminfo_vars() (patch by Solar Designer
1955           <solar@false.com>).
1956         + improved cygwin terminfo entry, based on patch by
1957           <ernie_boyd@yahoo.com>.
1958         + modify _nc_write_entry() to allow for the possibility that linking
1959           aliases on a filesystem that ignores case would not succeed because
1960           the source and destination differ only by case, e.g., NCR260VT300WPP0
1961           on cygwin (report by Neil Zanella).
1962         + fix a typo in the curs_deleteln.3x man page (patch by Bernhard
1963           Rosenkraenzer <bero@redhat.de>).
1964
1965 20001104
1966         + add configure option --with-ospeed to assist packagers in transition
1967           to 5.3 change to ospeed type.
1968         + add/use CharOf() macro to suppress sign-extension of char type on
1969           platforms where this is a problem in ctype macros, e.g., Solaris.
1970         + change trace output to binary format.
1971         + correct a missing quote adjustment in CF_PATH_SYNTAX autoconf
1972           macro, for OS/2 EMX configuration.
1973         + rearrange a few configure macros, moving preprocessor options to
1974           $CPPFLAGS (a now-obsolete version of autoconf did not consistently
1975           use $CPPFLAGS in both the compile and preprocessor checks).
1976         + add a check in relative_move() to guard against buffer overflow in
1977           the overwrite logic.
1978
1979 20001028
1980         + add message to configure script showing g++ version.
1981         + resync config.guess, config.sub
1982         + modify lib_delwin.c, making it return ERR if the window did not exist
1983           (suggested by Neil Zanella).
1984         + add cases for FreeBSD 3.1 to tdlint and makellib scripts, used this
1985           to test/review ncurses library.  (Would use lclint, but it doesn't
1986           work).
1987         + reorganized knight.c to avoid forward references.  Correct screen
1988           updates when backtracking, especially to the first cell.  Add F/B/a
1989           commands.
1990
1991 20001021 5.2 release for upload to ftp.gnu.org
1992         + update generated html files from manpages.
1993         + modify dist.mk to use edit_man.sh to substitute autoconf'd variables
1994           in html manpages.
1995         + fix an uninitialized pointer in read_termcap.c (report by Todd C
1996           Miller, from report/patch by Philip Guenther <guenther@gac.edu>).
1997         + correct help-message and array limit in knight.c (patch by Brian
1998           Raiter <breadbox@muppetlabs.com>).
1999         > patch by Juergen Pfeifer:
2000         + fix to avoid warning by GNAT-3.13p about use of inconsistent casing
2001           for some identifiers defined in the standard package.
2002         + cosmetic change to forms/fty_enum.c
2003
2004 20001014
2005         + correct an off-by-one position in test/railroad.c which could cause
2006           wrapping at the right margin.
2007         + test/repair some issues with libtool configuration.  Make
2008           --disable-echo force libtool --silent.  (Libtool does not work for
2009           OS/2 EMX, works partly for SCO - libtool is still very specific to
2010           gcc).
2011         + change default of --with-manpage-tbl to "no", since for most of the
2012           platforms which do have tbl installed, the system "man" program
2013           understands how to run tbl automatically.
2014         + minor improvement to force_bar() in comp_parse.c (Bernhard
2015           Rosenkraenzer <bero@redhat.de>).
2016         + modify lib_tparm.c to use get_space() before writing terminating
2017           null character, both for consistency as well as to ensure that if
2018           save_char() was called immediately before, that the allocated memory
2019           is enough (patch by Sergei Ivanov).
2020         + add note about termcap ML capability which is duplicated between two
2021           different capabilities:  smgl and smglr (reported by Sergei Ivanov
2022           <svivanov@pdmi.ras.ru>).
2023         + correct parameter counts in include/Caps for dclk as well as some
2024           printer-specific capabilities: csnm, defc, scs, scsd, smgtp, smglp.
2025         > patch by Johnny C Lam <lamj@stat.cmu.edu>:
2026         + add support for building with libtool (apparently version 1.3.5,
2027           since old versions do not handle -L../lib), using new configure
2028           option --with-libtool.
2029         + add configure option --with-manpage-tbl, which causes the manpages to
2030           be preprocessed by tbl(1) prior to installation,
2031         + add configure option --without-curses-h, which causes the
2032           installation process to install curses.h as ncurses.h and make
2033           appropriate changes to headers and manpages.
2034
2035 20001009
2036         + correct order of options/parameters in run_tic.in invocation of tic,
2037           which did not work with standard getopt() (reported by Ethan
2038           Butterfield <primus@veris.org>).
2039         + correct logic for 'reverse' variable in lib_vidattr.c, which was
2040           setting it true without checking if newmode had A_REVERSE set, e.g.,
2041           using $TERM=ansi on OS/2 EMX (see 20000917).
2042         > patch by Todd Miller:
2043         + add a few missing use_terminfo_vars() and fixes up _nc_tgetent().
2044           Previously, _nc_cgetset() would still get called on cp so the
2045           simplest thing is to set cp to NULL if !use_terminfo_vars().
2046         + added checks for an empty $HOME environment variable.
2047         > patches by Ilya Zakharevich for OS/2 EMX:
2048         + modify convert_configure.pl to support INSTALL.  Change compiler
2049           options in that script to use multithreading, needed for the mouse.
2050         + modify OS/2 mouse support, retrying as a 2-button mouse if code fails
2051           to set up a 3-button mouse.
2052         + improve code for OS/2 mouse support, using _nc_timed_wait() to
2053           replace select() call.
2054
2055 20001007
2056         + change type of ospeed variable back to short to match its use in
2057           legacy applications (reported by Andrey A Chernov).
2058         + add case to configure script for --enable-rpath on IRIX (patch by
2059           Albert Chin-A-Young).
2060         + minor fix to position_check() function, to ensure it gets the whole
2061           cursor report before decoding.
2062         + add configure option --disable-assumed-color, to allow pre-5.1
2063           convention of default colors used for color-pair 0 to be configured
2064           (see assume_default_colors()).
2065         + rename configure option --enable-hashmap --disable-hashmap, and
2066           reorder the configure options, splitting the experimental and
2067           development
2068         + add configure option --disable-root-environ, which tells ncurses to
2069           disregard $TERMINFO and similar environment variables if the current
2070           user is root, or running setuid/setgid (based on discussion with
2071           several people).
2072         + modified misc/run_tic.in to use tic -o, to eliminate dependency on
2073           $TERMINFO variable for installs.
2074         + add table entry for plab_norm to tput, so it passes in strings
2075           for that capability.
2076         + modify parse_format() in lib_tparm.c to ignore precision if it is
2077           longer than 10000 (report by Jouko Pynnonen).
2078         + rewrote limit checks in lib_mvcur.c using new functions
2079           _nc_safe_strcat(), etc.  Made other related changes to check lengths
2080           used for strcat/strcpy (report by Jouko Pynnonen
2081           <jouko@solutions.fi>).
2082
2083 20000930
2084         + modify several descriptions, including those for setaf, setab, in
2085           include/Caps to indicate that the entries are parameterized.  This
2086           information is used to tell which strings are translated when
2087           converting to termcap.  Fixes a problem where the generated termcap
2088           would contain a spurious "%p1" for the terminfo "%p1%d".
2089         + modify ld -rpath options (e.g., Linux, and Solaris) to use an
2090           absolute pathname for the build tree's lib directory (prompted by
2091           discussion with Albert Chin-A-Young).
2092         + modify "make install.man" and "make uninstall.man" to include tack's
2093           man-page.
2094         + various fixes for install scripts used to support configure --srcdir
2095           and --with-install-prefix (reported by Matthew Clarke
2096           <Matthew_Clarke@mindlink.bc.ca>).
2097         + make configure script checks on variables $GCC and $GXX consistently
2098           compare against 'yes' rather than test if they are nonnull, since
2099           either may be set to the corresponding name of the C or C++ compiler
2100           (report/patch by Albert Chin-A-Young).
2101
2102 20000923
2103         + modify rs2 capability in xterm-r6 and similar where cursor
2104           save/restore bracketed the sequence for resetting video attributes.
2105           The cursor restore would undo that (from a NetBSD bug report by John
2106           Hawkinson <jhawk@MIT.EDU>).
2107         + using parameter check added to tic, corrected 27 typos in
2108           terminfo.src -TD
2109         + modify tic to verify that its inputs are really files, in case
2110           someone tries to read a directory (or /dev/zero).
2111         + add a check for empty buffers returned by fgets() in comp_scan.c
2112           next_char() function, in case tic is run on a non-text file (fixes
2113           a core dump reported by Aaron Campbell <aaron@cs.dal.ca>).
2114         + add to railroad.c some code exercising tgoto(), providing an
2115           alternate form of display if the terminal supports cursor addressing.
2116         + split-out tgoto() again, this time into new file lib_tgoto.c, and
2117           implement a conventional BSD-style tgoto() which is used if the
2118           capability string does not contain terminfo-style padding or
2119           parameters (requested by Andrey A Chernov).
2120         + add check to tic which reports capabilities that do not reference
2121           the expected number of parameters.
2122         + add error checking to infocmp's -v and -m options to ensure that
2123           the option value is indeed a number.
2124         + some cleanup of logic in _nc_signal_handler() to verify if SIGWINCH
2125           handler is setup.  Separated the old/new sigaction data for SIGTSTP
2126           from the other signals.
2127
2128 20000917
2129         + add S0, E0 extensions to screen's terminfo entry, which is another
2130           way to solve the misconfiguration issue -TD
2131         + completed special case for tgoto from 20000916
2132
2133 20000916
2134         + update xterm terminfo entries to match XFree86 xterm patch #146 -TD
2135         + add Matrix Orbital terminfo entries (from Eric Z Ayers
2136           <eric@ale.org>).
2137         + add special case to lib_tparm.c to allow 'screen' program to use a
2138           termcap-style parameter "%." to tgoto() for switching character sets.
2139         + use LN_S substitution in run_tic.in, to work on OS/2 EMX which has
2140           no symbolic links.
2141         + updated notes in README.emx regarding autoconf patches.
2142         + replace a lookup table in lib_vidattr.c used to decode no_color_video
2143           with a logic expression (suggested by Philippe Blain).
2144         + add a/A toggle to ncurses.c 'b' test, which clears/sets alternate
2145           character set attribute from the displayed text.
2146         + correct inequality in parameter analysis of rewritten lib_tparm.c
2147           which had the effect of ignoring p9 in set_attributes (sgr), breaking
2148           alternate character set (reported by Piotr Majka <charvel@link.pl>).
2149         + correct ifdef'ing for GCC_PRINTF, GCC_SCANF which would not compile
2150           with Sun WorkShop compilers since these tokens were empty (cf:
2151           20000902, reported by Albert Chin-A-Young).
2152
2153 20000909
2154         + correct an uninitialized parameter to open_tempfile() in tic.c which
2155           made "tic -I" give an ambiguous error message about tmpnam.
2156         + add special case in lib_vidattr.c to reset underline and standout for
2157           devices that have no sgr0 defined (patch by Don Lewis
2158           <Don.Lewis@tsc.tdk.com>).  Note that this will not work for bold
2159           mode, since there is no exit-bold-mode capability.
2160         + improved patch for Make_Enum_Type (patch by Juergen Pfeifer).
2161         + modify tparm to disallow arithmetic on strings, analyze the varargs
2162           list to read strings as strings and numbers as numbers.
2163         + modify tparm's internal function spop() to treat a null pointer as
2164           an empty string.
2165         + modify tput program so it can be renamed or invoked via a link as
2166           'reset' or 'init', producing the same effect as 'tput reset' or 'tput
2167           init'.
2168         + add private entrypoint _nc_basename(), use to consolidate related
2169           code in progs, as well as accommodating OS/2 EMX pathnames.
2170         + remove NCURSES_CONST line from edit_cfg.sh to compensate for its
2171           removal (except via AC_SUBST) from configure.in, making
2172           --enable-const work again (reported by Juergen Pfeifer).
2173         + regen'd configure to pick up "hpux*" change from 20000902.
2174
2175 20000902
2176         + modify tset.c to check for transformed "reset" program name, if any.
2177         + add a check for null pointer in Make_Enum_Type() (reported by Steven
2178           W Orr <steveo@world.std.com>).
2179         + change functions _nc_parse_entry() and postprocess_termcap() to avoid
2180           using strtok(), because it is non-reentrant (reported by Andrey A
2181           Chernov <ache@nagual.pp.ru>).
2182         + remove "hpux10.*" case from CF_SHARED_OPTS configure script macro.
2183           This differed from the "hpux*" case by using reversed symbolic
2184           links, which made the 5.1 version not match the configuration of
2185           5.0 shared libraries (reported by Albert Chin-A-Young).
2186         + correct a dependency in Ada95/src/Makefile.in which prevented
2187           building with configure --srcdir (patch by H Nanosecond
2188           <aldomel@ix.netcom.com>).
2189         + modify ifdef's in curses.h.in to avoid warning if GCC_PRINTF or
2190           GCC_SCANF was not previously defined (reported by Pavel Roskin
2191           <proski@gnu.org>).
2192         + add MKncurses_def.sh to generate fallback definitions for
2193           ncurses_cfg.h, to quiet gcc -Wundef warnings, modified ifdef's in
2194           code to consistently use "#if" rather than "#ifdef".
2195
2196 20000826
2197         + add QNX qansi entries to terminfo -TD
2198         + add os2 entry to misc/emx.src (<jmcoopr@webmail.bmi.net>).
2199         + add configure option --with-database to allow specifying a different
2200           terminfo source-file to install.  On OS/2 EMX, this defaults to
2201           misc/emx.src
2202         + change misc/run_tic.sh to derive it from misc/run_tic.in, to simplify
2203           setting .exe extension on OS/2 EMX.
2204         + add .exe extension in Ada95/gen/Makefile.in,
2205           Ada95/samples/Makefile.in, for OS/2 EMX (reported by
2206           <jmcoopr@webmail.bmi.net>).
2207         + add configure check for filesystems (such as OS/2 EMX) which do not
2208           distinguish between upper/lowercase filenames, use this to fix tags
2209           rules in makefiles.
2210         + initialize fds[] array to 0's in _nc_timed_wait(); apparently poll()
2211           only sets the revents members of that array when there is activity
2212           corresponding to the related file (report by Glenn Cooper
2213           <gcooper@qantas.com.au>, using Purify on Solaris 5.6).
2214         + change configure script to use AC_CANONICAL_SYSTEM rather than
2215           AC_CANONICAL_HOST, which means that configure --target will set
2216           a default program-prefix.
2217         + add note on cross-compiling to INSTALL (which does not rely on the
2218           AC_CANONICAL_* macros).
2219
2220 20000819
2221         + add cases for EMX OS/2 to config.guess, config.sub
2222         + new version of config.guess, config.sub from lynx 2.8.4dev.7
2223         + add definitions via transform.h to allow tic and tput to check for
2224           the transformed aliases rather than the original infotocap, etc.
2225         + simplify transform-expressions in progs/Makefile.in, make the
2226           uninstall rule work for transformed program names.
2227         + change symbol used by --install-prefix configure option from
2228           INSTALL_PREFIX to DESTDIR (the latter has become common usage
2229           although the name is misleading).
2230         + modify programs to use curses_version() string to report the version
2231           of ncurses with which they are compiled rather than the
2232           NCURSES_VERSION string.  The function returns the patch level in
2233           addition to the major and minor version numbers.
2234
2235 20000812
2236         + modify CF_MAN_PAGES configure macro to make transformed program names
2237           a parameter to that macro rather than embedding them in the macro.
2238         + newer config.guess, config.sub (reference version used in lynx
2239           2.8.4dev.7).
2240         + add configure option --with-default-terminfo-dir=DIR to allow
2241           specifying the default terminfo database directory (request by Albert
2242           Chin-A-Young).
2243         + minor updates for terminfo.src from FreeBSD termcap change-history.
2244         + correct notes in README and INSTALL regarding documentation files
2245           that were moved from misc directory to doc (report by Rich Kulawiec
2246           <rsk@gsp.org>).
2247         + change most remaining unquoted parameters of 'test' in configure
2248           script to use quotes, for instance fixing a problem in the
2249           --disable-database option (reported by Christian Mondrup
2250           <scancm@biobase.dk>).
2251         + minor adjustments to work around some of the incompatibilities/bugs
2252           in autoconf 2.29a alpha.
2253         + add -I/usr/local/include when --with-ncurses option is used in
2254           test/configure script.
2255         + correct logic in adjust_cancels(), which did not check both
2256           alternatives when reclassifying an extended name between boolean,
2257           number and string, causing an infinite loop in tic.
2258
2259 20000730
2260         + correct a missing backslash in curses.priv.h
2261
2262 20000729
2263         + change handling of non_dest_scroll_region in tty_update.c to clear
2264           text after it is shifted in rather than before shifting out.  Also
2265           correct row computation (reported by Ruediger Kuhlmann
2266           <uck4@rz.uni-karlsruhe.de>).
2267         + add/use new trace function to display chtype values from winch() and
2268           getbkgd().
2269         + add trace mask TRACE_ATTRS, alter several existing _tracef calls that
2270           trace attribute changes under TRACE_CALLS to use this.
2271         + modify MKlib_gen.sh so that functions returning chtype will call
2272           returnChar().
2273         + add returnChar() trace, for functions returning chtype.
2274         + change indent.pro to line up parenthesis.
2275
2276 20000722
2277         + fix a heap problem with the c++ binding (report by
2278           <alexander_liberson@ninewest.com>, patch by Juergen Pfeifer).
2279         + minor adjustment to ClrToEOL() to handle an out-of-bounds parameter.
2280         + modify the check for big-core to force a couple of memory accesses,
2281           which may work as needed for older/less-capable machines (if not,
2282           there's still the explicit configure option).
2283         > fixes based on diff's for Amiga and BeOS found at
2284           http://www.mathematik.uni-karlsruhe.de/~kuhlmann/cross/ncurses/
2285         + alter definition of NCURSES_CONST to make it non-empty.
2286         + add amiga-vnc terminfo entry.
2287         + redefine 'TEXT' in menu.h for AMIGA, since it is reported to have
2288           an (unspecified) symbol conflict.
2289         + replaced case-statement in _nc_tracebits() for CSIZE with a table to
2290           simplify working around implementations that define random
2291           combinations of the related macros to zero.
2292         + modify configure test for tcgetattr() to allow for old
2293           implementations, e.g., on BeOS, which only defined it as a macro.
2294         > patches by Bruno Haible:
2295         + when checking LC_ALL/LC_CTYPE/LANG environment variables for UTF-8
2296           locale, ignore those which are set to an empty value, as per SUSV2.
2297         + encode 0xFFFD in UTF-8 with 3 bytes, not 2.
2298         + modify _nc_utf8_outch() to avoid sign-extension when checking for
2299           out-of-range value.
2300
2301 20000715
2302         + correct manlinks.sed script to avoid using ERE "\+", which is not
2303           understood by older versions of sed (patch by Albert Chin-A-Young).
2304         + implement configure script options that transform installed program
2305           names, e.g., --program-prefix, including the manpage names and cross
2306           references (patch by Albert Chin-A-Young <china@thewrittenword.com>).
2307         + correct several mismatches between manpage filename and ".TH"
2308           directives, renaming dft_fgbg.3x to default_colors.3x and
2309           menu_attribs.3x to menu_attributes.3x (report by Todd C Miller).
2310         + correct missing includes for <string.h> in several places, including
2311           the C++ binding.  This is not noted by gcc unless we use the
2312           -fno-builtin option (reported by Igor Schein <igor@txc.com>).
2313         + modified progs/tset.c and tack/sysdep.c to build with sgttyb
2314           interface if neither termio or termios is available.  Tested this
2315           with FreeBSD 2.1.5 (which does have termios - but the sgttyb does
2316           work).
2317
2318 20000708 5.1 release for upload to ftp.gnu.org
2319         + document configure options in INSTALL.
2320         + add man-page for ncurses trace functions.
2321         + correct return value shown in curs_touch.3x for is_linetouched() and
2322           is_wintouched(), in curs_initscr.3x for isendwin(), and in
2323           curs_termattr.3x for has_ic() and has_il().
2324         + add prototypes for touchline() and touchwin(), adding them to the
2325           list of generated functions.
2326         + modify fifo_push() to put ERR into the fifo just like other values to
2327           return from wgetch().  It was returning without doing that, making
2328           end-of-file condition incorrectly return a 0 (reported by Todd C
2329           Miller).
2330         + uncomment CC_SHARED_OPTS for progs and tack (see 971115), since they
2331           are needed for SCO OpenServer.
2332         + move _nc_disable_period from free_ttype.c to comp_scan.c to appease
2333           dynamic loaders on SCO and IRIX64.
2334         + add "-a" option to test/ncurses.c to invoke assume_default_colors()
2335           for testing.
2336         + correct assignment in assume_default_colors() which tells ncurses
2337           whether to use default colors, or the assumed ones (reported by Gary
2338           Funck <gary@Intrepid.Com>).
2339         + review/correct logic in mk-1st.awk for making symbolic links for
2340           shared libraries, in particular for FreeBSD, etc.
2341         + regenerate misc/*.def files for OS/2 EMX dll's.
2342         + correct quoting of values for CC_SHARED_OPTS in aclocal.m4 for
2343           cases openbsd2*, openbsd*, freebsd* and netbsd* (patch by Peter
2344           Wemm) (err in 20000610).
2345         + minor updates to release notes, as well as adding/updating URLs for
2346           examples cited in announce.html
2347         > several fixes from Philippe Blain <philippe.blain2@freesbee.fr>:
2348         + correct placement of ifdef for NCURSES_XNAMES in function
2349           _nc_free_termtype(), fixes a memory leak.
2350         + add a call to _nc_synchook() to the end of function whline() like
2351           that in wvline() (difference was in 1.9.4).
2352         + make ClearScreen() a little faster by moving two instances of
2353           UpdateAttr() out of for-loops.
2354         + simplify ClrBottom() by eliminating the tstLine data, using for-loops
2355           (cf: 960428).
2356
2357 20000701 pre-release
2358         + change minor version to 1, i.e., ncurses 5.1
2359         + add experimental configure option --enable-colorfgbg to check for
2360           $COLORTERM variable as set by rxvt/aterm/Eterm.
2361         + add Eterm terminfo entry (Michael Jennings <mej@valinux.com>).
2362         + modify manlinks.sed to pick aliases from the SYNOPSIS section, and
2363           several manpages so manlinks.sed can find aliases for creating
2364           symbolic links.
2365         + add explanation to run_tic.sh regarding extended terminal
2366           capabilities.
2367         + change message format for edit_cfg.sh, since some people interpret
2368           it as a warning.
2369         + correct unescaped '$' in sysv5uw7*|unix_sv* rule for CF_SHARED_OPTS
2370           configure macro (report by Thanh Ma <Thanh.Ma@casi-rusco.com>).
2371         + correct logic in lib_twait.c as used by lib_mouse.c for GPM mouse
2372           support when poll() is used rather than select() (prompted by
2373           discussion with David Allen <DAllen24@aol.com>).
2374
2375 20000624 pre-release
2376         + modify TransformLine() to check for cells with different color pairs
2377           that happen to render the same display colors.
2378         + apply $NCURSES_NO_PADDING to cost-computation in mvcur().
2379         + improve cost computation in PutRange() by accounting for the use
2380           of parm_right_cursor in mvcur().
2381         + correct cost computation in EmitRange(), which was not using the
2382           normalized value for cursor_address.
2383         + newer config.guess, config.sub (reference version used in TIN 1.5.6).
2384
2385 20000617
2386         + update config.guess, config.sub (reference version used in PCRE 3.2).
2387         + resync changes to gnathtml against version 1.22, regenerated html
2388           files under doc/html/ada using this (1.22.1.1).
2389         + regenerated html files under doc/html/man after correcting top and
2390           bottom margin options for man2html in dist.mk
2391         + minor fixes to test programs ncurses 'i' and testcurs program to make
2392           the subwindow's background color cover the subwindow.
2393         + modify configure script so AC_MSG_ERROR is temporarily defined to a
2394           warning in AC_PROG_CXX to make it recover from a missing C++ compiler
2395           without requiring user to add --without-cxx option (from comment by
2396           Akim Demaille <akim@epita.fr> to autoconf mailing list).
2397         + modify headers.sh to avoid creating temporary files in the build
2398           directory when installing headers (reported by Sergei Pokrovsky
2399           <pok@nbsp.nsk.su>)
2400
2401 20000610
2402         + regenerated the html files under doc/html/ada/files and
2403           doc/html/ada/funcs with a slightly-improved gnathtml.
2404         + add kmous capability to linux terminfo entry to allow it to use
2405           xterm-style events provided by gpm patch by Joerg Schoen.
2406         + make the configure macro CF_SHARED_OPTS a little smarter by testing
2407           if -fPIC is supported by gcc rather than -fpic.  The former option
2408           allows larger symbol tables.
2409         + update config.guess and config.sub (patches by
2410           Kevin Buettner <kev@primenet.com> for elf64_ia64
2411           Bernd Kuemmerlen <bkuemmer@mevis.de> and MacOS X).
2412         + add warning for 'tic -cv' about use of '^?' in terminfo source, which
2413           is an extension.
2414
2415 20000527
2416         + modify echo() behavior of getch() to match Solaris curses for
2417           carriage return and backspace (reported by Neil Zanella).
2418         + change _nc_flush() to a function.
2419         + modify delscreen() to check if the output stream has been closed, and
2420           if so, free the buffer allocated for setbuf (this provides an
2421           ncurses-specific way to avoid a memory leak when repeatedly calling
2422           newterm reported by Chipp C <at_1@zdnetonebox.com>).
2423         + correct typo in curs_getch.3x manpage regarding noecho (reported by
2424           David Malone <dwmalone@maths.tcd.ie>).
2425         + add a "make libs" rule.
2426         + make the Ada95 interface build with configure --enable-widec.
2427         + if the configure --enable-widec option is given, append 'w' to names
2428           of the generated libraries (e.g., libncursesw.so) to avoid conflict
2429           with existing ncurses libraries.
2430
2431 20000520
2432         + modify view.c to make a rudimentary viewer of UTF-8 text if ncurses
2433           is configured with the experimental wide-character support.
2434         + add a simple UTF-8 output driver to the experimental wide-character
2435           support.  If any of the environment variables LC_ALL, LC_CTYPE or
2436           LANG contain the string "UTF-8", this driver will be used to
2437           translate the output to UTF-8.  This works with XFree86 xterm.
2438         + modify configure script to allow building shared libraries on BeOS
2439           (from a patch by by Valeriy E Ushakov).
2440         + modify lib_addch.c to allow repeated update to the lower-right
2441           corner, rather than displaying only the first character written until
2442           the cursor is moved.  Recent versions of SVr4 curses can update the
2443           lower-right corner, and behave this way (reported by Neil Zanella).
2444         + add a limit-check in _nc_do_color(), to avoid using invalid color
2445           pair value (from bug report by Brendan O'Dea <bod@compusol.com.au>).
2446
2447 20000513
2448         + the tack program knows how to use smcup and rmcup but the "show caps
2449           that can be tested" feature did not reflect this knowledge.  Correct
2450           the display in the menu tack/test/edit/c (patch by Daniel Weaver).
2451         + xterm-16color does allow bold+colors, removed ncv#32 from that
2452           terminfo entry.
2453
2454 20000506
2455         + correct assignment to SP->_has_sgr_39_49 in lib_dft_fgbg.c, which
2456           broke check for screen's AX capability (reported by Valeriy E Ushakov
2457           <uwe@ptc.spbu.ru>).
2458         + change man2html rule in dist.mk to workaround bug in some
2459           man-programs that ignores locale when rendering hyphenation.
2460         + change web- and ftp-site to dickey.his.com
2461
2462 20000429
2463         + move _nc_curr_token from parse_entry.c to comp_scan.c, to work around
2464           problem linking tack on MacOS X DP3.
2465         + include <sys/time.h> in lib_napms.c to compile on MacOS X DP3
2466           (reported by Gerben Wierda <wierda@holmes.nl>).
2467         + modify lib_vidattr.c to check for ncv fixes when pair-0 is not
2468           default colors.
2469         + add -d option to ncurses.c, to turn on default-colors for testing.
2470         + add a check to _nc_makenew() to ensure that newwin() and newpad()
2471           calls do not silently fail by passing too-large limits.
2472         + add symbol NCURSES_SIZE_T to use rather than explicit 'short' for
2473           internal window and pad sizes.  Note that since this is visible in
2474           the WINDOW struct, it would be an ABI change to make this an 'int'
2475           (prompted by a question by Bastian Trompetter
2476           <btrompetter@firemail.de>, who attempted to create a 96000-line pad).
2477
2478 20000422
2479         + add mgterm terminfo entry from NetBSD, minor adjustments to sun-ss5,
2480           aixterm entries -TD
2481         + modify tack/ansi.c to make it more tolerant of bad ANSI replies.  An
2482           example of an illegal ANSI resonse can be found using Microsoft's
2483           Telnet client.  A correct display can be found using a VT-4xx
2484           terminal or XFree86 xterm with:
2485                 XTerm*VT100*decTerminalID:  450
2486           (patch by Daniel Weaver).
2487         + modify gdc.c to recognize 'q' for quit, 's' for single-step and ' '
2488           for resume.  Add '-n' option to force gdc's standard input to
2489           /dev/null, to both illustrate the use of newterm() for specifying
2490           alternate inputs as well as for testing signal handling.
2491         + minor fix for configure option --with-manpage-symlinks, for target
2492           directories that contain a period ('.') (reported by Larry Virden).
2493
2494 20000415
2495         + minor additions to beterm entry (feedback from Rico Tudor) -TD
2496         + corrections/updates for some IBM terminfo entries -TD
2497         + modify _nc_screen_wrap() so that when exiting curses mode with
2498           non-default colors, the last line on the screen will be cleared to
2499           the screen's default colors (request by Alexander Lukyanov).
2500         + modify ncurses.c 'r' example to set nonl(), allowing control/M to be
2501           read for demonstrating the REQ_NEW_LINE operation (prompted by a
2502           question by Tony L Keith" <tlkeith@keithconsulting.com>).
2503         + modify ncurses.c 'r' example of field_info() to work on Solaris 2.7,
2504           documented extension of ncurses which allows a zero pointer.
2505         + modify fmt_complex() to avoid buffer overflow in case of excess
2506           recursion, and to recognize "%e%?" as a synonym for else-if, which
2507           means that it will not recur for that special case.
2508         + add logic to support $TERMCAP variable in case the USE_GETCAP symbol
2509           is defined (patch by Todd C Miller).
2510         + modify one of the m4 files used to generate the Ada95 sources,
2511           to avoid using the token "symbols" (patch by Juergen Pfeifer).
2512
2513 20000408
2514         + add terminfo entries bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
2515         + correct spelling error in terminfo entry name:  bq300-rv was given as
2516           bg300-rv in esr's version.
2517         + modify redrawwin() macro so its parameter is fully parenthesized
2518           (fixes Debian bug report #61088).
2519         + correct formatting error in dump_entry() which set incorrect column
2520           value when no newline trimming was needed at the end of an entry,
2521           before appending "use=" clauses (cf: 960406).
2522
2523 20000401
2524         + add configure option --with-manpage-symlinks
2525         + change unctrl() to render C1 characters (128-159) as ~@, ~A, etc.
2526         + change makefiles so trace() function is provided only if TRACE is
2527           defined, e.g., in the debug library.  Modify related calls to
2528           _tracechar() to use unctrl() instead.
2529
2530 20000325
2531         + add screen's AX capability (for ECMA SGR 39 and 49) to applicable
2532           terminfo entries, use presence of this as a check for a small
2533           improvement in setting default colors.
2534         + improve logic in _nc_do_color() implementing assume_default_colors()
2535           by passing in previous color pair info to eliminate redundant call to
2536           set_original_colors().  (Part of this is from a patch by Alexander
2537           Lukyanov).
2538         + modify warning in _nc_trans_string() about a possibly too-long string
2539           to do this once only rather than for each character past the
2540           threshold (600).  Change interface of _nc_trans_string() to allow
2541           check for buffer overflow.
2542         + correct use of memset in _nc_read_entry_source() to initialize ENTRY
2543           struct each time before reading new data into it, rather than once
2544           per loop (cf:  990301).  This affects multi-entry in-core operations
2545           such as "infocmp -Fa".
2546
2547 20000319
2548         + remove a spurious pointer increment in _nc_infotocap() changes from
2549           20000311.  Add check for '.' in format of number, since that also
2550           is not permitted in termcap.
2551         + correct typo in rxvt-basic terminfo from temporary change made while
2552           integrating 20000318.
2553
2554 20000318
2555         + revert part of the vt220 change (request by Todd C Miller).
2556         + add ansi-* terminfo entries from Eric's version.
2557         + add -a option to tic and infocmp, which retains commented-out
2558           capabilities during source translation/comparison, e.g., captoinfo
2559           and infotocap.
2560         + modify cardfile.c to display an empty card if no input data file is
2561           found, fixes a core dump in that case (reported by Bruno Haible).
2562         + correct bracketing in CF_MATH_LIB configure macro, which gave wrong
2563           result for OS/2 EMX.
2564         + supply required parameter for _nc_resolve_uses() call in
2565           read_termcap.c, overlooked in 20000311 (reported by Todd C Miller).
2566         > patches by Bruno Haible <haible@ilog.fr>:
2567         + fix a compiler warning in fty_enum.c
2568         + correct LIB_PREFIX expression for DEPS_CURSES in progs, tack
2569           makefiles, which resulted in redundant linking (cf: 20000122).
2570
2571 20000311
2572         + make ifdef's for BROKEN_LINKER consistent (patch by Todd C Miller).
2573         + improved tack/README (patch by Daniel Weaver).
2574         + modify tput.c to ensure that unspecified parameters are passed to
2575           tparm() as 0's.
2576         + add a few checks in infocmp to guard against buffer overflow when
2577           displaying string capabilities.
2578         + add check for zero-uses in infocmp's file_comparison() function
2579           before calling _nc_align_termtype().  Otherwise one parameter is
2580           indexed past the end of the uses-array.
2581         + add an option -q to infocmp to specify the less verbose output,
2582           keeping the existing format as the default, though not retaining the
2583           previous behavior that made the -F option compare each entry to
2584           itself.
2585         + adapted patch by Eric Raymond to make infocmp -F less verbose
2586           (the submitted patch was unusable because it did not compile
2587           properly):
2588           + modify write_entry.c to ensure that absent or cancelled booleans
2589             are written as FALSE, for consistency with infocmp which now
2590             assumes this.  Note that for the small-core configuration, tic
2591             may not produce the same result as before.
2592           + change some private library interfaces used by infocmp, e.g.,
2593             _nc_resolve_uses().
2594           + add a check in _nc_infotocap() to ensure that cm-style capabilities
2595             accept only %d codes when converting the format from terminfo to
2596             termcap.
2597           + modify ENTRY struct to separate the data in 'parent' into the name
2598             and link values (the original idea to merge both into 'parent' was
2599             not good).
2600           + discard repair_acsc(tterm);
2601         > patch by Juergen Pfeifer:
2602         + drop support for gnat 3.10
2603         + move generated documentation and html files under ./doc directory,
2604           adding makefile rules for this to dist.mk
2605
2606 20000304
2607         + correct conflicting use of tparm() in 20000226 change to tic, which
2608           made it check only one entry at a time.
2609         + fix errors in ncurses-intro.html and hackguide.html shown by Dave
2610           Raggett's tidy.
2611         + make the example in ncurses-intro.html do something plausible, and
2612           corrected misleading comment (reported by Neil Zanella).
2613         + modify pnoutrefresh() to set newscr->_leaveok as wnoutrefresh() does,
2614           to fix a case where the cursor position was not updated as in
2615           Solaris  (patch by David Mosberger <davidm@hpl.hp.com>).
2616         + add a limit-check for wresize() to ensure that a subwindow does not
2617           address out of bounds.
2618         + correct offsets used for subwindows in wresize() (patch by Michael
2619           Andres <ma@suse.de>).
2620         + regenerate html'ized manual pages with man2html 3.0.1 (patch by
2621           Juergen Pfeifer).  This generated a file with a space in its name,
2622           which I removed.
2623         + fix a few spelling errors in tack.
2624         + modify tack/Makefile.in to match linker options of progs/Makefile.in;
2625           otherwise it does not build properly for older HPUX shared library
2626           configurations.
2627         + add several terminfo entries from esr's "11.0".
2628
2629 20000226
2630         + make 'tput flash' work properly for xterm by flushing output in
2631           delay_output() when using napms(), and modifying xterm's terminfo to
2632           specify no padding character.  Otherwise, xterm's reported baud rate
2633           can mislead ncurses into producing too few padding characters
2634           (Debian #58530).
2635         + add a check to tic for consistency between sgr and the separate
2636           capabilities such as smso, use this to check/correct several
2637           terminfo entries (Debian #58530).
2638         + add a check to tic if cvvis is the same as cnorm, adjusted several
2639           terminfo entries to remove the conflict (Debian #58530).
2640         + correct prototype shown in attr_set()/wattr_set() manpages (fixes
2641           Debian #53962).
2642         + minor clarification for curs_set() and leaveok() manpages.
2643         + use mkstemp() for creating temporary file for tic's processing of
2644           $TERMCAP contents (fixes Debian #56465).
2645         + correct two errors from integrating Alexander's changes:  did not
2646           handle the non-bce case properly in can_erase_with() (noted by
2647           Alexander), and left fg/bg uninitialized in the pair-zero case of
2648           _nc_do_color() (reported by Dr Werner Fink <werner@suse.de> and
2649           Ismael Cordeiro <ismael@cordeiro.com>).
2650
2651 20000219
2652         + store default-color code consistently as C_MASK, even if given as
2653           -1 for convenience (adapted from patches by Alexander Lukyanov).
2654         > patches by Alexander Lukyanov:
2655         + change can_clear_with() macro to accommodate logic for
2656           assume_default_colors(), making most of the FILL_BCE logic
2657           unnecessary.  Made can_clear_with() an inline function to make it
2658           simpler to read.
2659
2660 20000212
2661         + corrected form of recent copyright dates.
2662         + minor corrections to xterm-xf86-v333 terminfo entry -TD
2663         > patches by Alexander Lukyanov:
2664         + reworded dft_fgbg.3x to avoid assuming that the terminal's default
2665           colors are white on black.
2666         + fix initialization of tstLine so that it is filled with current blank
2667           character in any case.  Previously it was possible to have it filled
2668           with old blank.  The wrong over-optimization was introduced in 991002
2669           patch.  (it is not very critical as the only bad effect is not using
2670           clr_eos for clearing if blank has changed).
2671
2672 20000205
2673         + minor corrections/updates to several terminfo entries: rxvt-basic,
2674           vt520, vt525, ibm5151, xterm-xf86-v40 -TD
2675         + modify ifdef's for poll() to allow it to use <sys/poll.h>, thereby
2676           allowing poll() to be used on Linux.
2677         + add CF_FUNC_POLL macro to check if poll() is able to select from
2678           standard input.  If not we will not use it, preferring select()
2679           (adapted from patch by Michael Pakovic <mpakovic@fdn.com>).
2680         + update CF_SHARED_OPTS macro for SCO Unixware 7.1 to allow building
2681           shared libraries (reported/tested by Thanh <thanhma@mediaone.net>).
2682         + override $LANGUAGE in build to avoid incorrect ordering of keynames.
2683         + correct CF_MATH_LIB parameter, must be sin(x), not sqrt(x).
2684
2685 20000122
2686         + resync CF_CHECK_ERRNO and CF_LIB_PREFIX macros from tin and xterm.
2687         + modify CF_MATH_LIB configure macro to parameterize the test function
2688           used, for reuse in dialog and similar packages.
2689         + correct tests for file-descriptors in OS/2 EMX mouse support.  A
2690           negative value could be used by FD_SET, causing the select() call
2691           to wait indefinitely.
2692
2693 20000115
2694         + additional fixes for non-bce terminals (handling of delete_character)
2695           to work when assume_default_colors() is not specified.
2696         + modify warning message from _nc_parse_entry() regarding extended
2697           capability names to print only if tic/infocmp/toe have the -v flag
2698           set, and not at all in ordinary user applications.  Otherwise, this
2699           warning would be shown for screen's extended capabilities in programs
2700           that use the termcap interface (reported by Todd C Miller).
2701         + modify use of _nc_tracing from programs such as tic so their debug
2702           level is not in the same range as values set by trace() function.
2703         + small panel header cleanup (patch by Juergen Pfeifer).
2704         + add 'railroad' demo for termcap interface.
2705         + modify 'tic' to write its usage message to stderr (patch by Todd C
2706           Miller).
2707
2708 20000108
2709         + add prototype for erase() to curses.h.in, needed to make test
2710           programs build with c++/g++.
2711         + add .c.i and .c.h suffix rules to generated makefiles, for debugging.
2712         + correct install rule for tack.1; it assumed that file was in the
2713           current directory (reported by Mike Castle <dalgoda@ix.netcom.com>).
2714         + modify terminfo/termcap translation to suppress acsc before trying
2715           sgr if the entry would be too large (patch by Todd C Miller).
2716         + document a special case of incompatiblity between ncurses 4.2 and
2717           5.0, add a section for this in INSTALL.
2718         + add TRACE_DATABASE flag for trace().
2719
2720 20000101
2721         + update mach, add mach-color terminfo entries based on Debian diffs
2722           for ncurses 5.0 -TD
2723         + add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp
2724           terminfo entries -TD
2725         + change OTrs capabilities to rs2 in terminfo.src -TD
2726         + add obsolete and extended capabilities to 'screen' terminfo -TD
2727         + corrected conversion from terminfo rs2 to termcap rs (cf: 980704)
2728         + make conversion to termcap ug (underline glitch) more consistently
2729           applied.
2730         + fix out-of-scope use of 'personal[]' buffer in 'toe' (this error
2731           was in the original pre-1.9.7 version, when $HOME/.terminfo was
2732           introduced).
2733         + modify 'toe' to ignore terminfo directories to which it has no
2734           permissions.
2735         + modify read_termtype(), fixing 'toe', which could dump core when it
2736           found an incomplete entry such as "dumb" because it did not
2737           initialize its buffer for _nc_read_file_entry().
2738         + use -fPIC rather than -fpic for shared libraries on Linux, not
2739           needed for i386 but some ports (from Debian diffs for 5.0).
2740         + use explicit VALID_NUMERIC() checks in a few places that had been
2741           overlooked, and add a check to ensure that init_tabs is nonzero,
2742           to avoid divide-by-zero (reported by Todd C Miller).
2743         + minor fix for CF_ANSI_CC_CHECK configure macro, for HPUX 10.x (from
2744           tin).
2745
2746 19991218
2747         + reorder tests during mouse initialization to allow for gpm to run in
2748           xterm, or for xterm to be used under OS/2 EMX.  Also drop test for
2749           $DISPLAY in favor of kmous=\E[M or $TERM containing "xterm" (report
2750           by Christian Weisgerber <naddy@mips.rhein-neckar.de>).
2751         + modify raw() and noraw() to clear/restore IEXTEN flag which affects
2752           stty lnext on systems such as FreeBSD (report by Bruce Evans
2753           <bde@zeta.org.au>, via Jason Evans <jasone@canonware.com>).
2754         + fix a potential (but unlikely) buffer overflow in failed() function
2755           of tset.c (reported by Todd C Miller).
2756         + add manual-page for ncurses extensions, documented curses_version(),
2757           use_extended_names().
2758
2759 19991211
2760         + treat as untranslatable to termcap those terminfo strings which
2761           contain non-decimal formatting, e.g., hexadecimal or octal.
2762         + correct commented-out capabilities that cannot be translated to
2763           termcap, which did not check if a colon must be escaped.
2764         + correct termcap translation for "%>" and "%+", which did not check
2765           if a colon must be escaped, for instance.
2766         + use save_string/save_char for _nc_captoinfo() to eliminate fixed
2767           buffer (originally for _nc_infotocap() in 960301 -TD).
2768         + correct expression used for terminfo equivalent of termcap %B,
2769           adjust regent100 entry which uses this.
2770         + some cleanup and commenting of ad hoc cases in _nc_infotocap().
2771         + eliminate a fixed-buffer in tic, used for translating comments.
2772         + add manpage for infotocap
2773
2774 19991204
2775         + add kvt and gnome terminfo entries -TD
2776         + correct translation of "%%" by infotocap, which was emitted as "%".
2777         + add "obsolete" termcap strings to terminfo.src
2778         + modify infocmp to default to showing obsolete capabilities rather
2779           than terminfo only.
2780         + modify write_entry.c so that if extended names (i.e., configure
2781           --enable-tcap-names) are active, then tic will also write "obsolete"
2782           capabilities that are present in the terminfo source.
2783         + modify tic so that when running as captoinfo or infotocap, it
2784           initializes the output format as in -C and -I options, respectively.
2785         + improve infocmp and tic -f option by splitting long strings that do
2786           not have if-then-else construct, but do have parameters, e.g., the
2787           initc for xterm-88color.
2788         + refine MKtermsort.sh slightly by using bool for the *_from_termcap
2789           arrays.
2790
2791 19991127
2792         + additional fixes for non-bce terminals (handling of clear_screen,
2793           clr_eol, clr_eos, scrolling) to work when assume_default_colors() is
2794           not specified.
2795         + several small changes to xterm terminfo entries -TD.
2796         + move logic for _nc_windows in lib_freeall.c inside check for nonnull
2797           SP, since it is part of that struct.
2798         + remove obsolete shlib-versions, which was unintentionally re-added
2799           in 970927.
2800         + modify infocmp -e, -E options to ensure that generated fallback.c
2801           type for Booleans agrees with term.h (reported by Eric Norum
2802           <eric@cls.usask.ca>).
2803         + correct configure script's use of $LIB_PREFIX, which did not work
2804           for installing the c++ directory if $libdir did not end with "/lib"
2805           (reported by Huy Le <huyle@ugcs.caltech.edu>).
2806         + modify infocmp so -L and -f options work together.
2807         + modify the initialization of SP->_color_table[] in start_color() so
2808           that color_content() will return usable values for COLORS greater
2809           than 8.
2810         + modify ncurses 'd' test in case COLORS is greater than 16, e.g., for
2811           xterm-88color, to limit the displayed/computed colors to 16.
2812         > patch by Juergen Pfeifer:
2813         + simplify coding of the panel library according to suggestions by
2814           Philippe Blain.
2815         + improve macro coding for a few macros in curses.priv.h
2816
2817 19991113
2818         + modify treatment of color pair 0 so that if ncurses is configured
2819           to support default colors, and they are not active, then ncurses
2820           will set that explicitly, not relying on orig_colors or orig_pair.
2821         + add new extension, assume_default_colors() to provide better control
2822           over the use of default colors.
2823         + modify test programs to use more-specific ifdef's for existence of
2824           wresize(), resizeterm() and use_default_colors().
2825         + modify configure script to add specific ifdef's for some functions
2826           that are included when --enable-ext-funcs is in effect, so their
2827           existence can be ifdef'd in the test programs.
2828         + reorder some configure options, moving those extensions that have
2829           evolved from experimental status into a new section.
2830         + change configure --enable-tcap-names to enable this by default.
2831
2832 19991106
2833         + install tack's manpage (reported by Robert Weiner
2834           <robert@progplus.com>)
2835         + correct worm.c's handling of KEY_RESIZE (patch by Frank Heckenbach).
2836         + modify curses.h.in, undef'ing some symbols to avoid conflict with C++
2837           STL (reported by Matt Gerassimoff <mgeras@ticon.net>)
2838
2839 19991030
2840         + modify linux terminfo entry to indicate that dim does not mix with
2841           color (reported by Klaus Weide <kweide@enteract.com>).
2842         + correct several typos in terminfo entries related to missing '['
2843           in CSI's -TD
2844         + fix several compiler warnings in c++ binding (reported by Tim
2845           Mooney for alphaev56-dec-osf4.0f
2846         + rename parameter of _nc_free_entries() to accommodate lint.
2847         + correct lint rule for tack, used incorrect list of source files.
2848         + add case to config.guess, config.sub for Rhapsody.
2849         + improve configure tests for libg++ and libstdc++ by omitting the
2850           math library (which is missing on Rhapsody), and improved test for
2851           the math library itself (adapted from path by Nelson H. F. Beebe).
2852         + explicitly initialize to zero several data items which were
2853           implicitly initialized, e.g., cur_term.  If not explicitly
2854           initialized, their storage type is C (common), and causes problems
2855           linking on Rhapsody 5.5 using gcc 2.7.2.1 (reported by Nelson H. F.
2856           Beebe).
2857         + modify Ada95 binding to not include the linker option for Ada
2858           bindings in the Ada headers, but in the Makefiles instead (patch by
2859           Juergen Pfeifer).
2860
2861 19991023 5.0 release for upload to ftp.gnu.org
2862         + effective with release of 5.0, change NCURSES_VERSION_PATCH to
2863           4-digit year.
2864         + add function curses_version(), to return ncurses library version
2865           (request by Bob van der Poel).
2866         + remove rmam, smam from cygwin terminfo entry.
2867         + modify FreeBSD cons25 terminfo entry to add cnorm and cvvis, as well
2868           as update ncv to indicate that 'dim' conflicts with colors.
2869         + modify configure script to use symbolic links for FreeBSD shared
2870           libraries by default.
2871         + correct ranf() function in rain and worm programs to ensure it does
2872           not return 1.0
2873         + hide the cursor in hanoi.c if it is running automatically.
2874         + amend lrtest.c to account for optimizations that exploit margin
2875           wrapping.
2876         + add a simple terminfo demo, dots.c
2877         + modify SIGINT/SIGQUIT handler to set a flag used in _nc_outch() to
2878           tell it to use write() rather than putc(), since the latter is not
2879           safe in a signal handler according to POSIX.
2880         + add/use internal macros _nc_flush() and NC_OUTPUT to hide details
2881           of output-file pointer in ncurses library.
2882         + uncomment CC_SHARED_OPTS (see 971115), since they are needed for SCO
2883           OpenServer.
2884         + correct CC_SHARED_OPTS for building shared libraries for SCO
2885           OpenServer.
2886         + remove usleep() from alternatives in napms(), since it may interact
2887           with alarm(), causing a process to be interrupted by SIGALRM (with
2888           advice from Bela Lubkin).
2889         + modify terminal_interface-curses-forms.ads.m4 to build/work with
2890           GNAT 3.10 (patch by Juergen Pfeifer).
2891         + remove part of CF_GPP_LIBRARY configure-script macro, which did not
2892           work with gcc 2.7.2.3
2893         + minor fix to test/tclock.c to avoid beeping more than once per second
2894         + add 's' and ' ' decoding to test/rain.c
2895
2896 991016  pre-release
2897         + corrected BeOS code for lib_twait.c, making nodelay() function work.
2898
2899 991009  pre-release
2900         + correct ncurses' value for cursor-column in PutCharLR(), which was
2901           off-by-one in one case (patch by Ilya Zakharevich).
2902         + fix some minor errors in position_check() debugging code, found while
2903           using this to validate the PutCharLR() patch.
2904         + modify firework, lrtest, worm examples to be resizable, and to
2905           recognize 'q' for quit, 's' for single-step and ' ' for resume.
2906         + restore reverted change to  terminal_interface-curses-forms.ads.m4,
2907           add a note on building with gnat 3.10p to Ada95/TODO.
2908         + add a copy of the standalone configure script for the test-directory
2909           to simplify testing on SCO and Solaris.
2910
2911 991002  pre-release
2912         + minor fixes for _nc_msec_cost(), color_content(), pair_content(),
2913           _nc_freewin(), ClrBottom() and onscreen_mvcur() (analysis by Philippe
2914           Blain, comments by Alexander Lukyanov).
2915         + simplify definition of PANEL and eliminate internal functions
2916           _nc_calculate_obscure(), _nc_free_obscure() and _nc_override(),
2917           (patch by Juergen Pfeifer, based on analysis by Philippe Blain
2918           <bledp@voila.fr>)).
2919         + change renaming of dft_fgbg.3x to use_default_colors.3ncurses in
2920           man_db.renames, since Debian is not concerned with 14-character
2921           filename limitation (from Debian bug report by Josip Rodin
2922           <joy@cibalia.gkvk.hr>).
2923         + corrected scoansi terminfo entry by testing with scoterm and console.
2924         + revert change from 990614 to terminal_interface-curses-forms.ads.m4,
2925           since this does not work for gnat 3.10p
2926         + modify tclock example to be resizable (if ncurses' sigwinch handler
2927           is used), and in color.
2928         + use $(CC) rather than 'gcc' in MK_SHARED_LIB symbols, used for Linux
2929           shared library rules.
2930
2931 990925  pre-release
2932         + add newer NetBSD console terminfo entries
2933         + add amiga-8bit terminfo entry (from Henning 'Faroul' Peters
2934           <Faroul@beyond.kn-bremen.de>)
2935         + remove -lcurses -ltermcap from configure script's check for the gpm
2936           library, since they are not really necessary (a properly configured
2937           gpm library has no dependency on any curses library), and if the
2938           curses library is not installed, this would cause the test to fail.
2939         + modify tic's -C option so that terminfo "use=" clauses are translated
2940           to "tc=" clauses even when running it as captoinfo.
2941         + modify CF_STDCPP_LIBRARY configure macro to perform its check only
2942           for GNU C++, since that library conflicts with SGI's libC on IRIX-6.2
2943         + modify CF_SHARED_OPTS configure macro to support build on NetBSD with
2944           ELF libraries (patch by Bernd Ernesti <bernd@arresum.inka.de>).
2945         + correct a problem in libpanel, where the _nc_top_panel variable was
2946           not set properly when bottom_panel() is called to hide a panel which
2947           is the only one on the stack (report/analysis by Michael Andres
2948           <ma@suse.de>, patch by Juergen Pfeifer).
2949
2950 990918  pre-release
2951         + add acsc string to HP 70092 terminfo entry (patch by Joerg Wunsch
2952           <j@interface-business.de>).
2953         + add top-level uninstall.data and uninstall.man makefile rules.
2954         + correct logic of CF_LINK_FUNCS configure script, from BeOS changes so
2955           that hard-links work on Unix again.
2956         + change default value of cf_cv_builtin_bool to 1 as suggested by
2957           Jeremy Buhler, making it less likely that a conflicting declaration
2958           of bool will be seen when compiling with C++.
2959
2960 990911  pre-release
2961         + improved configure checks for builtin.h
2962         + minor changes to C++ binding (remove static initializations, and make
2963           configure-test for parameter initializations) for features not
2964           allowed by vendor's C++ compilers (reported by Martin Mokrejs, this
2965           applies to SGI, though I found SCO has the same characteristics).
2966         + corrected quoting of ETIP_xxx definitions which support old versions
2967           of g++, e.g., those using -lg++
2968         + remove 'L' code from safe_sprintf.c, since 'long double' is not
2969           widely portable.  safe_sprintf.c is experimental, however, and
2970           exists mainly as a fallback for systems without snprintf (reported
2971           by Martin Mokrejs <mmokrejs@natur.cuni.cz>, for IRIX 6.2)
2972         + modify definition of _nc_tinfo_fkeys in broken-linker configuration
2973           so that it is not unnecessarily made extern (Jeffrey C Honig).
2974
2975 990904  pre-release
2976         + move definition for builtin.h in configure tests to specific check
2977           for libg++, since qt uses the same filename incompatibly.
2978         + correct logic of lib_termcap.c tgetstr function, which did not copy
2979           the result to the buffer parameter.  Testing shows Solaris does
2980           update this, though of course tgetent's buffer is untouched (from
2981           mpc.lists.freebsd.current newsgroup item by Peter Edwards
2982           <peter.edwards@ireland.com>).
2983         + corrected beterm terminfo entry, which lists some capabilities which
2984           are not actually provided by the BeOS Terminal.
2985         + add special logic to replace select() calls on BeOS, whose select()
2986           function works only for sockets.
2987         + correct missing escape in mkterm.h.awk.in, which caused part
2988           of the copyright noticed to be omitted (reported by Peter
2989           Wemm <peter@netplex.com.au>).
2990         > several small changes to make the c++ binding and demo work on OS/2
2991           EMX (related to a clean reinstall of EMX):
2992         + correct library-prefix for c++ binding; none is needed.
2993         + add $x suffix to make_hash and make_keys so 'make distclean' works.
2994         + correct missing $x suffix for tack, c++ demo executables.
2995         + split CF_CXX_LIBRARY into CF_GPP_LIBRARY (for -lg++) and
2996           CF_STDCPP_LIBRARY (for -lstdc++)
2997
2998 990828  pre-release
2999         + add cygwin terminfo entry -TD
3000         + modify CF_PROG_EXT configure macro to set .exe extension for cygwin.
3001         + add configure option --without-cxx-binding, modifying the existing
3002           --without-cxx option to check only for the C++ compiler
3003           characteristics.  Whether or not the C++ binding is needed, the
3004           configure script checks for the size/type of bool, to make ncurses
3005           match.  Otherwise C++ applications cannot use ncurses.
3006
3007 990821  pre-release
3008         + updated configure macros CF_MAKEFLAGS, CF_CHECK_ERRNO
3009         + minor corrections to beterm terminfo entry.
3010         + modify lib_setup.c to reject values of $TERM which have a '/' in
3011           them.
3012         + add ifdef's to guard against CS5, CS6, CS7, CS8 being zero, as more
3013           than one is on BeOS.  That would break a switch statement.
3014         + add configure macro CF_LINK_FUNCS to detect and work around BeOS's
3015           nonfunctional link().
3016         + improved configure macros CF_BOOL_DECL and CF_BOOL_SIZE to detect
3017           BeOS's bool, which is declared as an unsigned char.
3018
3019 990814  pre-release
3020         + add ms-vt100 terminfo entry -TD
3021         + minor fixes for misc/emx.src, based on testing with tack.
3022         + minor fix for test/ncurses.c, test 'a', in case ncv is not set.
3023
3024 990731  pre-release
3025         + minor correction for 'screen' terminfo entry.
3026         + clarify description of errret values for setupterm in manpage.
3027         + modify tput to allow it to emit capabilities for hardcopy terminals
3028           (patch by Goran Uddeborg <goeran@uddeborg.pp.se>).
3029         + modify the 'o' (panel) test in ncurses.c to show the panels in color
3030           or at least in bold, to test Juergen's change to wrefresh().
3031         > patches by Juergen Pfeifer:
3032         + Fixes a problem using wbkgdset() with panels.  It has actually
3033           nothing to with panels but is a problem in the implementation of
3034           wrefresh().  Whenever a window changes its background attribute to
3035           something different than newscr's background attribute, the whole
3036           window is touched to force a copy to newscr.  This is an unwanted
3037           side-effect of wrefresh() and it is actually not necessary.  A
3038           changed background attribute affects only further outputs of
3039           background it doesn't mean anything to the current content of the
3040           window.  So there is no need to force a copy.  (reported by Frank
3041           Heckenbach <frank@g-n-u.de>).
3042         + an upward compatible enhancement of the NCursesPad class in the C++
3043           binding.  It allows one to add a "viewport" window to a pad and then
3044           to use panning to view the pad through the viewport window.
3045
3046 990724  pre-release
3047         + suppress a call to def_prog_mode() in the SIGTSTP handler if the
3048           signal was received while not in curses mode, e.g., endwin() was
3049           called in preparation for spawning a shell command (reported by Frank
3050           Heckenbach <frank@g-n-u.de>)
3051         + corrected/enhanced xterm-r5, xterm+sl, xterm+sl-twm terminfo entries.
3052         + change test for xterm mouse capability:  it now checks only if the
3053           user's $DISPLAY variable is set in conjunction with the kmous
3054           capability being present in the terminfo.  Before, it checked if any
3055           of "xterm", "rxvt" or "kterm" were substrings of the terminal name.
3056           However, some emulators which are incompatible with xterm in other
3057           ways do support the xterm mouse capability.
3058         + reviewed and made minor changes in ncurses to quiet g++ warnings
3059           about shadowed or uninitialized variables.  g++ incorrectly warns
3060           about uninitialized variables because it does not take into account
3061           short-circuit expression evaluation.
3062         + change ncurses 'b' test to start in color pair 0 and to show in the
3063           right margin those attributes which are suppressed by no_color_video,
3064           i.e., "(NCV)".
3065         + modify ifdef's in curses.h so that __attribute__ is not redefined
3066           when compiling with g++, but instead disabled the macros derived for
3067           __attribute__ since g++ does not consistently recognize the same
3068           keywords as gcc (reported by Stephan K Zitz <zitz@erf.net>).
3069         + update dependencies for term.h in ncurses/modules (reported by
3070           Ilya Zakharevich).
3071
3072 990710  pre-release
3073         + modify the form demo in ncurses.c to illustrate how to manipulate the
3074           field appearance, e.g, for highlighting or translating the field
3075           contents.
3076         + correct logic in write_entry from split-out of home_terminfo in
3077           980919, which prevented update of $HOME/.terminfo (reported by Philip
3078           Spencer <pspencer@fields.utoronto.ca>).
3079
3080 990703  pre-release
3081         + modify linux terminfo description to make use of kernel 2.2.x mods
3082           that support cursor style, e.g., to implement cvvis (patch by Frank
3083           Heckenbach <frank@g-n-u.de>)
3084         + add special-case in setupterm to retain previously-saved terminal
3085           settings in cur_term, which happens when curses and termcap calls are
3086           mixed (from report by Bjorn Helgaas <helgaas@dhc.net>).
3087         + suppress initialization of key-tries in _nc_keypad() if we are only
3088           disabling keypad mode, e.g., in endwin() called when keypad() was
3089           not.
3090         + modify the Ada95 makefile to ensure that always the Ada files from
3091           the development tree are used for building and not the eventually
3092           installed ones (patch by Juergen Pfeifer).
3093
3094 990626  pre-release
3095         + use TTY definition in tack/sysdep.c rather than struct termios
3096           (reported by Philippe De Muyter).
3097         + add a fallback for strstr, used in lib_mvcur.c and tack/edit.c,
3098           not present on sysV68 (reported by Philippe De Muyter).
3099         + correct definition in comp_hash.c to build with configure
3100           --with-rcs-ids option.
3101
3102 990619  pre-release
3103         + modified ifdef's for sigaction and sigvec to ensure we do not try to
3104           handle SIGTSTP if neither is available (from report by Philippe De
3105           Muyter).
3106         > patch by Philippe De Muyter:
3107         + in tic.c, use `unlink' if `remove' is not available.
3108         + use only `unsigned' as fallback value for `speed_t'.  Some files used
3109           `short' instead.
3110
3111 990616  pre-release
3112         + fix some compiler warnings in tack.
3113         + add a check for predefined bool type in CC, based on report that
3114           BeOS predefines a bool type.
3115         + correct logic for infocmp -e option (i.e., the configure
3116           --with-fallbacks option), which I'd not updated when implementing
3117           extended names (cf:  990301).  The new implementation adds a -E
3118           option to infocmp.
3119         > patch by Juergen Pfeifer:
3120         + introduce the private type Curses_Bool in the Ada95 binding
3121           implementation.  This is to clearly represent the use of "bool" also
3122           in the binding.  It should have no effect on the generated code.
3123         + improve the man page for field_buffer() to tell the people, that the
3124           whole buffer including leading/trailing spaces is returned.  This is
3125           a common source of confusion, so it's better to document it clearly.
3126
3127 990614  pre-release
3128         > patch by Juergen Pfeifer:
3129         + use pragma PreElaborate in several places.
3130         + change a few System.Address uses to more specific types.
3131         + change interface version-number to 1.0
3132         + regenerate Ada95 HTML files.
3133
3134 990612  pre-release
3135         + modify lib_endwin.c to avoid calling reset_shell_mode(), return ERR
3136           if it appears that curses was never initialized, e.g., by initscr().
3137           For instance, this guards against setting the terminal modes to
3138           strange values if endwin() is called after setupterm().  In the same
3139           context, Solaris curses will dump core.
3140         + modify logic that avoids a conflict in lib_vidattr.c between sgr0 and
3141           equivalent values in rmso or rmul by ensuring we do not modify the
3142           data which would be returned by the terminfo or termcap interfaces
3143           (reported by Brad Pepers <brad@linuxcanada.com>, cf:  960706).
3144         + add a null-pointer check for SP in lib_vidattr.c to logic that checks
3145           for magic cookies.
3146         + improve fallback declaration of 'bool' when the --without-cxx option
3147           is given, by using a 'char' on i386 and related hosts (from
3148           discussion with Alexander Lukyanov).
3149
3150 990605  pre-release
3151         + include time.h in lib_napms.c if nanosleep is used (patch by
3152           R Lindsay Todd <toddr@rpi.edu>).
3153         + add an "#undef bool" to curses.h, in case someone tries to define it,
3154           e.g., perl.
3155         + add check to tparm to guard against divide by zero (reported by Aaron
3156           Campbell <aaron@ug.cs.dal.ca>).
3157
3158 990516  pre-release
3159         + minor fix to build tack on CLIX (mismatched const).
3160         > patch by Juergen Pfeifer:
3161         + change Juergen's old email address with new one in the files where it
3162           is referenced.  The Ada95 HTML pages are regenerated.
3163         + update MANIFEST to list the tack files.
3164
3165 990509  pre-release
3166         + minor fixes to make 'tack' build/link on NeXT (reported by Francisco
3167           A. Tomei Torres).
3168
3169 990417  pre-release
3170         + add 'tack' program (which is GPL'd), updating it to work with the
3171           modified TERMTYPE struct and making a fix to support setaf/setab
3172           capabilities.  Note that the tack program is not part of the
3173           ncurses libraries, but an application which can be distributed with
3174           ncurses.  The configure script will ignore the directory if it is
3175           omitted, however.
3176         + modify gpm mouse support so that buttons 2 and 3 are used for
3177           select/paste only when shift key is pressed, making them available
3178           for use by an application (patch by Klaus Weide).
3179         + add complete list of function keys to scoansi terminfo entry - TD
3180
3181 990410  pre-release
3182         + add a simple test program cardfile.c to illustrate how to read form
3183           fields, and showing forms within panels.
3184         + change shared-library versioning for the Hurd to be like Linux rather
3185           than *BSD (patch by Mark Kettenis <kettenis@wins.uva.nl>).
3186         + add linux-lat terminfo entry.
3187         + back-out _nc_access check in read_termcap.c (both incorrect and
3188           unnecessary, except to guard against a small window where the file's
3189           ownership may change).
3190
3191 990403  pre-release
3192         + remove conflicting _nc_free_termtype() function from test module
3193           lib_freeall.c
3194         + use _nc_access check in read_termcap.c for termpaths[] array (noted
3195           by Jeremy Buhler, indicating that Alan Cox made a similar patch).
3196         > patch by Juergen Pfeifer:
3197         + modify menu creation to not inherit status flag from the default menu
3198           which says that the associated marker string has been allocated and
3199           should be freed (bug reported by Marek Paliwoda"
3200           <paliwoda@kki.net.pl>)
3201
3202 990327  pre-release (alpha.gnu.org:/gnu/ncurses-5.0-beta1.tar.gz)
3203         + minor fixes to xterm-xfree86 terminfo entry - TD.
3204         + split up an expression in configure script check for ldconfig to
3205           workaround limitation of BSD/OS sh (reported by Jeff Haas
3206           <jmh@mail.msen.com>).
3207         + correct a typo in man/form_hook.3x (Todd C Miller).
3208
3209 990318  pre-release
3210         + parenthesize and undef 'index' symbol in c++ binding and demo, to
3211           accommodate its definition on NeXT (reported by Francisco A. Tomei
3212           Torres).
3213         + add sigismember() to base/sigaction.c compatibility to link on NeXT
3214           (reported by Francisco A. Tomei Torres).
3215         + further refinements to inequality in hashmap.c to cover a case with
3216           ^U in nvi (patch by Alexander Lukyanov).
3217
3218 990316  pre-release
3219         + add fallback definition for getcwd, to link on NeXT.
3220         + add a copy of cur_term to tic.c to make it link properly on NeXT
3221           (reported by Francisco A. Tomei Torres).
3222         + change inequality in hashmap.c which checks the distance traveled by
3223           a chunk so that ^D command in nvi (scrolls 1/2 screen) will use
3224           scrolling logic (patch by Alexander Lukyanov, reported by Jeffrey
3225           C Honig).
3226
3227 990314  pre-release
3228         + modify lib_color.c to handle a special case where the curscr
3229           attributes have been made obsolete (patch by Alexander Lukyanov).
3230         + update BSD/OS console terminfo entries to use klone+sgr and
3231           klone+color (patch by Jeffrey C Honig).
3232         + update glibc addon configure script for extended capabilities.
3233         + correct a couple of warnings in the --enable-const configuration.
3234         + make comp_hash build properly with _nc_strdup(), on NeXT (reported by
3235           Francisco A. Tomei Torres <francisco.tomei@cwix.com>).
3236
3237 990313  pre-release
3238         + correct typos in linux-c initc string - TD
3239         + add 'crt' terminfo entry, update xterm-xfree86 entry - TD
3240         + remove a spurious argument to tparm() in lib_sklrefr.c (patch by
3241           Alexander Lukyanov).
3242
3243 990307  pre-release
3244         + back-out change to wgetch because it causes a problem with ^Z
3245           handling in lynx (reported by Kim DeVaughn).
3246
3247 990306  pre-release
3248         + add -G option to tic and infocmp, to reverse the -g option.
3249         + recode functions in name_match.c to avoid use of strncpy, which
3250           caused a 4-fold slowdown in tic (cf: 980530).
3251         + correct a few warnings about sign-extension in recent changes.
3252         > patch by Juergen Pfeifer:
3253         + fixes suggested by Jeff Bradbury <jibradbury@lucent.com>:
3254           + improved parameter checking in new_fieldtype().
3255           + fixed a typo in wgetch() timeout handling.
3256           + allow slk_init() to be called per newterm call.  The internal SLK
3257             state is stored in the SCREEN struct after every newterm() and then
3258             reset for the next newterm.
3259           + fix the problem that a slk_refresh() refreshes stdscr if the
3260             terminal has true SLKs.
3261         + update HTML documentation for Ada binding.
3262
3263 990301  pre-release
3264         + remove 'bool' casts from definitions of TRUE/FALSE so that statements
3265           such as "#if TRUE" work.  This was originally done to allow for a C++
3266           compiler which would warn of implicit conversions between enum and
3267           int, but is not needed for g++ (reported by Kim DeVaughn).
3268         + add use_extended_names() function to allow applications to suppress
3269           read of the extended capabilities.
3270         + add configure option --enable-tcap-names to support logic which
3271           allows ncurses' tic to define new (i.e., extended) terminal
3272           capabilities.  This is activated by the tic -x switch.  The infocmp
3273           program automatically shows or compares extended capabilities.
3274           Note:  This changes the Strings and similar arrays in the TERMTYPE
3275           struct so that applications which manipulate it must be recompiled.
3276         + use macros typeMalloc, typeCalloc and typeRealloc consistently
3277           throughout ncurses library.
3278         + add _nc_strdup() to doalloc.c.
3279         + modify define_key() to allow multiple strings to be bound to the
3280           same keycode.
3281         + correct logic error in _nc_remove_string, from 990220.
3282         > patch by Juergen Pfeifer, for Ada95 binding:
3283         + regenerate some of the html documentation
3284         + minor cleanup in terminal_interface-curses.adb
3285
3286 990220  pre-release
3287         + resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
3288           xterm and ncsa terminfo entries by removing the unneeded ones.  Note
3289           that some entries will return kend & khome versus kslt and kfnd, for
3290           PC-style keyboards versus strict vt220 compatiblity - TD
3291         + add function keybound(), which returns the definition associated with
3292           a given keycode.
3293         + modify define_key() to undefine the given string when no keycode is
3294           given.
3295         + modify keyok() so it works properly if there is more than one string
3296           defined for a keycode.
3297         + add check to tic to warn about terminfo descriptions that contain
3298           more than one key assigned to the same string.  This is shown only if
3299           the verbose (-v) option is given.  Moved related logic (tic -v) from
3300           comp_parse.c into the tic program.
3301         + add/use _nc_trace_tries() to show the function keys that will be
3302           recognized.
3303         + rename init_acs to _nc_init_acs (request by Alexander Lukyanov).
3304         > patch by Juergen Pfeifer, for Ada95 binding:
3305         + remove all the *_adabind.c from ncurses, menu and form projects.
3306           Those little helper routines have all been implemented in Ada and are
3307           no longer required.
3308         + The option handling routines in menu and form have been made more
3309           save.  They now make sure that the unused bits in options are always
3310           zero.
3311         + modify configuration scripts to
3312           + use gnatmake as default compiler name.  This is a safer choice than
3313             gcc, because some GNAT implementations use other names for the
3314             compilerdriver to avoid conflicts.
3315           + use new default installation locations for the Ada files according
3316             to the proposed GNU Ada filesystem standard (for Linux).
3317         + simplify the Makefiles for the Ada binding
3318         + rename ada_include directory to src.
3319
3320 990213
3321         + enable sigwinch handler by default.
3322         + disable logic that allows setbuf to be turned off/on, because some
3323           implementations will overrun the buffer after it has been disabled
3324           once.
3325
3326 990206
3327         + suppress sc/rc capabilities from terminal description if they appear
3328           in smcup/rmcup.  This affects only scrolling optimization, to fix a
3329           problem reported by several people with xterm's alternate screen,
3330           though the problem is more general.
3331         > patch by Juergen Pfeifer, for Ada95 binding:
3332         + removed all pragma Preelaborate() stuff, because the just released
3333           gnat-3.11p complains on some constructs.
3334         + fixed some upper/lower case notations because gnat-3.11p found
3335           inconsistent use.
3336         + used a new method to generate the HTML documentation of the Ada95
3337           binding.  This invalidates nearly the whole ./Ada95/html subtree.
3338           Nearly all current files in this subtree are removed
3339
3340 990130
3341         + cache last result from _nc_baudrate, for performance (suggested by
3342           Alexander Lukyanov).
3343         + modify ClrUpdate() function to workaround a problem in nvi, which
3344           uses redrawwin in SIGTSTP handling.  Jeffrey C Honig reported that
3345           ncurses repainted the screen with nulls before resuming normal
3346           operation (patch by Alexander Lukyanov).
3347         + generalize is_xterm() function a little by letting xterm/rxvt/kterm
3348           be any substring rather than the prefix.
3349         + modify lib_data.c to initialize SP.  Some linkers, e.g., IBM's, will
3350           not link a module if the only symbols exported from the module are
3351           uninitialized ones (patch by Ilya Zakharevich, who says that he has
3352           seen messages claiming this behaviour conforms to the standard.)
3353         + move call on _nc_signal_handler past _nc_initscr, to avoid a small
3354           window where Nttyb hasn't yet been filled (reported by Klaus Weide).
3355         + modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a
3356           problem where ncurses applications which were run via a shell script
3357           would hang when given a ^Z.  Also, check if the terminal's process
3358           group is consistent, i.e., a shell has not taken ownership of it,
3359           before deciding to save the current terminal settings in the SIGTSTP
3360           handler (patch by Klaus Weide).
3361         + correct spelling of ACS_ names in curs_border.3x (reported by Bob van
3362           der Poel <bvdpoel@kootenay.com>).
3363         + correct a couple of typos in the macros supporting the configure
3364           --with-shlib-version option.
3365
3366 990123
3367         + modify fty_regex.c to compile on HAVE_REGEXPR_H_FUNCS machine (patch
3368           by Kimio Ishii <ishii@csl.sony.co.jp>).
3369         + rename BSDI console terminfo entries:  bsdos to bsdos-pc-nobold, and
3370           bsdos-bold to bsdos-pc (patch by Jeffrey C Honig).
3371         + modify tput to accept termcap names as an alternative to terminfo
3372           names (patch by Jeffrey C Honig).
3373         + correct a typo in term.7 (Todd C Miller).
3374         + add configure --with-shlib-version option to allow installing shared
3375           libraries named according to release or ABI versions.  This
3376           parameterizes some existing logic in the configure script, and is
3377           intended for compatiblity upgrades on Digital Unix, which used
3378           versioned libraries in ncurses 4.2, but no longer does (cf:  980425).
3379         + resync configure script against autoconf 2.13 + patches
3380         + minor improvements for teraterm terminfo entry based on the program's
3381           source distribution.
3382
3383 990116
3384         + change default for configure --enable-big-core to assume machines do
3385           have enough memory to resolve terminfo.src in-memory.
3386         + correct name of ncurses library in TEST_ARGS when configuring with
3387           debug library.
3388         + minor fixes to compile ncurses library with broken-linker with g++.
3389         + add --enable-broken-linker configure option, default to environment
3390           variable $BROKEN_LINKER (request by Jeffrey C Honig).
3391         + change key_names[] array to static since it is not part of the curses
3392           interface (reported by Jeffrey C Honig <jch@bsdi.com>).
3393
3394 990110
3395         + add Tera Term terminfo entry - TD
3396
3397 990109
3398         + reviewed/corrected macros in curses.h as per XSI document.
3399         + provide support for termcap PC variable by copying it from terminfo
3400           data and using it as the padding character in tputs (reported by
3401           Alexander Lukyanov).
3402         + corrected iris-ansi and iris-ansi-ap terminfo entries for kent and
3403           kf9-kf12 capabilities, as well as adding kcbt.
3404         + document the mouse handling mechanism in menu_driver and make a small
3405           change in menu_driver's return codes to provide more consistency
3406           (patch by Juergen Pfeifer).
3407         + add fallback definition for NCURSES_CONST to termcap.h.in (reported
3408           by Uchiyama Yasushi <uch@nop.or.jp>).
3409         + move lib_restart.c to ncurses/base, since it uses curses functions
3410           directly, and therefore cannot be used in libtinfo.so
3411         + rename micro_char_size to micro_col_size, adding #define to retain
3412           old name.
3413         + add set_a_attributes and set_pglen_inch to terminfo structure, as per
3414           XSI and Solaris 2.5.
3415         + minor makefile files to build ncurses test_progs
3416         + update html files in misc directory to reflect changes since 4.2
3417
3418 990102
3419         + disable scroll hints when hashmap is enabled (patch by Alexander
3420           Lukyanov).
3421         + move logic for tic's verify of -e option versus -I and -C so that the
3422           terminfo data is not processed if we cannot handle -e (reported by
3423           Steven Schwartz <steves@unitrends.com>.
3424         + add test-driver traces to terminfo and termcap functions.
3425         + provide support for termcap ospeed variable by copying it from the
3426           internal cur_term member, and using ospeed as the baudrate reference
3427           for the delay_output and tputs functions.  If an application does not
3428           set ospeed, the library behaves as before, except that _nc_timed_wait
3429           is no longer used, or needed, since ospeed always has a value.  But
3430           the application can modify ospeed to adjust the output of padding
3431           characters (from a bug report for screen 3.7.6 and email from Michael
3432           Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>).
3433         + removed some unused ifdef's as part of Alexander's restructuring.
3434         + reviewed/updated curses.h, term.h against X/Open Curses Issue 4
3435           Version 2.  This includes making some parameters NCURSES_CONST
3436           rather than const, e.g., in termcap.h.
3437         + change linux terminfo entry to use ncv#2, since underline does not
3438           work with color
3439
3440 981226
3441         + miscellaneous corrections for curses.h to match XSI.
3442         + change --enable-no-padding configure option to be normally enabled.
3443         + add section to ncurses manpage for environment variables.
3444         + investigated Debian bug report that pertains to screen 3.7.4/3.7.6
3445           changes, found no sign of problems on Linux (or on SunOS, Solaris)
3446           running screen built with ncurses.
3447         + check if tmp_fp is opened in tic.c before closing it (patch by Pavel
3448           Roskin <pavel_roskin@geocities.com>).
3449         + correct several font specification typos in man-pages.
3450
3451 981220
3452         + correct default value for BUILD_CC (reported by Larry Virden).
3453
3454 981219
3455         + modify _nc_set_writedir() to set a flag in _nc_tic_dir() to prevent
3456           it from changing the terminfo directory after chdir'ing to it.
3457           Otherwise, a relative path in $TERMINFO would confuse tic (from a
3458           Debian bug report).
3459         + correct/update ncsa terminfo entry (report by Larry Virden).
3460         + update xterm-xfree86 terminfo to current (patch 90), smcur/rmcur
3461           changes
3462         + add Mathew Vernon's mach console entries to terminfo.src
3463         + more changes, moving functions, as part of Alexander's restructuring.
3464         + modify configure script for GNU/Hurd share-library support, introduce
3465           BUILD_CC variable for cross compiling (patch by Uchiyama Yasushi
3466           <uch@nop.or.jp>)
3467
3468 981212
3469         + add environment variable NCURSES_NO_SETBUF to allow disabling the
3470           setbuf feature, for testing purposes.
3471         + correct ifdef's for termcap.h versus term.h that suppress redundant
3472           declarations of prototypes (reported by H.J.Lu).
3473         + modify Makefile.os2 to add linker flags which allow multiple copies
3474           of an application to coexist (reported by Ilya Zakharevich).
3475         + update Makefile.glibc and associated configure script so that ncurses
3476           builds as a glibc add-on with the new directory configuration
3477           (reported by H.J.Lu).
3478
3479 981205
3480         + modify gen_reps() function in gen.c to work properly on SunOS
3481           (sparc), which is a left-to-right architecture.
3482         + modify relative_move and tputs to avoid an interaction with the
3483           BSD-style padding.  The relative_move function could produce a string
3484           to replace on the screen which began with a numeric character, which
3485           was then interpreted by tputs as padding.  Now relative_move will not
3486           generate a string with a leading digit in that case (overwrite).
3487           Also, tputs will only interpret padding if the string begins with a
3488           digit; as coded it permitted a string to begin with a decimal point
3489           or asterisk (reported by Larry Virden).
3490         > patches by Juergen Pfeifer:
3491         + fix a typo in m_driver.c mouse handling and improves the error
3492           handling.
3493         + fix broken mouse handling in the Ada95 binding
3494         + make the Ada95 sample application menus work with the new menu mouse
3495           support
3496         + improve the mouse handling introduced by Ilya; it now handles menus
3497           with spacing.
3498         + repair a minor bug in the menu_driver code discovered during this
3499           rework.
3500         + add new function wmouse_trafo() to hide implementation details of
3501           _yoffset member of WINDOW struct needed for mouse coordinate
3502           transformation.
3503
3504 981128
3505         + modify Ada95/gen/gen.c to avoid using return-value of sprintf, since
3506           some older implementations (e.g., SunOS 4.x) return the buffer
3507           address rather than its length.
3508         > patch by Rick Ohnemus:
3509         + modify demo.cc to get it to compile with newer versions of egcs.
3510         + trim a space that appears at the end of the table preprocessor lines
3511           ('\" t).  This space prevents some versions of man from displaying
3512           the pages - changed to remove all trailing whitespace (TD)
3513         + finally, 'make clean' does not remove panel objects.
3514         > patches by Ilya Zakharevich:
3515         + allow remapping of OS/2 mouse buttons using environment variable
3516           MOUSE_BUTTONS_123 with the default value 132.
3517         + add mouse support to ncurses menus.
3518
3519 981121
3520         + modify misc/makedef.cmd to report old-style .def file symbols, and to
3521           generate the .def files sorted by increasing names rather than the
3522           reverse.
3523         + add misc/*.ref which are J.J.G.Ripoll's dll definition files (renamed
3524           from misc/*.old), and updated based on the entrypoint coding he used
3525           for an older version of ncurses.
3526         + add README.emx, to document how to build on OS/2 EMX.
3527         + updates for config.guess, config.sub from Lynx
3528         > patches by Ilya Zakharevich:
3529         + minor fixes for mouse handling mode:
3530           a) Do not initialize mouse if the request is to have no mouse;
3531           b) Allow switching of OS/2 VIO mouse on and off.
3532         + modify Makefile.os2 to support alternative means of generating
3533           configure script, by translating Unix script with Perl.
3534         > patches by Juergen Pfeifer:
3535         + Updates MANIFEST to reflect changes in source structure
3536         + Eliminates a problem introduced with my last patch for the C++
3537           binding in the panels code.  It removes the update() call done in the
3538           panel destructor.
3539         + Changes in the Ada95 binding to better support systems where
3540           sizeof(chtype)!=sizeof(int) (e.g.  DEC Alpha).
3541
3542 981114
3543         + modify install-script for manpages to skip over .orig and .rej files
3544           (request by Larry Virden).
3545         > patches/discussion by Alexander Lukyanov:
3546         + move base-library sources into ncurses/base and tty (serial terminal)
3547           sources into ncurses/tty, as part of Alexander Lukyanov's proposed
3548           changes to ncurses library.
3549         + copy _tracemouse() into ncurses.c so that lib_tracemse.c need not
3550           be linked into the normal ncurses library.
3551         + move macro winch to a function, to hide details of struct ldat
3552         > patches by Juergen Pfeifer:
3553         + fix a potential compile problem in cursesw.cc
3554         + some Ada95 cosmetics
3555         + fix a gen.c problem when compiling on 64-Bit machines
3556         + fix Ada95/gen/Makefile.in "-L" linker switch
3557         + modify Ada95 makefiles to use the INSTALL_PREFIX setting.
3558
3559 981107
3560         + ifdef'd out lib_freeall.c when not configured.
3561         + rename _tracebits() to _nc_tracebits().
3562         + move terminfo-library sources into ncurses/tinfo, and trace-support
3563           functions into ncurses/trace as part of Alexander Lukyanov's proposed
3564           changes to ncurses library.
3565         + modify generated term.h to always specify its own definitions for
3566           HAVE_TERMIOS_H, etc., to guard against inclusion by programs with
3567           broken configure scripts.
3568
3569 981031
3570         + modify terminfo parsing to accept octal and hexadecimal constants,
3571           like Solaris.
3572         + remove an autoconf 2.10 artifact from the configure script's check
3573           for "-g" compiler options.  (Though harmless, this confused someone
3574           at Debian, who recently issued a patch that results in the opposite
3575           effect).
3576         + add configure option --with-ada-compiler to accommodate installations
3577           that do not use gcc as the driver for GNAT (patch by Juergen
3578           Pfeifer).
3579
3580 981017
3581         + ensure ./man exists in configure script, needed when configuring
3582           with --srcdir option.
3583         + modify infocmp "-r" option to remove limit on formatted termcap
3584           output, which makes it more like Solaris' version.
3585         + modify captoinfo to treat no-argument case more like Solaris'
3586           version, which uses the contents of $TERMCAP as the entry to format.
3587         + modify mk-2nd.awk to handle subdirectories, e.g., ncurses/tty
3588           (patch by Alexander V Lukyanov).
3589
3590 981010
3591         + modify --with-terminfo-dirs option so that the default value is the
3592           ${datadir} value, unless $TERMINFO_DIRS is already set.  This gets
3593           rid of a hardcoded list of candidate directories in the configure
3594           script.
3595         + add some error-checking to _nc_read_file_entry() to ensure that
3596           strings are properly terminated (Todd C Miller).
3597         + rename manpage file curs_scr_dmp.3x to curs_scr_dump.3x, to
3598           correspond with contents (reported by Neil Zanella
3599           <nzanella@cs.mun.ca>).
3600         + remove redundant configure check for C++ which did not work when $CXX
3601           was specified with a full pathname (reported by Andreas Jaeger).
3602         + corrected bcopy/memmove check; the macro was not standalone.
3603
3604 981003
3605         + remove unnecessary portion of OS/2 EMX mouse change from
3606           check_pending() (reported by Alexander V Lukyanov).
3607
3608 980926
3609         + implement mouse support for OS/2 EMX (adapted from patch against
3610           4.2(?) by Ilya Zakharevich).
3611         + add configure-check for bcopy/memmove, for 980919 changes to hashmap.
3612         + merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
3613         + merge AIX 3.2.5 terminfo descriptions for IBM terminals, replaces
3614           some older entries - TD
3615         + modify tic to compile into %'char' form in preference to %{number},
3616           since that is a little more efficient.
3617         + minor correction to infocmp to avoid displaying "difference" between
3618           two capabilities that are rendered in equivalent forms.
3619         + add -g option to tic/infocmp to force character constants to be
3620           displayed in quoted form.  Otherwise their decimal values are shown.
3621         + modify setupterm so that cancelled strings are treated the same as
3622           absent strings, cancelled and absent booleans false (does not affect
3623           tic, infocmp).
3624         + modify tic, infocmp to discard redundant i3, r3 strings when output
3625           to termcap format.
3626         > patch by Alexander V Lukyanov:
3627         + improve performance of tparm, now it takes 19% instead of 25% when
3628           profiling worm.
3629         + rename maxlen/minlen to prec/width for better readability.
3630         + use format string for printing strings.
3631         + use len argument correctly in save_text, and pass it to save_number.
3632
3633 980919
3634         + make test_progs compile (but hashmap does not function).
3635         + correct NC_BUFFERED macro, used in lib_mvcur test-driver, modify
3636           associated logic to avoid freeing the SP->_setbuf data.
3637         + add modules home_terminfo and getenv_num to libtinfo.
3638         + move write_entry to libtinfo, to work with termcap caching.
3639         + minor fixes to blue.c to build with atac.
3640         + remove softscroll.c module; no longer needed for testing.
3641         > patches by Todd C Miller:
3642         + use strtol(3) instead of atoi(3) when parsing env variables so we can
3643           detect a bogus (non-numeric) value.
3644         + check for terminal names > MAX_NAME_SIZE in a few more places when
3645           dealing with env variables again.
3646         + fix a MAX_NAME_SIZE that should be MAX_NAME_SIZE+1
3647         + use sizeof instead of strlen(3) on PRIVATE_INFO since it is a fixed
3648           string #define (compile time vs runtime).
3649         + when setting errno to ENOMEM, set it right before the return, not
3650           before code that could, possibly, set errno to a different value.
3651         > patches by Alexander V Lukyanov:
3652         + use default background in update_cost_from_blank()
3653         + disable scroll-hints when hashmap is configured.
3654         + improve integration of hashmap scrolling code, by adding oldhash and
3655           newhash data to SP struct.
3656         + invoke del_curterm from delscreen.
3657         + modify del_curterm to set cur_term to null if it matches the
3658           function's parameter which is deleted.
3659         + modify lib_doupdate to prefer parm_ich to the enter_insert_mode and
3660           exit_insert_mode combination, adjusting InsCharCost to check
3661           enter_insert_mode, exit_insert_mode and insert_padding.  Add
3662           insert_padding in insert mode after each char.  This adds new costs
3663           to the SP struct.
3664
3665 980912
3666         + modify test-driver in lib_mvcur.s to use _nc_setbuffer, for
3667           consistent treatment.
3668         + modify ncurses to restore output to unbuffered on endwin, and resume
3669           buffering in refresh (see lib_set_term.c and NC_BUFFERED macro).
3670         + corrected HTML version numbers (according to the W3C validator, they
3671           never were HTML 2.0-compliant, but are acceptable 3.0).
3672
3673 980905
3674         + modify MKterminfo.sh to generate terminfo.5 with tables sorted by
3675           capability name, as in SVr4.
3676         + modified term.h, termcap.h headers to avoid redundant declarations.
3677         + change 'u_int' type in tset.c to unsigned, making this compile on
3678           Sequent PRX 4.1 (reported by Michael Sterrett <msterret@coat.com>).
3679
3680 980829
3681         + corrections to mailing addresses, and moving the magic line that
3682           causes the man program to invoke tbl to the first line of each
3683           manpage (patch by Rick Ohnemus <rick@ecompcon.com>).
3684         + add Makefile.os2 and supporting scripts to generate dll's on OS/2 EMX
3685           (from J.J.G.Ripoll, with further integration by TD).
3686         + correct a typo in icl6404 terminfo entry.
3687         + add xtermm and xtermc terminfo entries.
3688         > from esr's terminfo version:
3689         + Added Francesco Potorti's tuned Wyse 99 entries.
3690         + dtterm enacs correction from Alexander V Lukyanov.
3691         + Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
3692
3693 980822
3694         + document AT&T acs characters in terminfo.5 manpage.
3695         + use EMX _scrsize() function if terminfo and environment do not
3696           declare the screen size (reported by Ilya Zakharevich
3697           <ilya@math.ohio-state.edu>).
3698         + remove spurious '\' characters from eterm and osborne terminfo
3699           entries (prompted by an old Debian bug report).
3700         + correct reversed malloc/realloc calls in _nc_doalloc (reported by
3701           Hans-Joachim Widmaier <hjwidmai@foxboro.com>).
3702         + correct misplaced parenthesis which caused file-descriptor from
3703           opening termcap to be lost, from 980725 changes (reported by Andreas
3704           Jaeger).
3705
3706 980815
3707         + modify lib_setup.c to eliminate unneeded include of <sys/ioctl.h>
3708           when termios is not used (patch by Todd C Miller).
3709         + add function _nc_doalloc, to ensure that failed realloc calls do not
3710           leak memory (reported by Todd C Miller).
3711         + improved ncsa-telnet terminfo entry.
3712
3713 980809
3714         + correct missing braces around a trace statement in read_entry.c,
3715           from 980808 (reported by Kim DeVaughn <kimdv@best.com> and Liviu
3716           Daia).
3717
3718 980808
3719         + fix missing include <errno.h> in ditto.c (reported by Bernhard
3720           Rosenkraenzer <bero@k5.sucks.eu.org>)
3721         + add NCSA telnet terminfo entries from Francesco Potorti
3722           <F.Potorti@cnuce.cnr.it>, from Debian bug reports.
3723         + make handling of $LINES and $COLUMNS variables more compatible with
3724           Solaris by allowing them to individually override the window size
3725           as obtained via ioctl.
3726
3727 980801
3728         + modify lib_vidattr.c to allow for terminal types (e.g., xterm-color)
3729           which may reset all attributes in the 'op' capability, so that colors
3730           are set before turning on bold and other attributes, but still after
3731           turning attributes off.
3732         + add 'ditto.c' to test directory to illustrate use of newterm for
3733           initializing multiple screens.
3734         + modify _nc_write_entry() to recover from failed attempt to link alias
3735           for a terminfo on a filesystem which does not preserve character case
3736           (reported by Peter L Jordan <PJordan@chla.usc.edu>).
3737
3738 980725
3739         + updated versions of config.guess and config.sub based on automake 1.3
3740         + change name-comparisons in lib_termcap to compare no more than 2
3741           characters (gleaned from Debian distribution of 1.9.9g-8.8, verified
3742           with Solaris curses).
3743         + fix typo in curs_insstr.3x (patch by Todd C Miller)
3744         + use 'access()' to check if ncurses library should be permitted to
3745           open or modify files with fopen/open/link/unlink/remove calls, in
3746           case the calling application is running in setuid mode (request by
3747           Cristian Gafton <gafton@redhat.com>, responding to Duncan Simpson
3748           <dps@io.stargate.co.uk>).
3749         + arm100 terminfo entries from Dave Millen <dmill@globalnet.co.uk>).
3750         + qnxt2 and minitel terminfo entries from esr's version.
3751
3752 980718
3753         + use -R option with ldconfig on FreeBSD because otherwise it resets
3754           the search path to /usr/lib (reported by Dan Nelson).
3755         + add -soname option when building shared libraries on OpenBSD 2.x
3756           (request by QingLong).
3757         + add configure options --with-manpage-format and
3758           --with-manpage-renames (request by QingLong).
3759         + correct conversion of CANCELLED_NUMERIC in write_object(), which was
3760           omitting the high-order byte, producing a 254 in the compiled
3761           terminfo.
3762         + modify return-values of tgetflag, tgetnum, tgetstr, tigetflag,
3763           tigetnum and tigetstr to be compatible with Solaris (gleaned from
3764           Debian distribution of 1.9.9g-8.8).
3765         + modify _nc_syserr_abort to abort only when compiled for debugging,
3766           otherwise simply exit with an error.
3767
3768 980711
3769         + modify Ada95 'gen' program to use appropriate library suffix (e.g.,
3770           "_g" for a debug build).
3771         + update Ada95 'make clean' rule to include generics .ali files
3772         + add a configure test to ensure that if GNAT is found, that it can
3773           compile/link working Ada95 program.
3774         + flush output in beep and flash functions, fixing a problem with
3775           getstr (patch by Alexander V Lukyanov)
3776         + fix egcs 1.0.2 warning for etip.h (patch by Chris Johns).
3777         + correct ifdef/brace nesting in lib_sprintf.c (patch by Bernhard
3778           Rosenkraenzer <bero@Pool.Informatik.RWTH-Aachen.DE>).
3779         + correct typo in wattr_get macro from 980509 fixes (patch by Dan
3780           Nelson).
3781
3782 980704
3783         + merge changes from current XFree86 xterm terminfo descriptions.
3784         + add configure option '--without-ada'.
3785         + add a smart-default for termcap 'ac' to terminfo 'acs_chars' which
3786           corresponds to vt100.
3787         + change translation for termcap 'rs' to terminfo 'rs2', which is
3788           the documented equivalent, rather than 'rs1'.
3789
3790 980627
3791         + slow 'worm' down a little, for very fast machines.
3792         + corrected firstchar/lastchar computation in lib_hline.c
3793         + simplify some expressions with CHANGED_CELL, CHANGED_RANGE and
3794           CHANGED_TO_EOL macros.
3795         + modify init_pair so that if a color-pair is reinitialized, we will
3796           repaint the areas of the screen whose color changes, like SVr4 curses
3797           (reported by Christian Maurer <maurer@inf.fu-berlin.de>).
3798         + modify getsyx/setsyx macros to comply with SVr4 man-page which
3799           says that leaveok() affects their behavior (report by Darryl Miles,
3800           patch by Alexander V Lukyanov).
3801
3802 980620
3803         + review terminfo.5 against Solaris 2.6 curses version, corrected
3804           several minor errors/omissions.
3805         + implement tparm %l format.
3806         + implement tparm printf-style width and precision for %s, %d, %x, %o
3807           as per XSI.
3808         + implement tparm dynamic variables (reported by Xiaodan Tang).
3809
3810 980613
3811         + update man-page for for wattr_set, wattr_get (cf:  980509)
3812         + correct limits in hashtest, which would cause nonprinting characters
3813           to be written to large screens.
3814         + correct configure script, when --without-cxx was specified:  the
3815           wrong variable was used for cf_cv_type_of_bool.  Compilers up to gcc
3816           2.8 tolerated the missing 'int'.
3817         + remove the hardcoded name "gcc" for the GNU Ada compiler.  The
3818           compiler's name might be something like "egcs" (patch by Juergen
3819           Pfeifer).
3820         + correct curs_addch.3x, which implied that echochar could directly
3821           display control characters (patch by Alexander V Lukyanov).
3822         + fix typos in ncurses-intro.html (patch by Sidik Isani
3823           <isani@cfht.hawaii.edu>)
3824
3825 980606
3826         + add configure test for conflicting use of exception in math.h and
3827           other headers.
3828         + minor optimization to 'hash()' function in hashmap.c, reduces its
3829           time by 10%.
3830         + correct form of LD_SHARED_OPTS for HP-UX 10.x (patch by Tim Mooney).
3831         + fix missing quotes for 'print' in MKunctrl.awk script (reported by
3832           Mihai Budiu <mihaib@gs41.sp.cs.cmu.edu>).
3833         > patch by Alexander V Lukyanov:
3834         + correct problem on Solaris (with poll() function) where getch could
3835           hang indefinitely even if timeout(x) was called.  This turned out to
3836           be because milliseconds was not updated before 'goto retry' in
3837           _nc_timed_wait.
3838         + simplified the function _nc_timed_wait and fixed another bug, which
3839           was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft
3840           assignment.
3841         + removed the cycle on EINTR, as it seems to be useless.
3842
3843 980530
3844         + add makefile-rule for test/keynames
3845         + modify run_tic.sh and shlib to ensure that user's .profile does not
3846           override the $PATH used to run tic (patch by Tim Mooney).
3847         + restore LD_SHARED_OPTS to $(LD_SHARED_FLAGS) when linking programs,
3848           needed for HP-UX shared-library path (recommended by Tim Mooney).
3849         + remove special case of HP-UX -L options, use +b options to embed
3850           $(libdir) in the shared libraries (recommended by Tim Mooney).
3851         + add checks for some possible buffer overflows and unchecked
3852           malloc/realloc/calloc/strdup return values (patch by Todd C Miller
3853           <Todd.Miller@courtesan.com>)
3854
3855 980523
3856         + correct maxx/maxy expression for num_columns/num_lines in derwin
3857           (patch by Alexander V Lukyanov).
3858         + add /usr/share/lib/terminfo and /usr/lib/terminfo as compatibilty
3859           fallbacks to _nc_read_entry(), along with --with-terminfo-dirs
3860           configure option (suggested by Mike Hopkirk).
3861         + modify config.guess to recognize Unixware 2.1 and 7 (patch by Mike
3862           Hopkirk <hops@sco.com>).
3863         + suppress definition of CC_SHARED_OPTS in LDFLAGS_SHARED in c++
3864           Makefile.in, since this conflicts when g++ is used with HP-UX
3865           compiler (reported by Tim Mooney).
3866         + parenthesize 'strcpy' calls in c++ binding to workaround redefinition
3867           in some C++ implementations (reported by several people running
3868           egcs with glibc 2.0.93, analysis by Andreas Jaeger.
3869
3870 980516
3871         + modify write_entry.c so that it will not attempt to link aliases
3872           with embedded '/', but give only a warning.
3873         + put -L$(libdir) first when linking programs, except for HP-UX.
3874         + modify comp_scan.c to handle SVr4 terminfo description for att477,
3875           which contains a colon in the description field.
3876         + modify configure script to support SCO osr5.0.5 shared libraries
3877           (from comp.unix.sco.programmer newsgroup item by Mike Hopkirk
3878           <hops@sco.com>).
3879         + eliminate extra GoTo call in lib_doupdate.c (patch by Alexander V.
3880           Lukyanov).
3881         + minor adjustments of const/NCURSES_CONST from IRIX compile.
3882         + add updates based on esr's 980509 version of terminfo.src.
3883
3884 980509
3885         + correct macros for wattr_set, wattr_get, separate wattrset macro from
3886           these to preserve behavior that allows attributes to be combined with
3887           color pair numbers.
3888         + add configure option --enable-no-padding, to allow environment
3889           variable $NCURSES_NO_PADDING to eliminate non-mandatory padding,
3890           thereby making terminal emulators (e.g., for vt100) a little more
3891           efficient (request by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
3892         + modify configure script to embed ABI in shared libraries for HP-UX
3893           10.x (detailed request by Tim Mooney).
3894         + add test/example of the 'filter()' function.
3895         + add nxterm and xterm-color terminfo description (request by Cristian
3896           Gafton <gafton@redhat.com>).
3897         + modify rxvt terminfo description to clear alternate screen before
3898           switching back to normal screen, for compatibility with applications
3899           which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
3900         + modify linux terminfo description to reset color palette (reported
3901           by Telford Tendys <telford@eng.uts.edu.au>).
3902         + correction to doupdate, for case where terminal does not support
3903           insert/delete character.  The logic did not check that there was a
3904           difference in alignment of changes to old/new screens before
3905           repainting the whole non-blank portion of the line.  Modified to fall
3906           through into logic that reduces by the portion which does not differ
3907           (reported by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
3908         + minor performance improvement to wnoutrefresh by moving some
3909           comparisons out of inner loop.
3910
3911 980425
3912         + modify configure script to substitute NCURSES_CONST in curses.h
3913         + updated terminfo entries for xterm-xf86-v40, xterm-16color,
3914           xterm-8bit to correspond to XFree86 3.9Ag.
3915         + remove restriction that forces ncurses to use setaf/setab if the
3916           number of colors is greater than 8.  (see 970524 for xterm-16color).
3917         + change order of -L options (so that $(libdir) is searched first) when
3918           linking tic and other programs, to workaround HP's linker.
3919           Otherwise, the -L../lib is embedded when linking against shared
3920           libraries and the installed program does not run (reported by Ralf
3921           Hildebrandt).
3922         + modify configuration of shared libraries on Digital Unix so that
3923           versioning is embedded in the library, rather than implied by
3924           links (patch by Tim Mooney).
3925
3926 980418
3927         + modify etip.h to avoid conflict with math.h on HP-UX 9.03 with gcc
3928           2.8.1 which redefines 'exception' (reported by Ralf Hildebrandt
3929           <R.Hildebrandt@tu-bs.de>).
3930         + correct configure tests in CF_SHARED_OPTS which used $CC value to
3931           check for gcc, rather than autoconf's $GCC value.  This did not
3932           work properly if the full pathname of the compiler were given
3933           (reported by Michael Yount <yount@csf.Colorado.edu>).
3934         + revise check for compiler options to force ANSI mode since repeating
3935           an option such as -Aa causes HP's compiler to fail on its own headers
3936           (reported by Clint Olsen <olsenc@ichips.intel.com>).
3937
3938 980411
3939         + ifdef'd has_key() and mcprint() as extended functions.
3940         + modified several prototypes to correspond with 1997 version of
3941           X/Open Curses (affects ABI since developers have used attr_get).
3942         + remove spurious trailing blanks in glibc addon-scripts (patch by
3943           H.J.Lu).
3944         + insert a few braces at locations where gcc-2.8.x asks to use them to
3945           avoid ambigous else's, use -fpic rather than -fPIC for Linux (patch
3946           by Juergen Pfeifer).
3947
3948 980404
3949         + split SHLIB_LIST into SHLIB_DIRS/SHLIB_LIST to keep -L options
3950           before -l to accommodate Solaris' linker (reported by Larry Virden).
3951
3952 980328
3953         + modify lib_color.c to eliminate dependency on orig_colors and
3954           orig_pair, since SVr4 curses does not require these either, but
3955           uses them when they are available.
3956         + add detailed usage-message to infocmp.
3957         + correct a typo in att6386 entry (a "%?" which was "?").
3958         + add -f option to infocmp and tic, which formats the terminfo
3959           if/then/else/endif so that they are readable (with newlines and
3960           tabs).
3961         + fixes for glibc addon scripts (patch by H.J.Lu).
3962
3963 980321
3964         + revise configure macro CF_SPEED_TYPE so that termcap.h has speed_t
3965           declared (from Adam J. Richter <adam@yggdrasil.com>)
3966         + remove spurious curs_set() call from leaveok() (J.T.Conklin).
3967         + corrected handling leaveok() in doupdate() (patch by Alexander V.
3968           Lukyanov).
3969         + improved version of wredrawln (patch by Alexander V. Lukyanov).
3970         + correct c++/Makefile.in so install target do not have embedded ../lib
3971           to confuse it (patch by Thomas Graf <graf@essi.fr>).
3972         + add warning to preinstall rule which checks if the installer would
3973           overwrite a curses.h or termcap.h that is not derived from ncurses.
3974           (The recommended configuration for developers who need both is to
3975           use --disable-overwrite).
3976         + modify preinstall rule in top-level Makefile to avoid implicit
3977           use of 'sh', to accommodate Ultrix 4.4 (reported by Joao Palhoto
3978           Matos <jmatos@math.ist.utl.pt>, patch by Thomas Esser
3979           <te@informatik.uni-hannover.de>)
3980         + refine ifdef's for TRACE so that libncurses has fewer dependencies
3981           on libtinfo when TRACE is disabled.
3982         + modify configure script so that if the --with-termlib option is used
3983           to generate a separate terminfo library, we chain it to the ncurses
3984           library with a "-l" option (reported by Darryl Miles and Ian T.
3985           Zimmerman).
3986
3987 980314
3988         + correct limits and window in wredrawln function (reported/analysis by
3989           Alexander V. Lukyanov).
3990         + correct sed expression in configure script for --with-fallback
3991           option (patch by Jesse Thilo).
3992         + correct some places in configure script where $enableval was used
3993           rather than $withval (patch by Darryl Miles <dlm@g7led.demon.co.uk>).
3994         + modify some man-pages so no '.' or '..' falls between TH and SH
3995           macros, to accommodate man_db program (reported by Ian T. Zimmerman
3996           <itz@rahul.net>).
3997         + terminfo.src 10.2.1 from Eric's webpage.
3998         > several changes by Juergen Pfeifer:
3999         + add copyright notices (and rcs id's) on remaining man-pages.
4000         + corrected prototypes for slk_* functions, using chtype rather than
4001           attr_t.
4002         + implemented the wcolor_set() and slk_color() functions
4003         + the slk_attr_{set,off,on} functions need an additional void*
4004           parameter according to XSI.
4005         + fix the C++ and Ada95 binding as well as the man pages to
4006           reflect above enhancements.
4007
4008 980307
4009         + use 'stat()' rather than 'access()' in toe.c to check for the
4010           existence of $HOME/.terminfo, since it may be a file.
4011         + suppress configure CF_CXX_LIBRARY check if we are not using g++
4012           2.7.x, since this is not needed with g++ 2.8 or egcs (patch by
4013           Juergen Pfeifer).
4014         + turn on hashmap scrolling code by default, intend to remedy defects
4015           by 4.3 release.
4016         + minor corrections to terminfo.src changelog.
4017
4018 980302  4.2 release for upload to prep.ai.mit.edu
4019         + correct Florian's email address in ncurses-intro.html
4020         + terminfo.src 10.2.0 from Eric.
4021
4022 980228  pre-release
4023         + add linux-koi8r replace linux-koi8, which is not KOI8 (patch by
4024           QingLong <qinglong@Bolizm.ihep.su>).
4025         + minor documentation fixes (patch by Juergen Pfeifer).
4026         + add setlocale() call to ncurses.c (reported by Claes G. Lindblad
4027           <claesg@algonet.se>).
4028         + correct sign-extension in lib_insstr.c (reported by Sotiris
4029           Vassilopoulos <svas@leon.nrcps.ariadne-t.gr>)
4030
4031 980221  pre-release
4032         + regenerated some documentation overlooked in 980214 patch
4033           (ncurses-intro.doc, curs_outopts.3x.html)
4034         + minor ifdef change to C++ binding to work with gcc 2.8.0 (patch by
4035           Juergen Pfeifer).
4036         + change maintainer's mailing address to florian@gnu.org, change
4037           tentative mailing list address to bug-ncurses-request@gnu.org (patch
4038           by Florian La Roche).
4039         + add definition of $(REL_VERSION) to c++/Makefile.in (reported by Gran
4040           Hasse <gh@raditex.se>).
4041         + restore version numbers to Ada95 binding, accidentally deleted by
4042           copyright patch (patch by Juergen Pfeifer).
4043
4044 980214  pre-release
4045         + remove ncurses.lsm from MANIFEST so that it won't be used in FSF
4046           distributions, though it is retained in development.
4047         + correct scaling of milliseconds to nanoseconds in lib_napms.c (patch
4048           by Jeremy Buhler).
4049         + update mailing-list information (bug-ncurses@gnu.org).
4050         + update announcement for upcoming 4.2 release.
4051         + modify -lm test to check for 'sin()' rather than 'floor()'
4052         + remove spurious commas from terminfo.src descriptions.
4053         + change copyright notices to Free Software Foundation
4054
4055 980207
4056         + minor fixes for autoconf macros CF_ERRNO, CF_HELP_MESSAGE and
4057           CF_SIZECHANGE
4058         + modify Makefile.glibc so that $(objpfx) is defined (H.J.Lu).
4059         + ifdef-out true-return from _nc_mouse_inline() which depends on
4060           merge of QNX patch (pending 4.2 release).
4061         > patch by J.T.Conklin, to split off seldom-used modules in ncurses
4062           (reduces size by up to 2.6kb):
4063         + move functionality of _nc_usleep into napms, add configuration case
4064           for nanosleep().
4065         + moved wchgat() from lib_addch.c to lib_chgat.c
4066         + moved clearok(), immedok(), leaveok(), and scrollok() from
4067           lib_options.c to lib_clearok.c, lib_immedok.c, lib_leaveok.c and
4068           lib_scrollok.c.
4069         + moved napms() from lib_kernel.c to lib_napms.c
4070         + moved echo() and noecho() from lib_raw.c to lib_echo.c
4071         + moved nl() and nonl() from lib_raw.c to lib_nl.c
4072
4073 980131
4074         + corrected conversion in tclock.c (cf: 971018).
4075         + updates to Makefile.glibc and associated Linux configure script
4076           (patch by H.J.Lu).
4077         + workaround a quoting problem on SunOS with tar-copy.sh
4078         + correct init_pair() calls in worm.c to work when use_default_colors()
4079           is not available.
4080         + include <sys/types.h> in CF_SYS_TIME_SELECT to work with FreeBSD
4081           2.1.5
4082         + add ncv capability to FreeBSD console (cons25w), making reverse
4083           work with color.
4084         + correct sense of configure-test for sys/time.h inclusion with
4085           sys/select.h
4086         + fixes for Ada95/ada_include/Makefile.in to work with --srcdir option.
4087         + remove unused/obsolete test-program rules from progs/Makefile.in
4088           (the rules in ncurses/Makefile.in work).
4089         + remove shared-library loader flags from test/Makefile.in, etc.
4090         + simplify test/configure.in using new version of autoconf to create
4091           test/ncurses_cfg.h
4092         + suppress suffix rules in test/Makefile.in, provide explicit
4093           dependency to work with --srcdir option and less capable 'make'
4094           programs.
4095         > adapted from patch for QNX by Xiaodan Tang:
4096         + initialize %P and %g variables set/used in tparm, and also ensure
4097           that empty strings don't return a null result from tparam_internal
4098         + add QNX-specific prototype for vsscanf()
4099         + move initialization of SP->_keytry from init_keytry() to newterm() to
4100           avoid resetting it via a keyok() call by mouse_activate().
4101         + reorganized some functions in lib_mouse() to use case-statements.
4102         + remove sgr string from qnx terminfo entry since it is reported to
4103           turn off attributes inconsistently.
4104
4105 980124
4106         + add f/F/b/B commands to ncurses 'b' test to toggle colors, providing
4107           test for no_color_video.
4108         + adjusted emx.src to use no_color_video, now works with ncurses 'b'
4109           and 'k' tests.
4110         + implement no_color_video attribute, and as a special case, reverse
4111           colors when the reverse attribute cannot be combined with color.
4112         + check for empty string in $TERM variable (reported by Brett Michaels
4113           <brett@xylan.com>).
4114         > from reports by Fred Fish:
4115         + add configure-test for isascii
4116         + add configure-test for -lm library.
4117         + modify CF_BOOL_SIZE to check if C++ bool types are unsigned.
4118         > patches by J.J.G.Ripoll
4119         + add configure/makefile variables to support .exe extension on
4120           OS/2 EMX (requires additional autoconf patches).
4121         + explicitly initialize variables in lib_data.c to appease OS/2 linker
4122         > patches by Fred Fish <fnf@ninemoons.com>
4123         + misc/Makefile.in (install.data):  Avoid trying to install the CVS
4124           directory.
4125         + aclocal.m4 (install.includes):  Remove files in the include directory
4126           where we are going to install new ones, not the original source
4127           files.
4128         + misc/terminfo.src:  Add entry for "beterm", derived from termcap
4129           distributed with BeOS PR2 using captoinfo.
4130         + aclocal.m4: Wrap $cf_cv_type_of_bool with quotes (contains space)
4131         + aclocal.m4: Assume bool types are unsigned.
4132         + progs/infocmp.c: workaround mwcc 32k function data limit
4133
4134 980117
4135         + correct initialization of color-pair (from 970524) in xmas.c, which
4136           was using only one color-pair for all colors (reported by
4137           J.J.G.Ripoll).
4138         + add multithread options for objects build on EMX, for compatibility
4139           with XFree86.
4140         + split up an expression in MKlib_gen.sh to work around a problem on
4141           OS/2 EMX, with 'ash' (patch by J.J.G.Ripoll).
4142         + change terminfo entries xterm (xterm-xf86-v40), xterm-8bit rs1 to use
4143           hard reset.
4144         + rename terminfo entry xterm-xf86-v39t to xterm-xf86-v40
4145         + remove bold/underline from sun console entries since they're not
4146           implemented.
4147         + correct _tracef calls in _tracedump(), which did not separate format
4148           from parameters.
4149         + correct getopt string for tic "-o" option, and add it to man-page
4150           synopsis (reported by Darren Hiebert <darren@hmi.com>).
4151         + correct typo in panel/Makefile.in, reversed if-statement in scrolling
4152           optimization (Alexander V.  Lukyanov).
4153         + test for 'remove()', use 'unlink() if not found (patch by Philippe De
4154           Muyter <phdm@macqel.be>).
4155         > patches by Juergen Pfeifer:
4156         + Improve a feature of the forms driver.  For invisible fields
4157           (O_VISIBLE off) only the contents but not the attributes are cleared.
4158           We now clear both.  (Reported by Javier Kohan
4159           <jkohan@adan.fceia.unr.edu.ar>)
4160         + The man page form_field_opts.3x makes now clear, that invisible
4161           fields are also always inactive.
4162         + adjust ifdef's to compile the C++ binding with the just released
4163           gcc-2.8.0 c++ and the corresponding new C++ libraries.
4164
4165 980110
4166         + correct "?" command in ncurses.c; it was performing non-screen writes
4167           while the program was in screen mode.  (It "worked" in 1.9.9e because
4168           that version sets OPOST and OCRNL incorrectly).
4169         + return error from functions in lib_kernel, lib_raw and lib_ti if
4170           cur_term is null, or if underlying I/O fails.
4171         + amend change to tputs() so that it does not return an error if
4172           cur_term is null, since some applications depend on being able to use
4173           tputs without initializing the terminal (reported by Christian J.
4174           Robinson <infynity@cyberhighway.net>).
4175
4176 980103
4177         + add a copy of emx.src from J.J.G.Ripoll's OS/2 EMX version of ncurses
4178           1.9.9e, together with fixes/additions for the "ansi" terminal type.
4179         + add tic check for save/restore cursor if change_scroll_region is
4180           defined (from O'Reilly book).
4181         + modify read_termcap.c to handle EMX-style pathnames (reported by
4182           J.J.G.Ripoll).
4183         + modify lib_raw.c to use EMX's setmode (from J.J.G.Ripoll, who says
4184           EMX's curses does this).
4185         + modify _nc_tic_expand() to generate \0 rather than \200.
4186         + move/revise 'expand()' from dump_entry.c to ncurses library as
4187           _nc_tic_expand(), for use by tack.
4188         + decode \a as \007 for terminfo, as per XSI.
4189         + correct translation of terminfo "^@", to \200, like \0.
4190         + modify next_char() to treat <cr><lf> the same as <newline>, for
4191           cross-platform compatibility.
4192         + use new version of autoconf (971230) to work around limited
4193           environment on CLIX, due to the way autoconf builds --help message.
4194         > patch by Juergen Pfeifer:
4195         + check that the Ada95 binding runs against the correct version of
4196           ncurses.
4197         + insert constants about the library version into the main spec-file of
4198           the Ada95 binding.
4199
4200 971227
4201         + modify open/fopen calls to use binary mode, needed for EMX.
4202         + modify configure script to work with autoconf 2.10 mods for OS/2
4203           EMX from J.J.G.Ripoll.
4204         + generated ncurses_cfg.h with patch (971222) to autoconf 2.12 which
4205           bypasses limited sed buffer length.
4206         > several changes from Juan Jose Garcia Ripoll <worm@arrakis.es>
4207           (J.J.G.Ripoll) to support OS/2 EMX:
4208         + add a _scrolling flag to SP, to set when we encounter a terminal
4209           that simply cannot scroll.
4210         + corrected logic in _nc_add_to_try(), by ensuring that strings with
4211           embedded \200 characters are matched.
4212         + don't assume the host has 'link()' function, for linking terminfo
4213           entries.
4214
4215 971220
4216         + if there's no ioctl's to support sigwinch handler, disable it.
4217         + add configure option --disable-ext-funcs to remove the extended
4218           functions from the build.
4219         + add configure option --with-termlib to generate the terminfo
4220           functions as a separate library.
4221         + add 'sources' rule to facilitate cross-compiling.
4222         + review/fix order of mostlyclean/clean/distclean rules.
4223         + modify install-rule for headers to first remove old header, in
4224           case there was a symbolic link that confuses the install script.
4225         + corrected substitution for NCURSES_CONST in term.h (cf: 971108)
4226         + add null pointer checks in wnoutrefresh(), overlap() (patch by
4227           Xiaodan Tang <xtang@qnx.com>)
4228         + correct tputs(), which could dereference a null cur_term if invoked
4229           before terminal is initialized (patch by Christopher Seawood
4230           <cls@seawood.org>)
4231         > patch by Juergen Pfeifer:
4232         + makes better use of "pragma Inline" in the Ada95 binding
4233         + resynchronizes the generated html manpages
4234
4235 971213
4236         + additional fixes for man-pages section-references
4237         + add (for debugging) a check for ich/ich1 conflict with smir/rmir
4238           to tic, etc.
4239         + remove hpa/vpa from rxvt terminal description because they are not
4240           implemented correctly, added sgr0.
4241         + change ncurses 's' to use raw mode, so ^Q works (reported by Rudolf
4242           Leitgeb <leitgeb@leland.stanford.edu>)
4243
4244 971206
4245         + modify protection when installing libraries to (normally) not
4246           executable.  HP-UX shared libraries are an exception.
4247         + add configure check for 'tack'.
4248         + implement script for renaming section-references in man-page install,
4249           for Debian configuration.
4250         + add validity-check for SP in trace code in baudrate() (reported by
4251           Daniel Weaver).
4252         > patch by Alexander V. Lukyanov (fixes to match sol25 curses)
4253         + modify 'overlay()' so that copy applies target window background to
4254           characters.
4255         + correct 'mvwin()' so that it does not clear the previous locations.
4256         + correct lib_acs.c so that 8-bit character is not sign expanded in
4257           case of wide characters in chtype.
4258         + correct control-char test in lib_addch.c for use with wide chars
4259         + use attribute in the chtype when adding a control character in
4260           lib_addch.c control char was added with current attribute
4261
4262 971129
4263         + save/restore errno in _tracef() function
4264         + change treatment of initialize_color to use a range of 0..1000
4265           (recommended by Daniel Weaver).
4266         + set umask in mkinstalldirs, fixing problems reported by users who
4267           have set root's umask to 077.
4268         + correct bug in tic that caused capabilities to be reprinted at the
4269           end of output when they had embedded comments.
4270         + rewrote wredrawln to correspond to XSI, and split-out since it is
4271           not often used (from report by Alexander V. Lukyanov, 970825)
4272         + rewrote Dan Nelson's change to make it portable, as well as to
4273           correct logic for handling backslashes.
4274         + add code to _nc_tgetent() to make it work more like a real tgetent().
4275           It removes all empty fields, and removes all but the first in a group
4276           of duplicate caps.  The code was pulled from the BSD libtermcap code
4277           in termcap.c (patch by Dan Nelson <dnelson@emsphone.com>
4278         + don't include --enable-widec in the --with-develop configure option,
4279           since it is not binary-compatible with 4.1 (noted by Alexander V.
4280           Lukyanov)
4281         > patch by Juergen Pfeifer:
4282         + further improvements of the usage of elaboration pragmas in the Ada95
4283           binding
4284         + enhanced Ada95 sample to use the user_data mechanism for panels.
4285         + a fix for the configuration script to make gnat-3.10 the required
4286           version.
4287         + resync of the html version of the manpages
4288
4289 971122
4290         > fixes/updates for terminfo.src:
4291         + add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
4292           version.
4293         + add hds200 description (Walter Skorski)
4294         + add EMX 0.9b descriptions
4295         + correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
4296         + rename xhpterm back to hpterm.
4297         > patch by Juergen Pfeifer:
4298         + Improves the usage of elaboration pragmas for the Ada95 binding.
4299         + Adds a translation of the test/rain.c into Ada95 to the samples.
4300           This has been contributed to the project by Laurent Pautet
4301           (pautet@gnat.com)
4302
4303 971115
4304         + increase MAX_NAME_SIZE to 512 to handle extremely long alias list
4305           in HP-UX terminfo.
4306         + correction & simplification of delay computation in tputs, based on
4307           comments from Daniel Weaver.
4308         + replace test for SCO with more precise header tests.
4309         + add configure test for unsigned literals, use in NCURSES_BITS macro.
4310         + comment-out the -PIC, etc., flags from c++, progs and test makefiles
4311           since they probably are not needed, and are less efficient (noted by.
4312           Ju"rgen Fluk)
4313         + add -L$(libdir) to loader options, after -L../lib so that loaders
4314           that record this information will tend to do the right thing if
4315           the programs are moved around after installing them (suggested by.
4316           Ju"rgen Fluk).
4317         + add -R option to loader options for programs for Solaris if the
4318           --enable-rpath option is specified for the libraries.
4319
4320 971112
4321         + correct installed filename for shared libraries on *BSD (reported by
4322           Ju"rgen Fluk).
4323
4324 971108
4325         + cleanup logic for deciding when tputs() should call delay_output(),
4326           based on comments from Daniel Weaver.
4327         + modified tputs() to avoid use of float.
4328         + correct use of trailpad in tputs(), which used the wrong variable
4329           in call to delay_output().
4330         + correct inverted expression for null-count in delay_output()
4331           (analysis by Daniel Weaver).
4332         + apply --enable-rpath option to Solaris (requested by Larry Virden).
4333         + correct substitution of EXTRA_CFLAGS for gcc 2.6.3
4334         + correct check for error-return by _nc_tgetent(), which returns 0
4335           for success.
4336         + add configure test for BSD 4.4 cgetent() function, modify
4337           read_termcap.c to use the host's version of that if found, using the
4338           terminal database on FreeBSD (reported by Peter Wemm).
4339         + add u8, u9 strings to sun-il description for Daniel Weaver.
4340         + use NCURSES_CONST in panel's user-pointer.
4341         + modify edit_cfg.sh and MKterm.h.awk.in to substitute NCURSES_CONST
4342           so that will work on NeXT.
4343         + use _nc_set_screen() rather than assignments to SP to fix port to
4344           NeXT (reported by Francisco A. Tomei Torres).
4345
4346 971101
4347         + force mandatory padding in bell and flash_screen, as specified in
4348           XSI.
4349         + don't allow padding_baud_rate to override mandatory delays (reported
4350           by Daniel Weaver).
4351         + modify delay_output() to use _nc_timed_wait() if no baudrate has been
4352           defined, or if the cur_term pointer is not initialized.  XSI treats
4353           this as unspecified.  (requested by Daniel Weaver).
4354         + change getcap-cache ifdef's to eliminate unnecessary chdir/mkdir
4355           when that feature is not configured.
4356         + remove _nc_err_abort() calls when write_entry.c finds a directory but
4357           cannot write to it, e.g., when translating part/all of /etc/termcap
4358           (reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>).
4359           (this dates back to 951102, in 1.9.7a).
4360         + minor ifdef fixes to compile with atac and glibc 2.0.5c
4361         + add check for -lgen when configuring regexpr.h
4362         + modify Solaris shared-library option "-d y" to "-dy" to workaround
4363           incompatibility of gcc 2.7.2 vs vendor's tools.
4364
4365 971026
4366         + correct ifdef's for struct winsize vs struct ttysize in lib_setup.c
4367           to compile on SCO.
4368         + remove dangling backslash in panel/Makefile.in
4369         + modify MKkeyname.awk to work with SCO's nawk, which dumps core in the
4370           length() function.
4371         + correct length of allocation in _nc_add_to_try(), to allow for
4372           trailing null.
4373         + correct logic in _nc_remove_key(), which was discarding too many
4374           nodes (patch by Alexander V. Lukyanov)
4375
4376 971025
4377         + add definition for $(REL_VERSION) to test/Makefile.in, so *BSD
4378           shared libraries link properly (see 970524).
4379         + modify Linux shared-library generation to include library
4380           dependencies (e.g., -lncurses and -lgpm) in the forms, menu and
4381           panel libraries (suggested by Juergen Pfeifer).
4382         + modify configure script to use config.guess and config.sub rather
4383           than uname, which is unreliable on some systems.
4384         + updated Makefile.glibc, test-built with glibc 2.0.5c
4385         + modify keyname() to return values consistent with SVr4 curses (patch
4386           by Ju"rgen Fluk).
4387         > changes requested by Daniel Weaver:
4388         + modify delay_output() so that it uses the same output function as
4389           tputs() if called from that function.
4390         + move _baudrate from SCREEN to TERMINAL so that low-level use of
4391           tputs works when SP is not set.
4392         > patch by Juergen Pfeifer:
4393         + factor lib_menu and lib_form into smaller modules
4394         + clean up the interface between panel and SCREEN
4395         + minor changes to the Ada95 mouse support implemenation
4396         + minor bugfix in C++ binding to ripoff windows
4397         + fix a few Ada95 html documentation pages
4398
4399 971018
4400         + split-out lib_ungetch.c, make runtime link to resizeterm() to
4401           decouple those modules from lib_restart.c
4402         + add xterm-xf86-v39t description to terminfo.src
4403         + reset SP->_endwin in lib_tstp.c cleanup() function after calling
4404           endwin() to avoid unnecessary repainting if the application has
4405           established an atexit function, etc.  Encountered this problem in
4406           the c++ demo, whose destructors repaint the screen.
4407         + combine _nc_get_screensize() and resizeterm() calls as new function
4408           _nc_update_screensize().
4409         + minor fixes to allow compile with g++ (suggested by Nelson H. F.
4410           Beebe).
4411         + implement install-rules for Ada95 makefiles.
4412         + use screen_lines or MAXLINES as needed where LINES was coded,
4413           as well as screen_columns for COLS, in the ncurses library.
4414         > patch by Alexander V. Lukyanov:
4415         + modify logic for ripped-off lines to handle several SCREENs.
4416         > patch by Juergen Pfeifer:
4417         + factors lib_slk.c into some smaller modules
4418         + factors panel.c into some smaller modules
4419         + puts the static information about the current panel stack into the
4420           SCREEN structure to allow different panel stacks on different
4421           screens.
4422         + preliminary fix for an error adjusting LINES to account for
4423           ripped-off lines.
4424
4425 971011
4426         + move _nc_max_click_interval and other mouse interface items to SCREEN
4427           struct so that they are associated with a single terminal, and also
4428           save memory when the application does not need a mouse (roughly 3k vs
4429           0.5k on Linux).
4430         + modify mouseinterval() so that a negative parameter queries the
4431           click-interval without modifying it.
4432         + modify ncurses 'i' test to work with ncurses' apparent extension from
4433           SVr4, i.e., allows nocbreak+noecho (analysis by Alexander V.
4434           Lukyanov).
4435         + add configure options --with-ada-includes and --with-ada-objects,
4436           to drive Ada95 binding install (not yet implemented).
4437         + install C++ binding as -lncurses++ and associated headers with the
4438           other ncurses headers.
4439         + fix header uninstall if configure --srcdir is used.
4440         > minor interface changes (request by Daniel Weaver <danw@znyx.com>,
4441           to support 'tack' program):
4442         + export functions _nc_trans_string() and _nc_msec_cost().
4443         + add variable _nc_nulls_sent, to record the number of padding
4444           characters output in delay_output().
4445         + move tests for generic_type and hard_copy terminals in setupterm()
4446           to the end of that function so that the library will still be
4447           initialized, though not generally useful for curses programs.
4448         > patches by Alexander V. Lukyanov:
4449         + modify ClrBottom() to avoid using clr_eos if there is only one line
4450           to erase.
4451         + typo in configure --help.
4452         > patch by J.T.Conklin (with minor resync against Juergen's changes)
4453         + split-out lib_flash.c from lib_beep.c
4454         + split-out lib_hline.c and lib_vline.c from lib_box.c
4455         + split-out lib_wattron.c, lib_wattroff.c from lib_addch.c
4456
4457 971005
4458         > patch by Juergen Pfeifer:
4459         + correct source/target of c++/edit_cfg.sh
4460
4461 971004
4462         + add color, mouse support to kterm terminfo entry.
4463         + modify lib_mouse.c to recognize rxvt, kterm, color_xterm also as
4464           providing "xterm"-style mouse.
4465         + updated rxvt's terminfo description to correspond to 2.21b, with
4466           fixes for the acsc (the box1 capability is incorrect, ech1 does not
4467           work).
4468         + fix logic in parse_entry.c that discarded acsc when 'synthesizing'
4469           an entry from equivalents in XENIX or AIX.  This lets ncurses handle
4470           the distribution copy of rxvt's terminfo.
4471         + modify acsc capability for linux and linux-koi8 terminfo descriptions
4472           (from Pavel Roskin <pavel@absolute.spb.su>).
4473         + corrected definition in curses.h for ACS_LANTERN, which was 'I'
4474           rather than 'i' (see 970802).
4475         + updated terminfo.src with reformatted acsc entries, and repaired the
4476           trashed entries with spurious '\' characters that this exposed.
4477         + add logic to dump_entry.c to reformat acsc entries into canonical
4478           form (sorted, unique mapping).
4479         + add configure script to generate c++/etip.h
4480         + add configure --with-develop option, to enable by default most of the
4481           experimental options (requested by Alexander V. Lukyanov).
4482         + rename 'deinstall' to 'uninstall', following GNU convention
4483           (suggested by Alexander V. Lukyanov).
4484         > patches by Alexander V. Lukyanov:
4485         + modify tactics 2 and 5 in onscreen_mvcur(), to allow them on the last
4486           line of the screen, since carriage return will not cause a newline.
4487         + remove clause from PutCharLR() that would try to use
4488           eat_newline_glitch since that apparently does not work on some
4489           terminals (e.g., M$ telnet).
4490         + correct a limit check in scroll_csr_backward()
4491         > patches by Juergen Pfeifer:
4492         + adds dummy implementations of methods above() and below() to the
4493           NCursesPanel class.
4494         + fixes missing returncode in NCursesWindow::ripoffline()
4495         + fixes missing returncode in TestApplication::run() in demo.cc
4496         + We should at least give a comment in etip.h why it is currently a
4497           problem to install the C++ binding somewhere
4498         + makes the WINDOW* argument of wenclose() a const.
4499         + modifies several of the routines in lib_adabind.c to use a const
4500           WINDOW* argument.
4501
4502 970927
4503         + add 'deinstall' rules.
4504         + use explicit assignments in configure --without-progs option to
4505           work around autoconf bug which doesn't always set $withval.
4506         + check for ldconfig, don't try to run it if not found.
4507         + implement simple/unoptimized case in lib_doupdate.c to handle
4508           display with magic cookie glitch, tested with ncurses.c program.
4509         + correct missing _tracef in getmouse(), to balance the returnCode
4510           macro.
4511         + simplify show_attr() in ncurses.c using termattrs().
4512         > patches by Juergen Pfeifer:
4513         + provides missing inlines for mvw[hv]line in cursesw.h of the C++
4514           binding
4515         + fixes a typo in a comment of frm_driver.c
4516         + Enhances Ada95 Makefiles to fulfill the requirement of GNAT-3.10 that
4517           generics should be compiled.  Proper fixes to the configuration
4518           scripts are also provided.
4519
4520 970920
4521         + several modifications to the configure script (requested by Ward
4522           Horner):
4523           + add configure options --without-progs, to suppress the build of the
4524             utility programs, e.g., for cross-compiling.
4525           + add $(HOSTCCFLAGS) and $(HOSTLDFLAGS) symbols to ncurses
4526             Makefile.in, to simplify setup for cross compiling.
4527           + add logic in configure script to recognize "--target=vxworks", and
4528             generate load/install actions for VxWorks objects.
4529         + move typedef for sigaction_t into SigAction.h to work around problem
4530           generating lint library.
4531         + modify fty_regex.c to reflect renaming of ifdef's for regular
4532           expressions.
4533         + simplify ifdef in lib_setup.c for TIOCGWINSZ since that symbol may
4534           reside in <sys/ioctl.h>.
4535         + merge testcurs.c with version from PDCurses 2.3, clarifying some of
4536           the more obscure tests, which rely upon color.
4537         + use macros getbegyx() and getmaxyx() in newdemo.c and testcurs.c
4538         + modify ncurses.c to use getbegyx() and getmaxyx() macros to cover up
4539           implementation difference wrt SVr4 curses, allow 's' test to work.
4540         + add missing endwin() to testscanw.c program (reported by Fausto
4541           Saporito <fausap@itb.it>).
4542         + fixes/updates for Makefile.glibc and related files under sysdeps
4543           (patch by H.J.Lu).
4544         > patches by Juergen Pfeifer:
4545         + add checks for null pointers, especially WINDOW's throughout the
4546           ncurses library.
4547         + solve a problem with wrong calculation of panel overlapping (reported
4548           by Ward Horner):
4549           + make sure that a panel's window isn't a pad.
4550           + do more error checking in module lib_touch.c
4551         + missing files for Ada95 binding from the last patch
4552         + synch. of generated html pages (RCS-Id's were wrong in html files)
4553         + support for Key_Resize in Ada binding
4554         + changed documentation style in ./c++/cursesm.h
4555         > patches by Alexander V. Lukyanov:
4556         + undo attempt to do recursive inlining for PutChar(), noting that it
4557           did not improve timing measurably, but inflated the size of
4558           lib_doupdate.o
4559
4560 970913
4561         + modify rain.c to use color.
4562         + correct scroll_csr_backward() to match scroll_csr_forward().
4563         + minor adjustment to llib-lncurses, to work with Solaris 2.5.1
4564         + minor fixes to sysdeps/unix/sysv/linux/configure to reflect renaming
4565           of configure cache variables in 970906.
4566         + correct logic involving changes to O_VISIBLE option in
4567           Synchronize_Options function in frm_driver.c (Tony Hoffmann
4568           <Tony.Hoffmann@hia.nrc.ca>)
4569         + add $(HOSTCC) symbol to ncurses Makefile.in, to simplify setup for
4570           cross compiling (suggested by Chris Johns).
4571         + modify ifdef in lib_setup.c to only include <sys/ioctl.h> if we can
4572           use it to support screen-size calculation (reported by Chris Johns).
4573         + #undef unctrl to avoid symbol conflict in port to RTEMS (reported by
4574           Chris Johns <cjohns@plessey.com.au>)
4575         > patches by Juergen Pfeifer:
4576         + simplified, made minor corrections to Ada95 binding to form
4577           fieldtype.
4578         + The C++ binding has been enhanced:
4579           + Improve NCursesWindow class:  added additional methods to cover
4580             more ncurses functionality.  Make refresh() and noutrefresh()
4581             virtual members to allow different implementation in the
4582             NCursesPanel class.
4583           + CAUTION:  changed order of parameters in vline() and hline() of
4584             NCursesWindow class.
4585           + Make refresh() in NCursesPanel non-static, it is now a
4586             reimplementation of refresh() in the base class.  Added
4587             noutrefresh() to NCursesPanel.
4588           + Added NCursesForm and related classes to support libform
4589             functionality.
4590           + Moved most of configuration related stuff from cursesw.h to etip.h
4591           + Added NCursesApplication class to support easy configuration of
4592             menu and forms related attributes as well as ripped of title lines
4593             and Soft-Label-Keys for an application.
4594           + Support of Auto-Cleanup for a menu's fieldlist.
4595           + Change of return type for current_item() and operator[] for menus.
4596           + Enhanced demo.
4597         + Fixed a bug in form/fld_def.c:  take into account that copyarg and
4598           freearg for a fieldtype may be NULL, makearg must not be NULL
4599         + Fixed a bug in form/fld_type.c:  in set_fieldtype_arg() makearg must
4600           not be NULL, copyarg and freearg may be NULL.
4601         + Fixed a bug in form/frm_def.c:  Allow Disconnect_Fields() if it is
4602           already disconnected.
4603         + Enhance form/frm_driver.c:  Allow growth of dynamic fields also on
4604           navigation requests.
4605         + Fixed a bug in form/fty_enum.c:  wrong position of postincrement in
4606           case-insensitiva comparision routine.
4607         + Enhanced form/lib_adabind.c with function _nc_get_field() to get a
4608           forms field by index.
4609         + Enhanced menu/m_adabind.c with function _nc_get_item() to get a menus
4610           item by index.
4611         + Fixed in curses.h.in:  make chtype argument for pechochar() constant.
4612           Mark wbkgdset() as implemented, remove wbkgdset macro, because it was
4613           broken (didn't handle colors correctly).
4614         + Enhanced lib_mouse.c: added _nc_has_mouse() function
4615         + Added _nc_has_mouse() prototype to curses.priv.h
4616         + Modified lib_bkgd.c:  hopefully correct implementation of wbkgdset();
4617           streamlined implementation of wbkgd()
4618         + Modified lib_mvwin.c:  Disable move of a pad.  Implement (costly)
4619           move of subwindows.  Fixed update behaviour of movements of regular
4620           windows.
4621         + Fixed lib_pad.c:  make chtype argument of pechochar() const.
4622         + Fixed lib_window.c:  dupwin() is not(!) in every bit a really clone
4623           of the original.  Subwindows become regular windows by doing a
4624           dupwin().
4625         + Improved manpage form_fieldtype.3x
4626         > patches by Alexander V. Lukyanov:
4627         + simplify the PutChar() handling of exit_am_mode, because we already
4628           know that auto_right_margin is true.
4629         + add a check in PutChar() for ability to insert to the case of
4630           shifting character to LR corner.
4631         + in terminal initialization by _nc_screen_resume(), make sure that
4632           terminal right margin mode is known.
4633         + move logic that invokes touchline(), or does the equivalent, into
4634           _nc_scroll_window().
4635         + modify scrolling logic use of insert/delete line capability, assuming
4636           that they affect the screen contents only within the current
4637           scrolling region.
4638         + modify rain.c to demonstrate SIGWINCH handler.
4639         + remove logic from getch() that would return an ERR if the application
4640           called getch() when the cursor was at the lower-right corner of the
4641           physical screen, and the terminal does not have insert-character
4642           ability.
4643         + change view.c so that it breaks out of getch() loop if a KEY_RESIZE
4644           is read, and modify logic in getch() so this fix will yield the
4645           desired behavior, i.e., the screen is repainted automatically when
4646           the terminal window is resized.
4647
4648 970906
4649         + add configure option --enable-sigwinch
4650         + modify view.c to test KEY_RESIZE logic, with "-r" option.
4651         + modify testcurs.c to eliminate misleading display wrt cursor type
4652           by testing if the terminal supports cnorm, civis, cvvis.
4653         + several fixes for m68k/NeXT 4.0, to bring cur_term, _nc_curr_line and
4654           _nc_curr_col variables into linked programs:  move these variables,
4655           making new modules lib_cur_term and trace_buf (reported by Francisco
4656           Alberto Tomei Torres <fatomei@sandburg.unm.edu>).
4657         > patches by Alexander V. Lukyanov:
4658         + add pseudo-functionkey KEY_RESIZE which is returned by getch() when
4659           the SIGWINCH handler has been called since the last call to
4660           doupdate().
4661         + modify lib_twait.c to hide EINTR only if HIDE_EINTR is defined.
4662         + add SIGWINCH handler to ncurses library which is used if there is no
4663           application SIGWINCH handler in effect when the screen is
4664           initialized.
4665         + make linked list of all SCREEN structures.
4666         + move curses.h include before definition of SCREEN to use types in
4667           that structure.
4668         + correction to ensure that wgetstr uses only a newline to force a
4669           scroll (970831).
4670
4671 970831
4672         + add experimental configure option --enable-safe-sprintf; the normal
4673           mode now allocates a buffer as large as the screen for the
4674           lib_printw.c functions.
4675         + modify wgetch to refresh screen when reading ungetch'd characters,
4676           since the application may require this - SVr4 does this.
4677         + refine treatment of newline in wgetstr to echo only when this would
4678           force the screen to scroll.
4679
4680 970830
4681         + remove override in wgetstr() that forces keypad(), since SVr4 does
4682           not do this.
4683         + correct y-reference for erasure in wgetstr() when a wrap forces a
4684           scroll.
4685         + correct x-position in waddch() after a wrap forces a scroll.
4686         + echo newline in wgetstr(), making testscanw.c scroll properly when
4687           scanw is done.
4688         + modify vwscanw() to avoid potential buffer overflow.
4689         + rewrote lib_printw.c to eliminate fixed-buffer limits.
4690         > patches by Alexander V. Lukyanov:
4691         + correct an error in handling cooked mode in wgetch(); processing
4692           was in the wrong order.
4693         + simplified logic in wgetch() that handles backspace, etc., by using
4694           wechochar().
4695         + correct wechochar() so that it interprets the output character as
4696           in waddch().
4697         + modify pechochar() to use prefresh() rather than doupdate(), since
4698           the latter does not guarantee immediate refresh of the pad.
4699         + modify pechochar() so that if called with a non-pad WINDOW, will
4700           invoke wechochar() instead.
4701         + modify fifo indices to allow fifo to be longer than 127 bytes.
4702
4703 970823
4704         + add xterm-8bit to terminfo.src
4705         + moved logic for SP->_fifohold inside check_pending() to make it
4706           work properly when we add calls to that function.
4707         + ensure that bool functions return only TRUE or FALSE, and TRUE/FALSE
4708           are assigned to bool values (patch by H.J.Lu).
4709         > patches by Alexander V. Lukyanov:
4710         + several fixes to getch:
4711           1.  Separate cooked and raw keys in fifo
4712           2.  Fix the case of ungetch'ed KEY_MOUSE
4713           3.  wrap the code for hiding EINTR with ifdef HIDE_EINTR
4714           4.  correctly handle input errors (i.e., EINTR) without loss of raw
4715               keys
4716           5.  recognize ESC KEY_LEFT and similar
4717           6.  correctly handle the case of receiption of KEY_MOUSE from gpm
4718         + correct off-by-one indexing error in _nc_mouse_parse(), that caused
4719           single mouse events (press/release) to be ignored in favor of
4720           composed events (click).  Improves on a fix from integrating gpm
4721           support in 961229.
4722         + add another call to check_pending, before scrolling, for
4723           line-breakout optimization
4724         + improve hashmap.c by
4725           1.  fixed loop condition in grow_hunks()
4726           2.  not marking lines with offset 0
4727           3.  fixed condition of 'too far' criteria, thus one-line hunks are
4728           ignored and two lines interchanged won't pass.
4729         + rewrote/simplified _nc_scroll_optimize() by separating into two
4730           passes, forward/backward, looking for chunks moving only in the given
4731           direction.
4732         + move logic that emits sgr0 when initializing the screen to
4733           _nc_screen_init(), now invoked from newterm.
4734         + move cursor-movement cleanup from endwin() into _nc_mvcur_wrap()
4735           function and screen cleanup (i.e., color) into _nc_screen_wrap()
4736           function.
4737         + add new functions _nc_screen_init(), _nc_screen_resume() and
4738           _nc_screen_wrap().
4739         + rename _nc_mvcur_scrolln() to _nc_scrolln().
4740         + add a copy of acs_map[] to the SCREEN structure, where it can be
4741           stored/retrieved via set_term().
4742         + move variables _nc_idcok, _nc_idlok, _nc_windows into the SCREEN
4743           structure.
4744
4745 970816
4746         + implement experimental _nc_perform_scroll().
4747         + modify newterm (actually _nc_setupscreen()) to emit an sgr0 when
4748           initializing the screen, as does SVr4 (reported by Alexander V.
4749           Lukyanov).
4750         + added test_progs rule to ncurses/Makefile.
4751         + modify test/configure.in to check if initscr is already in $LIBS
4752           before looking for (n)curses library.
4753         + correct version-number in configure script for OSF1 shared-library
4754           options (patch by Tim Mooney).
4755         + add -DNDEBUG to CPPFLAGS for --enable-assertions (as Juergen
4756           originally patched) since the c++ demo files do not necessarily
4757           include ncurses_cfg.h
4758         + supply default value for --enable-assertions option in configure
4759           script (reported by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>).
4760         > patches by Alexander V. Lukyanov:
4761         + correct/simplify logic of werase(), wclrtoeol() and wclrbot().  See
4762           example firstlast.c
4763         + optimize waddch_literal() and waddch_nosync() by factoring out
4764           common subexpressions.
4765         + correct sense of NDEBUG ifdef for CHECK_POSITION macro.
4766         + corrections to render_char(), to make handling of colored blanks
4767           match SVr4 curses, as well as to correct a bug that xor'd space
4768           against the background character.
4769         + replaced hash function with a faster one (timed it)
4770         + rewrote the hashmap algorithm to be one-pass, this avoids multiple
4771           cost_effective() calls on the same lines.
4772         + modified cost_effective() so it is now slightly more precise.
4773         > patches by H.J.Lu for glibc integration:
4774         + add modules define_key, keyok, name_match, tries
4775         + add makefile rules for some of the unit tests in ncurses (mvcur,
4776           captoinfo, hardscroll, hashmap).
4777         + update Linux configure-script for wide-character definitions.
4778
4779 970809
4780         + modify _tracebits() to show the character size (e.g., CS8).
4781         + modify tparm() to emit '\200' where the generated string would have a
4782           null (reported by From:  Ian Dall <Ian.Dall@dsto.defence.gov.au> for
4783           terminal type ncr7900).
4784         + modify install process so that ldconfig is not invoked if the
4785           package is built with an install-prefix.
4786         + correct test program for chtype size (reported by Tim Mooney).
4787         + add configure option --disable-scroll-hints, using this to ifdef the
4788           logic that computes indices for _nc_scroll_optimize().
4789         + add module ncurses/softscroll.c, to perform single-stage computation
4790           of scroll indices used in _nc_scroll_optimize().  This is faster than
4791           the existing scrolling algorithm, but tends to make too-small hunks.
4792         + eliminate fixed buffer size in _nc_linedump().
4793         + minor fixes to lib_doupdate.c to add tradeoff between clr_eol (el)
4794           and clr_bol (el1), refine logic in ClrUpdate() and ClrBottom() (patch
4795           by Alexander V. Lukyanov).
4796         + add test/testaddch.c, from a pending patch by Alexander V. Lukyanov.
4797         + correct processing of "configure --enable-assertions" option (patch
4798           by Juergen Pfeifer).
4799
4800 970802
4801         + add '-s' (single-step) option too test/hashtest.c, correct an error
4802           in loop limit for '-f' (footer option), toggle scrollok() when
4803           writing footer to avoid wrap at lower-right corner.
4804         + correct behavior of clrtoeol() immediately after wrapping cursor,
4805           which was not clearing the line at the cursor position (reported by
4806           Liviu Daia <daia@stoilow.imar.ro>).
4807         + corrected mapping for ACS_LANTERN, which was 'I' rather than 'i'
4808           (reported by Klaus Weide <kweide@tezcat.com>).
4809         + many corrections to make progs/capconvert work, as well as make it
4810           reasonably portable and integrated with ncurses 4.1 (reported by Dave
4811           Furstenau <df@ravine.binary.net>).
4812
4813 970726
4814         + add flag SP->_fifohold, corresponding logic to modify the behavior of
4815           the line breakout logic so that if the application does not read
4816           input, refreshes will not be stopped, but only slowed.
4817         + generate slk_attr_off(), slk_attr_on(), slk_attr_set(), vid_attr(),
4818           ifdef'd for wide-character support, since ncurses' WA_xxx attribute
4819           masks are identical with the A_xxx masks.
4820         + modify MKlib_gen.sh to generate ifdef'd functions to support optional
4821           configuration of wide-characters.
4822         + modify tset to behave more like SVr4's tset, which does not modify
4823           the settings of intr, quit or erase unless they are given as command
4824           options (reported by Nelson H. F. Beebe <beebe@math.utah.edu>).
4825         + modify tset to look in /etc/ttys or /etc/ttytype if the configuration
4826           does not have getttynam().
4827         + extend baudrate table in tset.c to match baudrate() function.
4828         + add table entries for 230400 and 460800 bd to baudrate() function.
4829         + improve breakout logic by allowing it before the first line updated,
4830           which is what SVr4 curses does (patch by Alexander V. Lukyanov).
4831         + correct initialization of vcost in relative_move(), for cursor-down
4832           case (patch by Alexander V. Lukyanov).
4833         > nits gleaned from Debian distribution of 1.9.9g-3:
4834         + install symbolic link for intotocap.
4835         + reference libc directly when making shared libraries.
4836         + correct renaming of curs_scr_dmp.3x in man_db.renames.
4837         + guard tgetflag() and other termcap functions against null cur_term
4838           pointer.
4839
4840 970719
4841         + corrected initial state of software echo (error in 970405, reported
4842           by Alexander V. Lukyanov).
4843         + reviewed/added messages to configure script, so that all non-test
4844           options should be accompanied by a message.
4845         + add configure check for long filenames, using this to determine if
4846           it is safe to allow long aliases for terminal descriptions as does
4847           SVr4.
4848         + add configure options for widec (wide character), hashmap (both
4849           experimental).
4850         > patch by Alexander V. Lukyanov:
4851         + hashmap.c - improved by heuristic, so that scroll test works much
4852           better when csr is not available.
4853         + hardscroll.c - patched so that it continues to scroll other chunks
4854           after failure to scroll one.
4855         + lib_doupdate.c - _nc_mvcur_scrolln extended to handle more cases; csr
4856           is avoided as it is relative costly.  Fixed wrong coordinates in one
4857           case and wrong string in TRACE.
4858         > patch by Juergen Pfeifer:
4859         + modify C++ binding to compile on AIX 4.x with the IBM C-SET++
4860           compiler.
4861
4862 970712
4863         + remove alternate character set from kterm terminfo entry; it uses the
4864           shift-out control for a purpose incompatible with curses, i.e., font
4865           switching.
4866         + disentangle 'xterm' terminfo entry from some derived entries that
4867           should be based on xterm-r6 instead.
4868         + add cbt to xterm-xf86-xv32 terminfo entry; I added the emulation for
4869           XFree86 3.1.2F, but overlooked its use in terminfo then - T.Dickey.
4870         + correct logic in lib_mvcur.c that uses back_tab.
4871
4872 970706
4873         + correct change from 970628 to ClrUpdate() in lib_doupdate.c so that
4874           contents of curscr are saved in newscr before clearing the screen.
4875           This is needed to make repainting work with the present logic of
4876           TransformLine().
4877         + use napms() rather than sleep() in tset.c to avoid interrupting I/O.
4878
4879 970705
4880         + add limit checks to _nc_read_file_entry() to guard against overflow
4881           of buffer when reading incompatible terminfo format, e.g, from OSF/1.
4882         + correct some loop-variable errors in xmc support in lib_doupdate.c
4883         + modify ncurses 'b' test to add gaps, specified by user, to allow
4884           investigation of interaction with xmc (magic cookie) code.
4885         + correct typo in 970524 mods to xmas.c, had omitted empty parameter
4886           list from has_colors(), which gcc ignores, but SVr4 does not
4887           (reported by Larry Virden).
4888         + correct rmso capability in wy50-mc description.
4889         + add configure option "--enable-hard-tabs", renamed TABS_OK ifdef to
4890           USE_HARD_TABS.
4891         > patch by Juergen Pfeifer:
4892         + Add bindings for keyok() and define_key() to the Ada95 packages.
4893         + Improve man pages menu_post.3x and menu_format.3x
4894         + Fix the HTML pages in the Ada95/html directory to reflect the above
4895           changes.
4896
4897 970628
4898         + modify change from 970101 to ClrUpdate() in lib_doupdate.c so that
4899           pending changes to both curscr and newscr are flushed properly.
4900           This fixes a case where the first scrolling operation in nvi would
4901           cause the screen to be cleared unnecessarily and repainted before
4902           doing the indexing, i.e., by repeatedly pressing 'j' (reported by
4903           Juergen Pfeifer).
4904         + correct error in trans_string() which added embedded newlines in a
4905           terminfo description to the stored strings.
4906         + remove spurious newlines from sgr in wyse50 (and several other)
4907           terminfo descriptions.
4908         + add configure option for experimental xmc (magic cookie) code,
4909           "--enable-xmc-glitch".  When disabled (the default), attributes that
4910           would store a magic cookie are suppressed in vidputs().  The magic
4911           cookie code is far from workable at this stage; the configuration
4912           option is a stopgap.
4913         + move _nc_initscr() from lib_initscr.c to lib_newterm.c
4914         + correct path for invoking make_keys (a missing "./").
4915
4916 970621
4917         + correct sign-extension problem with "infocmp -e", which corrupted
4918           acsc values computed for linux fallback data.
4919         + correct dependency on ncurses/names.c (a missing "./").
4920         + modify configure script to use '&&' even for cd'ing to existing
4921           directories to work around broken shell interpreters.
4922         + correct a loop-limit in _nc_hash_map() (patch by Alexander V.
4923           Lukyanov).
4924
4925 970615
4926         + restore logic in _nc_scroll_optimize() which marks as touched the
4927           lines in curscr that are shifted.
4928         + add new utility 'make_keys' to compute keys.tries as a table rather
4929           than a series of function calls.
4930         + correct include-dependency for tic.h used by name_match
4931         + removed buffer-allocation for name and description from m_item_new.c,
4932           since this might result in incompatibilities with SVr4.  Also fixed
4933           the corresponding Ada95 binding module (patch by Juergen Pfeifer,
4934           from report by Avery Pennarun <apenwarr@foxnet.net>)
4935         + removed the mechanism to timestamp the generated Ada95 sources.  This
4936           resulted always in generating patches for the HTML doc, even when
4937           nothing really changed (patch by Juergen Pfeifer).
4938         + improve man page mitem_new.3x (patch by Juergen Pfeifer).
4939
4940 970614
4941         + remove ech capability from rxvt description because it does not work.
4942         + add missing case logic for infocmp -I option (reported by Lorenzo M.
4943           Catucci <lorenzo@argon.roma2.infn.it>)
4944         + correct old bug in pnoutrefresh() unmasked by fix in 970531; this
4945           caused glitches in the ncurses 'p' test since the area outside the
4946           pad was not compared when setting up indices for _nc_scroll_optimize.
4947         + rewrote tracebits() to workaround misdefinition of TOSTOP on Ultrix
4948           4.4, as well as to eliminate fixed-size buffer (reported by Chris
4949           Tanner <tannerc@aecl.ca>)
4950         + correct prototype for termattrs() as per XPG4 version 2.
4951         + add placeholder prototypes for color_set(), erasewchar(),
4952           term_attrs(), wcolor_set() as per XPG4 version 2.
4953         + correct attribution for progs/progs.priv.h and lib_twait.c
4954         + improve line-breakout logic by checking based on changed lines rather
4955           than total lines (patch by Alexander V. Lukyanov).
4956         + correct loop limits for table-lookup of enumerated value in form
4957           (patch by Juergen Pfeifer).
4958         + improve threshhold computation for determining when to call ClrToEOL
4959           (patch by Alexander V. Lukyanov).
4960
4961 970531
4962         + add configure option --disable-database to force the library to
4963           use only the fallback data.
4964         + add configure option --with-fallbacks, to specify list of fallback
4965           terminal descriptions.
4966         + add a symbolic link for ncurses.h during install; too many programs
4967           still assume there's an ncurses.h
4968         + add new terminfo.src entry for xterm-xf86-v33.
4969         + restore terminfo.src entry for emu to using setf/setb, since it is
4970           not, after all, generating ANSI sequences.  Corrected missing comma
4971           that caused setf/setb entries to merge.
4972         + modify mousemask() to use keyok() to enable/disable KEY_MOUSE, so
4973           that applications can disable ncurses' mouse and supply their own
4974           handler.
4975         + add extensions keyok() and define_key().  These are designed to allow
4976           the user's application better control over the use of function keys,
4977           e.g., disabling the ncurses KEY_MOUSE.  (The define_key idea was from
4978           a mailing-list thread started by kjahds@kjahds.com Nov'1995).
4979         + restore original behavior in ncurses 'g' test, i.e., explicitly
4980           set the keypad mode rather than use the default, since it confuses
4981           people.
4982         + rewrote the newdemo banner so it's readable (reported by Hugh
4983           Daniel).
4984         + tidy up exit from hashtest (reported by Hugh Daniel).
4985         + restore check for ^Q in ncurses 'g' test broken in 970510 (reported
4986           by Hugh Daniel)
4987         + correct tput program, checking return-value of setupterm (patch by
4988           Florian La Roche).
4989         + correct logic in pnoutrefresh() and pechochar() functions (reported
4990           by Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>).  The computation
4991           of 'wide' date to eric's #283 (1.9.9), and the pechochar bug to the
4992           original implementation (1.9.6).
4993         + correct typo in vt102-w terminfo.src entry (patch by Robert Wuest
4994           <rwuest@sire.vt.com>)
4995         + move calls of _nc_background() out of various loops, as its return
4996           value will be the same for the whole window being operated on (patch
4997           by J.T.Conklin).
4998         + add macros getcur[xy] getbeg[xy] getpar[xy], which are defined in
4999           SVr4 headers (patch by J.T.Conklin <jtc@NetBSD.ORG>)
5000         + modify glibc addon-configure scripts (patch by H.J.Lu).
5001         + correct a bug in hashmap.c: the size used for clearing the hashmap
5002           table was incorrect, causing stack corruption for large values of
5003           LINES, e.g., >MAXLINES/2 (patch by Alexander V. Lukyanov).
5004         + eric's terminfo 9.13.23 & 9.13.24 changes: replaced minitel-2 entry,
5005           added MGR, ansi-nt (note: the changes described for 9.13.24 have not
5006           been applied).
5007         > several changes by Juergen Pfeifer:
5008         + correct a missing error-return in form_driver.c when wrapping of a
5009           field is not possible.
5010         + correct logic in form_driver.c for configurations that do not have
5011           memccpy() (reported by Sidik Isani <isani@cfht.hawaii.edu>)
5012         + change several c++ binding functions to inline.
5013         + modify c++ menu binding to inherit from panels, for proper
5014           initialization.
5015         + correct freeing of menu items in c++ binding.
5016         + modify c++ binding to reflect removal of const from user data pointer
5017           in forms/menus libraries.
5018
5019 970524
5020         + add description of xterm-16color.
5021         + modify name of shared-library on *BSD to end with $(REL_VERSION)
5022           rather than $(ABI_VERSION) to match actual convention on FreeBSD
5023           (cf: 960713).
5024         + add OpenBSD to shared-library case, same as NetBSD and FreeBSD
5025           (reported by Hugh Daniel <hugh@rat.toad.com>).
5026         + corrected include-dependency in menu/Makefile so that "make install"
5027           works properly w/o first doing "make".
5028         + add fallback definition for isascii, used in infocmp.
5029         + modify xmas to use color, and to exit right away when a key is
5030           pressed.
5031         + modify gdc so that the scrolled digits function as described (there
5032           was no time delay between the stages, and the digits overwrote the
5033           bounding box without tidying up).
5034         + modify lib_color.c to use setaf/setab only for the ANSI color codes
5035           0 through 7.  Using 16 colors requires setf/setb.
5036         + modify ncurses 'c' test to work with 16 colors, as well as the normal
5037           8 colors.
5038         + remove const qualifier from user data pointer in forms and menus
5039           libraries (patch by Juergen Pfeifer).
5040         + rewrote 'waddchnstr()' to avoid using the _nc_waddch_nosync()
5041           function, thereby not interpreting tabs, etc., as per spec (patch by
5042           Alexander V. Lukyanov).
5043
5044 970517
5045         + suppress check for pre-existing ncurses header if the --prefix
5046           option is specified.
5047         + add configure options "--with-system-type" and
5048           "--with-system-release" to assist in checking the generated
5049           makefiles.
5050         + add configure option "--enable-rpath" to allow installers to specify
5051           that programs linked against shared libraries will have their library
5052           path embedded, allowing installs into nonstandard locations.
5053         + add flags to OSF1 shared-library options to specify version and
5054           symbol file (patch by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>)
5055         + add missing definition for ABI_VERSION to c++/Makefile.in (reported
5056           by Satoshi Adachi <adachi@wisdom.aa.ap.titech.ac.jp>).
5057         + modify link flags to accommodate HP-UX linker which embeds absolute
5058           pathnames in executables linked against shared libraries (reported by
5059           Jason Evans <jasone@mrc.uidaho.edu>, solved by Alan Shutko
5060           <ats@hubert.wustl.edu>).
5061         + drop unnecessary check for attribute-change in onscreen_mvcur() since
5062           mvcur() is the only caller within the library, and that check in turn
5063           is exercised only from lib_doupdate.c (patch by Alexander V.
5064           Lukyanov).
5065         + add 'blank' parameter to _nc_scroll_window() so _nc_mvcur_scrolln()
5066           can use the background of stdscr as a parameter to that function
5067           (patch by Alexander V. Lukyanov).
5068         + moved _nc_mvcur_scrolln() from lib_mvcur.c to lib_doupdate.c, to use
5069           the latter's internal functions, as well as to eliminate unnecessary
5070           cursor save/restore operations (patch by Alexander V. Lukyanov).
5071         + omit parameter of ClrUpdate(), since it is called only for newscr,
5072           further optimized/reduced by using ClearScreen() and TransformLine()
5073           to get rid of duplicate code (patch by Alexander V. Lukyanov).
5074         + modify scrolling algorithm in _nc_scroll_optimize() to reject hunks
5075           that are smaller than the distance to be moved (patch by Alexander V.
5076           Lukyanov).
5077         + correct a place where the panel library was not ifdef'd in ncurses.c
5078           (Juergen Pfeifer)
5079         + documentation fixes (Juergen Pfeifer)
5080
5081 970515  4.1 release for upload to prep.ai.mit.edu
5082         + re-tag changes since 970505 as 4.1 release.
5083
5084 970510
5085         + modify ncurses 'g' test to allow mouse input
5086         + modify default xterm description to include mouse.
5087         + modify configure script to add -Wwrite-strings if gcc warnings are
5088           enabled while configuring --enable-const (and fixed related
5089           warnings).
5090         + add toggle, status display for keypad mode to ncurses 'g' test to
5091           verify that keypad and scrollok are not inherited from parent window
5092           during a call to newwin.
5093         + correction to MKexpanded.sh to make it work when configure --srcdir
5094           is used (reported by H.J.Lu).
5095         + revise test for bool-type, ensuring that it checks if builtin.h is
5096           available before including it, adding test for sizeof(bool) equal
5097           to sizeof(short), and warning user if the size cannot be determined
5098           (reported by Alexander V. Lukyanov).
5099         + add files to support configuration of ncurses as an add-on library
5100           for GNU libc (patch by H.J.Lu <hjl@lucon.org>)
5101
5102 970506
5103         + correct buffer overrun in lib_traceatr.c
5104         + modify change to lib_vidattr.c to avoid redundant orig_pair.
5105         + turn on 'echo()' in hanoi.c, since it is initially off.
5106         + rename local 'errno' variable in etip.h to avoid conflict with global
5107           (H.J.Lu).
5108         + modify configure script to cache LD, AR, AR_OPTS (patch by H.J.Lu
5109           <hjl@lucon.org>)
5110
5111 970505  4.1 pre-release
5112         + regenerate the misc directory html dumps without the link list, which
5113           is not useful.
5114         + correct dependency in form directory makefile which caused
5115           unnecessary recompiles.
5116         + correct substitution for ABI_VERSION in test-makefile
5117         + modify install rules for shared-library targets to remove the target
5118           before installing, since some install programs do not properly handle
5119           overwrite of symbolic links.
5120         + change order of top-level targets so that 'include' immediate
5121           precedes the 'ncurses' directory, reducing the time between new
5122           headers and new libraries (requested by Larry Virden).
5123         + modify lib_vidattr.c so that colors are turned off only before
5124           modifying other attributes, turned on after others.  This makes the
5125           hanoi.c program display correctly on FreeBSD console.
5126         + modify debug code in panel library to print user-data addresses
5127           rather than the strings which they (may) point to.
5128         + add check to ensure that C++ binding and demo are not built with g++
5129           versions below 2.7, since the binding uses templates.
5130         + modify c++ binding and demo to build and run with SGI's c++ compiler.
5131           (It also compiles with the Sun SparcWorks compiler, but the demo does
5132           not link, due to a vtbl problem).
5133         + corrections to demo.cc, to fix out-of-scope variables (Juergen
5134           Pfeifer).
5135
5136 970503
5137         + correct memory leak in _nc_trace_buf().
5138         + add configure test for regexpr.h, for Unixware 1.x.
5139         + correct missing "./" prefixing names of generated files in ncurses
5140           directory.
5141         + use single-quotes in configure scripts assignments for MK_SHARED_LIB
5142           to workaround shell bug on FreeBSD 2.1.5
5143         + remove tabs from intermediate #define's for GCC_PRINTF, GCC_SCANF
5144           that caused incorrect result in ncurses_cfg.h
5145         + correct initialization in lib_trace.c, which omitted version info.
5146         + remove ech, el1 attributes from cons25w description; they appear to
5147           malfunction in FreeBSD 2.1.5
5148         + correct color attributes in terminfo.src and lib_color.c to match
5149           SVr4 behavior by interchanging codes 1,4, 3,6 in the setf/setb
5150           capabilities.
5151         + use curs_set() rather than checks via tigetstr() for test programs
5152           that hide the cursor: firework, rain, worm.
5153         + ensure that if the terminal lacks change_scroll_region, parm_index
5154           and parm_rindex are used only to scroll the whole screen (patch by
5155           Peter Wemm).
5156         + correct curs_set() logic, which did not return ERR if the requested
5157           attributes did not exist, nor did it assume an unknown initial state
5158           for the cursor (patch by Alexander V. Lukyanov).
5159         + combine IDcTransformLine and NoIDcTransformLine to new TransformLine
5160           function in lib_doupdate.c (patch by Alexander V. Lukyanov).
5161         + correct hashmap.c, which did not update index information (patch by
5162           Alexander V. Lukyanov).
5163         + patch by Juergen Pfeifer for C++ binding and demo (see c++/NEWS)
5164         + correct index in lib_instr.c (Juergen Pfeifer).
5165         + correct typo in 970426 patch from Tom's cleanup of lib_overlay.c
5166           (Juergen Pfeifer).
5167
5168 970426
5169         + corrected cost computation in PutRange(), which was using
5170           milliseconds compared to characters by adding two new members to the
5171           SCREEN struct, _hpa_ch_cost and _cup_ch_cost.
5172         + drop ncurses/lib_unctrl.c, add ncurses/MKunctrl.awk to generate a
5173           const array of strings (suggested by Alexander V. Lukyanov, though
5174           with a perl script 970118).
5175         + rewrote ncurses 'b' test to better exercise magic-cookie (xmc), as
5176           well as noting the attributes that are not supported by a terminal.
5177         + trace the computation of cost values in lib_mvcur.c
5178         + modify _nc_visbuf() to use octal rather than hex, corrected sign
5179           extension bug in that function that caused buffer overflow.
5180         + modify trace in lib_acs.c to use _nc_visbuf().
5181         + suppress trace within _traceattr2().
5182         + correct logic of _tracechtype2(), which did not account for repeats
5183           or redefinition within an acsc string.
5184         + modify debug-library version baudrate() to use environment variable
5185           $BAUDRATE to override speed computation.  This is needed for
5186           regression testing.
5187         + correct problems shown by "weblint -pedantic".
5188         + update mailing-list information (now ncurses@bsdi.com).
5189
5190 970419
5191         + Improve form_field_validation.3x manpage to better describe the
5192           precision parameter for TYPE_NUMERIC and TYPE_INTEGER.  Provide more
5193           precise information how the range checking can be avoided.  (patch by
5194           Juergen Pfeifer, reported by Bryan Henderson)
5195         + change type of min/max value of form types TYPE_INTEGER to long to
5196           match SVr4 documentation.
5197         + set the form window to stdscr in set_form_win() so that form_win()
5198           won't return null (patch by Juergen Pfeifer, reported by Bryan
5199           Henderson <bryanh@giraffe.netgate.net>).
5200
5201 970412
5202         + corrected ifdef'ing of inline (from 970321) for TRACE vs C++.
5203         + corrected toggle_attr_off() macro (patch by Andries.Brouwer).
5204         + modify treatment of empty token in $MANPATH to /usr/man (reported by
5205           <Andries.Brouwer@cwi.nl>)
5206         + modify traces that record functions-called so that chtype and attr_t
5207           values are expressed symbolically, to simplify reuse of generated
5208           test-scripts on SVr4 regression testing.
5209         + add new trace functions _traceattr2() and _tracechtype2()
5210
5211 970405
5212         + add configure option --enable-const, to support the use of 'const'
5213           where XSI should have, but did not, specify.  This defines
5214           NCURSES_CONST, which is an empty token otherwise, for strict
5215           compatibility.
5216         + make processing of configure options more verbose by echoing the
5217           --enable/--with values.
5218         + add configure option --enable-big-core
5219         + set initial state of software echo off as per XSI.
5220         + check for C++ builtin.h header
5221         + correct computation of absolute-path for $INSTALL that dropped "-c"
5222           parameter from the expression.
5223         + rename config.h to ncurses_cfg.h to avoid naming-conflict when
5224           ncurses is integrated into larger systems (from diffs by H.J.Lu for
5225           libc).
5226         + correct inequality in lib_doupdate.c that caused a single-char to not
5227           be updated when the char on the right-margin was not blank, idcok()
5228           was true (patch by Alexander V.  Lukyanov 970124, also reported by
5229           Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu> 970329).
5230         + modify 'clean' rule in include/Makefile so that files created by
5231           configure script are removed in 'distclean' rule instead.
5232
5233 970328
5234         + correct array limit in tparam_internal(), add case to interpret "%x"
5235           (patch by Andreas Schwab)
5236         + rewrote number-parsing in ncurses.c 'd' test; it did not reset the
5237           value properly when non-numeric characters were given (reported by
5238           Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
5239
5240 970321
5241         + move definition of __INTERNAL_CAPS_VISIBLE before include for
5242           progs.priv.h (patch by David MacKenzie).
5243         + add configuration summary, reordered check for default include
5244           directory to better accommodate a case where installer is configuring
5245           a second copy of ncurses (reported by Klaus Weide
5246           <kweide@tezcat.com>)
5247         + moved the #define for 'inline' as an empty token from the
5248           $(CFLAGS_DEBUG) symbol into config.h, to avoid redefinition warning
5249           (reported by Ward Horner).
5250         + modify test for bool builtin type to use 'unsigned' rather than
5251           'unknown' when cross-compiling (reported by Ward Horner).
5252
5253 970315
5254         + add header dependencies so that "make install.libs" will succeed
5255           even if "make all" is not done first.
5256         + moved some macros from lib_doupdate.c to curses.priv.h to use in
5257           expanded functions with ATAC.
5258         + correct implementation of lib_instr.c; both XSI and SVr4 agree that
5259           the winnstr functions can return more characters than will fit on one
5260           line.
5261
5262 970308
5263         + modify script that generates lib_gen.c to support traces of called &
5264           return.
5265         + add new configure option "--disable-macros", for testing calls within
5266           lib_gen.c
5267         + corrected logic that screens level-checking of called/return traces.
5268
5269 970301
5270         + use new configure macro NC_SUBST to replace AC_PATH_PROG, better
5271           addressing request by Ward Horner.
5272         + check for cross-compiling before trying to invoke the autoconf
5273           AC_FUNC_SETVBUF_REVERSED macro (reported by Ward Horner)
5274         + correct/simplify loop in _nc_visbuf(), 970201 changes omitted
5275           a pointer-increment.
5276         + eliminate obsolete symbol SHARED_ABI from dist.mk (noted by
5277           Florian La Roche).
5278
5279 970215
5280         + add configure option --enable-expanded, together with code that
5281           implements an expanded form of certain complex macros, for testing
5282           with ATAC.
5283         + disable CHECK_POSITION unless --with-assertions is configured
5284           (Alexander Lukyanov pointed out that this is redundant).
5285         + use keyname() to show traced chtype values where applicable rather
5286           than _tracechar(), which truncates the value to 8-bits.
5287         + minor fixes to TRACE_ICALLS, added T_CREATE, TRACE_CCALLS macros.
5288         + modify makefiles in progs and test directories to avoid using C
5289           preprocessor options on link commands (reported by Ward Horner)
5290         + correct ifdef/include-order for nc_alloc.h vs lib_freeall.c (reported
5291           by Ward Horner)
5292         + modify ifdef's to use configure-defined symbols consistently
5293           (reported by Ward Horner)
5294         + add/use new makefile symbols AR, AR_OPTS and LD to assist in non-UNIX
5295           ports (reported by Ward Horner <whorner@tsi-telsys.com>)
5296         + rename struct try to struct tries, to avoid name conflict with C++
5297           (reported by Gary Johnson).
5298         + modify worm.c to hide cursor while running.
5299         + add -Wcast-qual to gcc warnings, fix accordingly.
5300         + use PutChar rather than PutAttrChar in ClrToEOL to properly handle
5301           wrapping (Alexander Lukyanov).
5302         + correct spurious echoing of input in hanoi.c from eric's #291 & #292
5303           patches (reported by Vernon C. Hoxie <vern@zebra.alphacdc.com>).
5304         + extend IRIX configuration to IRIX64
5305         + supply missing install.libs rule needed after restructuring
5306           test/Makefile.in
5307
5308 970208
5309         + modify "make mostlyclean" to leave automatically-generated source
5310           in the ncurses directory, for use in cross-compiles.
5311         + autogenerated object-dependencies for test directory
5312         + add configure option --with-rcs-ids
5313         + modify configuration scripts to generate major/minor/patch versions
5314           (suggested by Alexander Lukyanov).
5315         + supply missing va_end's in lib_scanw.c
5316         + use stream I/O for trace-output, to eliminate fixed-size buffer
5317         + add TRACE_ICALLS definition/support to lib_trace.c
5318         + modify Ada95 binding to work with GNAT 3.09 (Juergen Pfeifer).
5319
5320 970201
5321         + add/modify traces for called/return values to simplify extraction
5322           for test scripts.
5323         + changed _nc_visbuf to quote its result, and to dynamically allocate
5324           the returned buffer.
5325         + invoke ldconfig after installing shared library
5326         + modify install so that overwrite applies to shared library -lcurses
5327           in preference to static library (reported by Zeyd 960928).
5328         + correct missing ';' in 961221 mod to overwrite option use of $(LN_S).
5329         + fixes to allow "make install" to work without first doing a "make
5330           all" (suggested by Larry Virden).
5331
5332 970125
5333         + correct order of #ifdef for TABS_OK.
5334         + instrumented toe.c to test memory-leaks.
5335         + correct memory-deallocation in toe.c (patch by Jesse Thilo).
5336         + include <sys/types.h> in configuration test for regex.h (patch by
5337           Andreas Schwab)
5338         + make infocmp recognize -I option, for SVr4 compatibility (reported by
5339           Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
5340
5341 970118
5342         + add extension 'use_default_colors()', modified test applications that
5343           use default background (firework, gdc, hanoi, knight, worm) to
5344           demonstrate.
5345         + correct some limit checks in lib_doupdate.c exposed while running
5346           worm.
5347         + use typeCalloc macro for readability.
5348         + add/use definition for CONST to accommodate testing with Solaris
5349           (SVr4) curses, which doesn't use 'const' in its prototypes.
5350         + modify ifdef's in test/hashtest.c and test/view.c to compile with
5351           Solaris curses.
5352         + modify _tracedump() to pad pad colors & attrs lines to match change
5353           in 970101 showing first/last changes.
5354         + corrected location of terminating null on dynamically allocated forms
5355           fields (patch by Per Foreby).
5356
5357 970111
5358         + added headers to make view.c compile on SCO with the resizeterm()
5359           code (i.e., struct winsize) - though this compiles, I don't have a
5360           suitable test configuration since SIGWINCH doesn't pass my network to
5361           that machine - T.Dickey.
5362         + update test/configure.in to supply some default substitutions.
5363         + modify configure script to add -lncurses after -lgpm to fix problem
5364           linking against static libraries.
5365         + add a missing noraw() to test/ncurses.c (places noted by Jeremy
5366           Buhler)
5367         + add a missing wclear() to test/testcurs.c (patch by Jeremy Buhler
5368           <jbuhler@cs.washington.edu>)
5369         + modify headers to accommodate compilers that don't allow duplicate
5370           "#define" lines for NCURSES_VERSION (reported by Larry W. Virden
5371           <lvirden@cas.org>)
5372         + fix formatting glitch in curs_getch.3x (patch by Jesse Thilo).
5373         + modify lib_doupdate to make el, el1 and ed optimization use the
5374           can_clear_with macro, and change EmitRange to allow leaving cursor at
5375           the middle of interval, rather than always at the end (patch by
5376           Alexander Lukyanov originally 960929, resync 970106).
5377
5378 970104
5379         + workaround defect in autoconf 2.12 (which terminates configuration
5380           if no C++ compiler is found) by adding an option --without-cxx.
5381         + modify several man-pages to use tbl, where .nf/.fi was used (reported
5382           by Jesse Thilo).
5383         + correct font-codes in some man-pages (patch by Jesse Thilo
5384           <Jesse.Thilo@pobox.com>)
5385         + use configure script's knowledge of existence of g++ library for the
5386           c++ Makefile (reported by Paul Jackson).
5387         + correct misleading description of --datadir configuration option
5388           (reported by Paul Jackson <pj@sam.engr.sgi.com>)
5389
5390 970101
5391         + several corrections to _nc_mvcur_scrolln(), prompted by a bug report
5392           from Peter Wemm:
5393         > the logic for non_dest_scroll_region was interchanged between the
5394           forward & reverse scrolling cases.
5395         > multiple returns from the function allowed certain conditions to do
5396           part of an operation before discovering that it couldn't be
5397           completed, returning an error without restoring the cursor.
5398         > some returns were ERR, where the function had completed the
5399           operation, because the insert/delete line logic was improperly
5400           tested (this was probably the case Peter saw).
5401         > contrary to comments, some scrolling cases were tested after the
5402           insert/delete line method.
5403         + modify _tracedump() to show first/last changes.
5404         + modify param of ClrUpdate() in lib_doupdate.c to 'newscr', fixes
5405           refresh problem (reported by Peter Wemm) that caused nvi to not show
5406           result of ":r !ls" until a ^L was typed.
5407
5408 961229  (internal alpha)
5409         + correct some of the writable-strings warnings (reported by Gary
5410           Johnson <gjohnson@season.com>).  Note that most of the remaining ones
5411           are part of the XSI specification, and can't be "fixed".
5412         + improve include-dependencies in form, menu, panel directories.
5413         + correct logic of delay_output(), which would return early if
5414           there is data on stdin.
5415         + modify interface & logic of _nc_timed_wait() to support 2 file
5416           descriptors, needed for GPM.
5417         + integrate patch by Andrew Kuchling <amk@magnet.com> for GPM (mouse)
5418           support, correcting logic in wgetch() and _nc_mouse_parse() which
5419           prevented patch from working properly.
5420         + improve performance of panel algorithm (Juergen Pfeifer 961203).
5421         + strip RCS id's from generated .html files in Ada95 subtree.
5422         + resync with generated .html files (Juergen Pfeifer 961223).
5423         + terminfo.src 10.1.0 from Eric.
5424
5425 961224  4.0 release
5426         + release as 4.0 to accommodate Linux ld.so.1.8.5
5427         + correct syntax/spelling, regenerated .doc files from .html using
5428           lynx 2.5
5429         + refined forms/menus makefiles (Juergen Pfeifer 961223).
5430
5431 961221  - snapshot
5432         + remove logic in read_entry.c that attempts to refine errno by using
5433           'access()' for the directory (from patch by Florian La Roche).
5434         + correct configure test/substitution that inhibits generating
5435           include-path to /usr/include if gcc is used (reported by Florian La
5436           Roche).
5437         + modify setupterm() to allocate new TERMINAL for each call, just as
5438           solaris' curses does (Alexander Lukyanov 960829).
5439         + corrected memory leaks in read_entry.c
5440         + add configure options --with-dbmalloc, --with-dmalloc, and
5441           --disable-leaks, tested by instrumenting infocmp, ncurses programs.
5442         + move #include's for stdlib.h and string.h to *.priv.h to accommodate
5443           use of dbmalloc.
5444         + modify use of $(LN_S) to follow recommendation in autoconf 2.12,
5445           i.e., set current directory before linking.
5446         + split-out panel.priv.h, improve dependencies for forms, menus
5447           (Juergen Pfeifer 961204).
5448         + modify _nc_freewin() to reset globals curscr/newscr/stdscr when
5449           freeing the corresponding WINDOW (Purify).
5450         + modify delwin() to return ERR if the window to be deleted has
5451           subwindows, needed as a side-effect of resizeterm() (Purify).  Tested
5452           and found that SVr4 curses behaves this way.
5453         + implement logic for _nc_freeall(), bringing stub up to date.
5454
5455 961215
5456         + modify wbkgd() so that it doesn't set nulls in the rendered text,
5457           even if its argument doesn't specify a character (fixes test case by
5458           Juergen Pfeifer for bug-report).
5459         + set window-attributes in wbkgd(), to simplify comparison against
5460           Solaris curses, which does this.
5461
5462 961214  - snapshot
5463         + replace most constants in ncurses 'o' test by expressions, making it
5464           work with wider range of screen sizes.
5465         + add options to ncurses.c to specify 'e' test softkey format, and the
5466           number of header/footer lines to rip-off.
5467         + add ^R (repaint after resize), ^L (refresh) commands to ncurses 'p'
5468           test.
5469         + add shell-out (!) command to ncurses 'p' test to allow test of
5470           resize between endwin/refresh.
5471         + correct line-wrap case in mvcur() by emitting carriage return,
5472           overlooked in 960928, but needed due to SVr4 compatibility changes to
5473           terminal modes in 960907.
5474         + correct logic in wresize that causes new lines to be allocated,
5475           broken for the special case of increasing rows only in 960907's fix
5476           for subwindows.
5477         + modify configure script to generate $(LDFLAGS) with -L and -l options
5478           in preference to explicit library filenames.  (NOTE: this may
5479           require further amending, since I vaguely recall a dynamic loader
5480           that did not work properly without the full names, but it should be
5481           handled as an exception to the rule, since some linkers do bulk
5482           inclusion of libraries when given the full name - T.Dickey).
5483         + modify configure script to allow user-supplied $CFLAGS to set the
5484           debug-option in all libraries (requested by lots of people).
5485         + use return consistently from main(), rather than exit (reported by
5486           Florian La Roche).
5487         + add --enable-getcap-cache option to configure, normally disabled
5488           (requested by Florian La Roche).
5489         + make configure test for gettimeofday() and possibly -lbsd more
5490           efficient (requested by Florian La Roche florian@knorke.saar.de)
5491         + minor adjustments to Ada95 binding (patches by Juergen Pfeifer)
5492         + correct attributes after emitting orig_pair in lib_vidattr.c (patch
5493           by lav@yars.free.net).
5494
5495 961208
5496         + corrected README wrt Ada95 (Juergen Pfeifer)
5497
5498 961207  - snapshot
5499         + integrate resizeterm() into doupdate(), so that if screen size
5500           changes between endwin/refresh, ncurses will resize windows to fit
5501           (this needs additional testing with pads and softkeys).
5502         + add, for memory-leak testing, _nc_freeall() entrypoint to free all
5503           data used in ncurses library.
5504         + initialize _nc_idcok, _nc_idlok statically to resolve discrepancy
5505           between initscr() and newwin() initialization (reported by
5506           lav@yars.free.net).
5507         + test built VERSION=4.0, SHARED_ABI=4 with Linux ld.so.1.8.5
5508           (set beta versions to those values -- NOTE that subsequent pre-4.0
5509           beta may not be interchangeable).
5510         + modify configure script to work with autoconf 2.12
5511
5512 961130  1.9.9g release
5513         + add copyright notices to configuration scripts (written by Thomas
5514           Dickey).
5515
5516 961127
5517         > patch by Juergen Pfeifer (mostly for panel):
5518         + cosmetic improvement for a few routines in the ncurses core library
5519           to avoid warning messages.
5520         + the panel overlap detection was broken
5521         + the panel_window() function was not fool-proof.
5522         + Some inlining...
5523         + Cosmetic changes (also to avoid warning messages when compiling with
5524           -DTRACE).
5525
5526 961126
5527         > patch by Juergen Pfeifer:
5528         + eliminates warning messages for the compile of libform.
5529         + inserts Per Foreby's new field type TYPE_IPV4 into libform.
5530         + Updates man page and the Ada95 binding to reflect this.
5531         + Improves inlining in libmenu and libform.
5532
5533 961120
5534         + improve the use of the "const" qualifier in the
5535           panel library (Juergen Pfeifer)
5536         + change set_panel_userptr() and panel_userptr() to use void*
5537           (Juergen Pfeifer)
5538
5539 961119
5540         + change ABI to 3.4
5541         + package with 961119 version of Ada95 binding (fixes for gnat-3.07).
5542           (Juergen Pfeifer)
5543         + correct initialization of the stdscr pseudo panel in panel library
5544           (Juergen Pfeifer)
5545         + use MODULE_ID (rcs keywords) in forms and menus libraries (Juergen
5546           Pfeifer).
5547         > patch #324 by Eric.
5548         + typo in curs_termcap man page (reported by Hendrik Reichel
5549           <106065.2344@compuserve.com>)
5550         + change default xterm entry to xterm-r6.
5551         + add entry for color_xterm
5552
5553 961116  - snapshot
5554         + lint found several functions that had only #define implementations
5555           (e.g., attr_off), modified curses.h.in to generate them as per XSI
5556           Curses requirement that every macro be available as a function.
5557         + add check in infocmp.c to guard against string compare of
5558           CANCELLED_STRING values.
5559         + modify firework.c, rain.c to hide cursor while running.
5560         + correct missing va_end in lib_tparm.c
5561         + modify hanoi.c to work on non-color terminals, and to use timing
5562           delays when in autoplay mode.
5563         + correct 'echochar()' to refresh immediately (reported by Adrian
5564           Garside 94ajg2@eng.cam.ac.uk)
5565         > patch #322 by eric:
5566         + reorganize terminfo.src entries for xterm.
5567
5568 961109  - snapshot
5569         + corrected error in line-breakout logic (lib_doupdate.c)
5570         + modified newdemo to use wgetch(win) rather than getch() to eliminate
5571           a spurious clear-screen.
5572         + corrected ifdef's for 'poll()' configuration.
5573         + added modules to ncurses, form, menu for Ada95 binding (Juergen
5574           Pfeifer).
5575         + modify set_field_buffer() to allow assignment of string longer than
5576           the initial buffer length, and to return the complete string rather
5577           than only the initial size (Juergen Pfeifer and Per Foreby
5578           <perf@efd.lth.se>).
5579
5580 961102  - snapshot
5581         + configure for 'poll()' in preference to 'select()', since older
5582           systems are more likely to have a broken 'select()'.
5583         + modified render_char() to avoid OR'ing colors.
5584         + minor fixes to testcurs.c, newdemo.c test programs: ifdef'd out the
5585           resize test, use wbkgd and corrected box() parameters.
5586         + make flushinp() test work in ncurses.c by using napms() instead of
5587           sleep().
5588         + undo Eric's changes to xterm-x11r6 (it no longer matched the X11R6.1
5589           distribution, as stated)
5590         + terminfo 9.13.18 (resync by Eric)
5591         + check for getenv("HOME") returning null (Eric).
5592         + change buffer used to decode xterm-mouse commands to unsigned to
5593           handle displays wider than 128 chars (Juergen Pfeifer).
5594         + correct typo curs_outopts.3x (Juergen Pfeifer).
5595         + correct limit-checking in wenclose() (Juergen Pfeifer).
5596         + correction to Peter Wemm's newwin change (Thomas Fehr
5597           <fehr@suse.de>).
5598         + corrections to logic that combines colors and attributes; they must
5599           not be OR'd (Juergen Pfeifer, extending from report/patch by Rick
5600           Marshall).
5601
5602 961026  - snapshot
5603         + reset flags in 'getwin()' that might cause refresh to attempt to
5604           manipulate the non-existent parent of a window that is read from a
5605           file (lib_screen.c).
5606         + restructure _nc_timed_wait() to log more information, and to try to
5607           recover from badly-behaved 'select()' calls (still testing this).
5608         + move define for GOOD_SELECT into configure script.
5609         + corrected extra '\' character inserted before ',' in comp_scan.c
5610         + corrected expansion of %-format characters in dump_entry.c; some were
5611           rendered as octal constants.
5612         + modify dump_entry.c to make terminfo output more readable and like
5613           SVr4, by using "\s" for spaces (leading/trailing only), "\," for
5614           comma, "\^" and "\:" as well.
5615         + corrected some memory leaks in ncurses.c, and a minor logic error
5616           in the top-level command-parser.
5617         + correction for label format 4 (PC style with info line), a
5618           slk_clear(), slk_restore() sequence didn't redraw the info line
5619           (Juergen Pfeifer).
5620         + modified the slk window (if simulated) to inherit the background and
5621           default character attributes from stdscr (Juergen Pfeifer).
5622         + corrected limit-check in set_top_row (Juergen Pfeifer).
5623
5624 961019  - snapshot
5625         + correct loop-limit in wnoutrefresh(), bug exposed during pipe-testing
5626           had '.lastchar' entry one beyond '._maxx'.
5627         + modify ncurses test-program to work with data piped to it.
5628         + corrected pathname computation in run_tic.sh, removing extra "../"
5629           (reported by Tim Mooney).
5630         + modified configure script to use previous install's location for
5631           curses.h
5632         + added NetBSD and FreeBSD to platforms that use --prefix=/usr as
5633           a default.
5634
5635 961013
5636         + revised xterm terminfo descriptions to reflect the several versions
5637           that are available.
5638         + corrected a pointer reference in dump_entry.c that didn't test if
5639           the pointer was -1.
5640
5641 961005  - snapshot
5642         + correct _nc_mvcur_scrolln for terminals w/o scrolling region.
5643         + add -x option to hashtest to control whether it allows writes to the
5644           lower-right corner.
5645         + ifdef'd (NCURSES_TEST) the logic for _nc_optimize_enable to make it
5646           simpler to construct tests (for double-check of _nc_hash_map tests).
5647         + correct ifdef's for c++ in curses.h
5648         + change default xterm type to xterm-x11r6.
5649         + correct quoting in configure that made man-pages installed with
5650           $datadir instead of actual terminfo path.
5651         + correct whitespace in include/Caps, which caused kf11, clr_eol and
5652           clr_end to be omitted from terminfo.5
5653         + fix memory leaks in delscreen() (adapted from Alexander Lukyanov).
5654         + improve appearance of marker in multi-selection menu (Juergen
5655           Pfeifer)
5656         + fix behaviour for forms with all fields inactive (Juergen
5657           Pfeifer)
5658         + document 'field_index()' (Juergen Pfeifer)
5659         > patch #321 by eric:
5660         + add some more XENIX keycap translations to include/Caps.
5661         + modify newwin to set initial state of each line to 'touched'
5662           (from patch by Peter Wemm <peter@spinner.dialix.com>)
5663         + in SET_TTY, replace TCSANOW with TCSADRAIN (Alexander Lukyanov).
5664
5665 960928  - snapshot
5666         + ifdef'd out _nc_hash_map (still slower)
5667         + add graphic characters to vt52 description.
5668         + use PutAttrChar in ClrToEOL to ensure proper background, position.
5669         + simplify/correct logic in 'mvcur()' that does wrapping; it was
5670           updating the position w/o actually moving the cursor, which broke
5671           relative moves.
5672         + ensure that 'doupdate()' sets the .oldindex values back to a sane
5673           state; this was causing a spurious refresh in ncurses 'r'.
5674         + add logic to configure (from vile) to guard against builders who
5675           don't remove config.cache & config.status when doing new builds.
5676         + corrected logic for 'repeat_char' in EmitRange (from #317), which
5677           did not follow the 2-parameter scheme specified in XSI.
5678         + corrected logic of wrefresh, wnoutrefresh broken in #319, making
5679           clearok work properly (from report by Michael Elkins).
5680         + corrected problem with endwin introduced by #314 (removing the
5681           scrolling-region reset) that broke ncurses.c tests.
5682         + corrected order of args in AC_CHECK_LIB (from report by Ami Fischman
5683           <fischman@math.ucla.edu>).
5684         + corrected formatting of terminfo.5 tables (Juergen Ehling)
5685         > patch 320 by eric:
5686         + change ABI to 3.3
5687         + emit a carriage-return in 'endwin()' to workaround a kernel bug in
5688           BSDI.  (requested by Mike Karels <karels@redrock.bsdi.com>)
5689         + reverse the default o configure --enable-termcap (consensus).
5690         > patch 319 by eric:
5691         + modified logic for clearok and related functions (from report by
5692           Michael Elkins) - untested
5693         > patch 318 by eric:
5694         + correction to #317.
5695         > patch 317 by eric:
5696         + re-add _nc_hash_map
5697         + modify EmitRange to maintain position as per original design.
5698         + add hashtest.c, program to time the hashmap optimization.
5699         > patch 316 by eric:
5700         + add logic to deal with magic-cookie (how was this tested?)
5701           (lib_doupdate.c).
5702         + add ncurses.c driver for magic-cookie, some fixes to ncurses.c
5703         > patch 315 by eric:
5704         + merged A. Lukyanov's patch to use ech and rep - untested
5705           (lib_doupdate.c).
5706         + modified handling of interrupted system calls - untested
5707           (lib_getch.c, lib_twait.c).
5708         + new function _nc_mvcur_resume()
5709         + fix return value for 'overlay()', 'overwrite()'
5710
5711 960914  - snapshot
5712         + implement subwindow-logic in wresize, minor fixes to ncurses 'g'
5713           test.
5714         + corrected bracketing of fallback.c (reported/suggested fix by Juergen
5715           Ehling <eh@eclipse.aball.de>).
5716         + update xterm-color to reflect XFree86 3.1.3G release.
5717         + correct broken dtterm description from #314 patch (e.g., spurious
5718           newline.  The 'pairs' change might work, but no one's tested it
5719           either ;-)
5720         + clarify the documentation for the builtin form fieldtypes (Juergen
5721           Pfeifer)
5722         > patch 314 by eric:
5723         + Enhancement suggested by A. Lukyanov -- reset scroll region on
5724           startup rather than at wrapup time.
5725         + Fix suggested by A. Lukyanov, make storage of palette tables
5726           and their size counts per-screen for multi-terminal applications.
5727         + Improved error reporting for infotocap translation errors.
5728         + Update terminfo.src to 9.13.14.
5729
5730 960907  - snapshot
5731         + rewrote wgetstr to make it erase control chars and also fix bogus use
5732           of _nc_outstr which caused the display to not wrap properly (display
5733           problem reported by John M. Flinchbaugh <glynis@netrax.net>)
5734         + modify ncurses 'f' test to accommodate terminal responses to C1 codes
5735           (and split up this screen to accommodate non-ANSI terminals).
5736         + test enter_insert_mode and exit_insert_mode in has_ic().
5737         + removed bogus logic in mvcur that assumes nl/nonl set output modes
5738           (XSI says they are input modes; SVr4 implements this).
5739         + added macros SET_TTY, GET_TTY to term.h
5740         + correct getstr() logic that altered terminal modes w/o restoring.
5741         + disable ICRNL, etc., during initialization to match SVr4, removing
5742           the corresponding logic from raw, cbreak, etc.
5743         + disable ONLCR during initialization, to match SVr4 (this is needed
5744           for cursor optimization when the cursor-down is a newline).
5745         + replaced Eric's imitation of wresize with my original (his didn't
5746           work).
5747
5748 960831  - snapshot
5749         + memory leaks (Alexander V. Lukyanov).
5750         + modified pnoutrefresh() to be more tolerant of too-large screen
5751           size (reported by Michael Elkins).
5752         + correct handling of terminfo files with no strings (Philippe De
5753           Muyter)
5754         + correct "tic -s" to take into account -I, -C options.
5755         + modify ncurses 'f' test to not print codes 80 through 9F, since they
5756           are considered control codes by ANSI terminals.
5757
5758 960824  - snapshot
5759         + correct speed variable-type in 'tgetent()' (reported by Peter Wemm)
5760         + make "--enable-getcap" configuration-option work (reported by
5761           Peter Wemm <peter@spinner.DIALix.COM>)
5762
5763 960820
5764         + correct err in 960817 that changed return-value of tigetflag()
5765           (reported by Alexander V. Lukyanov).
5766         + modify infocmp to use library default search-path for terminfo
5767           directory (Alexander V. Lukyanov).
5768
5769 960817  - snapshot
5770         + corrected an err in mvcur that broke resizing-behavior.
5771         + correct fall-thru behavior of _nc_read_entry(), which was not finding
5772           descriptions that existed in directories past the first one searched
5773           (reported by Alexander V. Lukyanov)
5774         + corrected typo in dtterm description.
5775         > patch 313 by eric:
5776         + add dtterm description
5777         + clarify ncurses 'i' test (drop vscanf subtest)
5778
5779 960810  - snapshot
5780         + correct nl()/nonl() to work as per SVr4 & XSI.
5781         + minor fixes to ncurses.c (use 'noraw()', mvscanw return-code)
5782         + refine configure-test for -g option (Tim Mooney).
5783         + correct interaction between O_BLANK and NEW_LINE request in form
5784           library (Juergen Pfeifer)
5785
5786 960804
5787         + revised fix to tparm; previous fix reversed parameter order.
5788         > patch 312 by eric:
5789           correct terminfo.src corrupted by #310
5790         > patch 311 by eric:
5791         + fix idlok() and idcok() and the default of the idlok switch.
5792
5793 960803  - snapshot
5794         + corrected tparm to handle capability strings without explicit pop
5795           (reported by William P Setzer)
5796         + add fallback def for GCC_NORETURN, GCC_UNUSED for termcap users
5797           (reported by Tim Mooney).
5798         > patch 310 by eric:
5799         + documentation and prototyping errors for has_color, immedok and idcok
5800           (reported by William P Setzer <wsetzer@pams.ncsu.edu>)
5801         + updated qnx terminfo entry (by Michael Hunter)
5802
5803 960730
5804         + eliminate quoted includes in ncurses subdirectory, ensure config.h
5805           is included first.
5806         + newterm initializes terminal settings the same as initscr (reported
5807           by Tim Mooney).
5808
5809 960727  - snapshot
5810         + call cbreak() in initscr(), as per XSI & SVr4.
5811         + turn off hardware echo in initscr() as per XSI & SVr4
5812         > patch 309 by eric:
5813         + terminfo changes (9.3.10), from BRL
5814         + add more checks to terminfo parser.
5815         + add more symbols to infocmp.
5816
5817 960720  - snapshot
5818         + save previous-attribute in lib_vidattr.c if SP is null (reported by
5819           Ju"rgen Fluk <louis@dachau.marco.de>)
5820         + corrected calls on _nc_render so that background character is set
5821           as per XSI.
5822         + corrected wbkgdset macro (XSI allows background character to be
5823           null), and tests that use it.
5824         + more corrections to terminfo (xterm & rxvt)
5825         + undid change to mcprint prototype (cannot use size_t in curses.h
5826           because not all systems declare it in the headers that we can safely
5827           include therein).
5828         + move the ifdefs for errno into curses.priv.h
5829         > patch 308 by eric:
5830         + terminfo changes (9.3.8)
5831         + modified logic of error-reporting in terminfo parser
5832
5833 960713  - snapshot
5834         + always check for <sys/bsdtypes.h> since ISC needs it to declare
5835           fd_set (Juergen Pfeifer)
5836         + install shared-libraries on NetBSD/FreeBSD with ABI-version (reported
5837           by several people:  Juergen Pfeifer, Mike Long)
5838         + add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer)
5839         + corrected prototype for delay_output() -- bump ABI to 3.2
5840         + terminfo patches #306/307 from Eric.
5841         + moved logic that filters out rmul and rmso from setupterm to newterm
5842           where it is less likely to interfere with termcap applications.
5843
5844 960707
5845         + rollback Eric's #305 change to terminfo.src (it breaks existing
5846           applications, e.g., 'less 290').
5847         + correct path of edit_man.sh, and fix typo that made all man-pages
5848           preformatted.
5849         + restore man/menu_requestname.3x omitted in Zeyd's resync (oops).
5850         + auto-configure the GCC_PRINTFLIKE/GCC_SCANFLIKE macros (reported by
5851           Philippe De Muyter).
5852
5853 960706  - snapshot
5854         + make lib_vidattr.c more readable using macros.
5855         + filter out rmul, rmso that conflict with sgr0 when reading terminal
5856           descriptions.
5857         + added sanity-checking of various paired string attributes (Eric).
5858         + work around autoconf bug, force $INSTALL to absolute path.
5859           (reported by Zeyd).
5860         + modify man-page install for BSDI to install preformatted .0 files
5861           (reported by David MacKenzie).
5862         + add/use gcc __attribute__ for printf and scanf in curses.h
5863         + added SGR attributes test-case to ncurses
5864         + revised ncurses 't' logic to show trace-disable effect in the menu.
5865         + use getopt in ncurses program to process -s and -t options.
5866         + make ncurses 'p' legend toggle with '?'
5867         + disable scrollok during the ncurses 'p' test; if it is enabled the
5868           stdscr will scroll when putting the box-corners in the lower-right
5869           of the screen.
5870
5871 960629  - snapshot
5872         + check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for
5873           terminals with no scrolling-support (reported by Nikolay Shadrin
5874           <queen@qh.mirea.ac.ru>)
5875         + added ^S scrollok-toggle to ncurses 'g' test.
5876         + added ^T trace-toggle to ncurses tests.
5877         + modified ncurses test program to use ^Q or ESC consistently for
5878           terminating tests (rather than ^D), and to use control keys rather
5879           than function keys in 'g' test.
5880         + corrected misplaced wclrtoeol calls in addch to accommodate wrapping
5881           (reported by Philippe De Muyter).
5882         + modify lib_doupdate.c to use effective costs to tradeoff between
5883           delete-character/insert-character vs normal updating (reported by
5884           David MacKenzie).
5885         + compute effective costs for screen update operations (e.g., clr_eos,
5886           delete_character).
5887         + corrected error in knight.c exposed by wrap fixes in 960622; the
5888           msgwin needed scrollok set.
5889         + corrected last change to IDcTransformLine logic to avoid conflict
5890           between PutRange and InsStr
5891         + modified run_tic.sh to not use /usr/tmp (reported by David
5892           MacKenzie), and further revised it and aclocal.m4 to use $TMPDIR if
5893           set.
5894         + corrected off-by-one in RoomFor call in read_entry.c
5895
5896 960622  - snapshot
5897         + modified logic that wraps cursor in addch to follow the XSI spec,
5898           (implemented in SVr4) which states that the cursor position is
5899           updated when wrapping.  Renamed _NEED_WRAP to _WRAPPED to reflect the
5900           actual semantics.
5901         + added -s option to tic, to provide better diagnostics in run_tic.sh
5902         + improved error-recovery for tabset install.
5903         + change ABI to 3.1 (dropped tparam, corrected getbkgd(), added
5904           _yoffset to WINDOW).
5905         + modified initialization of SP->_ofp so that init_acs() is called with
5906           the "right" file pointer (reported by Rick Marshall <rjm@nlc.net.au>
5907         + documentation fixes (Juergen Pfeifer).
5908         + corrected, using new SCREEN and WINDOW members, the behavior of
5909           ncurses if one uses ripoffline() to remove a line from the top of the
5910           screen (Juergen Pfeifer).
5911         + modified autoconf scripts to prepare for Ada95 (GNAT) binding to
5912           ncurses (Juergen Pfeifer).
5913         + incorrect buffer-size in _nc_read_entry, reported by Eric Raymond.
5914
5915 960617
5916         + corrected two logic errors in read_entry.c, write_entry.c (called by
5917           tic, the write/read of terminfo entries used inconsistent rules for
5918           locating the entries; the $TERMINFO_DIRS code would find only the
5919           first entry in a list).
5920         + refined pathname computation in run_tic.sh and shlib.
5921         + corrected initialization of $IP in misc/run_tic.sh
5922
5923 960615  - snapshot
5924         + ifdef'd out _nc_hash_map() call because it does not improve speed.
5925         + display version of gcc if configure script identifies it.
5926         + modify configure script to use /usr as Linux's default prefix.
5927         + modify run_tic.sh to use shlib script, fixes some problems installing
5928           with a shared-library configuration.
5929         + adjusted configure script so that it doesn't run tests with the
5930           warnings turned on, which makes config.log hard to read.
5931         + added 'lint' rule to top-level Makefile.
5932         + added configure option '--with-install-prefix' for use by system
5933           builders to install into staging locations (from request by
5934           charles@comm.polymtl.ca)
5935         + corrected autoconfigure for Debian man program; it's not installed
5936           as "man_db".
5937         + set noecho in 'worm'; it was ifdef'd for debug only
5938         + updated test/configure.in for timing-display in ncurses 'p' test
5939         + corrected misspelled 'getbkgd()'.
5940         + corrected wbkgdset to work like observed syvr4 (sets A_CHARTEXT part
5941           to blank if no character given, copies attributes to window's
5942           attributes).
5943         + modified lib_doupdate.c to use lower-level SP's current_attr state
5944           instead of curscr's state, since it is redundant.
5945         + correction to IDcTransformLine logic which controls where InsStr is
5946           invoked (refined by lav@yars.free.net).
5947         > patches 303 by eric
5948         + conditionally include Chris Torek's hash function _nc_hash_map().
5949         + better fix for nvi refresh-bug (Rick Marshall)
5950         + fix for bug in handling of interrupted keystroke waits,
5951           (Werner Fleck).
5952
5953 960601  - snapshot
5954         + auto-configure man-page compression-format and renames for Debian.
5955         + corrected several typos in curses.h.in (i.e., the mvXXXX macros).
5956         + re-order curses.priv.h for lint.
5957         + added rules for lintlib, lint
5958         + corrected ifdef for BROKEN_LINKER in MKnames.awk.in
5959         + corrected missing INSTALL_DATA in misc/Makefile.in
5960         + flush output when changing cursor-visibility (Rick Marshall)
5961         + fix a minor bug in the _nc_ripoff() routine and improve error
5962           checking when creating the label window (Juergen Pfeifer).
5963         + enhancement to the control over the new PC-style soft key format.
5964           allow caller now to select whether or not one wants to have
5965           the index-line; see curs_slk.3x for documentation (Juergen Pfeifer).
5966         + typos, don't use inline with -g (Philippe De Muyter)
5967         + fixes for menus & wattr-, slk-functions (Juergen Pfeifer)
5968
5969 960526  - snapshot
5970         + removed --with-ticdir option altogether, maintain compatibility with
5971           existing applications via symbolic link in run_tic.sh
5972         + patch for termio.h, signal (Philippe De Muyter)
5973         + auto-configure gcc warning options rather than infer from version.
5974         + auto-configure __attribute__ for different gcc versions.
5975         + corrected special use of clearok() in hardscroll.c by resetting flag
5976           in wrefresh().
5977         + include stdlib.h before defs for EXIT_SUCCESS, for OSF/1.
5978         + include sys/types.h in case stdlib.h does not declare size_t.
5979         + fixes for makefile (Tim Mooney)
5980         + fixes for menus & forms (Juergen.Pfeifer@T-Online.de)
5981
5982 960518  - snapshot
5983         + revised ncurses.c panner test, let pad abut all 4 sides of screen.
5984         + refined case in lib_doupdate.c for ClrToEOL().
5985         + corrected prior change for PutRange (Alexander V.  Lukyanov:
5986           lav@yars.free.net).
5987         + autoconf mods (Tim Mooney: mooney@dogbert.cc.ndsu.NoDak.edu).
5988         + locale fix for forms (Philippe De Muyter: phdemuyt@ulb.ac.be)
5989         + renamed "--with-datadir" option to "--with-ticdir" to avoid
5990           confusion, and made this check for the /usr/lib/terminfo pre-existing
5991           directory.
5992         > patches 299-301 by eric:
5993         + added hashmap.c
5994         + mods to tracing, especially for ACS chars.
5995         + corrected off-by-one in IDCtransform.
5996         + corrected intermittent mouse bug by using return-value from read().
5997         + mods to parse_entry.c, for smarter defaults.
5998
5999 960512
6000         + use getopt in 'tic'; added -L option and modified -e option to allow
6001           list from a file.
6002
6003 960511
6004         + don't use fixed buffer-size in tparm().
6005         + modified tic to create terminfo directory if it doesn't exist.
6006         + added -T options to tic and infocmp (for testing/analysis)
6007         + refined the length criteria for termcap and terminfo
6008         + optimize lib_doupdate with memcpy, PutRange
6009         > patches 297, 298 by eric
6010         + implement TERMINFO_DIRS, and -o option of tic
6011         + added TRACE_IEVENT
6012         + removed boolean version of 'getm'
6013         + added lib_print.c (for Rick Marshall)
6014         + added has_key()
6015         + added 't' to ncurses.c test.
6016         + moved delay_output() to lib_tputs.c
6017         + removed tparam().
6018         + misc cursor & optimization fixes.
6019
6020 960504  - snapshot
6021         + modified ncurses 'p' test to allow full-screen range for panner size.
6022         + fixes for locale (phdm@labauto1.ulb.ac.be)
6023         + don't use fixed buffer-size in fmt_entry().
6024         + added usage-message to 'infocmp'.
6025         + modified install.includes rules to prepend subdirectory-name to
6026           "#include" if needed.
6027
6028 960430
6029         + protect wrefresh, wnoutrefresh from invocation with pad argument.
6030         + corrected default CCFLAGS in test/Makefile.
6031
6032 960428  - snapshot
6033         + implemented logic to support terminals with background color erase
6034           (e.g., rxvt and the newer color xterm).
6035         + improved screen update logic (off-by-one logic error; use clr_eos if
6036           possible)
6037
6038 960426  - snapshot
6039         + change ncurses 'a' test to run in raw mode.
6040         + make TIOCGWINSZ configure test less stringent, in case user
6041           configures via terminal that cannot get screen size.
6042         > patches 295, 296 by eric:
6043         + new "-e" option of tic.
6044         + fix for "infocmp -e".
6045         + restore working-directory in read_termcap.c
6046         + split lib_kernel.c, lib_setup.c and names.c in order to reduce
6047           overhead for programs that use only termcap features.
6048
6049 960418  - snapshot
6050         + use autoconf 2.9
6051         + fix for AIX 3.2.5 (must define _POSIX_SOURCE to get termios struct
6052           definitions via <termios.h>, modified macros in lib_raw.c to avoid
6053           K&R-style substitution)
6054         > patches 293, 294 by eric:
6055         + mods to wgetch() in cooked mode
6056         + corrected askuser() logic in tset
6057         + correct interaction of endwin() with mouse processing
6058         + added trace support for TTY flags
6059
6060 960406
6061         + fixes for NeXT, ISC and HPUX auto-configure
6062         + autogenerate development header-dependencies (config.h, *.priv.h)
6063         + corrected single-column formatting of "use=" (e.g., in tic)
6064         + modify tic to read full terminfo-names
6065         + corrected divide-by-zero that caused hang (or worse) when redirecting
6066           output
6067         + modify tic to generate directories only as-needed (and corrected
6068           instance of use of data from function that had already returned).
6069
6070 ### ncurses-1.9.8a -> 1.9.9e
6071
6072 * fixed broken wsyncup()/wysncdown(), as a result wnoutrefresh() now has
6073   copy-changed-lines behavior.
6074 * added and documented wresize() function.
6075 * more fixes to LOWER-RIGHT corner handling.
6076 * changed the line-breakout optimization code to allow some lines to be
6077   emitted before the first check.
6078 * added option for tic to use symbolic instead of hard links (for AFS)
6079 * fix to restore auto-wrap mode.
6080 * trace level can be controlled by environment variable.
6081 * better handling of NULs in terminal descriptions.
6082 * improved compatibility with observed SVR4 behavior.
6083 * the refresh behavior of over-lapping windows is now more efficient and
6084   behaves like SVR4.
6085 * use autoconf 2.7, which results in a working setup for SCO 5.0.
6086 * support for ESCDELAY.
6087 * small fixes for menu/form code.
6088 * the test directory has its own configure.
6089 * fixes to pads when optimizing scrolling.
6090 * fixed several off-by-one bugs.
6091 * fixes for termcap->terminfo translation; less restrictions more correct
6092   behavior.
6093
6094 ### ncurses-1.9.7 -> 1.9.8a
6095
6096 * teach infocmp -i to recognize ECMA highlight sequences
6097 * infocmp now dumps all SVr4 termcaps (not just the SVr4 ones) on -C
6098 * support infocmp -RBSD.
6099 * satisfy XSI Curses requirement that every macro be available as a function.
6100 * This represents the last big change to the public interface of ncurses. The
6101   ABI_VERSION has now been set at 3.0 and should stay there barring any great
6102   catastrophies or acts of God.
6103 * The C++ has been cleaned up in reaction to the changes to satisfy XSI's
6104   requirements.
6105 * libncurses now gets linked to libcurses to help seamless emulation
6106   (replacement) of a vendor's curses. --disable-overwrite turns this behavior
6107   off.
6108
6109 ### ncurses-1.9.6 -> 1.9.7
6110
6111 * corrected return values of setupterm()
6112 * Fixed some bugs in tput (it does padding now)
6113 * fixed a bug in tic that made it do the wrong thing on entries with more than
6114   one `use' capability.
6115 * corrected the screen-size calculation at startup time to alter the
6116   numeric capabilities as per SVr4, not just LINES and COLS.
6117 * toe(1) introduced; does what infocmp -T used to.
6118 * tic(1) can now translate AIX box1 and font[0123] capabilities.
6119 * tic uses much less core, the dotic.sh kluge can go away now.
6120 * fix read_entry() and write_entry() to pass through cancelled capabilities OK.
6121 * Add $HOME/.terminfo as source/target directory for terminfo entries.
6122 * termcap compilation now automatically dumps an entry to $HOME/.terminfo.
6123 * added -h option to toe(1).
6124 * added -R option to tic(1) and infocmp(1).
6125 * added fallback-entry-list feature.
6126 * added -i option to infocmp(1).
6127 * do a better job at detecting if we're on SCO.
6128
6129 ### ncurses-1.9.5 -> 1.9.6
6130
6131 * handling of TERMCAP environment variables now works correctly.
6132 * various changes to shorten termcap translations to less that 1024 chars.
6133 * tset(1) added
6134 * mouse support for xterm.
6135 * most data tables are now const and accordingly live in shareable text space.
6136 * Obey the XPG4/SVr4 practice that echo() is initally off.
6137 * tic is much better at translating XENIX and AIX termcap entries now.
6138 * tic can interpret ko capabilities now.
6139 * integrated Juergen Pfeifer's forms library.
6140 * taught write_entry() how not to write more than it needs to; this change
6141   reduces the size of the terminfo tree by a full 26%!
6142 * infocmp -T option added.
6143 * better warnings about historical tic quirks from tic.
6144
6145 ### ncurses 1.9.4 -> 1.9.5
6146
6147 * menus library is now included with documentation.
6148 * lib_mvcur has been carefully profiled and tuned.
6149 * Fixed a ^Z-handling bug that was tanking lynx(1).
6150 * HJ Lu's patches for ELF shared libraries under Linux
6151 * terminfo.src 9.8.2
6152 * tweaks for compiling in seperate directories.
6153 * Thomas Dickey's patches to support NeXT's brain-dead linker
6154 * Eric Raymond's patches to fix problems with long termcap entries.
6155 * more support for shared libraries under SunOS and IRIX.
6156
6157 ### ncurses 1.9.3 -> 1.9.4
6158
6159 * fixed an undefined-order-of-evaluation bug in lib_acs.c
6160 * systematically gave non-API public functions and data an _nc_ prefix.
6161 * integrated Juergen Pfeifer's menu code into the distribution.
6162 * totally rewrote the knight test game's interface
6163
6164 ### ncurses 1.9.2c -> 1.9.3
6165
6166 * fixed the TERMCAP_FILE Support.
6167 * fixed off-by-one errors in scrolling code
6168 * added tracemunch to the test tools
6169 * took steps to cut the running time of make install.data
6170
6171 ### ncurses 1.9.2c -> 1.9.2d
6172
6173 * revised 'configure' script to produce libraries for normal, debug,
6174   profile and shared object models.
6175
6176 ### ncurses 1.9.1 -> 1.9.2
6177
6178 * use 'autoconf' to implement 'configure' script.
6179 * panels support added
6180 * tic now checks for excessively long termcap entries when doing translation
6181 * first cut at eliminating namespace pollution.
6182
6183 ### ncurses 1.8.9 -> 1.9
6184
6185 * cleanup gcc warnings for the following: use size_t where 'int' is not
6186   appropriate, fixed some shadowed variables, change attr_t to compatible with
6187   chtype, use attr_t in some places where it was confused with 'int'.
6188 * use chtype/attr_t casts as appropriate to ensure portability of masking
6189   operations.
6190 * added-back waddchnstr() to lib_addstr.c (it had been deleted).
6191 * supplied missing prototypes in curses.h
6192 * include <termcap.h> in lib_termcap.c to ensure that the prototypes
6193   are consistent (they weren't).
6194 * corrected prototype of tputs in <termcap.h>
6195 * rewrote varargs parsing in lib_tparm.c (to avoid referencing memory
6196   that may be out of bounds on the stack) -- Purify found this.
6197 * ensure that TRACE is defined in lib_trace.c (to solve prototype
6198   warnings from gcc).
6199 * corrected scrolling-region size in 'mvcur_wrap()'
6200 * more spelling fixes
6201 * use 'calloc()' to allocate WINDOW struct in lib_newwin.c (Purify).
6202 * set default value for SP->_ofp in lib_set_term.c (otherwise SunOS dumps
6203   core in init_acs()).
6204 * include <errno.h> in write_entry.c (most "braindead" includes declare errno
6205   in that file).
6206
6207 ### ncurses 1.8.8 -> 1.8.9
6208
6209 * compile (mostly) clean with gcc 2.5.8 -Wall -Wstrict-prototypes
6210   -Wmissing-prototypes -Wconversion and using __attribute__ to flush out
6211   non-portable use of "%x" for pointers, or for chtype data (which is declared
6212   as a long).
6213 * modified doupdate to ensure that typahead was turned on before attempting
6214   select-call (otherwise, some implementations hang).
6215 * added trace mask TRACE_FIFO, use this in lib_getch.c to allow finer
6216   resolution of traces.
6217 * improved bounds checking on several critical functions.
6218 * the data directory has been replaced by the new master terminfo file.
6219 * -F file-comparison option added to infocmp.
6220 * compatibility with XSI Curses is now documented in the man bages.
6221 * wsyncup/wsyncdown functions are reliable now; subwindow code in general
6222   is much less flaky.
6223 * capabilities ~msgr, tilde_glitch, insert_padding, generic_type, no_pad_char,
6224   memory_above, memory_below, and hard_copy are now used properly.
6225 * cursor-movement optimization has been completely rewritten.
6226 * vertical-movement optimization now uses hardware scrolling, il, dl.
6227
6228 ### ncurses 1.8.7 -> 1.8.8
6229 * untic no longer exists, infocmp replaces it.
6230 * tic can understand termcap now, especially if it is called captoinfo.
6231 * The Linux Standard Console terminfo entry is called linux insead of console.
6232   It also uses the kernel's new method of changing charsets.
6233 * initscr() will EXIT upon error (as the docs say) This wil mostly happen if
6234   you try to run on an undefined terminal.
6235 * I can get things running on AIX but tic can't compile terminfo. I have to
6236   compile entries on another machine. Volunteers to hunt this bug are welcome.
6237 * wbkgd() and wbkgdset() can be used to set a windows background to color.
6238   wclear()/werase() DO NOT use the current attribute to clear the screen.
6239   This is the way SVR4 curses works. PDCurses 2.1 is broken in this respect,
6240   though PDCurses 2.2 has been fixed.
6241 * cleaned up the test/ directory.
6242 * test/worm will segfault after quite a while.
6243 * many spelling corrections courtesy of Thomas E. Dickey
6244
6245 ### ncurses 1.8.6 -> 1.8.7
6246 * cleaned up programs in test/ directory.
6247 * fixed wbkgdset() macro.
6248 * modified getstr() to stop it from advancing cursor in noecho mode.
6249 * modified linux terminfo entry to work with the latest kernel to get
6250   the correct alternate character set.
6251 * also added a linux-mono entry for those running on monochrome screens.
6252 * changed initscr() so that it behaves like the man page says it does.
6253   this fixes the problem with programs in test/ crashing with SIGSEV if
6254   a terminal is undefined.
6255 * modified addch() to avoid using any term.h #define's
6256 * removed duplicate tgoto() in lib_tparm.c
6257 * modified dump_entry.c so that infocmp deals correctly with ',' in acsc
6258 * modified delwin() to correctly handle deleting subwindows.
6259 * fixed Makefile.dist to stop installing an empty curses.h
6260 * fixed a couple of out-of-date notes in man pages.
6261
6262 ### ncurses 1.8.5 -> 1.8.6
6263 * Implemented wbkgd(), bkgd(), bkgdset(), and wbkgdset().
6264 * The handling of attributes has been improved and now does not turn off color
6265   if other attributes are turned off.
6266 * scrolling code is improved. Scrolling in subwindows is still broken.
6267 * Fixes to several bugs that manifest them on platforms other than Linux.
6268 * The default to meta now depends on the status of the terminal when ncurses
6269   is started.
6270 * The interface to the tracing facility has changed.  Instead of the pair of
6271   functions traceon() and traceoff(), there is just one function trace() which
6272   takes a trace mask argument.  The trace masks, defined in curses.h, are
6273   as follows:
6274
6275         #define TRACE_DISABLE   0x00    /* turn off tracing */
6276         #define TRACE_ORDINARY  0x01    /* ordinary trace mode */
6277         #define TRACE_CHARPUT   0x02    /* also trace all character outputs */
6278         #define TRACE_MAXIMUM   0x0f    /* maximum trace level */
6279
6280   More trace masks may be added, or these may be changed, in future releases.
6281 * The pad code has been improved and the pad test code in test/ncurses.c has
6282   been improved.
6283 * The prototype ansi entry has been changed to work with a wider variety
6284   of emulators.
6285 * Fix to the prototype ansi entry that enables it to work with PC emulators
6286   that treat trailing ";m" in a highlight sequence as ";0m"; this doesn't
6287   break operation with any emulators.
6288 * There are now working infocmp, captoinfo, tput, and tclear utilities.
6289 * tic can now compile entries in termcap syntax.
6290 * Core-dump bug in pnoutrefresh fixed.
6291 * We now recognize and compile all the nonstandard capabilities in Ross
6292   Ridge's mytinfo package (rendering it obsolete).
6293 * General cleanup and documentation improvements.
6294 * Fixes and additions to the installation-documentation files.
6295 * Take cursor to normal mode on endwin.
6296
6297 ### ncurses 1.8.4 -> 1.8.5
6298 * serious bugs in updating screen which caused erratic non-display,
6299   fixed.
6300 * fixed initialization for getch() related variable which cause
6301   unpredictable results.
6302 * fixed another doupdate bug which only appeared if you have
6303   parm_char.
6304 * implemented redrawln() and redrawwin().
6305 * implemented winsnstr() and related functions.
6306 * cleaned up insertln() and deleteln() and implemented (w)insdeln().
6307 * changed Makefile.dist so that installation of man pages will
6308   take note of the terminfo directory.
6309 * fixed Configure (removed the mysterious 'X').
6310 * Eric S. Raymond fixed the script.* files so that they work with
6311   stock awk.
6312
6313 #### ncurses 1.8.3 -> 1.8.4 #### ####
6314 * fixed bug in refreshing the screen after return from shell_mode.
6315   There are still problems but they don't manifest themselves on
6316   my machine (Linux 0.99.14f).
6317 * added wgetnstr() and modified things accordingly.
6318 * fixed the script.src script.test to work with awk not just gawk.
6319 * Configure can now take an argument of the target system.
6320 * added test/ncurses.c which replaces several other programs and
6321   performs more testing.
6322 [Thanks to Eric S Raymond for the last 4]
6323 * more fixes to lib_overlay.c and added test/over.c to illustrate
6324   how it works.
6325 * fixed ungetch() to take int instead of ch.
6326 * fixes to cure wgetch() if flushinp() is called.
6327
6328 One note I forgot to mention in 1.8.3 is that tracing is off by
6329 default starting in the version. If you want tracing output, put
6330 traceon(); in your code and link with -ldcurses.
6331
6332 #### ncurses 1.8.2 -> ncurses 1.8.3 #### ####
6333 MAJOR CHANGES:
6334 1) The order of capabilities has been changed in order to achieve
6335 binary compatibility with SVR4 terminfo database. This has the
6336 unfortunate effect of breaking application currently linked with
6337 ncurses. To ensure correct behavior, recompile all such programs.
6338 Most programs using color or newer capabilities will break, others
6339 will probably continue to work ok.
6340
6341 2) Pavel Curtis has renounced his copyright to the public domain.
6342 This means that his original sources (posted to comp.sources.unix,
6343 volume 1) are now in the public domain.  The current sources are
6344 NOT in the public domain, they are copyrighted by me.  I'm
6345 entertaining ideas on what the new terms ncurses is released under.
6346
6347 3) Eric S. Raymond has supplied a complete set of man pages for
6348 ncurses in ?roff format. They will eventually replace most of the
6349 current docs. Both sets are included in this release.
6350
6351 Other changes and notes from 1.8.2 include:
6352 * SIGSEGV during scrolling no longer occurs.
6353 * Other problems with scrolling and use of idl have been corrected.
6354 * lib_getch.c has been re-written and should perform flawlessly.
6355   please use test/getch.c and any other programs to test this.
6356 * ripoffline() is implemented (Thanks to Eric) and slk_ functions
6357   changed accordingly.
6358 * I've added support for terminals that scroll if you write in the
6359   bottom-right corner.
6360 * fixed more bugs in pads code. If anybody has a program that uses
6361   pads I'd love a copy.
6362 * correct handling for terminal with back_color_erase capability
6363   (such as Linux console, and most PC terminals)
6364 * ^Z handling apparently didn't work (I should never trust code
6365   sent me to me without extensive testing). It now seems to be
6366   fixed. Let me know if you have problems.
6367 * I've added support for Apollo and NeXT, but it may still be
6368   incomplete, especially when dealing with the lack of POSIX
6369   features.
6370 * scrolling should be more efficient on terminals with idl
6371   capabilities. Please see src/lib_scroll.c for more notes.
6372 * The line drawing routines were offset by 1 at both ends. This
6373   is now fixed.
6374 * added a few missing prototypes and macros (e.g. setterm())
6375 * fixed code in src/lib_overlay.c which used to crash.
6376 * added a few more programs in test/ The ones from the PDCurses
6377   package are useful, especially if you have SVR4 proper. I'm
6378   interested in the results you get on such a systems (Eric? ;-).
6379   They already exposed certain bugs in ncurses.
6380 * See src/README for porting notes.
6381 * The C++ code should really replace ncurses.h instead of working
6382   around it. It should avoid name-space clashes with nterm.h (use
6383   rows instead of lines, etc.)
6384 * The C++ should compile ok. I've added explicit rules to the
6385   Makefile because no C++ defaults are documented on the suns.
6386 * The docs say that echo() and nocbreak() are mutually exclusive.
6387   At the moment ncurses will switch to cbreak() if the case above
6388   occurs. Should it continue to do so? How about echo() and noraw()?
6389 * PDCurses seem to assume that wclear() will use current attribute
6390   when clearing the screen. According to Eric this is not the case
6391   with SVR4.
6392 * I have discovered, to my chagrin, SunOS 4.x (and probably other systems)
6393   * doesn't have vsscanf and God knows what else!  I've will do a vsscanf().
6394 * I've also found out that the src/script.* rely on gawk and will not
6395   work with stock awk or even with nawk. Any changes are welcome.
6396 * Linux is more tolerant of NULL dereferences than most systems. This
6397   fact was exposed by hanoi.
6398 * ncurses still seems inefficient in drawing the screen on a serial
6399   link between Linux and suns. The padding may be the culprit.
6400 * There seems to be one lingering problem with doupdate() after shelling
6401   out. Despite the fact the it is sending out the correct information
6402   to the terminal, nothing takes effect until you press ^L or another
6403   refresh takes place. And yes, output does get flushed.
6404
6405 #### ncurses 1.8.1 -> ncurses 1.8.2 #### Nov 28, 1993 ####
6406
6407 * added support for SVR4 and BSDI's BSD/386.
6408 * major update and fix to scrolling routine.
6409 * MORE fixes to stuff in lib_getch.c.
6410 * cleaned-up configuration options and can now generate
6411         Config.* files through an awk script.
6412 * changed setupterm() so it can be called more than once,
6413         add added set_curterm(), del_curterm().
6414 * a few minor cleanups.
6415 * added more prototypes in curses.h
6416
6417 #### ncurses 1.8 -> ncurses 1.8.1 #### Nov 4, 1993 ####
6418
6419 * added support for NeXTStep 3.0
6420 * added termcap emulation (not well tested).
6421 * more complete C++ interface to ncurses.
6422 * fixed overlay(), overwrite(), and added copywin().
6423 * a couple of bug fixes.
6424 * a few code cleanups.
6425
6426 #### ncurses 0.7.2/0.7.3 -> ncurses 1.8 #### Aug 31, 1993 ####
6427
6428 * The annoying message "can't open file." was due to missing
6429   terminfo entry for the used terminal. It has now been
6430   replaced by a hopefully more helpful message.
6431 * Problems with running on serial lines are now fixed.
6432 * Added configuration files for SunOS, Linux, HP/UX, Ultrix,
6433   386bsd/BSDI (if you have others send'em to me)
6434 * Cleaner Makefile.
6435 * The documentation in manual.doc is now more uptodate.
6436 * update optimization and support for hp terminals, and 386bsd
6437   console driver(s).
6438 * mvcur optimization for terminals without cursor addressing
6439   (doesn't work on Linux)
6440 * if cursor moved since last update, getch() will refresh the
6441   screen before working.
6442 * getch() & alarm() can now live together. in 0.7.3 a signal
6443   interrupted getch() (bug or feature?) now the getch is
6444   restarted.
6445 * scanw() et all were sick, now fixed.
6446 * support for 8-bit input (use meta()).
6447 * added default screen size to all terminfos.
6448 * added c++ Ncursesw class.
6449 * several minor bug fixes.
6450
6451 #### ncurses 0.7.2 -> ncurses 0.7.3 #### May 27, 1993 ####
6452
6453 * Config file to cope with different platforms (386BSD, BSDI, Ultrix, SunOS)
6454 * more fixes to lib_getch.c
6455 * changes related to Config
6456
6457 #### ncurses 0.7 -> ncurses 0.7.2 #### May 22, 1993 ####
6458
6459 * docs updated slightly (color usage is now documented).
6460 * yet another fix for getch(), this one fixes problems with ESC being swallowed
6461   if another character is typed before the 1 second timeout.
6462 * Hopefully, addstr() and addch() are 8-bit clean.
6463 * fixed lib_tparm.c to use stdarg.h (should run on suns now)
6464 * order of capabilities changed to reflect that specified in SYSV
6465   this will allow for binary-compatibility with existing terminfo dbs.
6466 * added halfdelay()
6467 * fixed problems with asc_init()
6468 * added A_PROTECT and A_INVIS
6469 * cleaned up vidputs()
6470 * general cleanup of the code
6471 * more attention to portability to other systems
6472 * added terminfos for hp70092 (wont work until changes to lib_update.c are
6473   made) and 386BSD pcvt drivers.
6474
6475 Thanks to Hellmuth Michaelis for his help.
6476 optimization code is slated for the next major release, stay tuned!
6477
6478 #### ncurses 0.6/0.61 -> ncurses 0.7 #### April 1, 1993
6479 Please note that the next release will be called 1.8. If you want to know about
6480 the rationale drop me a line.
6481
6482 Included are several test programs in test/.
6483 I've split up the panels library, reversi, tetris, sokoban. They are now
6484 available separately from netcom.com:pub/zmbenhal/
6485
6486 * color and ACS support is now fully compatible with SYSV at the terminfo
6487   level.
6488 * Capabilities now includes as many SYSV caps I could find.
6489 * tigetflag,tigetnum,tigetstr functions added.
6490 * boolnames, boolfnames, boolcodes numnames, numfnames, numcodes,
6491   strnames, strfnames, strcodes arrays are now added.
6492 * keyname() is added.
6493 * All function keys can be defined in terminfo entries.
6494 * fixed lin_tparm.c to behave properly.
6495 * terminfo entries for vt* and xterm are included (improvements are welcome)
6496 * more automation in handling caps and keys.
6497 * included fixes from 0.6.1
6498 * added a few more missing functions.
6499 * fixed a couple of minor bugs.
6500 * updated docs JUST a little (still miles behind in documenting the newer
6501         features).
6502
6503 #### ncurses 0.6 -> ncurses 0.61 ####
6504
6505 1) Included the missing data/console.
6506
6507 2) allow attributes when drawing boxes.
6508
6509 3) corrected usage of win->_delay value.
6510
6511 4) fixed a bug in lib_getch.c. if it didn't recognize a sequence it would
6512         simply return the last character in the sequence. The correct
6513         behavior is to return the entire sequence one character at a time.
6514
6515 #### ncurses0.5 -> ncurses0.6 #### March 1, 1993 ####
6516 * removed _numchngd from struct _win_st and made appropriate changes.
6517 * rewritten kgetch() to remove problems with interaction between alarm and
6518   read(). It caused SIGSEGV every now and then.
6519 * fixed a bug that miscounted the numbers of columns when updating.
6520   (in lib_doupdate.c(ClrUpdate() -- iterate to columns not columns-1)
6521 * fixed a bug that cause the lower-right corner to be incorrect.
6522   (in lib_doupdate.c(putChar() -- check against columns not columns-1)
6523 * made resize() and cleanup() static to lib_newterm.c
6524 * added notimeout().
6525 * added timeout() define in curses.h
6526 * added more function prototypes and fixed napms.
6527 * added use_env().
6528 * moved screen size detection to lib_setup.c.
6529 * fixed newterm() to confirm to prototype.
6530 * removed SIGWINCH support as SYSV does not define its semantics.
6531 * cleaned-up lib_touch.c
6532 * added waddnstr() and relatives.
6533 * added slk_* support.
6534 * fixed a bug in wdeleteln().
6535 * added PANEL library.
6536 * modified Makefile for smoother installation.
6537 * terminfo.h is really term.h
6538
6539 #### ncurses 0.4 -> ncurses 0.5 #### Feb 14, 1993 ####
6540 * changed _win_st structure to allow support for missing functionality.
6541 * Addition of terminfo support for all KEY_*.
6542 * Support for nodelay(), timeout(), notimeout().
6543 * fixed a bug with the keypad char reading that did not return ESC until
6544   another key is pressed.
6545 * nl mapping no longer occur on output (as should be)
6546   fixed bug '\n' no causing a LF.
6547 * fixed bug that reset terminal colors regardless of whether we use color
6548   or not.
6549 * Better support for ACS (not quite complete).
6550 * fixed bug in wvline().
6551 * added curs_set().
6552 * changed from signal() to sigaction().
6553 * re-included the contents of important.patch into source.
6554
6555 #### ncurses 0.3 -> ncurses 0.4 #### Feb 3, 1993 ####
6556 * Addition of more KEY_* definitions.
6557 * Addition of function prototypes.
6558 * Addition of several missing functions.
6559 * No more crashes if screen size is undefined (use SIGWINCH handler).
6560 * added a handler to cleanup after SIGSEGV (hopefully never needed).
6561 * changed SRCDIR from /etc/term to /usr/lib/terminfo.
6562 * renamed compile/dump to tic/untic.
6563 * New scrolling code.
6564 * fixed bug that reversed the sense of nl() and nonl().
6565
6566 #### ncurses 0.2 -> ncurses 0.3 #### Jan 20, 1993 ####
6567 * more support for color and graphics see test/ for examples.
6568 * fixed various files to allow correct update after shelling out.
6569 * more fixes for updates.
6570 * no more core dumps if you don't have a terminfo entry.
6571 * support for LINES and COLUMNS environment variables.
6572 * support for SIGWINCH signal.
6573 * added a handler for SIGINT for clean exits.
6574
6575 #### ncurses 0.1 -> ncurses 0.2 #### Aug 14, 1992 ####
6576 * support for color.
6577 * support for PC graphic characters.
6578 * lib_trace.c updated to use stdarg.h and vprintf routines.
6579 * added gdc.c (Great Digital Clock) as an example of using color.
6580
6581 #### ncurses -> ncurses 0.1 #### Jul 31, 1992 ####
6582 * replacing sgtty stuff by termios stuff.
6583 * ANSIfication of some functions.
6584 * Disabling cost analysis 'cause it's incorrect.
6585 * A quick hack for a terminfo entry.