1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. --
4 -- Permission is hereby granted, free of charge, to any person obtaining a --
5 -- copy of this software and associated documentation files (the --
6 -- "Software"), to deal in the Software without restriction, including --
7 -- without limitation the rights to use, copy, modify, merge, publish, --
8 -- distribute, distribute with modifications, sublicense, and/or sell copies --
9 -- of the Software, and to permit persons to whom the Software is furnished --
10 -- to do so, subject to the following conditions: --
12 -- The above copyright notice and this permission notice shall be included --
13 -- in all copies or substantial portions of the Software. --
15 -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
16 -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
17 -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN --
18 -- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
19 -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
20 -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE --
21 -- USE OR OTHER DEALINGS IN THE SOFTWARE. --
23 -- Except as contained in this notice, the name(s) of the above copyright --
24 -- holders shall not be used in advertising or otherwise to promote the --
25 -- sale, use or other dealings in this Software without prior written --
27 -------------------------------------------------------------------------------
28 -- $Id: NEWS,v 1.1468 2009/11/28 22:51:06 tom Exp $
29 -------------------------------------------------------------------------------
31 This is a log of changes that ncurses has gone through since Zeyd started
32 working with Pavel Curtis' original work, pcurses, in 1992.
34 Changes through 1.9.9e are recorded by Zeyd M Ben-Halim.
35 Changes since 1.9.9e are recorded by Thomas E Dickey.
37 Contributors include those who have provided patches (even small ones), as well
38 as those who provide useful information (bug reports, analyses). Changes with
39 no cited author are the work of Thomas E Dickey (TD).
41 A few contributors are given in this file by their initials.
42 They each account for one percent or more of the changes since 1.9.9e.
43 See the AUTHORS file for the corresponding full names.
45 Changes through 1.9.9e did not credit all contributions;
46 it is not possible to add this information.
49 + modify mk-1st.awk to allow tinfo library to be built when term-driver
51 + add error-check to configure script to ensure that sp-funcs is
52 enabled if term-driver is, since some internal interfaces rely upon
56 + fix case where progs/tput is used while sp-funcs is configure; this
57 requires save/restore of out-character function from _nc_prescreen
58 rather than the SCREEN structure (report by Charles Wilson).
59 + fix typo in man/curs_trace.3x which caused incorrect symbolic links
60 + improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
64 + updated man/curs_trace.3x
65 + limit hashing for termcap-names to 2-characters (Ubuntu #481740).
66 + change a variable name in lib_newwin.c to make it clearer which
67 value is being freed on error (patch by Nicholas Marriott).
70 + improve test/ncurses.c color-cycling test by reusing attribute-
71 and color-cycling logic from the video-attributes screen.
72 + add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form
73 library which help make it compatible with interop applications
74 (patch by Juergen Pfeifer).
75 + add configure option --enable-interop, for integrating changes
76 for generic/interop support to form-library by Juergen Pfeifer
79 + modify use of $CC environment variable which is defined by X/Open
80 as a curses feature, to ignore it if it is not a single character
81 (prompted by discussion with Benjamin C W Sittler).
82 + add START_TRACE in slk_init
83 + fix a regression in _nc_ripoffline which made test/ncurses.c not show
84 soft-keys, broken in 20090927 merging.
85 + change initialization of "hidden" flag for soft-keys from true to
86 false, broken in 20090704 merging (Ubuntu #464274).
87 + update nsterm entries (patch by Benjamin C W Sittler, prompted by
88 discussion with Fabian Groffen in GenToo #206201).
89 + add test/xterm-256color.dat
92 + quiet some pedantic gcc warnings.
93 + modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
94 SIGWINCH, and discard that value, to avoid confusing application
95 (patch by Eygene Ryabinkin, FreeBSD bin/136223).
98 + modify handling of $PKG_CONFIG_LIBDIR to use only the first item in
99 a possibly colon-separated list (Debian #550716).
102 + supply a null-terminator to buffer in _nc_viswibuf().
103 + fix a sign-extension bug in unget_wch() (report by Mike Gran).
104 + minor fixes to error-returns in default function for tputs, as well
108 + add WACS_xxx definitions to wide-character configuration for thick-
109 and double-lines (discussion with Slava Zanko).
110 + remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
111 + add ccc and initc capabilities to xterm-16color -TD
112 > patch by Benjamin C W Sittler:
114 + correct initc capability of linux-c-nc end-of-range
115 + similar change for dg+ccc and dgunix+ccc
118 + move leak-checking for comp_captab.c into _nc_leaks_tinfo() since
119 that module since 20090711 is in libtinfo.
120 + add configure option --enable-term-driver, to allow compiling with
121 terminal-driver. That is used in mingw port, and (being somewhat
122 more complicated) is an experimental alternative to the conventional
123 termlib internals. Currently, it requires the sp-funcs feature to
125 + completed integrating "sp-funcs" by Juergen Pfeifer in ncurses
126 library (some work remains for forms library).
129 + document return code from define_key (report by Mike Gran).
130 + make some symbolic links in the terminfo directory-tree shorter
131 (patch by Daniel Jacobowitz, forwarded by Sven Joachim).).
132 + fix some groff warnings in terminfo.5, etc., from recent Debian
134 + change ncv and op capabilities in sun-color terminfo entry to match
135 Sun's entry for this (report by Laszlo Peter).
136 + improve interix smso terminfo capability by using reverse rather than
137 bold (report by Kristof Zelechovski).
140 + add some test programs (and make these use the same special keys
141 by sharing linedata.h functions):
145 test/test_add_wchstr.c
146 + correct internal _nc_insert_ch() to use _nc_insert_wch() when
147 inserting wide characters, since the wins_wch() function that it used
148 did not update the cursor position (report by Ciprian Craciun).
151 + fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not
153 + add null-pointer checks to other opaque-functions.
154 + add is_pad() and is_subwin() functions for opaque access to WINDOW
155 (discussion with Mark Dickinson).
156 + correct merge to lib_newterm.c, which broke when sp-funcs was
160 + build-fix for building outside source-tree (report by Sven Joachim).
161 + fix Debian lintian warning for man/tabs.1 by making section number
162 agree with file-suffix (report by Sven Joachim).
163 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
166 + workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on
167 amd64 (Debian #542031).
168 + fix typo in curs_mouse.3x (Debian #429198).
171 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
174 + correct use of terminfo capabilities for initializing soft-keys,
175 broken in 20090509 merging.
176 + modify wgetch() to ensure it checks SIGWINCH when it gets an error
177 in non-blocking mode (patch by Clemens Ladisch).
178 + use PATH_SEPARATOR symbol when substituting into run_tic.sh, to
179 help with builds on non-Unix platforms such as OS/2 EMX.
180 + modify scripting for misc/run_tic.sh to test configure script's
181 $cross_compiling variable directly rather than comparing host/build
182 compiler names (prompted by comment in GenToo #249363).
183 + fix configure script option --with-database, which was coded as an
185 + build-fixes for --srcdir (report by Frederic L W Meunier).
188 + separate _nc_find_entry() and _nc_find_type_entry() from
189 implementation details of hash function.
192 + add tabs.1 to man/man_db.renames
193 + modify lib_addch.c to compensate for removal of wide-character test
194 from unctrl() in 20090704 (Debian #539735).
197 + improve discussion in INSTALL for use of system's tic/infocmp for
198 cross-compiling and building fallbacks.
199 + modify test/demo_termcap.c to correspond better to options in
201 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
202 + fix logic for 'V' in test/ncurses.c tests f/F.
205 + correct logic in tigetnum(), which caused tput program to treat all
206 string capabilities as numeric (report by Rajeev V Pillai,
210 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
213 + fix a null-pointer check in _nc_format_slks() in lib_slk.c, from
215 + modify _nc_find_type_entry() to use hashing.
216 + make CCHARW_MAX value configurable, noting that changing this would
217 change the size of cchar_t, and would be ABI-incompatible.
218 + modify test-programs, e.g,. test/view.c, to address subtle
219 differences between Tru64/Solaris and HPUX/AIX getcchar() return
221 + modify length returned by getcchar() to count the trailing null
222 which is documented in X/Open (cf: 20020427).
223 + fixes for test programs to build/work on HPUX and AIX, etc.
226 + improve performance of tigetstr, etc., by using hashing code from tic.
227 + minor fixes for memory-leak checking.
228 + add test/demo_terminfo, for comparison with demo_termcap
231 + remove wide-character checks from unctrl() (patch by Clemens Ladisch).
232 + revise wadd_wch() and wecho_wchar() to eliminate dependency on
234 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
237 + update llib-lncurses[wt] to use sp-funcs.
238 + various code-fixes to build/work with --disable-macros configure
240 + add several new files from Juergen Pfeifer which will be used when
241 integration of "sp-funcs" is complete. This includes a port to
245 + move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to
246 make includes of term.h without curses.h work (report by "Nix").
247 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
250 + fix a regression in lib_tputs.c, from ongoing merges.
253 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
256 + fix an infinite recursion when adding a legacy-coding 8-bit value
257 using insch() (report by Clemens Ladisch).
258 + free home-terminfo string in del_curterm() (patch by Dan Weber).
259 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
262 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
265 + work around antique BSD game's manipulation of stdscr, etc., versus
266 SCREEN's copy of the pointer (Debian #528411).
267 + add a cast to wattrset macro to avoid compiler warning when comparing
268 its result against ERR (adapted from patch by Matt Kraii, Debian
272 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
275 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
276 + add vwmterm terminfo entry (patch by Bryan Christ).
279 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
282 + build fix for _nc_free_and_exit() change in 20090418 (report by
286 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
289 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
290 This change finishes merging for menu and panel libraries, does
291 part of the form library.
294 + suppress configure check for static/dynamic linker flags for gcc on
295 Darwin (report by Nelson Beebe).
298 + extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
299 function key definitions from emx-base for consistency -TD
300 + correct missing final 'p' in pfkey capability of ansi.sys-old (report
301 by Kalle Olavi Niemitalo).
302 + improve test/ncurses.c 'F' test, show combining characters in color.
303 + quiet a false report by cppcheck in c++/cursesw.cc by eliminating
304 a temporary variable.
305 + use _nc_doalloc() rather than realloc() in a few places in ncurses
306 library to avoid leak in out-of-memory condition (reports by William
307 Egert and Martin Ettl based on cppcheck tool).
308 + add --with-ncurses-wrap-prefix option to test/configure (discussion
309 with Charles Wilson).
310 + use ncurses*-config scripts if available for test/configure.
311 + update test/aclocal.m4 and test/configure
312 > patches by Charles Wilson:
313 + modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
314 version numbers (e.g. which include alphabetic chars, as well as
315 digits, after the final '.').
316 + improve use of -no-undefined option for libtool by setting an
317 intermediate variable LT_UNDEF in the configure script, and then
318 using that in the libtool link-commands.
319 + fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
320 from 2009031 changes.
321 + improve mk-1st.awk script by writing separate cases for the
322 LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
323 termlib) is to be linked.
324 + modify configure.in to allow broken-linker configurations, not just
325 enable-reentrant, to set public wrap prefix.
328 + add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
329 build with tic and term libraries (patch by Charles Wilson).
330 + add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
331 (report by Charles Wilson).
332 + fix definition for c++/Makefile.in's SHLIB_LIST, which did not list
333 the form, menu or panel libraries (patch by Charles Wilson).
334 + add configure option --with-wrap-prefix to allow setting the prefix
335 for functions used to wrap global variables to something other than
336 "_nc_" (discussion with Charles Wilson).
339 + modify scripts to generate ncurses*-config and pc-files to add
340 dependency for tinfo library (patch by Charles Wilson).
341 + improve comparison of program-names when checking for linked flavors
342 such as "reset" by ignoring the executable suffix (reports by Charles
343 Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
345 + suppress configure check for static/dynamic linker flags for gcc on
346 Solaris 10, since gcc is confused by absence of static libc, and
347 does not switch back to dynamic mode before finishing the libraries
348 (reports by Joel Bertrand, Alan Pae).
349 + minor fixes to Intel compiler warning checks in configure script.
350 + modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
351 + modify set_curterm() to make broken-linker configuration work with
352 changes from 20090228 (report by Charles Wilson).
355 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
356 + modify declaration of cur_term when broken-linker is used, but
357 enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
360 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
363 + add configure script --enable-sp-funcs to enable the new set of
365 + start integrating patches by Juergen Pfeifer:
366 + add extended functions which specify the SCREEN pointer for several
367 curses functions which use the global SP (these are incomplete;
368 some internals work is needed to complete these).
369 + add special cases to configure script for MinGW port.
372 + update several configure macros from lynx changes
373 + append (not prepend) to CFLAGS/CPPFLAGS
374 + change variable from PATHSEP to PATH_SEPARATOR
375 + improve install-rules for pc-files (patch by Miroslav Lichvar).
376 + make it work with $DESTDIR
377 + create the pkg-config library directory if needed.
380 + modify init_pair() to allow caller to create extra color pairs beyond
381 the color_pairs limit, which use default colors (request by Emanuele
383 + add misc/terminfo.tmp and misc/*.pc to "sources" rule.
384 + fix typo "==" where "=" is needed in ncurses-config.in and
385 gen-pkgconfig.in files (Debian #512161).
388 + add -shared option to MK_SHARED_LIB when -Bsharable is used, for
389 *BSD's, without which "main" might be one of the shared library's
390 dependencies (report/analysis by Ken Dickey).
391 + modify waddch_literal(), updating line-pointer after a multicolumn
392 character is found to not fit on the current row, and wrapping is
393 done. Since the line-pointer was not updated, the wrapped
394 multicolumn character was written to the beginning of the current row
395 (cf: 20041023, reported by "Nick" regarding problem with ncmpc
396 http://musicpd.org/mantis/bug_view_page.php?bug_id=1930).
399 + add screen.Eterm terminfo entry (GenToo #124887) -TD
400 + modify adacurses-config to look for ".ali" files in the adalib
402 + correct install for Ada95, which omitted libAdaCurses.a used in
404 + change install for adacurses-config to provide additional flavors
405 such as adacursesw-config, for ncursesw (GenToo #167849).
408 + remove undeveloped feature in ncurses-config.in for setting
410 + recent change to ncurses-config.in did not take into account the
411 --disable-overwrite option, which sets $includedir to the
412 subdirectory and using just that for a -I option does not work - fix
413 (report by Frederic L W Meunier).
416 + modify gen-pkgconfig.in to eliminate a dependency on rpath when
417 deciding whether to add $LIBS to --libs output; that should be shown
418 for the ncurses and tinfo libraries without taking rpath into
420 + fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
421 used in static libraries (report by Marty Jack).
424 + add a configure-time check to pick a suitable value for
425 CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).
426 + add configure --with-pkg-config and --enable-pc-files options, along
427 with misc/gen-pkgconfig.in which can be used to generate ".pc" files
428 for pkg-config (request by Jan Engelhardt).
429 + use $includedir symbol in misc/ncurses-config.in, add --includedir
431 + change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a
432 configure check to detect whether a "-" is needed before "ar"
434 + update config.guess, config.sub from
435 http://savannah.gnu.org/projects/config
438 + modify mk-1st.awk to work with extra categories for tinfo library.
439 + modify configure script to allow building shared libraries with gcc
440 on AIX 5 or 6 (adapted from patch by Lital Natan).
443 + modify to omit the opaque-functions from lib_gen.o when
444 --disable-ext-funcs is used.
445 + add test/clip_printw.c to illustrate how to use printw without
447 + modify ncurses 'F' test to demo wborder_set() with colored lines.
448 + modify ncurses 'f' test to demo wborder() with colored lines.
451 + add check for failure to open hashed-database needed for db4.6
453 + corrected --without-manpages option; previous change only suppressed
454 the auxiliary rules install.man and uninstall.man
455 + add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
457 + fixes from NetBSD port at
458 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
459 patch-ac (build-fix for DragonFly)
460 patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
461 + improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
462 by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
464 + correct title string for keybound manpage (patch by Frederic Culot,
465 OpenBSD documentation/6019),
468 + move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
469 work for progs/clear, progs/tabs, etc.
470 + correct buffer-size after internal resizing of wide-character
471 set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
472 + add "-i" option to test/filter.c to tell it to use initscr() rather
473 than newterm(), to investigate report on comp.unix.programmer that
474 ncurses would clear the screen in that case (it does not - the issue
475 was xterm's alternate screen feature).
476 + add check in mouse-driver to disable connection if GPM returns a
477 zero, indicating that the connection is closed (Debian #506717,
478 adapted from patch by Samuel Thibault).
481 + improve a workaround in adding wide-characters, when a control
482 character is found. The library (cf: 20040207) uses unctrl() to
483 obtain a printable version of the control character, but was not
484 passing color or video attributes.
485 + improve test/ncurses.c 'a' test, using unctrl() more consistently to
486 display meta-characters.
487 + turn on _XOPEN_CURSES definition in curses.h
488 + add eterm-color entry (report by Vincent Lefevre) -TD
489 + correct use of key_name() in test/ncurses.c 'A' test, which only
490 displays wide-characters, not key-codes since 20070612 (report by
494 + change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
495 Ada95 (patch by Juergen Pfeifer).
496 + document in TO-DO an issue with Cygwin's package for GNAT (report
498 + improve error-checking of command-line options in "tabs" program.
501 + change several terminfo entries to make consistent use of ANSI
503 + add "tabs" program (prompted by Debian #502260).
504 + add configure --without-manpages option (request by Mike Frysinger).
506 20081102 5.7 release for upload to ftp.gnu.org
509 + add a manpage to discuss memory leaks.
510 + add support for shared libraries for QNX (other than libtool, which
511 does not work well on that platform).
512 + build-fix for QNX C++ binding.
515 + build-fixes for OS/2 EMX.
516 + modify form library to accept control characters such as newline
517 in set_field_buffer(), which is compatible with Solaris (report by
519 + modify configure script to assume --without-hashed-db when
520 --disable-database is used.
521 + add "-e" option in ncurses/Makefile.in when generating source-files
522 to force earlier exit if the build environment fails unexpectedly
523 (prompted by patch by Adrian Bunk).
524 + change configure script to use CF_UTF8_LIB, improved variant of
528 + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
529 original to teraterm2.3 -TD
530 + update "gnome" terminfo to 2.22.3 -TD
531 + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
532 + add "aterm" terminfo -TD
533 + add "linux2.6.26" terminfo -TD
534 + add logic to tic for cancelling strings in user-defined capabilities,
538 + update html documentation.
539 + add -m and -s options to test/keynames.c and test/key_names.c to test
540 the meta() function with keyname() or key_name(), respectively.
541 + correct return value of key_name() on error; it is null.
542 + document some unresolved issues for rpath and pthreads in TO-DO.
543 + fix a missing prototype for ioctl() on OpenBSD in tset.c
544 + add configure option --disable-tic-depends to make explicit whether
545 tic library depends on ncurses/ncursesw library, amends change from
546 20080823 (prompted by Debian #501421).
549 + some build-fixes for configure --disable-ext-funcs (incomplete, but
550 works for C/C++ parts).
551 + improve configure-check for awks unable to handle large strings, e.g.
552 AIX 5.1 whose awk silently gives up on large printf's.
555 + fix build for --with-dmalloc by workaround for redefinition of
556 strndup between string.h and dmalloc.h
557 + fix build for --disable-sigwinch
558 + add environment variable NCURSES_GPM_TERMS to allow override to use
559 GPM on terminals other than "linux", etc.
560 + disable GPM mouse support when $TERM does not happen to contain
561 "linux", since Gpm_Open() no longer limits its assertion to terminals
562 that it might handle, e.g., within "screen" in xterm.
563 + reset mouse file-descriptor when unloading GPM library (report by
565 + fix build for --disable-leaks --enable-widec --with-termlib
566 > patch by Juergen Pfeifer:
567 + use improved initialization for soft-label keys in Ada95 sample code.
568 + discard internal symbol _nc_slk_format (unused since 20080112).
569 + move call of slk_paint_info() from _nc_slk_initialize() to
570 slk_intern_refresh(), improving initialization.
573 + fix bug in mouse code for GPM from 20080920 changes (reported in
574 Debian #500103, also Miroslav Lichvar).
577 + fix shared-library rules for cygwin with tic- and tinfo-libraries.
578 + fix a memory leak when failure to connect to GPM.
579 + correct check for notimeout() in wgetch() (report on linux.redhat
580 newsgroup by FurtiveBertie).
581 + add an example warning-suppression file for valgrind,
582 misc/ncurses.supp (based on example from Reuben Thomas)
585 + change shared-library configuration for OpenBSD, make rpath work.
586 + build-fixes for using libutf8, e.g., on OpenBSD 3.7
589 + corrected fix for --enable-weak-symbols (report by Frederic L W
593 + corrected gcc options for building shared libraries on IRIX64.
594 + add configure check for awk programs unable to handle big-strings,
595 use that to improve the default for --enable-big-strings option.
596 + makefile-fixes for --enable-weak-symbols (report by Frederic L W
598 + update test/configure script.
599 + adapt ifdef's from library to make test/view.c build when mbrtowc()
600 is unavailable, e.g., with HPUX 10.20.
601 + add configure check for wcsrtombs, mbsrtowcs, which are used in
602 test/ncurses.c, and use wcstombs, mbstowcs instead if available,
603 fixing build of ncursew for HPUX 11.00
606 + fixes to make Ada95 demo_panels() example work.
607 + modify Ada95 'rain' test program to accept keyboard commands like the
609 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott
611 + add configure-check to see if the std namespace is legal for cerr
612 and endl, to fix a build issue with Tru64.
613 + consistently use NCURSES_BOOL in lib_gen.c
614 + filter #line's from lib_gen.c
615 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
616 substitution by IBM xlc to '#' as part of its extensions to digraphs.
617 + update config.guess, config.sub from
618 http://savannah.gnu.org/projects/config
619 (caveat - its maintainer removed support for older Linux systems).
622 + modify configure check for pthread library to work with OSF/1 5.1,
623 which uses #define's to associate its header and library.
624 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
625 makes threaded code work on HPUX 11.23
626 + fix a bug in demo_menus in freeing menus (cf: 20080804).
627 + modify configure script for the case where tic library is used (and
628 possibly renamed) to remove its dependency upon ncurses/ncursew
629 library (patch by Dr Werner Fink).
630 + correct manpage for menu_fore() which gave wrong default for
631 the attribute used to display a selected entry (report by Mike Gran).
632 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
636 + add configure option --enable-weak-symbols to turn on new feature.
637 + add configure-check for availability of weak symbols.
638 + modify linkage with pthread library to use weak symbols so that
639 applications not linked to that library will not use the mutexes,
640 etc. This relies on gcc, and may be platform-specific (patch by Dr
642 + add note to INSTALL to document limitation of renaming of tic library
643 using the --with-ticlib configure option (report by Dr Werner Fink).
644 + document (in manpage) why tputs does not detect I/O errors (prompted
645 by comments by Samuel Thibault).
646 + fix remaining warnings from Klocwork report.
649 + modify _nc_panelhook() data to account for a permanent memory leak.
650 + fix memory leaks in test/demo_menus
651 + fix most warnings from Klocwork tool (report by Larry Zhou).
652 + modify configure script CF_XOPEN_SOURCE macro to add case for
653 "dragonfly" from xterm #236 changes.
654 + modify configure script --with-hashed-db to let $LIBS override the
655 search for the db library (prompted by report by Samson Pierre).
658 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
662 + build-fix (reports by Christian Ebert, Funda Wang).
665 + compiler-warning fixes for Solaris.
668 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
669 make those work properly with the "--enable-ext-mouse" configuration
671 + improve documentation of build-cc options in INSTALL.
672 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the
673 -static/-dynamic flags properly to linker, causing test/bs to
677 + correct some ifdef's needed for the broken-linker configuration.
678 + make debugging library's $BAUDRATE feature work for termcap
680 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted
681 by comment on FreeBSD mailing list).
682 + add screen.mlterm terminfo entry -TD
683 + improve mlterm and mlterm+pcfkeys terminfo entries -TD
686 + regenerated html documentation.
687 + expand manpage description of parameters for form_driver() and
688 menu_driver() (prompted by discussion with Adam Spragg).
689 + add null-pointer checks for cur_term in baudrate() and
690 def_shell_mode(), def_prog_mode()
691 + fix some memory leaks in delscreen() and wide acs.
694 + modify test/ditto.c to illustrate multi-threaded use_screen().
695 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
696 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
700 + finish changes to wgetch(), making it switch as needed to the
701 window's actual screen when calling wrefresh() and wgetnstr(). That
702 allows wgetch() to get used concurrently in different threads with
703 some minor restrictions, e.g., the application should not delete a
704 window which is being used in a wgetch().
705 + simplify mutex's, combining the window- and screen-mutex's.
708 + modify wgetch() to use the screen which corresponds to its window
709 parameter rather than relying on SP; some dependent functions still
711 + factor out most use of SP in lib_mouse.c, using parameter.
712 + add internal _nc_keyname(), replacing keyname() to associate with a
713 particular SCREEN rather than the global SP.
714 + add internal _nc_unctrl(), replacing unctrl() to associate with a
715 particular SCREEN rather than the global SP.
716 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
717 its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
718 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
719 preference to the global _nc_globals.tracechr_buf buffer.
722 + modify _nc_keypad() to make it switch temporarily as needed to the
723 screen which must be updated.
724 + wrap cur_term variable to help make _nc_keymap() thread-safe, and
725 always set the screen's copy of this variable in set_curterm().
726 + restore curs_set() state after endwin()/refresh() (report/patch
730 + modify configure script to note that --enable-ext-colors and
731 --enable-ext-mouse are not experimental, but extensions from
733 + corrected manpage description of setcchar() (discussion with
735 + fix for adding a non-spacing character at the beginning of a line
736 (report/patch by Miroslav Lichvar).
739 + modify screen.* terminfo entries using new screen+fkeys to fix
740 overridden keys in screen.rxvt (Debian #478094) -TD
741 + modify internal interfaces to reduce wgetch()'s dependency on the
743 + simplify some loops with macros each_screen(), each_window() and
747 + continue modifying test/ditto.c toward making it demonstrate
748 multithreaded use_screen(), using fifos to pass data between screens.
749 + fix typo in form.3x (report by Mike Gran).
752 + add screen.rxvt terminfo entry -TD
753 + modify tic -f option to format spaces as \s to prevent them from
754 being lost when that is read back in unformatted strings.
755 + improve test/ditto.c, using a "talk"-style layout.
758 + change test/ditto.c to use openpty() and xterm.
759 + add locks for copywin(), dupwin(), overlap(), overlay() on their
761 + add locks for initscr() and newterm() on updates to the SCREEN
763 + finish table in curs_thread.3x manpage.
766 + begin table in curs_thread.3x manpage describing the scope of data
767 used by each function (or symbol) for threading analysis.
768 + add null-pointer checks to setsyx() and getsyx() (prompted by
769 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
770 python-dev2 mailing list).
773 + add null-pointer checks in set_term() and delscreen().
774 + move _nc_windows into _nc_globals, since windows can be pads, which
775 are not associated with a particular screen.
776 + change use_screen() to pass the SCREEN* parameter rather than
777 stdscr to the callback function.
778 + force libtool to use tag for 'CC' in case it does not detect this,
779 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
780 (report/patch by Michael Haubenwallner).
781 + override OBJEXT to "lo" when building with libtool, to work on
782 platforms such as AIX where libtool may use a different suffix for
783 the object files than ".o" (report/patch by Michael Haubenwallner).
784 + add configure --with-pthread option, for building with the POSIX
788 + fill in extended-color pair two more places in wbkgrndset() and
789 waddch_nosync() (prompted by Sedeno's patch).
790 + fill in extended-color pair in _nc_build_wch() to make colors work
791 for wide-characters using extended-colors (patch by Alejandro R
793 + add x/X toggles to ncurses.c C color test to test/demo
794 wide-characters with extended-colors.
795 + add a/A toggles to ncurses.c c/C color tests.
796 + modify test/ditto.c to use use_screen().
797 + finish modifying test/rain.c to demonstrate threads.
800 + start modifying test/rain.c for threading demo.
801 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
802 that the 'F' accepts.
803 + modify test/worm.c to show trail in reverse-video when other threads
804 are working concurrently.
805 + fix a deadlock from improper nesting of mutexes for windowlist and
809 + fixes from 20080223 resolved issue with mutexes; change to use
810 recursive mutexes to fix memory leak in delwin() as called from
814 + fix a size-difference in _nc_globals which caused hanging of mutex
815 lock/unlock when termlib was built separately.
818 + avoid using nanosleep() in threaded configuration since that often
819 is implemented to suspend the entire process.
822 + update test programs to build/work with various UNIX curses for
823 comparisons. This was to reinvestigate statement in X/Open curses
824 that insnstr and winsnstr perform wrapping. None of the Unix-branded
825 implementations do this, as noted in manpage (cf: 20040228).
828 + modify _nc_setupscreen() to set the legacy-coding value the same
829 for both narrow/wide models. It had been set only for wide model,
830 but is needed to make unctrl() work with locale in the narrow model.
831 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
832 using unctrl() to display illegal bytes rather than trying to append
833 further bytes to make up a valid sequence (reported by Andrey A
835 + modify unctrl() to check codes in 128-255 range versus isprint().
836 If they are not printable, and locale was set, use a "M-" or "~"
840 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
841 handling). Now it hangs in napms(), no matter whether nanosleep()
842 or poll() or select() are used on Linux.
845 + fixes to build with --disable-ext-funcs
846 + add manpage for use_window and use_screen.
847 + add set_tabsize() and set_escdelay() functions.
850 + remove recursive-mutex definitions, finish threading demo for worm.c
851 + remove a redundant adjustment of lines in resizeterm.c's
852 adjust_window() which caused occasional misadjustment of stdscr when
856 + several improvements to terminfo entries based on xterm #230 -TD
857 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
858 "link_test" builds properly.
859 + fix for toe command-line options -u/-U to ensure filename is given.
860 + fix allocation-size for command-line parsing in infocmp from 20070728
861 (report by Miroslav Lichvar)
862 + improve resizeterm() by moving ripped-off lines, and repainting the
863 soft-keys (report by Katarina Machalkova)
864 + add clarification in wclear's manpage noting that the screen will be
865 cleared even if a subwindow is cleared (prompted by Christer Enfors
867 + change test/ncurses.c soft-key tests to work with KEY_RESIZE.
870 + continue implementing support for threading demo by adding mutex
874 + add several functions to C++ binding which wrap C functions that
875 pass a WINDOW* parameter (request by Chris Lee).
878 + add note about configure options needed for Berkeley database to the
880 + improve checks for version of Berkeley database libraries.
881 + amend fix for rpath to not modify LDFLAGS if the platform has no
882 applicable transformation (report by Christian Ebert, cf: 20071124).
885 + modify configure option --with-hashed-db to accept a parameter which
886 is the install-prefix of a given Berkeley Database (prompted by
888 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is
889 used in the form library to determine the length of the buffer needed
890 by field_buffer (report by Alfred Fung).
891 + remove unneeded window-parameter from C++ binding for wresize (report
895 + modify the support for filesystems which do not support mixed-case to
896 generate 2-character (hexadecimal) codes for the lower-level of the
897 filesystem terminfo database (request by Michail Vidiassov).
898 + add configure option --enable-mixed-case, to allow overriding the
899 configure script's check if the filesystem supports mixed-case
901 + add wresize() to C++ binding (request by Chris Lee).
902 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
903 it simpler to tell if the extended functions and/or colors are
907 + update memory-leak checks for changes to names.c and codes.c
908 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
911 + continue implementing support for threading demo by adding mutex
913 + add mrxvt terminfo entry, add/fix xterm building blocks for modified
915 + compile with FreeBSD "contemporary" TTY interface (patch by
919 + modify makefile rules to allow clear, tput and tset to be built
920 without libtic. The other programs (infocmp, tic and toe) rely on
922 + add/modify null-pointer checks in several functions for SP and/or
923 the WINDOW* parameter (report by Thorben Krueger).
924 + fixes for field_buffer() in formw library (see Redhat Bugzilla
925 #310071, patches by Miroslav Lichvar).
926 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
928 + update/improve mlterm and rxvt terminfo entries, e.g., for
929 the modified cursor- and keypad-keys -TD
932 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
933 changes the CharEq() macro to an inline function to allow comparing
934 cchar_t struct's without comparing gaps in a possibly unpacked
935 memory layout (report by Miroslav Lichvar).
938 + add new functions to lib_trace.c to setup mutex's for the _tracef()
939 calls within the ncurses library.
940 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into
942 + start modifying test/worm.c to provide threading demo (incomplete).
943 + separated ifdef's for some BSD-related symbols in tset.c, to make
944 it compile on LynxOS (report by Greg Gemmer).
946 + modify Ada95/gen/Makefile to use shlib script, to simplify building
947 shared-library configuration on platforms lacking rpath support.
948 + build-fix for Ada95/src/Makefile to reflect changed dependency for
949 the terminal-interface-curses-aux.adb file which is now generated.
950 + restructuring test/worm.c, for use_window() example.
953 + add use_window() and use_screen() functions, to develop into support
954 for threaded library (incomplete).
955 + fix typos in man/curs_opaque.3x which kept the install script from
956 creating symbolic links to two aliases created in 20070818 (report by
960 + remove a spurious newline from output of html.m4, which caused links
961 for Ada95 html to be incorrect for the files generated using m4.
962 + start investigating mutex's for SCREEN manipulation (incomplete).
963 + minor cleanup of codes.c/names.c for --enable-const
964 + expand/revise "Routine and Argument Names" section of ncurses manpage
965 to address report by David Givens in newsgroup discussion.
966 + fix interaction between --without-progs/--with-termcap configure
967 options (report by Michail Vidiassov).
968 + fix typo in "--disable-relink" option (report by Michail Vidiassov).
971 + fix a sign-extension bug in infocmp's repair_acsc() function
973 + fix old configure script bug which prevented "--disable-warnings"
974 option from working (patch by Mike Frysinger).
977 + add 9term terminal description (request by Juhapekka Tolvanen) -TD
978 + modify comp_hash.c's string output to avoid misinterpreting a null
979 "\0" followed by a digit.
980 + modify MKnames.awk and MKcodes.awk to support big-strings.
981 This only applies to the cases (broken linker, reentrant) where
982 the corresponding arrays are accessed via wrapper functions.
983 + split MKnames.awk into two scripts, eliminating the shell redirection
984 which complicated the make process and also the bogus timestamp file
985 which was introduced to fix "make -j".
986 + add test/test_opaque.c, test/test_arrays.c
987 + add wgetscrreg() and wgetparent() for applications that may need it
988 when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
991 + amend treatment of infocmp "-r" option to retain the 1023-byte limit
992 unless "-T" is given (cf: 981017).
993 + modify comp_captab.c generation to use big-strings.
994 + make _nc_capalias_table and _nc_infoalias_table private accessed via
995 _nc_get_alias_table() since the tables are used only within the tic
997 + modify configure script to skip Intel compiler in CF_C_INLINE.
998 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
999 _nc_get_hash_table() since the tables are used only within the tic
1003 + make _nc_capalias_table and _nc_infoalias_table private, accessed via
1004 _nc_get_alias_table() since they are used only by parse_entry.c
1005 + make _nc_key_names private since it is used only by lib_keyname.c
1006 + add --disable-big-strings configure option to control whether
1007 unctrl.c is generated using the big-string optimization - which may
1008 use strings longer than supported by a given compiler.
1009 + reduce relocation tables for tic, infocmp by changing type of
1010 internal hash tables to short, and make those private symbols.
1011 + eliminate large fixed arrays from progs/infocmp.c
1014 + change winnstr() to stop at the end of the line (cf: 970315).
1015 + add test/test_get_wstr.c
1016 + add test/test_getstr.c
1017 + add test/test_inwstr.c
1018 + add test/test_instr.c
1021 + restore a call to obtain screen-size in _nc_setupterm(), which
1022 is used in tput and other non-screen applications via setupterm()
1023 (Debian #433357, reported by Florent Bayle, Christian Ohm,
1027 + add test/savescreen.c test-program
1028 + add check to trace-file open, if the given name is a directory, add
1029 ".log" to the name and try again.
1030 + add konsole-256color entry -TD
1031 + add extra gcc warning options from xterm.
1032 + minor fixes for ncurses/hashmap test-program.
1033 + modify configure script to quiet c++ build with libtool when the
1034 --disable-echo option is used.
1035 + modify configure script to disable ada95 if libtool is selected,
1036 writing a warning message (addresses FreeBSD ports/114493).
1037 + update config.guess, config.sub
1040 + add continuous-move "M" to demo_panels to help test refresh changes.
1041 + improve fix for refresh of window on top of multi-column characters,
1042 taking into account some split characters on left/right window
1046 + add "widec" row to _tracedump() output to help diagnose remaining
1047 problems with multi-column characters.
1048 + partial fix for refresh of window on top of multi-column characters
1049 which are partly overwritten (report by Sadrul H Chowdhury).
1050 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
1051 multi-column extension bits are passed there.
1052 + add setlocale() call to demo_panels.c, needed for wide-characters.
1053 + add some output flags to _nc_trace_ttymode to help diagnose a bug
1054 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
1057 + add test/demo_panels.c
1058 + implement opaque version of setsyx() and getsyx().
1061 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
1063 + split-out key_name() from MKkeyname.awk since it now depends upon
1064 wunctrl() which is not in libtinfo (report by Rong-En Fan).
1067 + add test/key_name.c
1068 + add stdscr cases to test/inchs.c and test/inch_wide.c
1069 + update test/configure
1070 + correct formatting of DEL (0x7f) in _nc_vischar().
1071 + null-terminate result of wunctrl().
1072 + add null-pointer check in key_name() (report by Andreas Krennmair,
1076 + adapt mouse-handling code from menu library in form-library
1077 (discussion with Clive Nicolson).
1078 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
1079 illustrate how to use mvcur().
1080 + modify wide-character flavor of SetAttr() to preserve the
1081 WidecExt() value stored in the .attr field, e.g., in case it
1082 is overwritten by chgat (report by Aleksi Torhamo).
1083 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
1084 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
1087 + modify keyname() to use "^X" form only if meta() has been called, or
1088 if keyname() is called without initializing curses, e.g., via
1089 initscr() or newterm() (prompted by LinuxBase #1604).
1090 + document some portability issues in man/curs_util.3x
1091 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
1092 broken by moving that data into SCREEN (cf: 20061230).
1095 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
1096 problem reported by Sadrul H Chowdhury with repainting parts of
1098 + modify slk_init() so that if there are preceding calls to
1099 ripoffline(), those affect the available lines for soft-keys (adapted
1100 from patch by Clive Nicolson).
1101 + document some portability issues in man/curs_getyx.3x
1104 + fix a bug in Ada95/samples/ncurses which caused a variable to
1105 become uninitialized in the "b" test.
1106 + fix Ada95/gen/Makefile.in adahtml rule to account for recent
1107 movement of files, fix a few incorrect manpage references in the
1109 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
1111 + correct some functions in Ada95 binding which were using return value
1112 from C where none was returned: idcok(), immedok() and wtimeout().
1113 + amend recent changes for Ada95 binding to make it build with
1114 Cygwin's linker, e.g., with configure options
1115 --enable-broken-linker --with-ticlib
1118 + add a configure check for gcc's options for inlining, use that to
1119 quiet a warning message where gcc's default behavior changed from
1121 + improve warning message when checking if GPM is linked to curses
1122 library by not warning if its use of "wgetch" is via a weak symbol.
1123 + add loader options when building with static libraries to ensure that
1124 an installed shared library for ncurses does not conflict. This is
1125 reported as problem with Tru64, but could affect other platforms
1126 (report Martin Mokrejs, analysis by Tim Mooney).
1127 + fix build on cygwin after recent ticlib/termlib changes, i.e.,
1128 + adjust TINFO_SUFFIX value to work with cygwin's dll naming
1129 + revert a change from 20070303 which commented out dependency of
1130 SHLIB_LIST in form/menu/panel/c++ libraries.
1131 + fix initialization of ripoff stack pointer (cf: 20070421).
1134 + move most static variables into structures _nc_globals and
1135 _nc_prescreen, to simplify storage.
1136 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
1137 type for data manipulated by signal handlers (prompted by comments
1138 in mailing.openbsd.bugs newsgroup).
1139 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
1140 to the libtool create- and link-operations.
1143 + fix whitespace in curs_opaque.3x which caused a spurious ';' in
1144 the installed aliases (report by Peter Santoro).
1145 + fix configure script to not try to generate adacurses-config when
1146 Ada95 tree is not built.
1149 + add man/curs_legacy.3x, man/curs_opaque.3x
1150 + fix acs_map binding for Ada95 when --enable-reentrant is used.
1151 + add adacurses-config to the Ada95 install, based on version from
1152 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
1153 comment on comp.lang.ada newsgroup).
1154 + fix includes in c++ binding to build with Intel compiler
1156 + update install rule in Ada95 to use mkdirs.sh
1157 > other fixes prompted by inspection for Coverity report:
1158 + modify ifdef's for c++ binding to use try/catch/throw statements
1159 + add a null-pointer check in tack/ansi.c request_cfss()
1160 + fix a memory leak in ncurses/base/wresize.c
1161 + corrected check for valid memu/meml capabilities in
1162 progs/dump_entry.c when handling V_HPUX case.
1163 > fixes based on Coverity report:
1164 + remove dead code in test/bs.c
1165 + remove dead code in test/demo_defkey.c
1166 + remove an unused assignment in progs/infocmp.c
1167 + fix a limit check in tack/ansi.c tools_charset()
1168 + fix tack/ansi.c tools_status() to perform the VT320/VT420
1169 tests in request_cfss(). The function had exited too soon.
1170 + fix a memory leak in tic.c's make_namelist()
1171 + fix a couple of places in tack/output.c which did not check for EOF.
1172 + fix a loop-condition in test/bs.c
1173 + add index checks in lib_color.c for color palettes
1174 + add index checks in progs/dump_entry.c for version_filter() handling
1176 + fix a possible null-pointer dereference in copywin()
1177 + fix a possible null-pointer dereference in waddchnstr()
1178 + add a null-pointer check in _nc_expand_try()
1179 + add a null-pointer check in tic.c's make_namelist()
1180 + add a null-pointer check in _nc_expand_try()
1181 + add null-pointer checks in test/cardfile.c
1182 + fix a double-free in ncurses/tinfo/trim_sgr0.c
1183 + fix a double-free in ncurses/base/wresize.c
1184 + add try/catch block to c++/cursesmain.cc
1187 + modify Ada95 binding to build with --enable-reentrant by wrapping
1188 global variables (bug: acs_map does not yet work).
1189 + modify Ada95 binding to use the new access-functions, allowing it
1190 to build/run when NCURSES_OPAQUE is set.
1191 + add access-functions and macros to return properties of the WINDOW
1192 structure, e.g., when NCURSES_OPAQUE is set.
1193 + improved install-sh's quoting.
1194 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
1198 + eliminate part of the direct use of WINDOW data from Ada95 interface.
1199 + fix substitutions for termlib filename to make configure option
1200 --enable-reentrant work with --with-termlib.
1201 + change a constructor for NCursesWindow to allow compiling with
1202 NCURSES_OPAQUE set, since we cannot pass a reference to
1206 + ignore --with-chtype=unsigned since unsigned is always added to
1207 the type in curses.h; do the same for --with-mmask-t.
1208 + change warning regarding --enable-ext-colors and wide-character
1209 in the configure script to an error.
1210 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
1211 such as Darwin's libtool program (report by Michail Vidiassov)
1212 + modify edit_man.sh to allow for multiple substitutions per line.
1213 + set locale in misc/ncurses-config.in since it uses a range
1214 + change permissions libncurses++.a install (report by Michail
1216 + corrected length of temporary buffer in wide-character version
1217 of set_field_buffer() (related to report by Bryan Christ).
1220 + fix mk-1st.awk script install_shlib() function, broken in 20070224
1221 changes for cygwin (report by Michail Vidiassov).
1224 + increase size of array in _nc_visbuf2n() to make "tic -v" work
1225 properly in its similar_sgr() function (report/analysis by Peter
1227 + add --enable-reentrant configure option for ongoing changes to
1228 implement a reentrant version of ncurses:
1229 + libraries are suffixed with "t"
1230 + wrap several global variables (curscr, newscr, stdscr, ttytype,
1231 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
1232 functions returning values stored in SCREEN or cur_term.
1233 + move some initialization (LINES, COLS) from lib_setup.c,
1234 i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
1237 + regenerated html documentation.
1238 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
1239 opaque in selected configurations.
1240 + move the chunk in lib_acs.c which resets acs capabilities when
1241 running on a terminal whose locale interferes with those into
1242 _nc_setupscreen(), so the libtinfo/libtinfow files can be made
1243 identical (requested by Miroslav Lichvar).
1244 + do not use configure variable SHLIB_LIBS for building libraries
1245 outside the ncurses directory, since that symbol is customized
1246 only for that directory, and using it introduces an unneeded
1247 dependency on libdl (requested by Miroslav Lichvar).
1248 + modify mk-1st.awk so the generated makefile rules for linking or
1249 installing shared libraries do not first remove the library, in
1250 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
1252 + revised section "Using NCURSES under XTERM" in ncurses-intro.html
1253 (prompted by newsgroup comment by Nick Guenther).
1256 + change internal return codes of _nc_wgetch() to check for cases
1257 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
1258 ungetch'd, and read by wget_wch().
1259 + fix static-library build broken in 20070217 changes to remove "-ldl"
1260 (report by Miroslav Lichvar).
1261 + change makefile/scripts for cygwin to allow building termlib.
1262 + use Form_Hook in manpages to match form.h
1263 + use Menu_Hook in manpages, as well as a few places in menu.h
1264 + correct form- and menu-manpages to use specific Field_Options,
1265 Menu_Options and Item_Options types.
1266 + correct prototype for _tracechar() in manpage (cf: 20011229).
1267 + correct prototype for wunctrl() in manpage.
1270 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
1272 + modify relinking of shared libraries to apply only when rpath is
1273 enabled, and add --disable-relink option which can be used to
1274 disable the feature altogether (reports by Michail Vidiassov,
1276 + fix --with-termlib option for wide-character configuration, stripping
1277 the "w" suffix in one place (report by Miroslav Lichvar).
1278 + remove "-ldl" from some library lists to reduce dependencies in
1279 programs (report by Miroslav Lichvar).
1280 + correct description of --enable-signed-char in configure --help
1281 (report by Michail Vidiassov).
1282 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
1283 which matches an earlier change to CF_SHARED_OPTS, from xterm #224
1285 + remove "${DESTDIR}" from -install_name option used for linking
1286 shared libraries on Darwin (report by Michail Vidiassov).
1289 + add test/inchs.c, test/inch_wide.c, to test win_wchnstr().
1290 + remove libdl from library list for termlib (report by Miroslav
1292 + fix configure.in to allow --without-progs --with-termlib (patch by
1294 + modify win_wchnstr() to ensure that only a base cell is returned
1295 for each multi-column character (prompted by report by Wei Kong
1296 regarding change in mvwin_wch() cf: 20041023).
1299 + modify fix_wchnstr() in form library to strip attributes (and color)
1300 from the cchar_t array (field cells) read from a field's window.
1301 Otherwise, when copying the field cells back to the window, the
1302 associated color overrides the field's background color (report by
1304 + improve tracing for form library, showing created forms, fields, etc.
1305 + ignore --enable-rpath configure option if --with-shared was omitted.
1306 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
1307 to allow leak-checking when both tic- and tinfo-libraries are built.
1308 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
1309 no longer relies on it.
1310 + disallow combining configure script options --with-ticlib and
1311 --enable-termcap (report by Rong-En Fan).
1312 + remove tack from ncurses tree.
1315 + fix typo in configure script that broke --with-termlib option
1316 (report by Rong-En Fan).
1319 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
1320 to tgetent() (report by Rong-en Fan).
1321 + update tack/HISTORY and tack/README to tell how to build it after
1322 it is removed from the ncurses tree.
1323 + fix configure check for libtool's version to trim blank lines
1324 (report by sci-fi@hush.ai).
1325 + review/eliminate other original-file artifacts in cursesw.cc, making
1326 its license consistent with ncurses.
1327 + use ncurses vw_scanw() rather than reading into a fixed buffer in
1328 the c++ binding for scanw() methods (prompted by report by Nuno Dias).
1329 + eliminate fixed-buffer vsprintf() calls in c++ binding.
1332 + add _nc_leaks_tic() to separate leak-checking of tic library from
1333 term/ncurses libraries, and thereby eliminate a library dependency.
1334 + fix test/mk-test.awk to ignore blank lines.
1335 + correct paths in include/headers, for --srcdir (patch by Miroslav
1339 + add a break-statement in misc/shlib to ensure that it exits on the
1340 _first_ matched directory (report by Paul Novak).
1341 + add tack/configure, which can be used to build tack outside the
1343 + add --with-ticlib option, to build/install the tic-support functions
1344 in a separate library (suggested by Miroslav Lichvar).
1347 + change MKunctrl.awk to reduce relocation table for unctrl.o
1348 + change MKkeyname.awk to reduce relocation table for keyname.o
1349 (patch by Miroslav Lichvar).
1352 + modify configure check for libtool's version to trim blank lines
1353 (report by sci-fi@hush.ai).
1354 + modify some modules to allow them to be reentrant if _REENTRANT is
1355 defined: lib_baudrate.c, resizeterm.c (local data only)
1356 + eliminate static data from some modules: add_tries.c, hardscroll.c,
1357 lib_ttyflags.c, lib_twait.c
1358 + improve manpage install to add aliases for the transformed program
1359 names, e.g., from --program-prefix.
1360 + used linklint to verify links in the HTML documentation, made fixes
1361 to manpages as needed.
1362 + fix a typo in curs_mouse.3x (report by William McBrine).
1363 + fix install-rule for ncurses5-config to make the bin-directory.
1366 + modify configure script to omit the tic (terminfo compiler) support
1367 from ncurses library if --without-progs option is given.
1368 + modify install rule for ncurses5-config to do this via "install.libs"
1369 + modify shared-library rules to allow FreeBSD 3.x to use rpath.
1370 + update config.guess, config.sub
1372 20061217 5.6 release for upload to ftp.gnu.org
1375 + add ifdef's for <wctype.h> for HPUX, which has the corresponding
1376 definitions in <wchar.h>.
1377 + revert the va_copy() change from 20061202, since it was neither
1378 correct nor portable.
1379 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
1381 + ignore wide-acs line-drawing characters that wcwidth() claims are
1382 not one-column. This is a workaround for Solaris' broken locale
1386 + modify configure --with-gpm option to allow it to accept a parameter,
1387 i.e., the name of the dynamic GPM library to load via dlopen()
1388 (requested by Bryan Henderson).
1389 + add configure option --with-valgrind, changes from vile.
1390 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
1391 'return' in preference to 'exit()'.
1394 + change default for --with-develop back to "no".
1395 + add XTABS to tracing of TTY bits.
1396 + updated autoconf patch to ifdef-out the misfeature which declares
1397 exit() for configure tests. This fixes a redefinition warning on
1399 + use ${CC} rather than ${LD} in shared library rules for IRIX64,
1400 Solaris to help ensure that initialization sections are provided for
1401 extra linkage requirements, e.g., of C++ applications (prompted by
1402 comment by Casper Dik in newsgroup).
1403 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
1404 from the autoconf predefined symbol. There was no conflict,
1405 since "$target" was used only in the generated edit_man.sh file,
1406 but SuSE's rpm package contains a patch.
1409 + update man/term.5 to reflect extended terminfo support and hashed
1410 database configuration.
1411 + updates for test/configure script.
1412 + adapted from SuSE rpm package:
1413 + remove long-obsolete workaround for broken-linker which declared
1415 + improve error recovery in PUTC() macro when wcrtomb() does not
1416 return usable results for an 8-bit character.
1417 + patches from rpm package (SuSE):
1418 + use va_copy() in extra varargs manipulation for tracing version
1420 + use a va_list rather than a null in _nc_freeall()'s call to
1421 _nc_printf_string().
1422 + add some see-also references in manpages to show related
1423 wide-character functions (suggested by Claus Fischer).
1426 + add a check in lib_color.c to ensure caller does not increase COLORS
1427 above max_colors, which is used as an array index (discussion with
1429 + add ifdef's allowing ncurses to be built with tparm() using either
1430 varargs (the existing status), or using a fixed-parameter list (to
1434 + fix redrawing of windows other than stdscr using wredrawln() by
1435 touching the corresponding rows in curscr (discussion with Dan
1438 + add test/echochar.c
1439 + review/cleanup manpage descriptions of error-returns for form- and
1440 menu-libraries (prompted by FreeBSD docs/46196).
1443 + add AUTHORS file -TD
1444 + omit the -D options from output of the new config script --cflags
1445 option (suggested by Ralf S Engelschall).
1446 + make NCURSES_INLINE unconditionally defined in curses.h
1449 + revert change to accommodate bash 3.2, since that breaks other
1450 platforms, e.g., Solaris.
1451 + minor fixes to NEWS file to simplify scripting to obtain list of
1453 + improve some shared-library configure scripting for Linux, FreeBSD
1454 and NetBSD to make "--with-shlib-version" work.
1455 + change configure-script rules for FreeBSD shared libraries to allow
1456 for rpath support in versions past 3.
1457 + use $(DESTDIR) in makefile rules for installing/uninstalling the
1458 package config script (reports/patches by Christian Wiese,
1459 Ralf S Engelschall).
1460 + fix a warning in the configure script for NetBSD 2.0, working around
1461 spurious blanks embedded in its ${MAKEFLAGS} symbol.
1462 + change test/Makefile to simplify installing test programs in a
1463 different directory when --enable-rpath is used.
1466 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
1467 + add/install a package config script, e.g., "ncurses5-config" or
1468 "ncursesw5-config", according to configuration options.
1471 + add several GNU Screen terminfo variations with 16- and 256-colors,
1472 and status line (Alain Bench).
1473 + change the way shared libraries (other than libtool) are installed.
1474 Rather than copying the build-tree's libraries, link the shared
1475 objects into the install directory. This makes the --with-rpath
1476 option work except with $(DESTDIR) (cf: 20000930).
1479 + fix ifdef in c++/internal.h for QNX 6.1
1480 + test-compiled with (old) egcs-1.1.2, modified configure script to
1481 not unset the $CXX and related variables which would prevent this.
1482 + fix a few terminfo.src typos exposed by improvments to "-f" option.
1483 + improve infocmp/tic "-f" option formatting.
1486 + make --disable-largefile option work (report by Thomas M Ott).
1487 + updated html documentation.
1488 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
1489 + minor improvements to rxvt+pcfkeys -TD
1492 + move static data from lib_mouse.c into SCREEN struct.
1493 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
1494 (report by Michail Vidiassov).
1495 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
1496 option (from lynx changes) -TD
1497 + adapt AC_PROG_EGREP check, noting that this is likely to be another
1498 place aggravated by POSIXLY_CORRECT.
1499 + modify configure check for awk to ensure that it is found (prompted
1500 by report by Christopher Parker).
1504 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
1505 + remove invis capability from klone+sgr, mainly used by linux entry,
1506 since it does not really do this -TD
1509 + correct logic in wadd_wch() and wecho_wch(), which did not guard
1510 against passing the multi-column attribute into a call on waddch(),
1511 e.g., using data returned by win_wch() (cf: 20041023)
1512 (report by Sadrul H Chowdhury).
1515 + fix kterm's acsc string -TD
1516 + fix for change to tic/infocmp in 20060819 to ensure no blank is
1517 embedded into a termcap description.
1518 + workaround for 20050806 ifdef's change to allow visbuf.c to compile
1519 when using --with-termlib --with-trace options.
1520 + improve tgetstr() by making the return value point into the user's
1521 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
1523 + correct libraries needed for foldkeys (report by Stanislav Ievlev)
1526 + add terminfo entries for xfce terminal (xfce) and multi gnome
1528 + add test/foldkeys.c
1531 + modify tic and infocmp to avoid writing trailing blanks on terminfo
1532 source output (Debian #378783).
1533 + modify configure script to ensure that if the C compiler is used
1534 rather than the loader in making shared libraries, the $(CFLAGS)
1535 variable is also used (Redhat Bugzilla #199369).
1536 + port hashed-db code to db2 and db3.
1537 + fix a bug in tgetent() from 20060625 and 20060715 changes
1538 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
1541 + updated xterm function-keys terminfo to match xterm #216 -TD
1542 + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
1543 e.g., the db 1.8.5 interface).
1546 + modify toe to access termcap data, e.g., via cgetent() functions,
1547 or as a text file if those are not available.
1548 + use _nc_basename() in tset to improve $SHELL check for csh/sh.
1549 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
1550 can access termcap data when the terminfo database is disabled.
1553 + widen the test for xterm kmous a little to allow for other strings
1554 than \E[M, e.g., for xterm-sco functionality in xterm.
1555 + update xterm-related terminfo entries to match xterm patch #216 -TD
1556 + update config.guess, config.sub
1559 + fix for install-rule in Ada95 to add terminal_interface.ads
1560 and terminal_interface.ali (anonymous posting in comp.lang.ada).
1561 + correction to manpage for getcchar() (report by William McBrine).
1563 + modify wchgat() to mark updated cells as changed so a refresh will
1564 repaint those cells (comments by Sadrul H Chowdhury and William
1566 + split up dependency of names.c and codes.c in ncurses/Makefile to
1567 work with parallel make (report/analysis by Joseph S Myers).
1568 + suppress a warning message (which is ignored) for systems without
1569 an ldconfig program (patch by Justin Hibbits).
1570 + modify configure script --disable-symlinks option to allow one to
1571 disable symlink() in tic even when link() does not work (report by
1573 + modify MKfallback.sh to use tic -x when constructing fallback tables
1574 to allow extended capabilities to be retrieved from a fallback entry.
1575 + improve leak-checking logic in tgetent() from 20060625 to ensure that
1576 it does not free the current screen (report by Miroslav Lichvar).
1579 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
1580 + correct _nc_free_entries() and related functions used for memory leak
1584 + revert a minor change for magic-cookie support from 20060513, which
1585 caused unexpected reset of attributes, e.g., when resizing test/view
1587 + note in clear manpage that the program ignores command-line
1588 parameters (prompted by Debian #371855).
1589 + fixes to make lib_gen.c build properly with changes to the configure
1590 --disable-macros option and NCURSES_NOMACROS (cf: 20060527)
1591 + update/correct several terminfo entries -TD
1592 + add some notes regarding copyright to terminfo.src -TD
1595 + fixes to build Ada95 binding with gnat-4.1.0
1596 + modify read_termtype() so the term_names data is always allocated as
1597 part of the str_table, a better fix for a memory leak (cf: 20030809).
1598 + reduce memory leaks in repeated calls to tgetent() by remembering the
1599 last TERMINAL* value allocated to hold the corresponding data and
1600 freeing that if the tgetent() result buffer is the same as the
1601 previous call (report by "Matt" for FreeBSD gnu/98975).
1602 + modify tack to test extended capability function-key strings.
1603 + improved gnome terminfo entry (GenToo #122566).
1604 + improved xterm-256color terminfo entry (patch by Alain Bench).
1607 + fix two small memory leaks related to repeated tgetent() calls
1608 with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
1609 + add --enable-signed-char to simplify Debian package.
1610 + reduce name-pollution in term.h by removing #define's for HAVE_xxx
1612 + correct typo in curs_terminfo.3x (Debian #369168).
1615 + enable the mouse in test/movewindow.c
1616 + improve a limit-check in frm_def.c (John Heasley).
1617 + minor copyright fixes.
1618 + change configure script to produce test/Makefile from data file.
1621 + add a configure option --enable-wgetch-events to enable
1622 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
1623 lib_twait.c (report by Bernd Jendrissek).
1624 + remove include/nomacros.h from build, since the ifdef for
1625 NCURSES_NOMACROS makes that obsolete.
1626 + add entrypoints for some functions which were only provided as macros
1627 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(),
1628 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
1630 + provide ifdef for NCURSES_NOMACROS which suppresses most macro
1631 definitions from curses.h, i.e., where a macro is defined to override
1632 a function to improve performance. Allowing a developer to suppress
1633 these definitions can simplify some application (discussion with
1635 + improve description of memu/meml in terminfo manpage.
1638 + if msgr is false, reset video attributes when doing an automargin
1639 wrap to the next line. This makes the ncurses 'k' test work properly
1641 + correct caching of keyname(), which was using only half of its table.
1642 + minor fixes to memory-leak checking.
1643 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
1644 arrays, making ACS_LEN less visible to applications (suggested by
1646 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
1647 _screen_acs_map will have the same offset in both ncurses/ncursesw,
1648 making the corresponding tinfo/tinfow libraries binary-compatible
1649 (cf: 20041016, report by Stanislav Ievlev).
1652 + improve debug-tracing for EmitRange().
1653 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS
1654 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
1655 suppression of the related hard-tabs and xmc-glitch features.
1656 + add ncurses version number to top-level manpages, e.g., ncurses, tic,
1657 infocmp, terminfo as well as form, menu, panel.
1658 + update config.guess, config.sub
1659 + modify ncurses.c to work around a bug in NetBSD 3.0 curses
1660 (field_buffer returning null for a valid field). The 'r' test
1661 appears to not work with that configuration since the new_fieldtype()
1662 function is broken in that implementation.
1665 + add hpterm-color terminfo entry -TD
1666 + fixes to compile test-programs with HPUX 11.23
1669 + add copyright notices to files other than those that are generated,
1670 data or adapted from pdcurses (reports by William McBrine, David
1672 + improve rendering on hpterm by not resetting attributes at the end
1673 of doupdate() if the terminal has the magic-cookie feature (report
1675 + add 256color variants of terminfo entries for programs which are
1676 reported to implement this feature -TD
1679 + fix typo in change to NewChar() macro from 20060311 changes, which
1680 broke tab-expansion (report by Frederic L W Meunier).
1683 + document -U option of tic and infocmp.
1684 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
1685 due to size limit, e.g., converting to termcap format. Also
1686 suppress them if the output format does not contain acsc and it
1687 was not VT100-like, i.e., a one-one mapping (Novell #163715).
1688 + add configure check to ensure that SIGWINCH is defined on platforms
1689 such as OS X which exclude that when _XOPEN_SOURCE, etc., are
1690 defined (report by Nicholas Cole)
1693 + modify write_object() to not write coincidental extensions of an
1694 entry made due to it being referenced in a use= clause (report by
1696 + another fix for infocmp -i option, which did not ensure that some
1697 escape sequences had comparable prefixes (report by Alain Bench).
1700 + improve discussion of init/reset in terminfo and tput manpages
1701 (report by Alain Bench).
1702 + use is3 string for a fallback of rs3 in the reset program; it was
1703 using is2 (report by Alain Bench).
1704 + correct logic for infocmp -i option, which did not account for
1705 multiple digits in a parameter (cf: 20040828) (report by Alain
1707 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
1708 option work after 20060114 changes (report by Arkadiusz Miskiewicz).
1709 + add copyright notices to test-programs as needed (report by William
1713 + modify ncurses.c 'F' test to combine the wide-characters with color
1714 and/or video attributes.
1715 + modify test/ncurses to use CTL/Q or ESC consistently for exiting
1716 a test-screen (some commands used 'x' or 'q').
1719 + fix an off-by-one in the scrolling-region change (cf_ 20060311).
1722 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
1723 a null character is found (report by Igor Bogomazov).
1724 + modify progs/Makefile.in to make "tput init" work properly with
1725 cygwin, i.e., do not pass a ".exe" in the reference string used
1726 in check_aliases (report by Samuel Thibault).
1727 + add some checks to ensure current position is within scrolling
1728 region before scrolling on a new line (report by Dan Gookin).
1729 + change some NewChar() usage to static variables to work around
1730 stack garbage introduced when cchar_t is not packed (Redhat #182024).
1733 + workarounds to build test/movewindow with PDcurses 2.7.
1734 + fix for nsterm-16color entry (patch by Alain Bench).
1735 + correct a typo in infocmp manpage (Debian #354281).
1738 + add nsterm-16color entry -TD
1739 + updated mlterm terminfo entry -TD
1740 + remove 970913 feature for copying subwindows as they are moved in
1741 mvwin() (discussion with Bryan Christ).
1742 + modify test/demo_menus.c to demonstrate moving a menu (both the
1743 window and subwindow) using shifted cursor-keys.
1744 + start implementing recursive mvwin() in movewindow.c (incomplete).
1745 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
1746 for movewindow.c (report by William McBrine).
1747 + add help-message to test/movewindow.c
1750 + add test/movewindow.c, to test mvderwin().
1751 + fix ncurses soft-key test so color changes are shown immediately
1752 rather than delayed.
1753 + modify ncurses soft-key test to hide the keys when exiting the test
1755 + fixes to build test programs with PDCurses 2.7, e.g., its headers
1756 rely on autoconf symbols, and it declares stubs for nonfunctional
1757 terminfo and termcap entrypoints.
1760 + improved test/configure to build test/ncurses on HPUX 11 using the
1762 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
1763 benefit of developers who do not read INSTALL.
1766 + correct form library Window_To_Buffer() change (cf: 20040516), which
1767 should ignore the video attributes (report by Ricardo Cantu).
1770 + minor fixes to xmc-glitch experimental code:
1771 + suppress line-drawing
1772 + implement max_attributes
1774 + minor fixes for the database iterator.
1775 + fix some buffer limits in c++ demo (comment by Falk Hueffner in
1779 + add toe -a option, to show all databases. This uses new private
1780 interfaces in the ncurses library for iterating through the list of
1782 + fix toe from 20000909 changes which made it not look at
1784 + make toe's -v option parameter optional as per manpage.
1785 + improve SIGWINCH handling by postponing its effect during newterm(),
1786 etc., when allocating screens.
1789 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use
1790 this in test/filter.c
1791 + fix an error in filter() modification which caused some applications
1795 + check if filter() was called when getting the screensize. Keep it
1796 at 1 if so (based on Redhat #174498).
1797 + add extension nofilter().
1798 + refined the workaround for ACS mapping.
1799 + make ifdef's consistent in curses.h for the extended colors so the
1800 header file can be used for the normal curses library. The header
1801 file installed for extended colors is a variation of the
1802 wide-character configuration (report by Frederic L W Meunier).
1805 + add a workaround to ACS mapping to allow applications such as
1806 test/blue.c to use the "PC ROM" characters by masking them with
1807 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
1808 of legacy coding (report by Michael Deutschmann).
1809 + add a null-pointer check in the wide-character version of
1810 calculate_actual_width() (report by Victor Julien).
1811 + improve test/ncurses 'd' (color-edit) test by allowing the RGB
1812 values to be set independently (patch by William McBrine).
1813 + modify test/configure script to allow building test programs with
1815 + modified test programs to allow some to work with NetBSD curses.
1816 Several do not because NetBSD curses implements a subset of X/Open
1817 curses, and also lacks much of SVr4 additions. But it's enough for
1819 + update config.guess and config.sub
1822 + use BSD-specific fix for return-value from cgetent() from CVS where
1823 an unknown terminal type would be reportd as "database not found".
1824 + make tgetent() return code more readable using new symbols
1826 + remove references to non-existent "tctest" program.
1827 + remove TESTPROGS from progs/Makefile.in (it was referring to code
1828 that was never built in that directory).
1829 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
1832 + add use_legacy_coding() function to support lynx's font-switching
1834 + fix formatting in curs_termcap.3x (report by Mike Frysinger).
1835 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
1839 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
1840 overwrite() and copywin() with different combinations of colors and
1841 attributes (including background color) to make it easy to see the
1842 effect of the different functions.
1843 + corrections to menu/m_global.c for wide-characters (report by
1847 + add configure option --without-dlsym, allowing developers to
1848 configure GPM support without using dlsym() (discussion with Michael
1850 + fix wins_nwstr(), which did not handle single-column non-8bit codes
1854 + move prototypes for wide-character trace functions from curses.tail
1855 to curses.wide to avoid accidental reference to those if
1856 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
1858 + add/use NCURSES_INLINE definition.
1859 + change some internal functions to use int/unsigned rather than the
1863 + remove a redundant check in lib_color.c (Debian #335655).
1864 + use ld's -search_paths_first option on Darwin to work around odd
1865 search rules on that platform (report by Christian Gennerat, analysis
1867 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
1868 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
1869 + fix several bugs in test/bs.c (patch by Stephen Lindholm).
1872 + other minor fixes to cygwin based on tack -TD
1873 + correct smacs in cygwin (Debian #338234, report by Baurzhan
1874 Ismagulov, who noted that it was fixed in Cygwin).
1877 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
1878 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
1879 since those record the state of multicolumn characters (Debian
1881 + modify werase to clear multicolumn characters that extend into
1882 a derived window (Debian #316663).
1885 + move assignment from environment variable ESCDELAY from initscr()
1886 down to newterm() so the environment variable affects timeouts for
1887 terminals opened with newterm() as well.
1888 + fix a memory leak in keyname().
1889 + add test/demo_altkeys.c
1890 + modify test/demo_defkey.c to exit from loop via 'q' to allow
1891 leak-checking, as well as fix a buffer size in winnstr() call.
1894 + correct order of use-clauses in rxvt-basic entry which made codes for
1895 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
1896 + suppress configure check for gnatmake if Ada95/Makefile.in is not
1898 + correct a typo in configure --with-bool option for the case where
1899 --without-cxx is used (report by Daniel Jacobowitz).
1900 + add a note to INSTALL's discussion of --with-normal, pointing out
1901 that one may wish to use --without-gpm to ensure a completely
1902 static link (prompted by report by Felix von Leitner).
1904 20051010 5.5 release for upload to ftp.gnu.org
1907 + document in demo_forms.c some portability issues.
1910 + document side-effect of werase() which sets the cursor position.
1911 + save/restore the current position in form field editing to make
1915 + correct header dependencies in progs, allowing parallel make (report
1916 by Daniel Jacobowitz).
1917 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
1918 the configure check for --with-build-cc (report by Daniel Jacobowitz).
1919 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
1921 + update config.guess and config.sub from
1922 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1925 + modify sed expression which computes path for /usr/lib/terminfo
1926 symbolic link in install to ensure that it does not change unexpected
1927 levels of the path (Gentoo #42336).
1928 + modify default for --disable-lp64 configure option to reduce impact
1929 on existing 64-bit builds. Enabling the _LP64 option may change the
1930 size of chtype and mmask_t. However, for ABI 6, it is enabled by
1931 default (report by Mike Frysinger).
1932 + add configure script check for --enable-ext-mouse, bump ABI to 6 by
1933 default if it is used.
1934 + improve configure script logic for bumping ABI to omit this if the
1935 --with-abi-version option was used.
1936 + update address for Free Software Foundation in tack's source.
1937 + correct wins_wch(), which was not marking the filler-cells of
1938 multi-column characters (cf: 20041023).
1941 + modify mouse initialization to ensure that Gpm_Open() is called only
1942 once. Otherwise GPM gets confused in its initialization of signal
1943 handlers (Debian #326709).
1946 + modify logic for backspacing in a multiline form field to ensure that
1947 it works even when the preceding line is full (report by Frank van
1949 + remove comment about BUGS section of ncurses manpage (Debian #325481)
1952 + document some workarounds for shared and libtool library
1953 configurations in INSTALL (see --with-shared and --with-libtool).
1954 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
1955 cross-compilers which emit the platform name in their version
1957 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
1958 (report by Frank van Vugt).
1961 + start updating documentation for upcoming 5.5 release.
1962 + fix to make libtool and libtinfo work together again (cf: 20050122).
1963 + fixes to allow building traces into libtinfo
1964 + add debug trace to tic that shows if/how ncurses will write to the
1965 lower corner of a terminal's screen.
1966 + update llib-l* files.
1969 + modify initializers in c++ binding to build with old versions of g++.
1970 + improve special case for 20050115 repainting fix, ensuring that if
1971 the first changed cell is not a character that the range to be
1972 repainted is adjusted to start at a character's beginning (Debian
1976 + fixes to build on QNX 6.1
1977 + improve configure script checks for Intel 9.0 compiler.
1978 + remove #include's for libc.h (obsolete).
1979 + adjust ifdef's in curses.priv.h so that when cross-compiling to
1980 produce comp_hash and make_keys, no dependency on wchar.h is needed.
1981 That simplifies the build-cppflags (report by Frank van Vugt).
1982 + move modules related to key-binding into libtinfo to fix linkage
1983 problem caused by 20050430 changes to MKkeyname.sh (report by
1984 Konstantin Andreev).
1987 + updates/fixes for configure script macros from vile -TD
1988 + make prism9's sgr string agree with the rest of the terminfo -TD
1989 + make vt220's sgr0 string consistent with sgr string, do this for
1990 several related cases -TD
1991 + improve translation to termcap by filtering the 'me' (sgr0) strings
1992 as in the runtime call to tgetent() (prompted by a discussion with
1994 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
1995 resets line-drawing.
1998 + fix special cases for trimming sgr0 for hurd and vt220 (Debian
2000 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
2001 allow it to be used by tic to provide information about the runtime
2002 changes that would be made to sgr0 for termcap applications.
2003 + modify make_sed.sh to make the group-name in the NAME section of
2004 form/menu library manpage agree with the TITLE string when renaming
2005 is done for Debian (Debian #78866).
2008 + modify parameter type in c++ binding for insch() and mvwinsch() to
2009 be consistent with underlying ncurses library (was char, is chtype).
2010 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
2012 + improve configure check for nanosleep(), checking that it works since
2013 some older systems such as AIX 4.3 have a nonworking version.
2016 + update config.guess and config.sub from
2017 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
2018 + modify misc/shlib to work in test-directory.
2019 + suppress $suffix in misc/run_tic.sh when cross-compiling. This
2020 allows cross-compiles to use the host's tic program to handle the
2021 "make install.data" step.
2022 + improve description of $LINES and $COLUMNS variables in manpages
2023 (prompted by report by Dave Ulrick).
2024 + improve description of cross-compiling in INSTALL
2025 + add NCURSES-Programming-HOWTO.html by Pradeep Padala
2026 (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
2027 + modify configure script to obtain soname for GPM library (discussion
2028 with Daniel Jacobowitz).
2029 + modify configure script so that --with-chtype option will still
2030 compute the unsigned literals suffix for constants in curses.h
2031 (report by Daniel Jacobowitz:
2032 + patches from Daniel Jacobowitz:
2033 + the man_db.renames entry for tack.1 was backwards.
2034 + tack.1 had some 1m's that should have been 1M's.
2035 + the section for curs_inwstr.3 was wrong.
2038 + correction to --with-chtype option (report by Daniel Jacobowitz).
2041 + move build-time edit_man.sh and edit_man.sed scripts to top directory
2042 to simplify reusing them for renaming tack's manpage (prompted by a
2043 review of Debian package).
2044 + revert minor optimization from 20041030 (Debian #313609).
2045 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
2046 1.5.10 and 1.5.18 (all work except as noted previously for the c++
2047 install using libtool 1.5.0):
2048 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
2050 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
2051 + add configure options --with-chtype and --with-mmask-t, to allow
2052 overriding of the non-LP64 model's use of the corresponding types.
2053 + revise test for size of chtype (and mmask_t), which always returned
2054 "long" due to an uninitialized variable (report by Daniel Jacobowitz).
2057 + change _tracef's that used "%p" format for va_list values to ignore
2058 that, since on some platforms those are not pointers.
2059 + fixes for long-formats in printf's due to largefile support.
2062 + fixes for termcap support:
2063 + reset pointer to _nc_curr_token.tk_name when the input stream is
2064 closed, which could point to free memory (cf: 20030215).
2065 + delink TERMTYPE data which is used by the termcap reader, so that
2066 extended names data will be freed consistently.
2067 + free pointer to TERMTYPE data in _nc_free_termtype() rather than
2069 + add some entrypoints for freeing permanently allocated data via
2070 _nc_freeall() when NO_LEAKS is defined.
2071 + amend 20041030 change to _nc_do_color to ensure that optimization is
2072 applied only when the terminal supports back_color_erase (bce).
2075 + add sun-color terminfo entry -TD
2076 + correct a missing assignment in c++ binding's method
2077 NCursesPanel::UserPointer() from 20050409 changes.
2078 + improve configure check for large-files, adding check for dirent64
2080 + minor change to configure script to improve linker options for the
2084 + document error conditions for ncurses library functions (report by
2086 + regenerated html documentation for ada binding.
2087 see ftp://invisible-island.net/ncurses/patches/gnathtml
2090 + regenerated html documentation for manpages.
2091 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
2092 ncurses/Makefile (Gentoo #89772).
2093 + modify c++/demo.cc to build with g++ -fno-implicit-templates option
2094 (patch by Mike Frysinger).
2095 + modify tic to filter out long extended names when translating to
2096 termcap format. Only two characters are permissible for termcap
2100 + modify terminfo entries xterm-new and rxvt to add strings for
2101 shift-, control-cursor keys.
2102 + workaround to allow c++ binding to compile with g++ 2.95.3, which
2103 has a broken implementation of static_cast<> (patch by Jeff Chua).
2104 + modify initialization of key lookup table so that if an extended
2105 capability (tic -x) string is defined, and its name begins with 'k',
2106 it will automatically be treated as a key.
2107 + modify test/keynames.c to allow for the possibility of extended
2108 key names, e.g., via define_key(), or via "tic -x".
2109 + add test/demo_termcap.c to show the contents of given entry via the
2113 + minor fixes for vt100/vt52 entries -TD
2114 + add configure option --enable-largefile
2115 + corrected libraries used to build Ada95/gen/gen, found in testing
2119 + update config.guess, config.sub
2120 + modify configure script check for _XOPEN_SOURCE, disable that on
2121 Darwin whose header files have problems (patch by Chris Zubrzycki).
2122 + modify form library Is_Printable_String() to use iswprint() rather
2123 than wcwidth() for determining if a character is printable. The
2124 latter caused it to reject menu items containing non-spacing
2126 + modify ncurses test program's F-test to handle non-spacing characters
2127 by combining them with a reverse-video blank.
2128 + review/fix several gcc -Wconversion warnings.
2131 + correct an off-by-one error in m_driver() for mouse-clicks used to
2132 position the mouse to a particular item.
2133 + implement test/demo_menus.c
2134 + add some checks in lib_mouse to ensure SP is set.
2135 + modify C++ binding to make 20050403 changes work with the configure
2136 --enable-const option.
2139 + modify start_color() to return ERR if it cannot allocate memory.
2140 + address g++ compiler warnings in C++ binding by adding explicit
2141 member initialization, assignment operators and copy constructors.
2142 Most of the changes simply preserve the existing semantics of the
2143 binding, which can leak memory, etc., but by making these features
2144 visible, it provides a framework for improving the binding.
2145 + improve C++ binding using static_cast, etc.
2146 + modify configure script --enable-warnings to add options to g++ to
2147 correspond to the gcc --enable-warnings.
2148 + modify C++ binding to use some C internal functions to make it
2149 compile properly on Solaris (and other platforms).
2152 + amend change from 20050320 to limit it to configurations with a
2154 + fix a bug introduced in 20050320 which broke the translation of
2155 nonprinting characters to uparrow form (report by Takahashi Tamotsu).
2158 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
2159 chtype and mmask_t, but add configure option --disable-lp64 in case
2160 anyone used that configuration.
2161 + update misc/shlib script to account for Mac OS X (report by Michail
2163 + correct comparison for wrapping multibyte characters in
2164 waddch_literal() (report by Takahashi Tamotsu).
2167 + add -c and -w options to tset to allow user to suppress ncurses'
2168 resizing of the terminal emulator window in the special case where it
2169 is not able to detect the true size (report by Win Delvaux, Debian
2171 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
2172 codes 128-159 as part of multibyte characters (report by Wang
2173 WenRui, Debian #300512).
2176 + modify ncurses.c 'd' test to make it work with 88-color
2177 configuration, i.e., by implementing scrolling.
2178 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
2182 + change tracemunch to use strict checking.
2183 + modify ncurses.c 'p' test to test line-drawing within a pad.
2184 + implement environment variable NCURSES_NO_UTF8_ACS to support
2185 miscellaneous terminal emulators which ignore alternate character
2186 set escape sequences when in UTF-8 mode.
2189 + change NCursesWindow::err_handler() to a virtual function (request by
2191 + modify fty_int.c and fty_num.c to handle wide characters (report by
2193 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
2194 and wide characters inconsistently (report by Wolfgang Gutjahr).
2195 + update llib-* files to reflect internal interface additions/changes.
2198 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
2200 + add aixterm-16color terminfo entry -TD
2201 + modified xterm-new terminfo entry to work with tgetent() changes -TD
2202 + extended changes in tgetent() from 20040710 to allow the substring of
2203 sgr0 which matches rmacs to be at the beginning of the sgr0 string
2204 (request by Thomas Wolff). Wolff says the visual effect in
2205 combination with pre-20040710 ncurses is improved.
2206 + fix off-by-one in winnstr() call which caused form field validation
2207 of multibyte characters to ignore the last character in a field.
2208 + correct logic in winsch() for inserting multibyte strings; the code
2209 would clear cells after the insertion rather than push them to the
2210 right (cf: 20040228).
2211 + fix an inconsistency in Check_Alpha_Field() between normal and wide
2212 character logic (report by Wolfgang Gutjahr).
2215 + fix a bug in editing wide-characters in form library: deleting a
2216 nonwide character modified the previous wide-character.
2217 + update manpage to describe NCURSES_MOUSE_VERSION 2.
2218 + correct manpage description of mouseinterval() (Debian #280687).
2219 + add a note to default_colors.3x explaining why this extension was
2220 added (Debian #295083).
2221 + add traces to panel library.
2224 + improve editing of wide-characters in form library: left/right
2225 cursor movement, and single-character deletions work properly.
2226 + disable GPM mouse support when $TERM happens to be prefixed with
2227 "xterm". Gpm_Open() would otherwise assert that it can deal with
2228 mouse events in this case.
2229 + modify GPM mouse support so it closes the server connection when
2230 the caller disables the mouse (report by Stanislav Ievlev).
2233 + add traces for callback functions in form library.
2234 + add experimental configure option --enable-ext-mouse, which defines
2235 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
2236 support wheel mice, which may transmit buttons 4 and 5. This works
2237 with xterm and similar X terminal emulators (prompted by question by
2238 Andreas Henningsson, this is also related to Debian #230990).
2239 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
2240 avoid redefinition warnings on cygwin.
2243 + merge remaining development changes for extended colors (mostly
2244 complete, does not appear to break other configurations).
2245 + add xterm-88color.dat (part of extended colors testing).
2246 + improve _tracedump() handling of color pairs past 96.
2247 + modify return-value from start_color() to return OK if colors have
2248 already been started.
2249 + modify curs_color.3x list error conditions for init_pair(),
2250 pair_content() and color_content().
2251 + modify pair_content() to return -1 for consistency with init_pair()
2252 if it corresponds to the default-color.
2253 + change internal representation of default-color to allow application
2254 to use color number 255. This does not affect the total number of
2255 color pairs which are allowed.
2256 + add a top-level tags rule.
2259 + add a null-pointer check in wgetch() in case it is called without
2260 first calling initscr().
2261 + add some null-pointer checks for SP, which is not set by libtinfo.
2262 + modify misc/shlib to ensure that absolute pathnames are used.
2263 + modify test/Makefile.in, etc., to link test programs only against the
2264 libraries needed, e.g., omit form/menu/panel library for the ones
2265 that are curses-specific.
2266 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
2267 libtinfo.so and libtinfow.so have the same ABI. The reason for this
2268 is that the corresponding data which belongs to the upper-level
2269 ncurses library has a different size in each model (report by
2273 + minor fixes to allow test-compiles with g++.
2274 + correct column value shown in tic's warnings, which did not account
2275 for leading whitespace.
2276 + add a check in _nc_trans_string() for improperly ended strings, i.e.,
2277 where a following line begins in column 1.
2278 + modify _nc_save_str() to return a null pointer on buffer overflow.
2279 + improve repainting while scrolling wide-character data (Eungkyu Song).
2282 + merge some development changes to extend color capabilities.
2285 + merge some development changes to extend color capabilities.
2286 + fix manpage typo (FreeBSD report docs/75544).
2287 + update config.guess, config.sub
2288 > patches for configure script (Albert Chin-A-Young):
2289 + improved fix to make mbstate_t recognized on HPUX 11i (cf:
2290 20030705), making vsscanf() prototype visible on IRIX64. Tested for
2291 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
2292 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
2293 + print the result of the --disable-home-terminfo option.
2294 + use -rpath when compiling with SGI C compiler.
2297 + add trace calls to remaining public functions in form and menu
2299 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
2300 + fix typo in test/ncurses.c 'c' test from 20041218.
2303 + revise test/ncurses.c 'c' color test to improve use for xterm-88color
2304 and xterm-256color, added 'C' test using the wide-character color_set
2305 and attr_set functions.
2308 + modify configure script to work with Intel compiler.
2309 + fix an limit-check in wadd_wchnstr() which caused labels in the
2310 forms-demo to be one character short.
2311 + fix typo in curs_addchstr.3x (Jared Yanovich).
2312 + add trace calls to most functions in form and menu libraries.
2313 + update working-position for adding wide-characters when window is
2314 scrolled (prompted by related report by Eungkyu Song).
2317 + replace some references on Linux to wcrtomb() which use it to obtain
2318 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
2319 broken in glibc (see Debian #284260).
2320 + corrected length-computation in wide-character support for
2322 + some fixes to frm_driver.c to allow it to accept multibyte input.
2323 + modify configure script to work with Intel 8.0 compiler.
2326 + amend change to setupterm() in 20030405 which would reuse the value
2327 of cur_term if the same output was selected. This now reuses it only
2328 when setupterm() is called from tgetent(), which has no notion of
2329 separate SCREENs. Note that tgetent() must be called after initscr()
2330 or newterm() to use this feature (Redhat Bugzilla #140326).
2331 + add a check in CF_BUILD_CC macro to ensure that developer has given
2332 the --with-build-cc option when cross-compiling (report by Alexandre
2334 + improved configure script checks for _XOPEN_SOURCE and
2335 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
2337 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
2338 for consistency (comment by Dan Nelson).
2341 + update wsvt25 terminfo entry -TD
2342 + modify test/ins_wide.c to test all flavors of ins_wstr().
2343 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
2344 which consists of multi-column characters, since this function
2345 constructs them (cf: 20041023).
2346 + modify winnstr() to return multibyte character strings for the
2347 wide-character configuration.
2350 + fixes to make slk_set() and slk_wset() accept and store multibyte
2351 or multicolumn characters.
2354 + improve color optimization a little by making _nc_do_color() check
2355 if the old/new pairs are equivalent to the default pair 0.
2356 + modify assume_default_colors() to not require that
2357 use_default_colors() be called first.
2360 + modify term_attrs() to use termattrs(), add the extended attributes
2361 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
2362 + add logic in waddch_literal() to clear orphaned cells when one
2363 multi-column character partly overwrites another.
2364 + improved logic for clearing cells when a multi-column character
2365 must be wrapped to a new line.
2366 + revise storage of cells for multi-column characters to correct a
2367 problem with repainting. In the old scheme, it was possible for
2368 doupdate() to decide that only part of a multi-column character
2369 should be repainted since the filler cells stored only an attribute
2370 to denote them as fillers, rather than the character value and the
2374 + minor fixes for traces.
2375 + add SP->_screen_acs_map[], used to ensure that mapping of missing
2376 line-drawing characters is handled properly. For example, ACS_DARROW
2377 is absent from xterm-new, and it was coincidentally displayed the
2381 + amend 20021221 workaround for broken acs to reset the sgr, rmacs
2382 and smacs strings as well. Also modify the check for screen's
2383 limitations in that area to allow the multi-character shift-in
2384 and shift-out which seem to work.
2385 + change GPM initialization, using dl library to load it dynamically
2386 at runtime (Debian #110586).
2389 + correct logic for color pair in setcchar() and getcchar() (patch by
2390 Marcin 'Qrczak' Kowalczyk).
2391 + add t/T commands to ncurses b/B tests to allow a different color to
2392 be tested for the attrset part of the test than is used in the
2396 + fix to make setcchar() to work when its wchar_t* parameter is
2397 pointing to a string which contains more data than can be converted.
2398 + modify wget_wstr() and example in ncurses.c to work if wchar_t and
2399 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
2402 + remove check in wget_wch() added to fix an infinite loop, appears to
2403 have been working around a transitory glibc bug, and interferes
2404 with normal operation (report by Marcin 'Qrczak' Kowalczyk).
2405 + correct wadd_wch() and wecho_wch(), which did not pass the rendition
2406 information (report by Marcin 'Qrczak' Kowalczyk).
2407 + fix aclocal.m4 so that the wide-character version of ncurses gets
2408 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
2409 (adapted from patch by James J Ramsey).
2410 + change configure script for --with-caps option to indicate that it
2411 is no longer experimental.
2412 + change configure script to reflect the fact that --enable-widec has
2413 not been "experimental" since 5.3 (report by Bruno Lustosa).
2416 + add 'B' test to ncurses.c, to exercise some wide-character functions.
2419 + modify infocmp -i option to match 8-bit controls against its table
2420 entries, e.g., so it can analyze the xterm-8bit entry.
2421 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
2422 + correct translation of "%%" in terminfo format to termcap, e.g.,
2423 using "tic -C" (Redhat Bugzilla #130921).
2424 + modified configure script CF_XOPEN_SOURCE macro to ensure that if
2425 it defines _POSIX_C_SOURCE, that it defines it to a specific value
2426 (comp.os.stratus newsgroup comment).
2429 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
2430 fatal, and gnat does not follow the guidelines for pragmas).
2431 However that did find a coding error in Assume_Default_Colors().
2432 + modify several terminfo entries to ensure xterm mouse and cursor
2433 visibility are reset in rs2 string: hurd, putty, gnome,
2434 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The
2435 xterm entries are left alone - old ones for compatibility, and the
2436 new ones do not require this change. -TD
2439 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
2440 and window managers (Debian #265631).
2441 > terminfo updates -TD
2442 + remove dch/dch1 from rxvt because they are implemented inconsistently
2443 with the common usage of bce/ech
2444 + remove khome from vt220 (vt220's have no home key)
2448 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
2449 combinations of video attributes so that for instance bold and
2450 underline can be tested. This made the legend too crowded, added
2451 a help window as well.
2452 + modify test/ncurses.c 'b' test to cycle through default colors if
2453 the -d option is set.
2454 + update putty terminfo entry (Robert de Bath).
2457 + modify test/cardfile.c to allow it to read more data than can be
2459 + correct logic in resizeterm.c which kept it from processing all
2460 levels of window hierarchy (reports by Folkert van Heusden,
2464 + modify "tic -cv" to ignore delays when comparing strings. Also
2465 modify it to ignore a canceled sgr string, e.g., for terminals which
2466 cannot properly combine attributes in one control sequence.
2467 + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
2468 patch by Hans de Goede)
2469 > terminfo updates -TD
2470 + make ncsa-m rmacs/smacs consistent with sgr
2471 + add sgr, rc/sc and ech to syscons entries
2472 + add function-keys to decansi
2473 + add sgr to mterm-ansi
2474 + add sgr, civis, cnorm to emu
2475 + correct/simplify cup in addrinfo
2478 > terminfo updates -TD
2479 + add xterm-pc-fkeys
2480 + review/update gnome and gnome-rh90 entries (prompted by Redhat
2482 + review/update konsole entries
2483 + add sgr, correct sgr0 for kterm and mlterm
2484 + correct tsl string in kterm
2487 + add configure option --without-xterm-new
2490 + add check in wget_wch() for printable bytes that are not part of a
2491 multibyte character.
2492 + modify wadd_wchnstr() to render text using window's background
2494 + improve tic's check to compare sgr and sgr0.
2495 + fix c++ directory's .cc.i rule.
2496 + modify logic in tgetent() which adjusts the termcap "me" string
2497 to work with ISO-2022 string used in xterm-new (cf: 20010908).
2498 + modify tic's check for conflicting function keys to omit that if
2499 converting termcap to termcap format.
2500 + add -U option to tic and infocmp.
2501 + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
2502 > terminfo updates -TD
2503 + minor fixes for emu
2505 + change wyse acsc strings to use 'i' map rather than 'I'
2510 + use tic -x to install terminfo database -TD
2511 + add -x to infocmp's usage message.
2512 + correct field used for comparing O_ROWMAJOR in set_menu_format()
2513 (report/patch by Tony Li).
2514 + fix a missing nul check in set_field_buffer() from 20040508 changes.
2515 > terminfo updates -TD
2516 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
2518 + align with xterm patch #192's use of xterm-new -TD
2519 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
2520 + make xterm-new the default "xterm" entry -TD
2523 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
2524 cross-compiling from a separate directory tree (report/patch by
2526 + modify is_term_resized() to ensure that window sizes are nonzero,
2527 as documented in the manpage (report by Ian Collier).
2528 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
2529 (Debian #249214, report/patch by Jeff Bailey).
2530 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
2531 + update config.guess, config.sub
2532 > terminfo updates -TD
2534 + add xterm-xf86-v44
2535 + modify xterm-new aka xterm-xfree86 to accommodate luit, which
2536 relies on G1 being used via an ISO-2022 escape sequence (report by
2541 + reconsidered winsnstr(), decided after comparing other
2542 implementations that wrapping is an X/Open documentation error.
2543 + modify test/inserts.c to test all flavors of insstr().
2546 + add setlocale() calls to a few test programs which may require it:
2547 demo_forms.c, filter.c, ins_wide.c, inserts.c
2548 + correct a few misspelled function names in ncurses-intro.html (report
2550 + correct internal name of key_defined() manpage, which conflicted with
2554 + correct size of internal pad used for holding wide-character
2555 field_buffer() results.
2556 + modify data_ahead() to work with wide-characters.
2559 + improve description of terminfo if-then-else expressions (suggested
2561 + improve test/ncurses.c 'd' test, allow it to use external file for
2562 initial palette (added xterm-16color.dat and linux-color.dat), and
2563 reset colors to the initial palette when starting/ending the test.
2564 + change limit-check in init_color() to allow r/g/b component to
2565 reach 1000 (cf: 20020928).
2568 + modify form library to use cchar_t's rather than char's in the
2569 wide-character configuration for storing data for field buffers.
2570 + correct logic of win_wchnstr(), which did not work for more than
2574 + replace memset/memcpy usage in form library with for-loops to
2575 simplify changing the datatype of FIELD.buf, part of wide-character
2577 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
2580 + modify menu library to account for actual number of columns used by
2581 multibyte character strings, in the wide-character configuration
2582 (adapted from patch by Philipp Tomsich).
2583 + add "-x" option to infocmp like tic's "-x", for use in "-F"
2584 comparisons. This modifies infocmp to only report extended
2585 capabilities if the -x option is given, making this more consistent
2586 with tic. Some scripts may break, since infocmp previous gave this
2587 information without an option.
2588 + modify termcap-parsing to retain 2-character aliases at the beginning
2589 of an entry if the "-x" option is used in tic.
2592 + minor compiler-warning and test-program fixes.
2595 + modify tic's missing-sgr warning to apply to terminfo only.
2596 + free some memory leaks in tic.
2597 + remove check in post_menu() that prevented menus from extending
2598 beyond the screen (request by Max J. Werner).
2599 + remove check in newwin() that prevents allocating windows
2600 that extend beyond the screen. Solaris curses does this.
2601 + add ifdef in test/color_set.c to allow it to compile with older
2603 + add napms() calls to test/dots.c to make it not be a CPU hog.
2606 + modify unctrl() to return null if its parameter does not correspond
2607 to an unsigned char.
2608 + add some limit-checks to guard isprint(), etc., from being used on
2609 values that do not fit into an unsigned char (report by Sami Farin).
2612 + fix a typo in the _nc_get_locale() change.
2615 + modify _nc_get_locale() to use setlocale() to query the program's
2616 current locale rather than using getenv(). This fixes a case in tin
2617 which relies on legacy treatment of 8-bit characters when the locale
2618 is not initialized (reported by Urs Jansen).
2619 + add sgr string to screen's and rxvt's terminfo entries -TD.
2620 + add a check in tic for terminfo entries having an sgr0 but no sgr
2621 string. This confuses Tru64 and HPUX curses when combined with
2622 color, e.g., making them leave line-drawing characters in odd places.
2623 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
2624 original definitions used in Debian package to fix PowerPC bug before
2625 20030802 (Debian #237629).
2628 + modify PutAttrChar() and PUTC() macro to improve use of
2629 A_ALTCHARSET attribute to prevent line-drawing characters from
2630 being lost in situations where the locale would otherwise treat the
2631 raw data as nonprintable (Debian #227879).
2634 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
2636 + remove ".PP" after ".SH NAME" in a few manpages; this confuses
2637 some apropos script (Debian #237831).
2640 + modify ncurses.c 'r' test so editing commands, like inserted text,
2641 set the field background, and the state of insert/overlay editing
2642 mode is shown in that test.
2643 + change syntax of dummy targets in Ada95 makefiles to work with pmake.
2644 + correct logic in test/ncurses.c 'b' for noncolor terminals which
2645 did not recognize a quit-command (cf: 20030419).
2648 + modify _nc_insert_ch() to allow for its input to be part of a
2650 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states
2651 that this function performs wrapping, unlike all of the other
2652 insert-functions. Currently it does not wrap.
2653 + check for nl_langinfo(CODESET), use it if available (report by
2655 + split-out CF_BUILD_CC macro, actually did this for lynx first.
2656 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
2657 which happened to work with bash, but not with Bourne shell (report
2658 by Marco d'Itri via tin-dev).
2661 + some changes to adapt the form library to wide characters, incomplete
2662 (request by Mike Aubury).
2663 + add symbol to curses.h which can be used to suppress include of
2665 #define NCURSES_ENABLE_STDBOOL_H 0
2667 (discussion on XFree86 mailing list).
2670 + modify configure --with-termlib option to accept a value which sets
2671 the name of the terminfo library. This would allow a packager to
2672 build libtinfow.so renamed to coincide with libtinfo.so (discussion
2673 with Stanislav Ievlev).
2674 + improve documentation of --with-install-prefix, --prefix and
2675 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
2676 + add configure check if the compiler can use -c -o options to rename
2677 its output file, use that to omit the 'cd' command which was used to
2678 ensure object files are created in a separate staging directory
2679 (prompted by comments by Johnny Wezel, Martin Mokrejs).
2681 20040208 5.4 release for upload to ftp.gnu.org
2684 20040207 pre-release
2685 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
2686 and do not count %d if it follows a %p.
2687 + correct an inconsistency between handling of codes in the 128-255
2688 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX
2689 locale, the latter did not show printable results, while the former
2691 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
2692 OS X, which alters "%%" to "% % " (report by Robert Simms, fix
2693 verified by Scott Corscadden).
2695 20040131 pre-release
2696 + modify SCREEN struct to align it between normal/wide curses flavors
2697 to simplify future changes to build a single version of libtinfo
2698 (patch by Stanislav Ievlev).
2699 + document handling of carriage return by addch() in manpage.
2700 + document special features of unctrl() in manpage.
2701 + documented interface changes in INSTALL.
2702 + corrected control-char test in lib_addch.c to account for locale
2703 (Debian #230335, cf: 971206).
2704 + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
2705 + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
2706 + minor configure-script fixes for older ports, e.g., BeOS R4.5.
2708 20040125 pre-release
2709 + amend change to PutAttrChar() from 20030614 which computed the number
2710 of cells for a possibly multi-cell character. The 20030614 change
2711 forced the cell to a blank if the result from wcwidth() was not
2712 greater than zero. However, wcwidth() called for parameters in the
2713 range 128-255 can give this return value. The logic now simply
2714 ensures that the number of cells is greater than zero without
2715 modifying the displayed value.
2717 20040124 pre-release
2718 + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
2719 + modify configure script check for ranlib to use AC_CHECK_TOOL, since
2720 that works better for cross-compiling.
2722 20040117 pre-release
2723 + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
2724 work around core dump in Solaris 8's locale support, e.g., for
2725 zh_CN.GB18030 (report by Saravanan Bellan).
2726 + add includes for <stdarg.h> and <stdio.h> in configure script macro
2727 to make <wchar.h> check work with Tru64 4.0d.
2728 + add terminfo entry for U/Win -TD
2729 + add terminfo entries for SFU aka Interix aka OpenNT (Federico
2731 + modify tput's error messages to prefix them with the program name
2732 (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
2734 + correct a place in tack where exit_standout_mode was used instead of
2735 exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
2736 + modify c++/cursesf.h to use const in the Enumeration_Field method.
2737 + remove an ambiguous (actually redundant) method from c++/cursesf.h
2738 + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
2739 + improve sed script which extracts libtool's version in the
2740 CF_WITH_LIBTOOL macro.
2741 + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
2742 simplify local patch for Albert Chin-A-Young)..
2743 + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
2744 patch by Albert Chin-A-Young)..
2745 + fix a missing substitution in configure.in for "$target" needed for
2747 + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
2748 NetBSD 1.6 conflicts with _XOPEN_SOURCE.
2749 + make check for stdbool.h more specific, to ensure that including it
2750 will actually define/declare bool for the configured compiler.
2751 + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The
2752 intention of that is to #define NCURSES_BOOL as bool when the
2753 compiler declares bool, and to #define bool as NCURSES_BOOL when it
2754 does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
2756 20040110 pre-release
2757 + change minor version to 4, i.e., ncurses 5.4
2758 + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
2760 + simplified ncurses/base/version.c by defining the result from the
2761 configure script rather than using sprintf (suggested by Stanislav
2763 + remove obsolete casts from c++/cursesw.h (reported by Stanislav
2765 + modify configure script so that when configuring for termlib, programs
2766 such as tic are not linked with the upper-level ncurses library
2767 (suggested by Stanislav Ievlev).
2768 + move version.c from ncurses/base to ncurses/tinfo to allow linking
2769 of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
2772 + adjust -D's to build ncursesw on OpenBSD.
2773 + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
2774 + add pecho_wchar().
2775 + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
2776 available) on older platforms.
2779 + add -D's to build ncursew on FreeBSD 5.1.
2780 + modify shared library configuration for FreeBSD 4.x/5.x to add the
2781 soname information (request by Marc Glisse).
2782 + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
2783 for limiting the length of a filename in the terminfo database.
2784 + modify termname() to return the terminal name used by setupterm()
2785 rather than $TERM, without truncating to 14 characters as documented
2786 by X/Open (report by Stanislav Ievlev, cf: 970719).
2787 + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
2790 + add configure option --with-manpage-format=catonly to address
2791 behavior of BSDI, allow install of man+cat files on NetBSD, whose
2792 behavior has diverged by requiring both to be present.
2793 + remove leading blanks from comment-lines in manlinks.sed script to
2794 work with Tru64 4.0d.
2795 + add screen.linux terminfo entry (discussion on mutt-users mailing
2799 + add a check for tic to flag missing backslashes for termcap
2800 continuation lines. ncurses reads the whole entry, but termcap
2801 applications do not.
2802 + add configure option "--with-manpage-aliases" extending
2803 "--with-manpage-aliases" to provide the option of generating ".so"
2804 files rather than symbolic links for manpage aliases.
2805 + add bool definition in include/curses.h.in for configurations with no
2806 usable C++ compiler (cf: 20030607).
2807 + fix pathname of SigAction.h for building with --srcdir (reported by
2811 + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
2812 since that header is used only within ncurses/tty/lib_tstp.c, for
2813 non-POSIX systems (discussion with Stanislav Ievlev).
2814 + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
2815 <inger@altlinux.org>).
2816 + add test/background.c and test/color_set.c
2817 + modify color_set() function to work with color pair 0 (report by
2818 George Andreou <gbandreo@tem.uoc.gr>).
2819 + add configure option --with-trace, since defining TRACE seems too
2820 awkward for some cases.
2821 + remove a call to _nc_free_termtype() from read_termtype(), since the
2822 corresponding buffer contents were already zeroed by a memset (cf:
2824 + improve configure check for _XOPEN_SOURCE and related definitions,
2825 adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
2826 __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
2827 + small fixes to compile on Solaris and IRIX64 using cc.
2828 + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
2832 + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
2833 values (Philippe Blain).
2834 + improve the nanosleep() logic in napms() by checking for EINTR and
2835 restarting (Philippe Blain).
2836 + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
2840 + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
2841 + allow "\|" escape in terminfo; tic should not warn about this.
2842 + save the full pathname of the trace-file the first time it is opened,
2843 to avoid creating it in different directories if the application
2844 opens and closes it while changing its working directory.
2845 + modify configure script to provide a non-empty default for
2849 + add DJGPP to special case of DOS-style drive letters potentially
2850 appearing in TERMCAP environment variable.
2851 + fix some spelling in comments (reports by Jason McIntyre, Jonathon
2853 + update config.guess, config.sub
2856 + fix a memory leak in error-return from setupterm() (report by
2857 Stanislav Ievlev <inger@altlinux.org>).
2858 + use EXEEXT and OBJEXT consistently in makefiles.
2859 + amend fixes for cross-compiling to use separate executable-suffix
2860 BUILD_EXEEXT (cf: 20031018).
2861 + modify MKkey_defs.sh to check for sort utility that does not
2862 recognize key options, e.g., busybox (report by Peter S Mazinger
2864 + fix potential out-of-bounds indexing in _nc_infotocap() (found by
2865 David Krause using some of the new malloc debugging features
2866 under OpenBSD, patch by Ted Unangst).
2867 + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
2868 ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
2871 + update terminfo for xterm-xfree86 -TD
2872 + add check for multiple "tc=" clauses in a termcap to tic.
2873 + check for missing op/oc in tic.
2874 + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
2875 tic to show cancelled capabilities. These functions were ignoring
2876 the state of the target entry, which should be untouched if cancelled.
2877 + correct comment in tack/output.c (Debian #215806).
2878 + add some null-pointer checks to lib_options.c (report by Michael
2880 + regenerated html documentation.
2881 + correction to tar-copy.sh, remove a trap command that resulted in
2882 leaving temporary files (cf: 20030510).
2883 + remove contact/maintainer addresses for Juergen Pfeifer (his request).
2886 + updated test/configure to reflect changes for libtool (cf: 20030830).
2887 + fix several places in tack/pad.c which tested and used the parameter-
2888 and parameterless strings inconsistently, i.e., in pad_rin(),
2889 pad_il(), pad_indn() and pad_dl() (Debian #215805).
2890 + minor fixes for configure script and makefiles to cleanup executables
2891 generated when cross-compiling for DJGPP.
2892 + modify infocmp to omit check for $TERM for operations that do not
2893 require it, e.g., "infocmp -e" used to build fallback list (report by
2897 + add terminfo entries for DJGPP.
2898 + updated note about maintainer in ncurses-intro.html
2901 + update terminfo entries for gnome terminal.
2902 + modify tack to reset colors after each color test, correct a place
2903 where exit_standout_mode was used instead of exit_attribute_mode.
2904 + improve tack's bce test by making it set colors other than black
2906 + plug a potential recursion between napms() and _nc_timed_wait()
2907 (report by Philippe Blain).
2910 + add --with-rel-version option to allow workaround to allow making
2911 libtool on Darwin generate the "same" library names as with the
2912 --with-shared option. The Darwin ld program does not work well
2913 with a zero as the minor-version value (request by Chris Zubrzycki).
2914 + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
2915 + modify tack to allow it to run from fallback terminfo data.
2916 > patch by Philippe Blain:
2917 + improve PutRange() by adjusting call to EmitRange() and corresponding
2918 return-value to not emit unchanged characters on the end of the
2920 + improve a check for changed-attribute by exiting a loop when the
2922 + improve logic in TransformLine(), eliminating a duplicated comparison
2923 in the clr_bol logic.
2926 > patch by Philippe Blain:
2927 + in ncurses/tty/lib_mvcur.c,
2928 move the label 'nonlocal' just before the second gettimeofday() to
2929 be able to compute the diff time when 'goto nonlocal' used.
2930 Rename 'msec' to 'microsec' in the debug-message.
2931 + in ncurses/tty/lib_mvcur.c,
2932 Use _nc_outch() in carriage return/newline movement instead of
2933 putchar() which goes to stdout. Move test for xold>0 out of loop.
2934 + in ncurses/tinfo/setbuf.c,
2935 Set the flag SP->_buffered at the end of operations when all has been
2936 successful (typeMalloc can fail).
2937 + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
2940 + modify configure script to avoid using "head -1", which does not
2941 work if POSIXLY_CORRECT (sic) is set.
2942 + modify run_tic.in to avoid using wrong shared libraries when
2943 cross-compiling (Dan Kegel).
2946 + alter configure script help message to make it clearer that
2947 --with-build-cc does not specify a cross-compiler (suggested by Dan
2948 Kegel <dank@kegel.com>).
2949 + modify configure script to accommodate libtool 1.5, as well as add an
2950 parameter to the "--with-libtool" option which can specify the
2951 pathname of libtool (report by Chris Zubrzycki). We note that
2952 libtool 1.5 has more than one bug in its C++ support, so it is not
2953 able to install libncurses++, for instance, if $DESTDIR or the option
2954 --with-install-prefix is used.
2957 > patch by Philippe Blain:
2958 + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
2959 + make baudrate computation in delay_output() consistent with the
2960 assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
2963 + modify logic in waddch_literal() to take into account zh_TW.Big5
2964 whose multibyte sequences may contain "printable" characters, e.g.,
2965 a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
2966 + improve storage used by _nc_safe_strcpy() by ensuring that the size
2967 is reset based on the initialization call, in case it were called
2968 after other strcpy/strcat calls (report by Philippe Blain).
2969 > patch by Philippe Blain:
2970 + remove an unused ifdef for REAL_ATTR & WANT_CHAR
2971 + correct a place where _cup_cost was used rather than _cuu_cost
2974 + fix a small memory leak in _nc_free_termtype().
2975 + close trace-file if trace() is called with a zero parameter.
2976 + free memory allocated for soft-key strings, in delscreen().
2977 + fix an allocation size in safe_sprintf.c for the "*" format code.
2978 + correct safe_sprintf.c to not return a null pointer if the format
2979 happens to be an empty string. This applies to the "configure
2980 --enable-safe-sprintf" option (Redhat #101486).
2983 + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
2985 > patch by Philippe Blain:
2986 + change padding for change_scroll_region to not be proportional to
2987 the size of the scroll-region.
2988 + correct error-return in _nc_safe_strcat().
2991 + correct limit-checks in _nc_scroll_window() (report and test-case by
2992 Thomas Graf <graf@dms.at> cf: 20011020).
2993 + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
2997 + use clr_eol in preference to blanks for bce terminals, so select and
2998 paste will have fewer trailing blanks, e.g., when using xterm
2999 (request by Vincent Lefevre).
3000 + correct prototype for wunctrl() in manpage.
3001 + add configure --with-abi-version option (discussion with Charles
3003 > cygwin changes from Charles Wilson:
3004 + aclocal.m4: on cygwin, use autodetected prefix for import
3005 and static lib, but use "cyg" for DLL.
3006 + include/ncurses_dll.h: correct the comments to reflect current
3007 status of cygwin/mingw port. Fix compiler warning.
3008 + misc/run_tic.in: ensure that tic.exe can find the uninstalled
3009 DLL, by adding the lib-directory to the PATH variable.
3010 + misc/terminfo.src (nxterm|xterm-color): make xterm-color
3011 primary instead of nxterm, to match XFree86's xterm.terminfo
3012 usage and to prevent circular links.
3013 (rxvt): add additional codes from rxvt.org.
3014 (rxvt-color): new alias
3015 (rxvt-xpm): new alias
3016 (rxvt-cygwin): like rxvt, but with special acsc codes.
3017 (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or
3018 with a "native" MSWin GUI. Each takes different acsc codes,
3019 which are both different from the "normal" rxvt's acsc.
3020 (cygwin): cygwin-in-cmd.exe window. Lots of fixes.
3022 + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
3026 + update config.guess, config.sub
3027 + add triples for configuring shared libraries with the Debian
3028 GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
3031 + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some
3032 platforms have installed g++ along with the native C compiler, which
3033 would not accept gcc warning options.
3034 + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
3035 get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
3036 + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
3037 + correct a sign-extension in wadd_wch() and wecho_wchar() from
3038 20030628 (report by Tomohiro Kubota).
3039 + work around omission of btowc() and wctob() from wide-character
3040 support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
3042 + add portability note to curs_get_wstr.3x (Debian #199957).
3045 + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
3046 respectively, to avoid calling waddch_noecho() with wide-character
3047 data, since that function assumes its input is 8-bit data.
3048 Similarly, modify waddnwstr() to call wadd_wch().
3049 + remove logic from waddnstr() which transformed multibyte character
3050 strings into wide-characters. Rewrite of waddch_literal() from
3051 20030621 assumes its input is raw multibyte data rather than wide
3052 characters (report by Tomohiro Kubota).
3055 + write getyx() and related 2-return macros in terms of getcury(),
3057 + modify waddch_literal() in case an application passes bytes of a
3058 multibyte character directly to waddch(). In this case, waddch()
3059 must reassemble the bytes into a wide-character (report by Tomohiro
3060 Kubota <kubota@debian.org>).
3063 + modify waddch_literal() in case a multibyte value occupies more than
3065 + modify PutAttrChar() to compute the number of character cells that
3066 are used in multibyte values. This fixes a problem displaying
3067 double-width characters (report/test by Mitsuru Chinen
3068 <mchinen@yamato.ibm.com>).
3069 + add a null-pointer check for result of keyname() in _tracechar()
3070 + modify _tracechar() to work around glibc sprintf bug.
3073 + add a call to setlocale() in cursesmain.cc, making demo display
3074 properly in a UTF-8 locale.
3075 + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
3076 by discussion with Gabor Z Papp).
3077 + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
3078 appease -Wchar-subscript with g++ 3.3 (Debian #195732).
3079 + fix a redefinition of $RANLIB in the configure script when libtool
3080 is used, which broke configure on Mac OS X (report by Chris Zubrzycki
3082 + simplify ifdef for bool declaration in curses.h.in (suggested by
3083 Albert Chin-A-Young).
3084 + remove configure script check to allow -Wconversion for older
3085 versions of gcc (suggested by Albert Chin-A-Young).
3088 + regenerated html manpages.
3089 + modify ifdef's in curses.h.in that disabled use of __attribute__()
3090 for g++, since recent versions implement the cases which ncurses uses
3092 + modify _nc_get_token() to handle a case where an entry has no
3093 description, and capabilities begin on the same line as the entry
3095 + fix a typo in ncurses_dll.h reported by gcc 3.3.
3096 + add an entry for key_defined.3x to man_db.renames.
3099 + modify setcchar() to allow converting control characters to complex
3100 characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
3101 + add tkterm entry -TD
3102 + modify parse_entry.c to allow a terminfo entry with a leading
3103 2-character name (report by Don Libes).
3104 + corrected acsc in screen.teraterm, which requires a PC-style mapping.
3105 + fix trace statements in read_entry.c to use lseek() rather than
3107 + fix signed/unsigned warnings from Sun's compiler (gcc should give
3108 these warnings, but it is unpredictable).
3109 + modify configure script to omit -Winline for gcc 3.3, since that
3111 + modify manlinks.sed to add a few functions that were overlooked since
3112 they return function pointers: field_init, field_term, form_init,
3113 form_term, item_init, item_term, menu_init and menu_term.
3116 + prevent recursion in wgetch() via wgetnstr() if the connection cannot
3117 be switched between cooked/raw modes because it is not a TTY (report
3118 by Wolfgang Gutjahr <gutw@knapp.com>).
3119 + change parameter of define_key() and key_defined() to const (prompted
3121 + add a check in test/configure for ncurses extensions, since there
3122 are some older versions, etc., which would not compile with the
3123 current test programs.
3124 + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
3125 convert wchar_t string to multibyte form before printing it.
3126 + corrections to lib_get_wstr.c:
3127 + null-terminate buffer passed to setcchar(), which occasionally
3129 + map special characters such as erase- and kill-characters into
3130 key-codes so those will work as expected even if they are not
3131 mentioned in the terminfo.
3132 + modify PUTC() and Charable() macros to make wide-character line
3133 drawing work for POSIX locale on Linux console (cf: 20021221).
3136 + make typography for program options in manpages consistent (report
3137 by Miloslav Trmac <mitr@volny.cz>).
3138 + correct dependencies in Ada95/src/Makefile.in, so the builds with
3139 "--srcdir" work (report by Warren L Dodge).
3140 + correct missing definition of $(CC) in Ada95/gen/Makefile.in
3141 (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
3142 + fix typos and whitespace in manpages (patch by Jason McIntyre
3143 <jmc@prioris.mini.pw.edu.pl>).
3146 + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
3147 REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
3148 the editing position before making modifications.
3149 + add test/demo_forms and associated test/edit_field.c demos.
3150 + modify test/configure.in to use test/modules for the list of objects
3151 to compile rather than using the list of programs.
3154 + modify logic of acsc to use the original character if no mapping is
3155 defined, noting that Solaris does this.
3156 + modify ncurses 'b' test to avoid using the acs_map[] array since
3157 20021231 changes it to no longer contain information from the acsc
3159 + modify makefile rules in c++, progs, tack and test to ensure that
3160 the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link
3161 command (report by Jose Luis Rico Botella <informatica@serpis.com>).
3162 + modify soft-key initialization to use A_REVERSE if A_STANDOUT would
3163 not be shown when colors are used, i.e., if ncv#1 is set in the
3164 terminfo as is done in "screen".
3167 + add a test for slk_color(), in ncurses.c
3168 + fix some issues reported by valgrind in the slk_set() and slk_wset()
3169 code, from recent rewrite.
3170 + modify ncurses 'E' test to use show previous label via slk_label(),
3172 + modify wide-character versions of NewChar(), NewChar2() macros to
3173 ensure that the whole struct is initialized.
3176 + modify setupterm() to check if the terminfo and terminal-modes have
3177 already been read. This ensures that it does not reinvoke
3178 def_prog_mode() when an application calls more than one function,
3179 such as tgetent() and initscr() (report by Olaf Buddenhagen).
3182 + add 'E' test to ncurses.c, to exercise slk_wset().
3183 + correct handling of carriage-return in wgetn_wstr(), used in demo of
3185 + first draft of slk_wset() function.
3188 + improved warnings in tic when suppressing items to fit in termcap's
3190 + built a list in test/README showing which externals are being used
3191 by either programs in the test-directory or via internal library
3193 + adjust include-options in CF_ETIP_DEFINES to avoid missing
3194 ncurses_dll.h, fixing special definitions that may be needed for
3195 etip.h (reported by Greg Schafer <gschafer@zip.com.au>).
3198 + minor fixes for cardfile.c, to make it write the updated fields to
3199 a file when ^W is given.
3200 + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in
3204 + correct a case in _nc_remove_string(), used by define_key(), to avoid
3205 infinite loop if the given string happens to be a substring of other
3206 strings which are assigned to keys (report by John McCutchan).
3207 + add key_defined() function, to tell which keycode a string is bound
3208 to (discussion with John McCutchan <ttb@tentacle.dhs.org>).
3209 + correct keybound(), which reported definitions in the wrong table,
3210 i.e., the list of definitions which are disabled by keyok().
3211 + modify demo_keydef.c to show the details it changes, and to check
3215 + restructured test/configure script, make it work for libncursesw.
3216 + add description of link_fieldtype() to manpage (report by
3217 L Dee Holtsclaw <dee@sunbeltsoft.com>).
3220 + corrected ifdef's relating to configure check for wchar_t, etc.
3221 + if the output is a socket or other non-tty device, use 1 millisecond
3222 for the cost in mvcur; previously it was 9 milliseconds because the
3223 baudrate was not known.
3224 + in _nc_get_tty_mode(), initialize the TTY buffer on error, since
3225 glibc copies uninitialized data in that case, as noted by valgrind.
3226 + modify tput to use the same parameter analysis as tparm() does, to
3227 provide for user-defined strings, e.g., for xterm title, a
3228 corresponding capability might be
3230 + modify MKlib_gen.sh to avoid passing "#" tokens through the C
3231 preprocessor. This works around Mac OS X's preprocessor, which
3232 insists on adding a blank on each side of the token (report/analysis
3233 by Kevin Murphy <murphy@genome.chop.edu>).
3236 + add configure check for wchar_t and wint_t types, rather than rely
3237 on preprocessor definitions. Also work around for gcc fixinclude
3238 bug which creates a shadow copy of curses.h if it sees these symbols
3239 apparently typedef'd.
3240 + if database is disabled, do not generate run_tic.sh
3241 + minor fixes for memory-leak checking when termcap is read.
3244 + add checking in tic for incomplete line-drawing character mapping.
3245 + update configure script to reflect fix for AC_PROG_GCC_TRADITIONAL,
3246 which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by
3247 Gerben Wierda <Sherlock@rna.nl>).
3248 + make return value from _nc_printf_string() consistent. Before,
3249 depending on whether --enable-safe-sprintf was used, it might not be
3250 cached for reallocating.
3253 + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c
3254 + correct a potentially-uninitialized value if _read_termtype() does
3255 not read as much data as expected (report by Wolfgang Rohdewald
3257 + correct several places where the aclocal.m4 macros relied on cache
3258 variable names which were incompatible (as usual) between autoconf
3259 2.13 and 2.5x, causing the test for broken-linker to give incorrect
3260 results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser
3261 <te@dbs.uni-hannover.de>).
3262 + do not try to open gpm mouse driver if standard output is not a tty;
3263 the gpm library does not make this check (bug report for dialog
3264 by David Oliveira <davidoliveira@develop.prozone.ws>).
3267 + modified emx.src to correspond more closely to terminfo.src, added
3268 emx-base to the latter -TD
3269 + add configure option for FreeBSD sysmouse, --with-sysmouse, and
3270 implement support for that in lib_mouse.c, lib_getch.c
3273 + revert 20030105 change to can_clear_with(), does not work for the
3274 case where the update is made on cells which are blanks with
3275 attributes, e.g., reverse.
3276 + improve ifdef's to guard against redefinition of wchar_t and wint_t
3277 in curses.h (report by Urs Jansen).
3280 + improve mvcur() by checking if it is safe to move when video
3281 attributes are set (msgr), and if not, reset/restore attributes
3282 within that function rather than doing it separately in the GoTo()
3283 function in tty_update.c (suggested by Philippe Blain).
3284 + add a message in run_tic.in to explain more clearly what does not
3285 work when attempting to create a symbolic link for /usr/lib/terminfo
3286 on OS/2 and other platforms with no symbolic links (report by John
3288 + change several sed scripts to avoid using "\+" since it is not a BRE
3289 (basic regular expression). One instance caused terminfo.5 to be
3290 misformatted on FreeBSD (report by Kazuo Horikawa
3291 <horikawa@FreeBSD.org> (see FreeBSD docs/46709)).
3292 + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins).
3295 + improve description of terminfo operators, especially static/dynamic
3296 variables (comments by Mark I Manning IV <mark4th@earthlink.net>).
3297 + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to
3298 use the predefined TYPE_ALPHA field-type, and by defining a
3299 specialized type for the middle initial/name.
3300 + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature
3302 > patch by Philippe Blain:
3303 + optimize can_clear_with() a little by testing first if the parameter
3304 is indeed a "blank".
3305 + simplify ClrBottom() a little by allowing it to use clr_eos to clear
3306 sections as small as one line.
3307 + improve ClrToEOL() by checking if clr_eos is available before trying
3309 + use tputs() rather than putp() in a few cases in tty_update.c since
3310 the corresponding delays are proportional to the number of lines
3311 affected: repeat_char, clr_eos, change_scroll_region.
3314 + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from
3315 global acs_map[] array; removed the lines that did the copying.
3318 + change some overlooked tputs() calls in scrolling code to use putp()
3319 (report by Philippe Blain).
3320 + modify lib_getch.c to avoid recursion via wgetnstr() when the input
3321 is not a tty and consequently mode-changes do not work (report by
3322 <R.Chamberlin@querix.com>).
3323 + rewrote lib_acs.c to allow PutAttrChar() to decide how to render
3324 alternate-characters, i.e., to work with Linux console and UTF-8
3326 + correct line/column reference in adjust_window(), needed to make
3327 special windows such as curscr track properly when resizing (report
3328 by Lucas Gonze <lgonze@panix.com>).
3329 > patch by Philippe Blain:
3330 + correct the value used for blank in ClrBottom() (broken in 20000708).
3331 + correct an off-by-one in GoTo() parameter in _nc_scrolln().
3334 + change several tputs() calls in scrolling code to use putp(), to
3335 enable padding which may be needed for some terminals (patch by
3337 + use '%' as sed substitute delimiter in run_tic script to avoid
3338 problems with pathname delimiters such as ':' and '@' (report by John
3340 + implement a workaround so that line-drawing works with screen's
3341 crippled UTF-8 support (tested with 3.9.13). This only works with
3342 the wide-character support (--enable-widec); the normal library will
3343 simply suppress line-drawing when running in a UTF-8 locale in screen.
3346 + allow BUILD_CC and related configure script variables to be
3347 overridden from the environment.
3348 + make build-tools variables in ncurses/Makefile.in consistent with
3349 the configure script variables (report by Maciej W Rozycki).
3350 + modify ncurses/modules to allow
3351 configure --disable-leaks --disable-ext-funcs
3352 to build (report by Gary Samuelson).
3353 + fix a few places in configure.in which lacked quotes (report by
3354 Gary Samuelson <gary.samuelson@verizon.com>).
3355 + correct handling of multibyte characters in waddch_literal() which
3356 force wrapping because they are started too late on the line (report
3357 by Sam Varshavchik).
3358 + small fix for CF_GNAT_VERSION to ignore the help-message which
3359 gnatmake adds to its version-message.
3360 > Maciej W Rozycki <macro@ds2.pg.gda.pl>:
3361 + use AC_CHECK_TOOL to get proper values for AR and LD for cross
3363 + use $cross_compiling variable in configure script rather than
3364 comparing $host_alias and $target alias, since "host" is
3365 traditionally misused in autoconf to refer to the target platform.
3366 + change configure --help message to use "build" rather than "host"
3367 when referring to the --with-build-XXX options.
3370 + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for
3371 possible gnat versions such as 3.2 (report by Chris Lingard
3372 <chris@stockwith.co.uk>).
3373 + modify #define's for CKILL and other default control characters in
3374 tset to use the system's default values if they are defined.
3375 + correct interchanged defaults for kill and interrupt characters
3376 in tset, which caused it to report unnecessarily (Debian #171583).
3377 + repair check for missing C++ compiler, which is broken in autoconf
3378 2.5x by hardcoding it to g++ (report by Martin Mokrejs).
3379 + update config.guess, config.sub (2002-11-30)
3380 + modify configure script to skip --with-shared, etc., when the
3381 --with-libtool option is given, since they would be ignored anyway.
3382 + fix to allow "configure --with-libtool --with-termlib" to build.
3383 + modify configure script to show version number of libtool, to help
3384 with bug reports. libtool still gets confused if the installed
3385 ncurses libraries are old, since it ignores the -L options at some
3386 point (tested with libtool 1.3.3 and 1.4.3).
3387 + reorder configure script's updating of $CPPFLAGS and $CFLAGS to
3388 prevent -I options in the user's environment from introducing
3389 conflicts with the build -I options (may be related to reports by
3390 Patrick Ash and George Goffe).
3391 + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to
3392 test/demo_keyok.c to allow building these with libtool.
3395 + add example program test/define_key.c for define_key().
3396 + add example program test/keyok.c for keyok().
3397 + add example program test/ins_wide.c for wins_wch() and wins_wstr().
3398 + modify wins_wch() and wins_wstr() to interpret tabs by using the
3399 winsch() internal function.
3400 + modify setcchar() to allow for wchar_t input strings that have
3401 more than one spacing character.
3404 + fix a boundary check in lib_insch.c (patch by Philippe Blain).
3405 + change type for *printw functions from NCURSES_CONST to const
3406 (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>,
3407 but really from a note on X/Open's website stating that either is
3408 acceptable, and the latter will be used in a future revision).
3409 + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in
3410 lib_mouse.c (20021026) -TD
3411 + add screen-bce, screen-s entries from screen 3.9.13 (report by
3412 Adam Lazur <zal@debian.org>) -TD
3413 + add mterm terminfo entries -TD
3416 + split-out useful fragments in terminfo for vt100 and vt220 numeric
3417 keypad, i.e., vt100+keypad, vt100+pfkeys, vt100+fnkeys and
3418 vt220+keypad. The last as embedded in various entries had ka3 and
3419 kb2 interchanged (report/discussion with Leonard den Ottolander
3420 <leonardjo@hetnet.nl>).
3421 + add check in tic for keypads consistent with vt100 layout.
3422 + improve checks in tic for color capabilities
3425 + check for missing/empty/illegal terminfo name in _nc_read_entry()
3426 (report by Martin Mokrejs, where $TERM was set to an empty string).
3427 + rewrote lib_insch.c, combining it with lib_insstr.c so both handle
3428 tab and other control characters consistently (report by Philippe
3430 + remove an #undef for KEY_EVENT from curses.tail used in the