1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2009,2010 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.1570 2010/07/24 22:19:44 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 + add a check in tic for missing set_tab if clear_all_tabs given.
50 + improve use of symbolic links in makefiles by using "-f" option if
51 it is supported, to eliminate temporary removal of the target
52 (prompted by http://www.t2-project.org/packages/ncurses.html)
53 + minor improvement to test/ncurses.c, reset color pairs in 'd' test
54 after exit from 'm' main-menu command.
55 + improved ncu-indent, from mawk changes, allows more than one of
56 GCC_NORETURN, GCC_PRINTFLIKE and GCC_SCANFLIKE on a single line.
59 + add hard-reset for rs2 to wsvt25 to help ensure that reset ends
60 the alternate character set (patch by Nicholas Marriott)
61 + remove tar-copy.sh and related configure/Makefile chunks, since the
62 Ada95 binding is now installed using rules in Ada95/src.
65 + continue integrating changes to use gnatmake project files in Ada95
66 + add/use configure check to turn on project rules for Ada95/src.
67 + revert the vfork change from 20100130, since it does not work.
70 + continue integrating changes to use gnatmake project files in Ada95
71 + old gnatmake (3.15) does not produce libraries using project-file;
72 work around by adding script to generate alternate makefile.
75 + continue integrating changes to use gnatmake project files in Ada95
76 + add configure --with-ada-sharedlib option, for the test_make rule.
77 + move Ada95-related logic into aclocal.m4, since additional checks
78 will be needed to distinguish old/new implementations of gnat.
81 + start integrating changes to use gnatmake project files in Ada95 tree
82 + add test_make / test_clean / test_install rules in Ada95/src
83 + change install-path for adainclude directory to /usr/share/ada (was
85 + update Ada95/configure.
86 + add mlterm+256color entry, for mlterm 3.0.0 -TD
87 + modify test/configure to use macros to ensure consistent order
88 of updating LIBS variable.
91 + change search order of options for Solaris in CF_SHARED_OPTS, to
92 work with 64-bit compiles.
93 + correct quoting of assignment in CF_SHARED_OPTS case for aix
97 + regenerated html documentation.
98 + modify test/configure to support pkg-config for checking X libraries
100 + add/use configure macro CF_ADD_LIB to force consistency of
101 assignments to $LIBS, etc.
102 + fix configure script for combining --with-pthread
103 and --enable-weak-symbols options.
106 + correct cross-compiling configure check for CF_MKSTEMP macro, by
107 adding a check cache variable set by AC_CHECK_FUNC (report by
109 + simplify include-dependencies of make_hash and make_keys, to reduce
110 the need for setting BUILD_CPPFLAGS in cross-compiling when the
111 build- and target-machines differ.
112 + repair broken-linker configuration by restoring a definition of SP
113 variable to curses.priv.h, and adjusting for cases where sp-funcs
115 + improve configure macro CF_AR_FLAGS, allowing ARFLAGS environment
116 variable to override (prompted by report by Pablo Cazallas).
119 + add configure option --enable-pthreads-eintr to control whether the
120 new EINTR feature is enabled.
121 + modify logic in pthread configuration to allow EINTR to interrupt
122 a read operation in wgetch() (Novell #540571, patch by Werner Fink).
123 + drop mkdirs.sh, use "mkdir -p".
124 + add configure option --disable-libtool-version, to use the
125 "-version-number" feature which was added in libtool 1.5 (report by
126 Peter Haering). The default value for the option uses the newer
127 feature, which makes libraries generated using libtool compatible
128 with the standard builds of ncurses.
129 + updated test/configure to match configure script macros.
130 + fixes for configure script from lynx changes:
131 + improve CF_FIND_LINKAGE logic for the case where a function is
132 found in predefined libraries.
133 + revert part of change to CF_HEADER (cf: 20100424)
136 + correct limit-check in wredrawln, accounting for begy/begx values
137 (patch by David Benjamin).
138 + fix most compiler warnings from clang.
139 + amend build-fix for OpenSolaris, to ensure that a system header is
140 included in curses.h before testing feature symbols, since they
141 may be defined by that route.
144 + fix some strict compiler warnings in ncurses library.
145 + modify configure macro CF_HEADER_PATH to not look for variations in
146 the predefined include directories.
147 + improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS to work
148 with gcc 4.x's c89 alias, which gives warning messages for cases
149 where older versions would produce an error.
152 + modify _nc_capcmp() to work with cancelled strings.
153 + correct translation of "^" in _nc_infotocap(), used to transform
154 terminfo to termcap strings
155 + add configure --disable-rpath-hack, to allow disabling the feature
156 which adds rpath options for libraries in unusual places.
157 + improve CF_RPATH_HACK_2 by checking if the rpath option for a given
158 directory was already added.
159 + improve CF_RPATH_HACK_2 by using ldd to provide a standard list of
160 directories (which will be ignored).
163 + improve win_driver.c handling of mouse:
164 + discard motion events
165 + avoid calling _nc_timed_wait when there is a mouse event
166 + handle 4th and "rightmost" buttons.
167 + quote substitutions in CF_RPATH_HACK_2 configure macro, needed for
168 cases where there are embedded blanks in the rpath option.
171 + add configure check for exctags vs ctags, to work around pkgsrc.
172 + simplify logic in _nc_get_screensize() to make it easier to see how
173 environment variables may override system- and terminfo-values
174 (prompted by discussion with Igor Bujna).
175 + make debug-traces for COLOR_PAIR and PAIR_NUMBER less verbose.
176 + improve handling of color-pairs embedded in attributes for the
177 extended-colors configuration.
178 + modify MKlib_gen.sh to build link_test with sp-funcs.
179 + build-fixes for OpenSolaris aka Solaris 11, for wide-character
180 configuration as well as for rpath feature in *-config scripts.
183 + refactor CF_SHARED_OPTS configure macro, making CF_RPATH_HACK more
185 + improve configure CF_REGEX, similar fixes.
186 + improve configure CF_FIND_LINKAGE, adding add check between system
187 (default) and explicit paths, where we can find the entrypoint in the
189 + add check if Gpm_Open() returns a -2, e.g., for "xterm". This is
190 normally suppressed but can be overridden using $NCURSES_GPM_TERMS.
191 Ensure that Gpm_Close() is called in this case.
194 + rename atari and st52 terminfo entries to atari-old, st52-old, use
195 newer entries from FreeMiNT by Guido Flohr (from patch/report by Alan
199 + modify install-rule for manpages so that *-config manpages will
200 install when building with --srcdir (report by Sven Joachim).
201 + modify CF_DISABLE_LEAKS configure macro so that the --enable-leaks
202 option is not the same as --disable-leaks (GenToo #305889).
203 + modify #define's for build-compiler to suppress cchar_t symbol from
204 compile of make_hash and make_keys, improving cross-compilation of
205 ncursesw (report by Bernhard Rosenkraenzer).
206 + modify CF_MAN_PAGES configure macro to replace all occurrences of
207 TPUT in tput.1's manpage (Debian #573597, report/analysis by Anders
211 + generate manpages for the *-config scripts, adapted from help2man
212 (suggested by Sven Joachim).
213 + use va_copy() in _nc_printf_string() to avoid conflicting use of
214 va_list value in _nc_printf_length() (report by Wim Lewis).
217 + add Ada95/configure script, to use in tar-file created by
219 + fix typo in wresize.3x (patch by Tim van der Molen).
220 + modify screen-bce.XXX entries to exclude ech, since screen's color
221 model does not clear with color for that feature -TD
224 + add make-tar.sh scripts to Ada95 and test subdirectories to help with
225 making those separately distributable.
226 + build-fix for static libraries without dlsym (Debian #556378).
227 + fix a syntax error in man/form_field_opts.3x (patch by Ingo
231 + add several screen-bce.XXX entries -TD
234 + update mrxvt terminfo entry -TD
235 + modify win_driver.c to support mouse single-clicks.
236 + correct name for termlib in ncurses*-config, e.g., if it is renamed
237 to provide a single file for ncurses/ncursesw libraries (patch by
241 + use vfork in test/ditto.c if available (request by Mike Frysinger).
242 + miscellaneous cleanup of manpages.
243 + fix typo in curs_bkgd.3x (patch by Tim van der Molen).
244 + build-fix for --srcdir (patch by Miroslav Lichvar).
247 + for term-driver configuration, ensure that the driver pointer is
248 initialized in setupterm so that terminfo/termcap programs work.
249 + amend fix for Debian #542031 to ensure that wattrset() returns only
250 OK or ERR, rather than the attribute value (report by Miroslav
252 + reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making
253 _nc_screen_of() compatible between normal/wide libraries again (patch
255 + review/fix include-dependencies in modules files (report by Miroslav
259 + modify win_driver.c to initialize acs_map for win32 console, so
260 that line-drawing works.
261 + modify win_driver.c to initialize TERMINAL struct so that programs
262 such as test/lrtest.c and test/ncurses.c which test string
263 capabilities can run.
264 + modify term-driver modules to eliminate forward-reference
268 + modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS
269 consistently to add new -D's while removing duplicates.
270 + modify a few configure macros to consistently put new options
271 before older in the list.
272 + add tiparm(), based on review of X/Open Curses Issue 7.
273 + minor documentation cleanup.
274 + update config.guess, config.sub from
275 http://savannah.gnu.org/projects/config
276 (caveat - its maintainer put 2010 copyright date on files dated 2009)
279 + minor improvement to tic's checking of similar SGR's to allow for the
280 most common case of SGR 0.
281 + modify getmouse() to act as its documentation implied, returning on
282 each call the preceding event until none are left. When no more
283 events remain, it will return ERR.
286 + change order of lookup in progs/tput.c, looking for terminfo data
287 first. This fixes a confusion between termcap "sg" and terminfo
288 "sgr" or "sgr0", originally from 990123 changes, but exposed by
289 20091114 fixes for hashing. With this change, only "dl" and "ed" are
290 ambiguous (Mandriva #56272).
293 + add bterm terminfo entry, based on bogl 0.1.18 -TD
294 + minor fix to rxvt+pcfkeys terminfo entry -TD
295 + build-fixes for Ada95 tree for gnat 4.4 "style".
298 + remove old check in mvderwin() which prevented moving a derived
299 window whose origin happened to coincide with its parent's origin
300 (report by Katarina Machalkova).
301 + improve test/ncurses.c to put mouse droppings in the proper window.
302 + update minix terminfo entry -TD
303 + add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
306 + correct transfer of multicolumn characters in multirow
307 field_buffer(), which stopped at the end of the first row due to
308 filling of unused entries in a cchar_t array with nulls.
309 + updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
310 + modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character
312 + use strdup() in set_menu_mark(), restore .marklen struct member on
314 + eliminate clause 3 from the UCB copyrights in read_termcap.c and
316 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
317 (patch by Nicholas Marriott).
318 + replace a malloc in tic.c with strdup, checking for failure (patch by
320 + update config.guess, config.sub from
321 http://savannah.gnu.org/projects/config
324 + correct layout of working window used to extract data in
325 wide-character configured by set_field_buffer (patch by Rafael
327 + improve some limit-checks related to filename length in reading and
328 writing terminfo entries.
329 + ensure that filename is always filled in when attempting to read
330 a terminfo entry, so that infocmp can report the filename (patch
331 by Nicholas Marriott).
334 + modify mk-1st.awk to allow tinfo library to be built when term-driver
336 + add error-check to configure script to ensure that sp-funcs is
337 enabled if term-driver is, since some internal interfaces rely upon
341 + fix case where progs/tput is used while sp-funcs is configure; this
342 requires save/restore of out-character function from _nc_prescreen
343 rather than the SCREEN structure (report by Charles Wilson).
344 + fix typo in man/curs_trace.3x which caused incorrect symbolic links
345 + improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
349 + updated man/curs_trace.3x
350 + limit hashing for termcap-names to 2-characters (Ubuntu #481740).
351 + change a variable name in lib_newwin.c to make it clearer which
352 value is being freed on error (patch by Nicholas Marriott).
355 + improve test/ncurses.c color-cycling test by reusing attribute-
356 and color-cycling logic from the video-attributes screen.
357 + add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form
358 library which help make it compatible with interop applications
359 (patch by Juergen Pfeifer).
360 + add configure option --enable-interop, for integrating changes
361 for generic/interop support to form-library by Juergen Pfeifer
364 + modify use of $CC environment variable which is defined by X/Open
365 as a curses feature, to ignore it if it is not a single character
366 (prompted by discussion with Benjamin C W Sittler).
367 + add START_TRACE in slk_init
368 + fix a regression in _nc_ripoffline which made test/ncurses.c not show
369 soft-keys, broken in 20090927 merging.
370 + change initialization of "hidden" flag for soft-keys from true to
371 false, broken in 20090704 merging (Ubuntu #464274).
372 + update nsterm entries (patch by Benjamin C W Sittler, prompted by
373 discussion with Fabian Groffen in GenToo #206201).
374 + add test/xterm-256color.dat
377 + quiet some pedantic gcc warnings.
378 + modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
379 SIGWINCH, and discard that value, to avoid confusing application
380 (patch by Eygene Ryabinkin, FreeBSD bin/136223).
383 + modify handling of $PKG_CONFIG_LIBDIR to use only the first item in
384 a possibly colon-separated list (Debian #550716).
387 + supply a null-terminator to buffer in _nc_viswibuf().
388 + fix a sign-extension bug in unget_wch() (report by Mike Gran).
389 + minor fixes to error-returns in default function for tputs, as well
393 + add WACS_xxx definitions to wide-character configuration for thick-
394 and double-lines (discussion with Slava Zanko).
395 + remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
396 + add ccc and initc capabilities to xterm-16color -TD
397 > patch by Benjamin C W Sittler:
399 + correct initc capability of linux-c-nc end-of-range
400 + similar change for dg+ccc and dgunix+ccc
403 + move leak-checking for comp_captab.c into _nc_leaks_tinfo() since
404 that module since 20090711 is in libtinfo.
405 + add configure option --enable-term-driver, to allow compiling with
406 terminal-driver. That is used in mingw port, and (being somewhat
407 more complicated) is an experimental alternative to the conventional
408 termlib internals. Currently, it requires the sp-funcs feature to
410 + completed integrating "sp-funcs" by Juergen Pfeifer in ncurses
411 library (some work remains for forms library).
414 + document return code from define_key (report by Mike Gran).
415 + make some symbolic links in the terminfo directory-tree shorter
416 (patch by Daniel Jacobowitz, forwarded by Sven Joachim).).
417 + fix some groff warnings in terminfo.5, etc., from recent Debian
419 + change ncv and op capabilities in sun-color terminfo entry to match
420 Sun's entry for this (report by Laszlo Peter).
421 + improve interix smso terminfo capability by using reverse rather than
422 bold (report by Kristof Zelechovski).
425 + add some test programs (and make these use the same special keys
426 by sharing linedata.h functions):
430 test/test_add_wchstr.c
431 + correct internal _nc_insert_ch() to use _nc_insert_wch() when
432 inserting wide characters, since the wins_wch() function that it used
433 did not update the cursor position (report by Ciprian Craciun).
436 + fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not
438 + add null-pointer checks to other opaque-functions.
439 + add is_pad() and is_subwin() functions for opaque access to WINDOW
440 (discussion with Mark Dickinson).
441 + correct merge to lib_newterm.c, which broke when sp-funcs was
445 + build-fix for building outside source-tree (report by Sven Joachim).
446 + fix Debian lintian warning for man/tabs.1 by making section number
447 agree with file-suffix (report by Sven Joachim).
448 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
451 + workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on
452 amd64 (Debian #542031).
453 + fix typo in curs_mouse.3x (Debian #429198).
456 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
459 + correct use of terminfo capabilities for initializing soft-keys,
460 broken in 20090509 merging.
461 + modify wgetch() to ensure it checks SIGWINCH when it gets an error
462 in non-blocking mode (patch by Clemens Ladisch).
463 + use PATH_SEPARATOR symbol when substituting into run_tic.sh, to
464 help with builds on non-Unix platforms such as OS/2 EMX.
465 + modify scripting for misc/run_tic.sh to test configure script's
466 $cross_compiling variable directly rather than comparing host/build
467 compiler names (prompted by comment in GenToo #249363).
468 + fix configure script option --with-database, which was coded as an
470 + build-fixes for --srcdir (report by Frederic L W Meunier).
473 + separate _nc_find_entry() and _nc_find_type_entry() from
474 implementation details of hash function.
477 + add tabs.1 to man/man_db.renames
478 + modify lib_addch.c to compensate for removal of wide-character test
479 from unctrl() in 20090704 (Debian #539735).
482 + improve discussion in INSTALL for use of system's tic/infocmp for
483 cross-compiling and building fallbacks.
484 + modify test/demo_termcap.c to correspond better to options in
486 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
487 + fix logic for 'V' in test/ncurses.c tests f/F.
490 + correct logic in tigetnum(), which caused tput program to treat all
491 string capabilities as numeric (report by Rajeev V Pillai,
495 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
498 + fix a null-pointer check in _nc_format_slks() in lib_slk.c, from
500 + modify _nc_find_type_entry() to use hashing.
501 + make CCHARW_MAX value configurable, noting that changing this would
502 change the size of cchar_t, and would be ABI-incompatible.
503 + modify test-programs, e.g,. test/view.c, to address subtle
504 differences between Tru64/Solaris and HPUX/AIX getcchar() return
506 + modify length returned by getcchar() to count the trailing null
507 which is documented in X/Open (cf: 20020427).
508 + fixes for test programs to build/work on HPUX and AIX, etc.
511 + improve performance of tigetstr, etc., by using hashing code from tic.
512 + minor fixes for memory-leak checking.
513 + add test/demo_terminfo, for comparison with demo_termcap
516 + remove wide-character checks from unctrl() (patch by Clemens Ladisch).
517 + revise wadd_wch() and wecho_wchar() to eliminate dependency on
519 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
522 + update llib-lncurses[wt] to use sp-funcs.
523 + various code-fixes to build/work with --disable-macros configure
525 + add several new files from Juergen Pfeifer which will be used when
526 integration of "sp-funcs" is complete. This includes a port to
530 + move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to
531 make includes of term.h without curses.h work (report by "Nix").
532 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
535 + fix a regression in lib_tputs.c, from ongoing merges.
538 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
541 + fix an infinite recursion when adding a legacy-coding 8-bit value
542 using insch() (report by Clemens Ladisch).
543 + free home-terminfo string in del_curterm() (patch by Dan Weber).
544 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
547 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
550 + work around antique BSD game's manipulation of stdscr, etc., versus
551 SCREEN's copy of the pointer (Debian #528411).
552 + add a cast to wattrset macro to avoid compiler warning when comparing
553 its result against ERR (adapted from patch by Matt Kraii, Debian
557 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
560 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
561 + add vwmterm terminfo entry (patch by Bryan Christ).
564 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
567 + build fix for _nc_free_and_exit() change in 20090418 (report by
571 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
574 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
575 This change finishes merging for menu and panel libraries, does
576 part of the form library.
579 + suppress configure check for static/dynamic linker flags for gcc on
580 Darwin (report by Nelson Beebe).
583 + extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
584 function key definitions from emx-base for consistency -TD
585 + correct missing final 'p' in pfkey capability of ansi.sys-old (report
586 by Kalle Olavi Niemitalo).
587 + improve test/ncurses.c 'F' test, show combining characters in color.
588 + quiet a false report by cppcheck in c++/cursesw.cc by eliminating
589 a temporary variable.
590 + use _nc_doalloc() rather than realloc() in a few places in ncurses
591 library to avoid leak in out-of-memory condition (reports by William
592 Egert and Martin Ettl based on cppcheck tool).
593 + add --with-ncurses-wrap-prefix option to test/configure (discussion
594 with Charles Wilson).
595 + use ncurses*-config scripts if available for test/configure.
596 + update test/aclocal.m4 and test/configure
597 > patches by Charles Wilson:
598 + modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
599 version numbers (e.g. which include alphabetic chars, as well as
600 digits, after the final '.').
601 + improve use of -no-undefined option for libtool by setting an
602 intermediate variable LT_UNDEF in the configure script, and then
603 using that in the libtool link-commands.
604 + fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
605 from 2009031 changes.
606 + improve mk-1st.awk script by writing separate cases for the
607 LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
608 termlib) is to be linked.
609 + modify configure.in to allow broken-linker configurations, not just
610 enable-reentrant, to set public wrap prefix.
613 + add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
614 build with tic and term libraries (patch by Charles Wilson).
615 + add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
616 (report by Charles Wilson).
617 + fix definition for c++/Makefile.in's SHLIB_LIST, which did not list
618 the form, menu or panel libraries (patch by Charles Wilson).
619 + add configure option --with-wrap-prefix to allow setting the prefix
620 for functions used to wrap global variables to something other than
621 "_nc_" (discussion with Charles Wilson).
624 + modify scripts to generate ncurses*-config and pc-files to add
625 dependency for tinfo library (patch by Charles Wilson).
626 + improve comparison of program-names when checking for linked flavors
627 such as "reset" by ignoring the executable suffix (reports by Charles
628 Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
630 + suppress configure check for static/dynamic linker flags for gcc on
631 Solaris 10, since gcc is confused by absence of static libc, and
632 does not switch back to dynamic mode before finishing the libraries
633 (reports by Joel Bertrand, Alan Pae).
634 + minor fixes to Intel compiler warning checks in configure script.
635 + modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
636 + modify set_curterm() to make broken-linker configuration work with
637 changes from 20090228 (report by Charles Wilson).
640 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
641 + modify declaration of cur_term when broken-linker is used, but
642 enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
645 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
648 + add configure script --enable-sp-funcs to enable the new set of
650 + start integrating patches by Juergen Pfeifer:
651 + add extended functions which specify the SCREEN pointer for several
652 curses functions which use the global SP (these are incomplete;
653 some internals work is needed to complete these).
654 + add special cases to configure script for MinGW port.
657 + update several configure macros from lynx changes
658 + append (not prepend) to CFLAGS/CPPFLAGS
659 + change variable from PATHSEP to PATH_SEPARATOR
660 + improve install-rules for pc-files (patch by Miroslav Lichvar).
661 + make it work with $DESTDIR
662 + create the pkg-config library directory if needed.
665 + modify init_pair() to allow caller to create extra color pairs beyond
666 the color_pairs limit, which use default colors (request by Emanuele
668 + add misc/terminfo.tmp and misc/*.pc to "sources" rule.
669 + fix typo "==" where "=" is needed in ncurses-config.in and
670 gen-pkgconfig.in files (Debian #512161).
673 + add -shared option to MK_SHARED_LIB when -Bsharable is used, for
674 *BSD's, without which "main" might be one of the shared library's
675 dependencies (report/analysis by Ken Dickey).
676 + modify waddch_literal(), updating line-pointer after a multicolumn
677 character is found to not fit on the current row, and wrapping is
678 done. Since the line-pointer was not updated, the wrapped
679 multicolumn character was written to the beginning of the current row
680 (cf: 20041023, reported by "Nick" regarding problem with ncmpc
681 http://musicpd.org/mantis/bug_view_page.php?bug_id=1930).
684 + add screen.Eterm terminfo entry (GenToo #124887) -TD
685 + modify adacurses-config to look for ".ali" files in the adalib
687 + correct install for Ada95, which omitted libAdaCurses.a used in
689 + change install for adacurses-config to provide additional flavors
690 such as adacursesw-config, for ncursesw (GenToo #167849).
693 + remove undeveloped feature in ncurses-config.in for setting
695 + recent change to ncurses-config.in did not take into account the
696 --disable-overwrite option, which sets $includedir to the
697 subdirectory and using just that for a -I option does not work - fix
698 (report by Frederic L W Meunier).
701 + modify gen-pkgconfig.in to eliminate a dependency on rpath when
702 deciding whether to add $LIBS to --libs output; that should be shown
703 for the ncurses and tinfo libraries without taking rpath into
705 + fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
706 used in static libraries (report by Marty Jack).
709 + add a configure-time check to pick a suitable value for
710 CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).
711 + add configure --with-pkg-config and --enable-pc-files options, along
712 with misc/gen-pkgconfig.in which can be used to generate ".pc" files
713 for pkg-config (request by Jan Engelhardt).
714 + use $includedir symbol in misc/ncurses-config.in, add --includedir
716 + change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a
717 configure check to detect whether a "-" is needed before "ar"
719 + update config.guess, config.sub from
720 http://savannah.gnu.org/projects/config
723 + modify mk-1st.awk to work with extra categories for tinfo library.
724 + modify configure script to allow building shared libraries with gcc
725 on AIX 5 or 6 (adapted from patch by Lital Natan).
728 + modify to omit the opaque-functions from lib_gen.o when
729 --disable-ext-funcs is used.
730 + add test/clip_printw.c to illustrate how to use printw without
732 + modify ncurses 'F' test to demo wborder_set() with colored lines.
733 + modify ncurses 'f' test to demo wborder() with colored lines.
736 + add check for failure to open hashed-database needed for db4.6
738 + corrected --without-manpages option; previous change only suppressed
739 the auxiliary rules install.man and uninstall.man
740 + add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
742 + fixes from NetBSD port at
743 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
744 patch-ac (build-fix for DragonFly)
745 patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
746 + improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
747 by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
749 + correct title string for keybound manpage (patch by Frederic Culot,
750 OpenBSD documentation/6019),
753 + move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
754 work for progs/clear, progs/tabs, etc.
755 + correct buffer-size after internal resizing of wide-character
756 set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
757 + add "-i" option to test/filter.c to tell it to use initscr() rather
758 than newterm(), to investigate report on comp.unix.programmer that
759 ncurses would clear the screen in that case (it does not - the issue
760 was xterm's alternate screen feature).
761 + add check in mouse-driver to disable connection if GPM returns a
762 zero, indicating that the connection is closed (Debian #506717,
763 adapted from patch by Samuel Thibault).
766 + improve a workaround in adding wide-characters, when a control
767 character is found. The library (cf: 20040207) uses unctrl() to
768 obtain a printable version of the control character, but was not
769 passing color or video attributes.
770 + improve test/ncurses.c 'a' test, using unctrl() more consistently to
771 display meta-characters.
772 + turn on _XOPEN_CURSES definition in curses.h
773 + add eterm-color entry (report by Vincent Lefevre) -TD
774 + correct use of key_name() in test/ncurses.c 'A' test, which only
775 displays wide-characters, not key-codes since 20070612 (report by
779 + change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
780 Ada95 (patch by Juergen Pfeifer).
781 + document in TO-DO an issue with Cygwin's package for GNAT (report
783 + improve error-checking of command-line options in "tabs" program.
786 + change several terminfo entries to make consistent use of ANSI
788 + add "tabs" program (prompted by Debian #502260).
789 + add configure --without-manpages option (request by Mike Frysinger).
791 20081102 5.7 release for upload to ftp.gnu.org
794 + add a manpage to discuss memory leaks.
795 + add support for shared libraries for QNX (other than libtool, which
796 does not work well on that platform).
797 + build-fix for QNX C++ binding.
800 + build-fixes for OS/2 EMX.
801 + modify form library to accept control characters such as newline
802 in set_field_buffer(), which is compatible with Solaris (report by
804 + modify configure script to assume --without-hashed-db when
805 --disable-database is used.
806 + add "-e" option in ncurses/Makefile.in when generating source-files
807 to force earlier exit if the build environment fails unexpectedly
808 (prompted by patch by Adrian Bunk).
809 + change configure script to use CF_UTF8_LIB, improved variant of
813 + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
814 original to teraterm2.3 -TD
815 + update "gnome" terminfo to 2.22.3 -TD
816 + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
817 + add "aterm" terminfo -TD
818 + add "linux2.6.26" terminfo -TD
819 + add logic to tic for cancelling strings in user-defined capabilities,
823 + regenerated html documentation.
824 + add -m and -s options to test/keynames.c and test/key_names.c to test
825 the meta() function with keyname() or key_name(), respectively.
826 + correct return value of key_name() on error; it is null.
827 + document some unresolved issues for rpath and pthreads in TO-DO.
828 + fix a missing prototype for ioctl() on OpenBSD in tset.c
829 + add configure option --disable-tic-depends to make explicit whether
830 tic library depends on ncurses/ncursesw library, amends change from
831 20080823 (prompted by Debian #501421).
834 + some build-fixes for configure --disable-ext-funcs (incomplete, but
835 works for C/C++ parts).
836 + improve configure-check for awks unable to handle large strings, e.g.
837 AIX 5.1 whose awk silently gives up on large printf's.
840 + fix build for --with-dmalloc by workaround for redefinition of
841 strndup between string.h and dmalloc.h
842 + fix build for --disable-sigwinch
843 + add environment variable NCURSES_GPM_TERMS to allow override to use
844 GPM on terminals other than "linux", etc.
845 + disable GPM mouse support when $TERM does not happen to contain
846 "linux", since Gpm_Open() no longer limits its assertion to terminals
847 that it might handle, e.g., within "screen" in xterm.
848 + reset mouse file-descriptor when unloading GPM library (report by
850 + fix build for --disable-leaks --enable-widec --with-termlib
851 > patch by Juergen Pfeifer:
852 + use improved initialization for soft-label keys in Ada95 sample code.
853 + discard internal symbol _nc_slk_format (unused since 20080112).
854 + move call of slk_paint_info() from _nc_slk_initialize() to
855 slk_intern_refresh(), improving initialization.
858 + fix bug in mouse code for GPM from 20080920 changes (reported in
859 Debian #500103, also Miroslav Lichvar).
862 + fix shared-library rules for cygwin with tic- and tinfo-libraries.
863 + fix a memory leak when failure to connect to GPM.
864 + correct check for notimeout() in wgetch() (report on linux.redhat
865 newsgroup by FurtiveBertie).
866 + add an example warning-suppression file for valgrind,
867 misc/ncurses.supp (based on example from Reuben Thomas)
870 + change shared-library configuration for OpenBSD, make rpath work.
871 + build-fixes for using libutf8, e.g., on OpenBSD 3.7
874 + corrected fix for --enable-weak-symbols (report by Frederic L W
878 + corrected gcc options for building shared libraries on IRIX64.
879 + add configure check for awk programs unable to handle big-strings,
880 use that to improve the default for --enable-big-strings option.
881 + makefile-fixes for --enable-weak-symbols (report by Frederic L W
883 + update test/configure script.
884 + adapt ifdef's from library to make test/view.c build when mbrtowc()
885 is unavailable, e.g., with HPUX 10.20.
886 + add configure check for wcsrtombs, mbsrtowcs, which are used in
887 test/ncurses.c, and use wcstombs, mbstowcs instead if available,
888 fixing build of ncursew for HPUX 11.00
891 + fixes to make Ada95 demo_panels() example work.
892 + modify Ada95 'rain' test program to accept keyboard commands like the
894 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott
896 + add configure-check to see if the std namespace is legal for cerr
897 and endl, to fix a build issue with Tru64.
898 + consistently use NCURSES_BOOL in lib_gen.c
899 + filter #line's from lib_gen.c
900 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
901 substitution by IBM xlc to '#' as part of its extensions to digraphs.
902 + update config.guess, config.sub from
903 http://savannah.gnu.org/projects/config
904 (caveat - its maintainer removed support for older Linux systems).
907 + modify configure check for pthread library to work with OSF/1 5.1,
908 which uses #define's to associate its header and library.
909 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
910 makes threaded code work on HPUX 11.23
911 + fix a bug in demo_menus in freeing menus (cf: 20080804).
912 + modify configure script for the case where tic library is used (and
913 possibly renamed) to remove its dependency upon ncurses/ncursew
914 library (patch by Dr Werner Fink).
915 + correct manpage for menu_fore() which gave wrong default for
916 the attribute used to display a selected entry (report by Mike Gran).
917 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
921 + add configure option --enable-weak-symbols to turn on new feature.
922 + add configure-check for availability of weak symbols.
923 + modify linkage with pthread library to use weak symbols so that
924 applications not linked to that library will not use the mutexes,
925 etc. This relies on gcc, and may be platform-specific (patch by Dr
927 + add note to INSTALL to document limitation of renaming of tic library
928 using the --with-ticlib configure option (report by Dr Werner Fink).
929 + document (in manpage) why tputs does not detect I/O errors (prompted
930 by comments by Samuel Thibault).
931 + fix remaining warnings from Klocwork report.
934 + modify _nc_panelhook() data to account for a permanent memory leak.
935 + fix memory leaks in test/demo_menus
936 + fix most warnings from Klocwork tool (report by Larry Zhou).
937 + modify configure script CF_XOPEN_SOURCE macro to add case for
938 "dragonfly" from xterm #236 changes.
939 + modify configure script --with-hashed-db to let $LIBS override the
940 search for the db library (prompted by report by Samson Pierre).
943 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
947 + build-fix (reports by Christian Ebert, Funda Wang).
950 + compiler-warning fixes for Solaris.
953 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
954 make those work properly with the "--enable-ext-mouse" configuration
956 + improve documentation of build-cc options in INSTALL.
957 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the
958 -static/-dynamic flags properly to linker, causing test/bs to
962 + correct some ifdef's needed for the broken-linker configuration.
963 + make debugging library's $BAUDRATE feature work for termcap
965 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted
966 by comment on FreeBSD mailing list).
967 + add screen.mlterm terminfo entry -TD
968 + improve mlterm and mlterm+pcfkeys terminfo entries -TD
971 + regenerated html documentation.
972 + expand manpage description of parameters for form_driver() and
973 menu_driver() (prompted by discussion with Adam Spragg).
974 + add null-pointer checks for cur_term in baudrate() and
975 def_shell_mode(), def_prog_mode()
976 + fix some memory leaks in delscreen() and wide acs.
979 + modify test/ditto.c to illustrate multi-threaded use_screen().
980 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
981 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
985 + finish changes to wgetch(), making it switch as needed to the
986 window's actual screen when calling wrefresh() and wgetnstr(). That
987 allows wgetch() to get used concurrently in different threads with
988 some minor restrictions, e.g., the application should not delete a
989 window which is being used in a wgetch().
990 + simplify mutex's, combining the window- and screen-mutex's.
993 + modify wgetch() to use the screen which corresponds to its window
994 parameter rather than relying on SP; some dependent functions still
996 + factor out most use of SP in lib_mouse.c, using parameter.
997 + add internal _nc_keyname(), replacing keyname() to associate with a
998 particular SCREEN rather than the global SP.
999 + add internal _nc_unctrl(), replacing unctrl() to associate with a
1000 particular SCREEN rather than the global SP.
1001 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
1002 its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
1003 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
1004 preference to the global _nc_globals.tracechr_buf buffer.
1007 + modify _nc_keypad() to make it switch temporarily as needed to the
1008 screen which must be updated.
1009 + wrap cur_term variable to help make _nc_keymap() thread-safe, and
1010 always set the screen's copy of this variable in set_curterm().
1011 + restore curs_set() state after endwin()/refresh() (report/patch
1015 + modify configure script to note that --enable-ext-colors and
1016 --enable-ext-mouse are not experimental, but extensions from
1018 + corrected manpage description of setcchar() (discussion with
1019 Emanuele Giaquinta).
1020 + fix for adding a non-spacing character at the beginning of a line
1021 (report/patch by Miroslav Lichvar).
1024 + modify screen.* terminfo entries using new screen+fkeys to fix
1025 overridden keys in screen.rxvt (Debian #478094) -TD
1026 + modify internal interfaces to reduce wgetch()'s dependency on the
1028 + simplify some loops with macros each_screen(), each_window() and
1032 + continue modifying test/ditto.c toward making it demonstrate
1033 multithreaded use_screen(), using fifos to pass data between screens.
1034 + fix typo in form.3x (report by Mike Gran).
1037 + add screen.rxvt terminfo entry -TD
1038 + modify tic -f option to format spaces as \s to prevent them from
1039 being lost when that is read back in unformatted strings.
1040 + improve test/ditto.c, using a "talk"-style layout.
1043 + change test/ditto.c to use openpty() and xterm.
1044 + add locks for copywin(), dupwin(), overlap(), overlay() on their
1046 + add locks for initscr() and newterm() on updates to the SCREEN
1048 + finish table in curs_thread.3x manpage.
1051 + begin table in curs_thread.3x manpage describing the scope of data
1052 used by each function (or symbol) for threading analysis.
1053 + add null-pointer checks to setsyx() and getsyx() (prompted by
1054 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
1055 python-dev2 mailing list).
1058 + add null-pointer checks in set_term() and delscreen().
1059 + move _nc_windows into _nc_globals, since windows can be pads, which
1060 are not associated with a particular screen.
1061 + change use_screen() to pass the SCREEN* parameter rather than
1062 stdscr to the callback function.
1063 + force libtool to use tag for 'CC' in case it does not detect this,
1064 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
1065 (report/patch by Michael Haubenwallner).
1066 + override OBJEXT to "lo" when building with libtool, to work on
1067 platforms such as AIX where libtool may use a different suffix for
1068 the object files than ".o" (report/patch by Michael Haubenwallner).
1069 + add configure --with-pthread option, for building with the POSIX
1073 + fill in extended-color pair two more places in wbkgrndset() and
1074 waddch_nosync() (prompted by Sedeno's patch).
1075 + fill in extended-color pair in _nc_build_wch() to make colors work
1076 for wide-characters using extended-colors (patch by Alejandro R
1078 + add x/X toggles to ncurses.c C color test to test/demo
1079 wide-characters with extended-colors.
1080 + add a/A toggles to ncurses.c c/C color tests.
1081 + modify test/ditto.c to use use_screen().
1082 + finish modifying test/rain.c to demonstrate threads.
1085 + start modifying test/rain.c for threading demo.
1086 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
1087 that the 'F' accepts.
1088 + modify test/worm.c to show trail in reverse-video when other threads
1089 are working concurrently.
1090 + fix a deadlock from improper nesting of mutexes for windowlist and
1094 + fixes from 20080223 resolved issue with mutexes; change to use
1095 recursive mutexes to fix memory leak in delwin() as called from
1096 _nc_free_and_exit().
1099 + fix a size-difference in _nc_globals which caused hanging of mutex
1100 lock/unlock when termlib was built separately.
1103 + avoid using nanosleep() in threaded configuration since that often
1104 is implemented to suspend the entire process.
1107 + update test programs to build/work with various UNIX curses for
1108 comparisons. This was to reinvestigate statement in X/Open curses
1109 that insnstr and winsnstr perform wrapping. None of the Unix-branded
1110 implementations do this, as noted in manpage (cf: 20040228).
1113 + modify _nc_setupscreen() to set the legacy-coding value the same
1114 for both narrow/wide models. It had been set only for wide model,
1115 but is needed to make unctrl() work with locale in the narrow model.
1116 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
1117 using unctrl() to display illegal bytes rather than trying to append
1118 further bytes to make up a valid sequence (reported by Andrey A
1120 + modify unctrl() to check codes in 128-255 range versus isprint().
1121 If they are not printable, and locale was set, use a "M-" or "~"
1125 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
1126 handling). Now it hangs in napms(), no matter whether nanosleep()
1127 or poll() or select() are used on Linux.
1130 + fixes to build with --disable-ext-funcs
1131 + add manpage for use_window and use_screen.
1132 + add set_tabsize() and set_escdelay() functions.
1135 + remove recursive-mutex definitions, finish threading demo for worm.c
1136 + remove a redundant adjustment of lines in resizeterm.c's
1137 adjust_window() which caused occasional misadjustment of stdscr when
1141 + several improvements to terminfo entries based on xterm #230 -TD
1142 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
1143 "link_test" builds properly.
1144 + fix for toe command-line options -u/-U to ensure filename is given.
1145 + fix allocation-size for command-line parsing in infocmp from 20070728
1146 (report by Miroslav Lichvar)
1147 + improve resizeterm() by moving ripped-off lines, and repainting the
1148 soft-keys (report by Katarina Machalkova)
1149 + add clarification in wclear's manpage noting that the screen will be
1150 cleared even if a subwindow is cleared (prompted by Christer Enfors
1152 + change test/ncurses.c soft-key tests to work with KEY_RESIZE.
1155 + continue implementing support for threading demo by adding mutex
1159 + add several functions to C++ binding which wrap C functions that
1160 pass a WINDOW* parameter (request by Chris Lee).
1163 + add note about configure options needed for Berkeley database to the
1165 + improve checks for version of Berkeley database libraries.
1166 + amend fix for rpath to not modify LDFLAGS if the platform has no
1167 applicable transformation (report by Christian Ebert, cf: 20071124).
1170 + modify configure option --with-hashed-db to accept a parameter which
1171 is the install-prefix of a given Berkeley Database (prompted by
1172 pierre4d2 comments).
1173 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is
1174 used in the form library to determine the length of the buffer needed
1175 by field_buffer (report by Alfred Fung).
1176 + remove unneeded window-parameter from C++ binding for wresize (report
1180 + modify the support for filesystems which do not support mixed-case to
1181 generate 2-character (hexadecimal) codes for the lower-level of the
1182 filesystem terminfo database (request by Michail Vidiassov).
1183 + add configure option --enable-mixed-case, to allow overriding the
1184 configure script's check if the filesystem supports mixed-case
1186 + add wresize() to C++ binding (request by Chris Lee).
1187 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
1188 it simpler to tell if the extended functions and/or colors are
1192 + update memory-leak checks for changes to names.c and codes.c
1193 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
1196 + continue implementing support for threading demo by adding mutex
1198 + add mrxvt terminfo entry, add/fix xterm building blocks for modified
1200 + compile with FreeBSD "contemporary" TTY interface (patch by
1204 + modify makefile rules to allow clear, tput and tset to be built
1205 without libtic. The other programs (infocmp, tic and toe) rely on
1207 + add/modify null-pointer checks in several functions for SP and/or
1208 the WINDOW* parameter (report by Thorben Krueger).
1209 + fixes for field_buffer() in formw library (see Redhat Bugzilla
1210 #310071, patches by Miroslav Lichvar).
1211 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
1213 + update/improve mlterm and rxvt terminfo entries, e.g., for
1214 the modified cursor- and keypad-keys -TD
1217 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
1218 changes the CharEq() macro to an inline function to allow comparing
1219 cchar_t struct's without comparing gaps in a possibly unpacked
1220 memory layout (report by Miroslav Lichvar).
1223 + add new functions to lib_trace.c to setup mutex's for the _tracef()
1224 calls within the ncurses library.
1225 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into
1227 + start modifying test/worm.c to provide threading demo (incomplete).
1228 + separated ifdef's for some BSD-related symbols in tset.c, to make
1229 it compile on LynxOS (report by Greg Gemmer).
1231 + modify Ada95/gen/Makefile to use shlib script, to simplify building
1232 shared-library configuration on platforms lacking rpath support.
1233 + build-fix for Ada95/src/Makefile to reflect changed dependency for
1234 the terminal-interface-curses-aux.adb file which is now generated.
1235 + restructuring test/worm.c, for use_window() example.
1238 + add use_window() and use_screen() functions, to develop into support
1239 for threaded library (incomplete).
1240 + fix typos in man/curs_opaque.3x which kept the install script from
1241 creating symbolic links to two aliases created in 20070818 (report by
1245 + remove a spurious newline from output of html.m4, which caused links
1246 for Ada95 html to be incorrect for the files generated using m4.
1247 + start investigating mutex's for SCREEN manipulation (incomplete).
1248 + minor cleanup of codes.c/names.c for --enable-const
1249 + expand/revise "Routine and Argument Names" section of ncurses manpage
1250 to address report by David Givens in newsgroup discussion.
1251 + fix interaction between --without-progs/--with-termcap configure
1252 options (report by Michail Vidiassov).
1253 + fix typo in "--disable-relink" option (report by Michail Vidiassov).
1256 + fix a sign-extension bug in infocmp's repair_acsc() function
1258 + fix old configure script bug which prevented "--disable-warnings"
1259 option from working (patch by Mike Frysinger).
1262 + add 9term terminal description (request by Juhapekka Tolvanen) -TD
1263 + modify comp_hash.c's string output to avoid misinterpreting a null
1264 "\0" followed by a digit.
1265 + modify MKnames.awk and MKcodes.awk to support big-strings.
1266 This only applies to the cases (broken linker, reentrant) where
1267 the corresponding arrays are accessed via wrapper functions.
1268 + split MKnames.awk into two scripts, eliminating the shell redirection
1269 which complicated the make process and also the bogus timestamp file
1270 which was introduced to fix "make -j".
1271 + add test/test_opaque.c, test/test_arrays.c
1272 + add wgetscrreg() and wgetparent() for applications that may need it
1273 when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
1276 + amend treatment of infocmp "-r" option to retain the 1023-byte limit
1277 unless "-T" is given (cf: 981017).
1278 + modify comp_captab.c generation to use big-strings.
1279 + make _nc_capalias_table and _nc_infoalias_table private accessed via
1280 _nc_get_alias_table() since the tables are used only within the tic
1282 + modify configure script to skip Intel compiler in CF_C_INLINE.
1283 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
1284 _nc_get_hash_table() since the tables are used only within the tic
1288 + make _nc_capalias_table and _nc_infoalias_table private, accessed via
1289 _nc_get_alias_table() since they are used only by parse_entry.c
1290 + make _nc_key_names private since it is used only by lib_keyname.c
1291 + add --disable-big-strings configure option to control whether
1292 unctrl.c is generated using the big-string optimization - which may
1293 use strings longer than supported by a given compiler.
1294 + reduce relocation tables for tic, infocmp by changing type of
1295 internal hash tables to short, and make those private symbols.
1296 + eliminate large fixed arrays from progs/infocmp.c
1299 + change winnstr() to stop at the end of the line (cf: 970315).
1300 + add test/test_get_wstr.c
1301 + add test/test_getstr.c
1302 + add test/test_inwstr.c
1303 + add test/test_instr.c
1306 + restore a call to obtain screen-size in _nc_setupterm(), which
1307 is used in tput and other non-screen applications via setupterm()
1308 (Debian #433357, reported by Florent Bayle, Christian Ohm,
1312 + add test/savescreen.c test-program
1313 + add check to trace-file open, if the given name is a directory, add
1314 ".log" to the name and try again.
1315 + add konsole-256color entry -TD
1316 + add extra gcc warning options from xterm.
1317 + minor fixes for ncurses/hashmap test-program.
1318 + modify configure script to quiet c++ build with libtool when the
1319 --disable-echo option is used.
1320 + modify configure script to disable ada95 if libtool is selected,
1321 writing a warning message (addresses FreeBSD ports/114493).
1322 + update config.guess, config.sub
1325 + add continuous-move "M" to demo_panels to help test refresh changes.
1326 + improve fix for refresh of window on top of multi-column characters,
1327 taking into account some split characters on left/right window
1331 + add "widec" row to _tracedump() output to help diagnose remaining
1332 problems with multi-column characters.
1333 + partial fix for refresh of window on top of multi-column characters
1334 which are partly overwritten (report by Sadrul H Chowdhury).
1335 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
1336 multi-column extension bits are passed there.
1337 + add setlocale() call to demo_panels.c, needed for wide-characters.
1338 + add some output flags to _nc_trace_ttymode to help diagnose a bug
1339 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
1342 + add test/demo_panels.c
1343 + implement opaque version of setsyx() and getsyx().
1346 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
1348 + split-out key_name() from MKkeyname.awk since it now depends upon
1349 wunctrl() which is not in libtinfo (report by Rong-En Fan).
1352 + add test/key_name.c
1353 + add stdscr cases to test/inchs.c and test/inch_wide.c
1354 + update test/configure
1355 + correct formatting of DEL (0x7f) in _nc_vischar().
1356 + null-terminate result of wunctrl().
1357 + add null-pointer check in key_name() (report by Andreas Krennmair,
1361 + adapt mouse-handling code from menu library in form-library
1362 (discussion with Clive Nicolson).
1363 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
1364 illustrate how to use mvcur().
1365 + modify wide-character flavor of SetAttr() to preserve the
1366 WidecExt() value stored in the .attr field, e.g., in case it
1367 is overwritten by chgat (report by Aleksi Torhamo).
1368 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
1369 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
1372 + modify keyname() to use "^X" form only if meta() has been called, or
1373 if keyname() is called without initializing curses, e.g., via
1374 initscr() or newterm() (prompted by LinuxBase #1604).
1375 + document some portability issues in man/curs_util.3x
1376 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
1377 broken by moving that data into SCREEN (cf: 20061230).
1380 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
1381 problem reported by Sadrul H Chowdhury with repainting parts of
1383 + modify slk_init() so that if there are preceding calls to
1384 ripoffline(), those affect the available lines for soft-keys (adapted
1385 from patch by Clive Nicolson).
1386 + document some portability issues in man/curs_getyx.3x
1389 + fix a bug in Ada95/samples/ncurses which caused a variable to
1390 become uninitialized in the "b" test.
1391 + fix Ada95/gen/Makefile.in adahtml rule to account for recent
1392 movement of files, fix a few incorrect manpage references in the
1394 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
1396 + correct some functions in Ada95 binding which were using return value
1397 from C where none was returned: idcok(), immedok() and wtimeout().
1398 + amend recent changes for Ada95 binding to make it build with
1399 Cygwin's linker, e.g., with configure options
1400 --enable-broken-linker --with-ticlib
1403 + add a configure check for gcc's options for inlining, use that to
1404 quiet a warning message where gcc's default behavior changed from
1406 + improve warning message when checking if GPM is linked to curses
1407 library by not warning if its use of "wgetch" is via a weak symbol.
1408 + add loader options when building with static libraries to ensure that
1409 an installed shared library for ncurses does not conflict. This is
1410 reported as problem with Tru64, but could affect other platforms
1411 (report Martin Mokrejs, analysis by Tim Mooney).
1412 + fix build on cygwin after recent ticlib/termlib changes, i.e.,
1413 + adjust TINFO_SUFFIX value to work with cygwin's dll naming
1414 + revert a change from 20070303 which commented out dependency of
1415 SHLIB_LIST in form/menu/panel/c++ libraries.
1416 + fix initialization of ripoff stack pointer (cf: 20070421).
1419 + move most static variables into structures _nc_globals and
1420 _nc_prescreen, to simplify storage.
1421 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
1422 type for data manipulated by signal handlers (prompted by comments
1423 in mailing.openbsd.bugs newsgroup).
1424 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
1425 to the libtool create- and link-operations.
1428 + fix whitespace in curs_opaque.3x which caused a spurious ';' in
1429 the installed aliases (report by Peter Santoro).
1430 + fix configure script to not try to generate adacurses-config when
1431 Ada95 tree is not built.
1434 + add man/curs_legacy.3x, man/curs_opaque.3x
1435 + fix acs_map binding for Ada95 when --enable-reentrant is used.
1436 + add adacurses-config to the Ada95 install, based on version from
1437 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
1438 comment on comp.lang.ada newsgroup).
1439 + fix includes in c++ binding to build with Intel compiler
1441 + update install rule in Ada95 to use mkdirs.sh
1442 > other fixes prompted by inspection for Coverity report:
1443 + modify ifdef's for c++ binding to use try/catch/throw statements
1444 + add a null-pointer check in tack/ansi.c request_cfss()
1445 + fix a memory leak in ncurses/base/wresize.c
1446 + corrected check for valid memu/meml capabilities in
1447 progs/dump_entry.c when handling V_HPUX case.
1448 > fixes based on Coverity report:
1449 + remove dead code in test/bs.c
1450 + remove dead code in test/demo_defkey.c
1451 + remove an unused assignment in progs/infocmp.c
1452 + fix a limit check in tack/ansi.c tools_charset()
1453 + fix tack/ansi.c tools_status() to perform the VT320/VT420
1454 tests in request_cfss(). The function had exited too soon.
1455 + fix a memory leak in tic.c's make_namelist()
1456 + fix a couple of places in tack/output.c which did not check for EOF.
1457 + fix a loop-condition in test/bs.c
1458 + add index checks in lib_color.c for color palettes
1459 + add index checks in progs/dump_entry.c for version_filter() handling
1461 + fix a possible null-pointer dereference in copywin()
1462 + fix a possible null-pointer dereference in waddchnstr()
1463 + add a null-pointer check in _nc_expand_try()
1464 + add a null-pointer check in tic.c's make_namelist()
1465 + add a null-pointer check in _nc_expand_try()
1466 + add null-pointer checks in test/cardfile.c
1467 + fix a double-free in ncurses/tinfo/trim_sgr0.c
1468 + fix a double-free in ncurses/base/wresize.c
1469 + add try/catch block to c++/cursesmain.cc
1472 + modify Ada95 binding to build with --enable-reentrant by wrapping
1473 global variables (bug: acs_map does not yet work).
1474 + modify Ada95 binding to use the new access-functions, allowing it
1475 to build/run when NCURSES_OPAQUE is set.
1476 + add access-functions and macros to return properties of the WINDOW
1477 structure, e.g., when NCURSES_OPAQUE is set.
1478 + improved install-sh's quoting.
1479 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
1483 + eliminate part of the direct use of WINDOW data from Ada95 interface.
1484 + fix substitutions for termlib filename to make configure option
1485 --enable-reentrant work with --with-termlib.
1486 + change a constructor for NCursesWindow to allow compiling with
1487 NCURSES_OPAQUE set, since we cannot pass a reference to
1491 + ignore --with-chtype=unsigned since unsigned is always added to
1492 the type in curses.h; do the same for --with-mmask-t.
1493 + change warning regarding --enable-ext-colors and wide-character
1494 in the configure script to an error.
1495 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
1496 such as Darwin's libtool program (report by Michail Vidiassov)
1497 + modify edit_man.sh to allow for multiple substitutions per line.
1498 + set locale in misc/ncurses-config.in since it uses a range
1499 + change permissions libncurses++.a install (report by Michail
1501 + corrected length of temporary buffer in wide-character version
1502 of set_field_buffer() (related to report by Bryan Christ).
1505 + fix mk-1st.awk script install_shlib() function, broken in 20070224
1506 changes for cygwin (report by Michail Vidiassov).
1509 + increase size of array in _nc_visbuf2n() to make "tic -v" work
1510 properly in its similar_sgr() function (report/analysis by Peter
1512 + add --enable-reentrant configure option for ongoing changes to
1513 implement a reentrant version of ncurses:
1514 + libraries are suffixed with "t"
1515 + wrap several global variables (curscr, newscr, stdscr, ttytype,
1516 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
1517 functions returning values stored in SCREEN or cur_term.
1518 + move some initialization (LINES, COLS) from lib_setup.c,
1519 i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
1522 + regenerated html documentation.
1523 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
1524 opaque in selected configurations.
1525 + move the chunk in lib_acs.c which resets acs capabilities when
1526 running on a terminal whose locale interferes with those into
1527 _nc_setupscreen(), so the libtinfo/libtinfow files can be made
1528 identical (requested by Miroslav Lichvar).
1529 + do not use configure variable SHLIB_LIBS for building libraries
1530 outside the ncurses directory, since that symbol is customized
1531 only for that directory, and using it introduces an unneeded
1532 dependency on libdl (requested by Miroslav Lichvar).
1533 + modify mk-1st.awk so the generated makefile rules for linking or
1534 installing shared libraries do not first remove the library, in
1535 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
1537 + revised section "Using NCURSES under XTERM" in ncurses-intro.html
1538 (prompted by newsgroup comment by Nick Guenther).
1541 + change internal return codes of _nc_wgetch() to check for cases
1542 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
1543 ungetch'd, and read by wget_wch().
1544 + fix static-library build broken in 20070217 changes to remove "-ldl"
1545 (report by Miroslav Lichvar).
1546 + change makefile/scripts for cygwin to allow building termlib.
1547 + use Form_Hook in manpages to match form.h
1548 + use Menu_Hook in manpages, as well as a few places in menu.h
1549 + correct form- and menu-manpages to use specific Field_Options,
1550 Menu_Options and Item_Options types.
1551 + correct prototype for _tracechar() in manpage (cf: 20011229).
1552 + correct prototype for wunctrl() in manpage.
1555 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
1557 + modify relinking of shared libraries to apply only when rpath is
1558 enabled, and add --disable-relink option which can be used to
1559 disable the feature altogether (reports by Michail Vidiassov,
1561 + fix --with-termlib option for wide-character configuration, stripping
1562 the "w" suffix in one place (report by Miroslav Lichvar).
1563 + remove "-ldl" from some library lists to reduce dependencies in
1564 programs (report by Miroslav Lichvar).
1565 + correct description of --enable-signed-char in configure --help
1566 (report by Michail Vidiassov).
1567 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
1568 which matches an earlier change to CF_SHARED_OPTS, from xterm #224
1570 + remove "${DESTDIR}" from -install_name option used for linking
1571 shared libraries on Darwin (report by Michail Vidiassov).
1574 + add test/inchs.c, test/inch_wide.c, to test win_wchnstr().
1575 + remove libdl from library list for termlib (report by Miroslav
1577 + fix configure.in to allow --without-progs --with-termlib (patch by
1579 + modify win_wchnstr() to ensure that only a base cell is returned
1580 for each multi-column character (prompted by report by Wei Kong
1581 regarding change in mvwin_wch() cf: 20041023).
1584 + modify fix_wchnstr() in form library to strip attributes (and color)
1585 from the cchar_t array (field cells) read from a field's window.
1586 Otherwise, when copying the field cells back to the window, the
1587 associated color overrides the field's background color (report by
1589 + improve tracing for form library, showing created forms, fields, etc.
1590 + ignore --enable-rpath configure option if --with-shared was omitted.
1591 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
1592 to allow leak-checking when both tic- and tinfo-libraries are built.
1593 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
1594 no longer relies on it.
1595 + disallow combining configure script options --with-ticlib and
1596 --enable-termcap (report by Rong-En Fan).
1597 + remove tack from ncurses tree.
1600 + fix typo in configure script that broke --with-termlib option
1601 (report by Rong-En Fan).
1604 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
1605 to tgetent() (report by Rong-en Fan).
1606 + update tack/HISTORY and tack/README to tell how to build it after
1607 it is removed from the ncurses tree.
1608 + fix configure check for libtool's version to trim blank lines
1609 (report by sci-fi@hush.ai).
1610 + review/eliminate other original-file artifacts in cursesw.cc, making
1611 its license consistent with ncurses.
1612 + use ncurses vw_scanw() rather than reading into a fixed buffer in
1613 the c++ binding for scanw() methods (prompted by report by Nuno Dias).
1614 + eliminate fixed-buffer vsprintf() calls in c++ binding.
1617 + add _nc_leaks_tic() to separate leak-checking of tic library from
1618 term/ncurses libraries, and thereby eliminate a library dependency.
1619 + fix test/mk-test.awk to ignore blank lines.
1620 + correct paths in include/headers, for --srcdir (patch by Miroslav
1624 + add a break-statement in misc/shlib to ensure that it exits on the
1625 _first_ matched directory (report by Paul Novak).
1626 + add tack/configure, which can be used to build tack outside the
1628 + add --with-ticlib option, to build/install the tic-support functions
1629 in a separate library (suggested by Miroslav Lichvar).
1632 + change MKunctrl.awk to reduce relocation table for unctrl.o
1633 + change MKkeyname.awk to reduce relocation table for keyname.o
1634 (patch by Miroslav Lichvar).
1637 + modify configure check for libtool's version to trim blank lines
1638 (report by sci-fi@hush.ai).
1639 + modify some modules to allow them to be reentrant if _REENTRANT is
1640 defined: lib_baudrate.c, resizeterm.c (local data only)
1641 + eliminate static data from some modules: add_tries.c, hardscroll.c,
1642 lib_ttyflags.c, lib_twait.c
1643 + improve manpage install to add aliases for the transformed program
1644 names, e.g., from --program-prefix.
1645 + used linklint to verify links in the HTML documentation, made fixes
1646 to manpages as needed.
1647 + fix a typo in curs_mouse.3x (report by William McBrine).
1648 + fix install-rule for ncurses5-config to make the bin-directory.
1651 + modify configure script to omit the tic (terminfo compiler) support
1652 from ncurses library if --without-progs option is given.
1653 + modify install rule for ncurses5-config to do this via "install.libs"
1654 + modify shared-library rules to allow FreeBSD 3.x to use rpath.
1655 + update config.guess, config.sub
1657 20061217 5.6 release for upload to ftp.gnu.org
1660 + add ifdef's for <wctype.h> for HPUX, which has the corresponding
1661 definitions in <wchar.h>.
1662 + revert the va_copy() change from 20061202, since it was neither
1663 correct nor portable.
1664 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
1666 + ignore wide-acs line-drawing characters that wcwidth() claims are
1667 not one-column. This is a workaround for Solaris' broken locale
1671 + modify configure --with-gpm option to allow it to accept a parameter,
1672 i.e., the name of the dynamic GPM library to load via dlopen()
1673 (requested by Bryan Henderson).
1674 + add configure option --with-valgrind, changes from vile.
1675 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
1676 'return' in preference to 'exit()'.
1679 + change default for --with-develop back to "no".
1680 + add XTABS to tracing of TTY bits.
1681 + updated autoconf patch to ifdef-out the misfeature which declares
1682 exit() for configure tests. This fixes a redefinition warning on
1684 + use ${CC} rather than ${LD} in shared library rules for IRIX64,
1685 Solaris to help ensure that initialization sections are provided for
1686 extra linkage requirements, e.g., of C++ applications (prompted by
1687 comment by Casper Dik in newsgroup).
1688 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
1689 from the autoconf predefined symbol. There was no conflict,
1690 since "$target" was used only in the generated edit_man.sh file,
1691 but SuSE's rpm package contains a patch.
1694 + update man/term.5 to reflect extended terminfo support and hashed
1695 database configuration.
1696 + updates for test/configure script.
1697 + adapted from SuSE rpm package:
1698 + remove long-obsolete workaround for broken-linker which declared
1700 + improve error recovery in PUTC() macro when wcrtomb() does not
1701 return usable results for an 8-bit character.
1702 + patches from rpm package (SuSE):
1703 + use va_copy() in extra varargs manipulation for tracing version
1705 + use a va_list rather than a null in _nc_freeall()'s call to
1706 _nc_printf_string().
1707 + add some see-also references in manpages to show related
1708 wide-character functions (suggested by Claus Fischer).
1711 + add a check in lib_color.c to ensure caller does not increase COLORS
1712 above max_colors, which is used as an array index (discussion with
1714 + add ifdef's allowing ncurses to be built with tparm() using either
1715 varargs (the existing status), or using a fixed-parameter list (to
1719 + fix redrawing of windows other than stdscr using wredrawln() by
1720 touching the corresponding rows in curscr (discussion with Dan
1723 + add test/echochar.c
1724 + review/cleanup manpage descriptions of error-returns for form- and
1725 menu-libraries (prompted by FreeBSD docs/46196).
1728 + add AUTHORS file -TD
1729 + omit the -D options from output of the new config script --cflags
1730 option (suggested by Ralf S Engelschall).
1731 + make NCURSES_INLINE unconditionally defined in curses.h
1734 + revert change to accommodate bash 3.2, since that breaks other
1735 platforms, e.g., Solaris.
1736 + minor fixes to NEWS file to simplify scripting to obtain list of
1738 + improve some shared-library configure scripting for Linux, FreeBSD
1739 and NetBSD to make "--with-shlib-version" work.
1740 + change configure-script rules for FreeBSD shared libraries to allow
1741 for rpath support in versions past 3.
1742 + use $(DESTDIR) in makefile rules for installing/uninstalling the
1743 package config script (reports/patches by Christian Wiese,
1744 Ralf S Engelschall).
1745 + fix a warning in the configure script for NetBSD 2.0, working around
1746 spurious blanks embedded in its ${MAKEFLAGS} symbol.
1747 + change test/Makefile to simplify installing test programs in a
1748 different directory when --enable-rpath is used.
1751 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
1752 + add/install a package config script, e.g., "ncurses5-config" or
1753 "ncursesw5-config", according to configuration options.
1756 + add several GNU Screen terminfo variations with 16- and 256-colors,
1757 and status line (Alain Bench).
1758 + change the way shared libraries (other than libtool) are installed.
1759 Rather than copying the build-tree's libraries, link the shared
1760 objects into the install directory. This makes the --with-rpath
1761 option work except with $(DESTDIR) (cf: 20000930).
1764 + fix ifdef in c++/internal.h for QNX 6.1
1765 + test-compiled with (old) egcs-1.1.2, modified configure script to
1766 not unset the $CXX and related variables which would prevent this.
1767 + fix a few terminfo.src typos exposed by improvments to "-f" option.
1768 + improve infocmp/tic "-f" option formatting.
1771 + make --disable-largefile option work (report by Thomas M Ott).
1772 + updated html documentation.
1773 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
1774 + minor improvements to rxvt+pcfkeys -TD
1777 + move static data from lib_mouse.c into SCREEN struct.
1778 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
1779 (report by Michail Vidiassov).
1780 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
1781 option (from lynx changes) -TD
1782 + adapt AC_PROG_EGREP check, noting that this is likely to be another
1783 place aggravated by POSIXLY_CORRECT.
1784 + modify configure check for awk to ensure that it is found (prompted
1785 by report by Christopher Parker).
1789 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
1790 + remove invis capability from klone+sgr, mainly used by linux entry,
1791 since it does not really do this -TD
1794 + correct logic in wadd_wch() and wecho_wch(), which did not guard
1795 against passing the multi-column attribute into a call on waddch(),
1796 e.g., using data returned by win_wch() (cf: 20041023)
1797 (report by Sadrul H Chowdhury).
1800 + fix kterm's acsc string -TD
1801 + fix for change to tic/infocmp in 20060819 to ensure no blank is
1802 embedded into a termcap description.
1803 + workaround for 20050806 ifdef's change to allow visbuf.c to compile
1804 when using --with-termlib --with-trace options.
1805 + improve tgetstr() by making the return value point into the user's
1806 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
1808 + correct libraries needed for foldkeys (report by Stanislav Ievlev)
1811 + add terminfo entries for xfce terminal (xfce) and multi gnome
1813 + add test/foldkeys.c
1816 + modify tic and infocmp to avoid writing trailing blanks on terminfo
1817 source output (Debian #378783).
1818 + modify configure script to ensure that if the C compiler is used
1819 rather than the loader in making shared libraries, the $(CFLAGS)
1820 variable is also used (Redhat Bugzilla #199369).
1821 + port hashed-db code to db2 and db3.
1822 + fix a bug in tgetent() from 20060625 and 20060715 changes
1823 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
1826 + updated xterm function-keys terminfo to match xterm #216 -TD
1827 + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
1828 e.g., the db 1.8.5 interface).
1831 + modify toe to access termcap data, e.g., via cgetent() functions,
1832 or as a text file if those are not available.
1833 + use _nc_basename() in tset to improve $SHELL check for csh/sh.
1834 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
1835 can access termcap data when the terminfo database is disabled.
1838 + widen the test for xterm kmous a little to allow for other strings
1839 than \E[M, e.g., for xterm-sco functionality in xterm.
1840 + update xterm-related terminfo entries to match xterm patch #216 -TD
1841 + update config.guess, config.sub
1844 + fix for install-rule in Ada95 to add terminal_interface.ads
1845 and terminal_interface.ali (anonymous posting in comp.lang.ada).
1846 + correction to manpage for getcchar() (report by William McBrine).
1848 + modify wchgat() to mark updated cells as changed so a refresh will
1849 repaint those cells (comments by Sadrul H Chowdhury and William
1851 + split up dependency of names.c and codes.c in ncurses/Makefile to
1852 work with parallel make (report/analysis by Joseph S Myers).
1853 + suppress a warning message (which is ignored) for systems without
1854 an ldconfig program (patch by Justin Hibbits).
1855 + modify configure script --disable-symlinks option to allow one to
1856 disable symlink() in tic even when link() does not work (report by
1858 + modify MKfallback.sh to use tic -x when constructing fallback tables
1859 to allow extended capabilities to be retrieved from a fallback entry.
1860 + improve leak-checking logic in tgetent() from 20060625 to ensure that
1861 it does not free the current screen (report by Miroslav Lichvar).
1864 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
1865 + correct _nc_free_entries() and related functions used for memory leak
1869 + revert a minor change for magic-cookie support from 20060513, which
1870 caused unexpected reset of attributes, e.g., when resizing test/view
1872 + note in clear manpage that the program ignores command-line
1873 parameters (prompted by Debian #371855).
1874 + fixes to make lib_gen.c build properly with changes to the configure
1875 --disable-macros option and NCURSES_NOMACROS (cf: 20060527)
1876 + update/correct several terminfo entries -TD
1877 + add some notes regarding copyright to terminfo.src -TD
1880 + fixes to build Ada95 binding with gnat-4.1.0
1881 + modify read_termtype() so the term_names data is always allocated as
1882 part of the str_table, a better fix for a memory leak (cf: 20030809).
1883 + reduce memory leaks in repeated calls to tgetent() by remembering the
1884 last TERMINAL* value allocated to hold the corresponding data and
1885 freeing that if the tgetent() result buffer is the same as the
1886 previous call (report by "Matt" for FreeBSD gnu/98975).
1887 + modify tack to test extended capability function-key strings.
1888 + improved gnome terminfo entry (GenToo #122566).
1889 + improved xterm-256color terminfo entry (patch by Alain Bench).
1892 + fix two small memory leaks related to repeated tgetent() calls
1893 with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
1894 + add --enable-signed-char to simplify Debian package.
1895 + reduce name-pollution in term.h by removing #define's for HAVE_xxx
1897 + correct typo in curs_terminfo.3x (Debian #369168).
1900 + enable the mouse in test/movewindow.c
1901 + improve a limit-check in frm_def.c (John Heasley).
1902 + minor copyright fixes.
1903 + change configure script to produce test/Makefile from data file.
1906 + add a configure option --enable-wgetch-events to enable
1907 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
1908 lib_twait.c (report by Bernd Jendrissek).
1909 + remove include/nomacros.h from build, since the ifdef for
1910 NCURSES_NOMACROS makes that obsolete.
1911 + add entrypoints for some functions which were only provided as macros
1912 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(),
1913 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
1915 + provide ifdef for NCURSES_NOMACROS which suppresses most macro
1916 definitions from curses.h, i.e., where a macro is defined to override
1917 a function to improve performance. Allowing a developer to suppress
1918 these definitions can simplify some application (discussion with
1920 + improve description of memu/meml in terminfo manpage.
1923 + if msgr is false, reset video attributes when doing an automargin
1924 wrap to the next line. This makes the ncurses 'k' test work properly
1926 + correct caching of keyname(), which was using only half of its table.
1927 + minor fixes to memory-leak checking.
1928 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
1929 arrays, making ACS_LEN less visible to applications (suggested by
1931 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
1932 _screen_acs_map will have the same offset in both ncurses/ncursesw,
1933 making the corresponding tinfo/tinfow libraries binary-compatible
1934 (cf: 20041016, report by Stanislav Ievlev).
1937 + improve debug-tracing for EmitRange().
1938 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS
1939 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
1940 suppression of the related hard-tabs and xmc-glitch features.
1941 + add ncurses version number to top-level manpages, e.g., ncurses, tic,
1942 infocmp, terminfo as well as form, menu, panel.
1943 + update config.guess, config.sub
1944 + modify ncurses.c to work around a bug in NetBSD 3.0 curses
1945 (field_buffer returning null for a valid field). The 'r' test
1946 appears to not work with that configuration since the new_fieldtype()
1947 function is broken in that implementation.
1950 + add hpterm-color terminfo entry -TD
1951 + fixes to compile test-programs with HPUX 11.23
1954 + add copyright notices to files other than those that are generated,
1955 data or adapted from pdcurses (reports by William McBrine, David
1957 + improve rendering on hpterm by not resetting attributes at the end
1958 of doupdate() if the terminal has the magic-cookie feature (report
1960 + add 256color variants of terminfo entries for programs which are
1961 reported to implement this feature -TD
1964 + fix typo in change to NewChar() macro from 20060311 changes, which
1965 broke tab-expansion (report by Frederic L W Meunier).
1968 + document -U option of tic and infocmp.
1969 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
1970 due to size limit, e.g., converting to termcap format. Also
1971 suppress them if the output format does not contain acsc and it
1972 was not VT100-like, i.e., a one-one mapping (Novell #163715).
1973 + add configure check to ensure that SIGWINCH is defined on platforms
1974 such as OS X which exclude that when _XOPEN_SOURCE, etc., are
1975 defined (report by Nicholas Cole)
1978 + modify write_object() to not write coincidental extensions of an
1979 entry made due to it being referenced in a use= clause (report by
1981 + another fix for infocmp -i option, which did not ensure that some
1982 escape sequences had comparable prefixes (report by Alain Bench).
1985 + improve discussion of init/reset in terminfo and tput manpages
1986 (report by Alain Bench).
1987 + use is3 string for a fallback of rs3 in the reset program; it was
1988 using is2 (report by Alain Bench).
1989 + correct logic for infocmp -i option, which did not account for
1990 multiple digits in a parameter (cf: 20040828) (report by Alain
1992 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
1993 option work after 20060114 changes (report by Arkadiusz Miskiewicz).
1994 + add copyright notices to test-programs as needed (report by William
1998 + modify ncurses.c 'F' test to combine the wide-characters with color
1999 and/or video attributes.
2000 + modify test/ncurses to use CTL/Q or ESC consistently for exiting
2001 a test-screen (some commands used 'x' or 'q').
2004 + fix an off-by-one in the scrolling-region change (cf_ 20060311).
2007 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
2008 a null character is found (report by Igor Bogomazov).
2009 + modify progs/Makefile.in to make "tput init" work properly with
2010 cygwin, i.e., do not pass a ".exe" in the reference string used
2011 in check_aliases (report by Samuel Thibault).
2012 + add some checks to ensure current position is within scrolling
2013 region before scrolling on a new line (report by Dan Gookin).
2014 + change some NewChar() usage to static variables to work around
2015 stack garbage introduced when cchar_t is not packed (Redhat #182024).
2018 + workarounds to build test/movewindow with PDcurses 2.7.
2019 + fix for nsterm-16color entry (patch by Alain Bench).
2020 + correct a typo in infocmp manpage (Debian #354281).
2023 + add nsterm-16color entry -TD
2024 + updated mlterm terminfo entry -TD
2025 + remove 970913 feature for copying subwindows as they are moved in
2026 mvwin() (discussion with Bryan Christ).
2027 + modify test/demo_menus.c to demonstrate moving a menu (both the
2028 window and subwindow) using shifted cursor-keys.
2029 + start implementing recursive mvwin() in movewindow.c (incomplete).
2030 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
2031 for movewindow.c (report by William McBrine).
2032 + add help-message to test/movewindow.c
2035 + add test/movewindow.c, to test mvderwin().
2036 + fix ncurses soft-key test so color changes are shown immediately
2037 rather than delayed.
2038 + modify ncurses soft-key test to hide the keys when exiting the test
2040 + fixes to build test programs with PDCurses 2.7, e.g., its headers
2041 rely on autoconf symbols, and it declares stubs for nonfunctional
2042 terminfo and termcap entrypoints.
2045 + improved test/configure to build test/ncurses on HPUX 11 using the
2047 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
2048 benefit of developers who do not read INSTALL.
2051 + correct form library Window_To_Buffer() change (cf: 20040516), which
2052 should ignore the video attributes (report by Ricardo Cantu).
2055 + minor fixes to xmc-glitch experimental code:
2056 + suppress line-drawing
2057 + implement max_attributes
2059 + minor fixes for the database iterator.
2060 + fix some buffer limits in c++ demo (comment by Falk Hueffner in
2064 + add toe -a option, to show all databases. This uses new private
2065 interfaces in the ncurses library for iterating through the list of
2067 + fix toe from 20000909 changes which made it not look at
2069 + make toe's -v option parameter optional as per manpage.
2070 + improve SIGWINCH handling by postponing its effect during newterm(),
2071 etc., when allocating screens.
2074 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use
2075 this in test/filter.c
2076 + fix an error in filter() modification which caused some applications
2080 + check if filter() was called when getting the screensize. Keep it
2081 at 1 if so (based on Redhat #174498).
2082 + add extension nofilter().
2083 + refined the workaround for ACS mapping.
2084 + make ifdef's consistent in curses.h for the extended colors so the
2085 header file can be used for the normal curses library. The header
2086 file installed for extended colors is a variation of the
2087 wide-character configuration (report by Frederic L W Meunier).
2090 + add a workaround to ACS mapping to allow applications such as
2091 test/blue.c to use the "PC ROM" characters by masking them with
2092 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
2093 of legacy coding (report by Michael Deutschmann).
2094 + add a null-pointer check in the wide-character version of
2095 calculate_actual_width() (report by Victor Julien).
2096 + improve test/ncurses 'd' (color-edit) test by allowing the RGB
2097 values to be set independently (patch by William McBrine).
2098 + modify test/configure script to allow building test programs with
2100 + modified test programs to allow some to work with NetBSD curses.
2101 Several do not because NetBSD curses implements a subset of X/Open
2102 curses, and also lacks much of SVr4 additions. But it's enough for
2104 + update config.guess and config.sub
2107 + use BSD-specific fix for return-value from cgetent() from CVS where
2108 an unknown terminal type would be reportd as "database not found".
2109 + make tgetent() return code more readable using new symbols
2111 + remove references to non-existent "tctest" program.
2112 + remove TESTPROGS from progs/Makefile.in (it was referring to code
2113 that was never built in that directory).
2114 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
2117 + add use_legacy_coding() function to support lynx's font-switching
2119 + fix formatting in curs_termcap.3x (report by Mike Frysinger).
2120 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
2124 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
2125 overwrite() and copywin() with different combinations of colors and
2126 attributes (including background color) to make it easy to see the
2127 effect of the different functions.
2128 + corrections to menu/m_global.c for wide-characters (report by
2132 + add configure option --without-dlsym, allowing developers to
2133 configure GPM support without using dlsym() (discussion with Michael
2135 + fix wins_nwstr(), which did not handle single-column non-8bit codes
2139 + move prototypes for wide-character trace functions from curses.tail
2140 to curses.wide to avoid accidental reference to those if
2141 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
2143 + add/use NCURSES_INLINE definition.
2144 + change some internal functions to use int/unsigned rather than the
2148 + remove a redundant check in lib_color.c (Debian #335655).
2149 + use ld's -search_paths_first option on Darwin to work around odd
2150 search rules on that platform (report by Christian Gennerat, analysis
2152 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
2153 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
2154 + fix several bugs in test/bs.c (patch by Stephen Lindholm).
2157 + other minor fixes to cygwin based on tack -TD
2158 + correct smacs in cygwin (Debian #338234, report by Baurzhan
2159 Ismagulov, who noted that it was fixed in Cygwin).
2162 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
2163 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
2164 since those record the state of multicolumn characters (Debian
2166 + modify werase to clear multicolumn characters that extend into
2167 a derived window (Debian #316663).
2170 + move assignment from environment variable ESCDELAY from initscr()
2171 down to newterm() so the environment variable affects timeouts for
2172 terminals opened with newterm() as well.
2173 + fix a memory leak in keyname().
2174 + add test/demo_altkeys.c
2175 + modify test/demo_defkey.c to exit from loop via 'q' to allow
2176 leak-checking, as well as fix a buffer size in winnstr() call.
2179 + correct order of use-clauses in rxvt-basic entry which made codes for
2180 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
2181 + suppress configure check for gnatmake if Ada95/Makefile.in is not
2183 + correct a typo in configure --with-bool option for the case where
2184 --without-cxx is used (report by Daniel Jacobowitz).
2185 + add a note to INSTALL's discussion of --with-normal, pointing out
2186 that one may wish to use --without-gpm to ensure a completely
2187 static link (prompted by report by Felix von Leitner).
2189 20051010 5.5 release for upload to ftp.gnu.org
2192 + document in demo_forms.c some portability issues.
2195 + document side-effect of werase() which sets the cursor position.
2196 + save/restore the current position in form field editing to make
2200 + correct header dependencies in progs, allowing parallel make (report
2201 by Daniel Jacobowitz).
2202 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
2203 the configure check for --with-build-cc (report by Daniel Jacobowitz).
2204 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
2206 + update config.guess and config.sub from
2207 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
2210 + modify sed expression which computes path for /usr/lib/terminfo
2211 symbolic link in install to ensure that it does not change unexpected
2212 levels of the path (Gentoo #42336).
2213 + modify default for --disable-lp64 configure option to reduce impact
2214 on existing 64-bit builds. Enabling the _LP64 option may change the
2215 size of chtype and mmask_t. However, for ABI 6, it is enabled by
2216 default (report by Mike Frysinger).
2217 + add configure script check for --enable-ext-mouse, bump ABI to 6 by
2218 default if it is used.
2219 + improve configure script logic for bumping ABI to omit this if the
2220 --with-abi-version option was used.
2221 + update address for Free Software Foundation in tack's source.
2222 + correct wins_wch(), which was not marking the filler-cells of
2223 multi-column characters (cf: 20041023).
2226 + modify mouse initialization to ensure that Gpm_Open() is called only
2227 once. Otherwise GPM gets confused in its initialization of signal
2228 handlers (Debian #326709).
2231 + modify logic for backspacing in a multiline form field to ensure that
2232 it works even when the preceding line is full (report by Frank van
2234 + remove comment about BUGS section of ncurses manpage (Debian #325481)
2237 + document some workarounds for shared and libtool library
2238 configurations in INSTALL (see --with-shared and --with-libtool).
2239 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
2240 cross-compilers which emit the platform name in their version
2242 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
2243 (report by Frank van Vugt).
2246 + start updating documentation for upcoming 5.5 release.
2247 + fix to make libtool and libtinfo work together again (cf: 20050122).
2248 + fixes to allow building traces into libtinfo
2249 + add debug trace to tic that shows if/how ncurses will write to the
2250 lower corner of a terminal's screen.
2251 + update llib-l* files.
2254 + modify initializers in c++ binding to build with old versions of g++.
2255 + improve special case for 20050115 repainting fix, ensuring that if
2256 the first changed cell is not a character that the range to be
2257 repainted is adjusted to start at a character's beginning (Debian
2261 + fixes to build on QNX 6.1
2262 + improve configure script checks for Intel 9.0 compiler.
2263 + remove #include's for libc.h (obsolete).
2264 + adjust ifdef's in curses.priv.h so that when cross-compiling to
2265 produce comp_hash and make_keys, no dependency on wchar.h is needed.
2266 That simplifies the build-cppflags (report by Frank van Vugt).
2267 + move modules related to key-binding into libtinfo to fix linkage
2268 problem caused by 20050430 changes to MKkeyname.sh (report by
2269 Konstantin Andreev).
2272 + updates/fixes for configure script macros from vile -TD
2273 + make prism9's sgr string agree with the rest of the terminfo -TD
2274 + make vt220's sgr0 string consistent with sgr string, do this for
2275 several related cases -TD
2276 + improve translation to termcap by filtering the 'me' (sgr0) strings
2277 as in the runtime call to tgetent() (prompted by a discussion with
2279 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
2280 resets line-drawing.
2283 + fix special cases for trimming sgr0 for hurd and vt220 (Debian
2285 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
2286 allow it to be used by tic to provide information about the runtime
2287 changes that would be made to sgr0 for termcap applications.
2288 + modify make_sed.sh to make the group-name in the NAME section of
2289 form/menu library manpage agree with the TITLE string when renaming
2290 is done for Debian (Debian #78866).
2293 + modify parameter type in c++ binding for insch() and mvwinsch() to
2294 be consistent with underlying ncurses library (was char, is chtype).
2295 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
2297 + improve configure check for nanosleep(), checking that it works since
2298 some older systems such as AIX 4.3 have a nonworking version.
2301 + update config.guess and config.sub from
2302 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
2303 + modify misc/shlib to work in test-directory.
2304 + suppress $suffix in misc/run_tic.sh when cross-compiling. This
2305 allows cross-compiles to use the host's tic program to handle the
2306 "make install.data" step.
2307 + improve description of $LINES and $COLUMNS variables in manpages
2308 (prompted by report by Dave Ulrick).
2309 + improve description of cross-compiling in INSTALL
2310 + add NCURSES-Programming-HOWTO.html by Pradeep Padala
2311 (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
2312 + modify configure script to obtain soname for GPM library (discussion
2313 with Daniel Jacobowitz).
2314 + modify configure script so that --with-chtype option will still
2315 compute the unsigned literals suffix for constants in curses.h
2316 (report by Daniel Jacobowitz:
2317 + patches from Daniel Jacobowitz:
2318 + the man_db.renames entry for tack.1 was backwards.
2319 + tack.1 had some 1m's that should have been 1M's.
2320 + the section for curs_inwstr.3 was wrong.
2323 + correction to --with-chtype option (report by Daniel Jacobowitz).
2326 + move build-time edit_man.sh and edit_man.sed scripts to top directory
2327 to simplify reusing them for renaming tack's manpage (prompted by a
2328 review of Debian package).
2329 + revert minor optimization from 20041030 (Debian #313609).
2330 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
2331 1.5.10 and 1.5.18 (all work except as noted previously for the c++
2332 install using libtool 1.5.0):
2333 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
2335 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
2336 + add configure options --with-chtype and --with-mmask-t, to allow
2337 overriding of the non-LP64 model's use of the corresponding types.
2338 + revise test for size of chtype (and mmask_t), which always returned
2339 "long" due to an uninitialized variable (report by Daniel Jacobowitz).
2342 + change _tracef's that used "%p" format for va_list values to ignore
2343 that, since on some platforms those are not pointers.
2344 + fixes for long-formats in printf's due to largefile support.
2347 + fixes for termcap support:
2348 + reset pointer to _nc_curr_token.tk_name when the input stream is
2349 closed, which could point to free memory (cf: 20030215).
2350 + delink TERMTYPE data which is used by the termcap reader, so that
2351 extended names data will be freed consistently.
2352 + free pointer to TERMTYPE data in _nc_free_termtype() rather than
2354 + add some entrypoints for freeing permanently allocated data via
2355 _nc_freeall() when NO_LEAKS is defined.
2356 + amend 20041030 change to _nc_do_color to ensure that optimization is
2357 applied only when the terminal supports back_color_erase (bce).
2360 + add sun-color terminfo entry -TD
2361 + correct a missing assignment in c++ binding's method
2362 NCursesPanel::UserPointer() from 20050409 changes.
2363 + improve configure check for large-files, adding check for dirent64
2365 + minor change to configure script to improve linker options for the
2369 + document error conditions for ncurses library functions (report by
2371 + regenerated html documentation for ada binding.
2372 see ftp://invisible-island.net/ncurses/patches/gnathtml
2375 + regenerated html documentation for manpages.
2376 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
2377 ncurses/Makefile (Gentoo #89772).
2378 + modify c++/demo.cc to build with g++ -fno-implicit-templates option
2379 (patch by Mike Frysinger).
2380 + modify tic to filter out long extended names when translating to
2381 termcap format. Only two characters are permissible for termcap
2385 + modify terminfo entries xterm-new and rxvt to add strings for
2386 shift-, control-cursor keys.
2387 + workaround to allow c++ binding to compile with g++ 2.95.3, which
2388 has a broken implementation of static_cast<> (patch by Jeff Chua).
2389 + modify initialization of key lookup table so that if an extended
2390 capability (tic -x) string is defined, and its name begins with 'k',
2391 it will automatically be treated as a key.
2392 + modify test/keynames.c to allow for the possibility of extended
2393 key names, e.g., via define_key(), or via "tic -x".
2394 + add test/demo_termcap.c to show the contents of given entry via the
2398 + minor fixes for vt100/vt52 entries -TD
2399 + add configure option --enable-largefile
2400 + corrected libraries used to build Ada95/gen/gen, found in testing
2404 + update config.guess, config.sub
2405 + modify configure script check for _XOPEN_SOURCE, disable that on
2406 Darwin whose header files have problems (patch by Chris Zubrzycki).
2407 + modify form library Is_Printable_String() to use iswprint() rather
2408 than wcwidth() for determining if a character is printable. The
2409 latter caused it to reject menu items containing non-spacing
2411 + modify ncurses test program's F-test to handle non-spacing characters
2412 by combining them with a reverse-video blank.
2413 + review/fix several gcc -Wconversion warnings.
2416 + correct an off-by-one error in m_driver() for mouse-clicks used to
2417 position the mouse to a particular item.
2418 + implement test/demo_menus.c
2419 + add some checks in lib_mouse to ensure SP is set.
2420 + modify C++ binding to make 20050403 changes work with the configure
2421 --enable-const option.
2424 + modify start_color() to return ERR if it cannot allocate memory.
2425 + address g++ compiler warnings in C++ binding by adding explicit
2426 member initialization, assignment operators and copy constructors.
2427 Most of the changes simply preserve the existing semantics of the
2428 binding, which can leak memory, etc., but by making these features
2429 visible, it provides a framework for improving the binding.
2430 + improve C++ binding using static_cast, etc.
2431 + modify configure script --enable-warnings to add options to g++ to
2432 correspond to the gcc --enable-warnings.
2433 + modify C++ binding to use some C internal functions to make it
2434 compile properly on Solaris (and other platforms).
2437 + amend change from 20050320 to limit it to configurations with a
2439 + fix a bug introduced in 20050320 which broke the translation of
2440 nonprinting characters to uparrow form (report by Takahashi Tamotsu).
2443 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
2444 chtype and mmask_t, but add configure option --disable-lp64 in case
2445 anyone used that configuration.
2446 + update misc/shlib script to account for Mac OS X (report by Michail
2448 + correct comparison for wrapping multibyte characters in
2449 waddch_literal() (report by Takahashi Tamotsu).
2452 + add -c and -w options to tset to allow user to suppress ncurses'
2453 resizing of the terminal emulator window in the special case where it
2454 is not able to detect the true size (report by Win Delvaux, Debian
2456 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
2457 codes 128-159 as part of multibyte characters (report by Wang
2458 WenRui, Debian #300512).
2461 + modify ncurses.c 'd' test to make it work with 88-color
2462 configuration, i.e., by implementing scrolling.
2463 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
2467 + change tracemunch to use strict checking.
2468 + modify ncurses.c 'p' test to test line-drawing within a pad.
2469 + implement environment variable NCURSES_NO_UTF8_ACS to support
2470 miscellaneous terminal emulators which ignore alternate character
2471 set escape sequences when in UTF-8 mode.
2474 + change NCursesWindow::err_handler() to a virtual function (request by
2476 + modify fty_int.c and fty_num.c to handle wide characters (report by
2478 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
2479 and wide characters inconsistently (report by Wolfgang Gutjahr).
2480 + update llib-* files to reflect internal interface additions/changes.
2483 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
2485 + add aixterm-16color terminfo entry -TD
2486 + modified xterm-new terminfo entry to work with tgetent() changes -TD
2487 + extended changes in tgetent() from 20040710 to allow the substring of
2488 sgr0 which matches rmacs to be at the beginning of the sgr0 string
2489 (request by Thomas Wolff). Wolff says the visual effect in
2490 combination with pre-20040710 ncurses is improved.
2491 + fix off-by-one in winnstr() call which caused form field validation
2492 of multibyte characters to ignore the last character in a field.
2493 + correct logic in winsch() for inserting multibyte strings; the code
2494 would clear cells after the insertion rather than push them to the
2495 right (cf: 20040228).
2496 + fix an inconsistency in Check_Alpha_Field() between normal and wide
2497 character logic (report by Wolfgang Gutjahr).
2500 + fix a bug in editing wide-characters in form library: deleting a
2501 nonwide character modified the previous wide-character.
2502 + update manpage to describe NCURSES_MOUSE_VERSION 2.
2503 + correct manpage description of mouseinterval() (Debian #280687).
2504 + add a note to default_colors.3x explaining why this extension was
2505 added (Debian #295083).
2506 + add traces to panel library.
2509 + improve editing of wide-characters in form library: left/right
2510 cursor movement, and single-character deletions work properly.
2511 + disable GPM mouse support when $TERM happens to be prefixed with
2512 "xterm". Gpm_Open() would otherwise assert that it can deal with
2513 mouse events in this case.
2514 + modify GPM mouse support so it closes the server connection when
2515 the caller disables the mouse (report by Stanislav Ievlev).
2518 + add traces for callback functions in form library.
2519 + add experimental configure option --enable-ext-mouse, which defines
2520 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
2521 support wheel mice, which may transmit buttons 4 and 5. This works
2522 with xterm and similar X terminal emulators (prompted by question by
2523 Andreas Henningsson, this is also related to Debian #230990).
2524 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
2525 avoid redefinition warnings on cygwin.
2528 + merge remaining development changes for extended colors (mostly
2529 complete, does not appear to break other configurations).
2530 + add xterm-88color.dat (part of extended colors testing).
2531 + improve _tracedump() handling of color pairs past 96.
2532 + modify return-value from start_color() to return OK if colors have
2533 already been started.
2534 + modify curs_color.3x list error conditions for init_pair(),
2535 pair_content() and color_content().
2536 + modify pair_content() to return -1 for consistency with init_pair()
2537 if it corresponds to the default-color.
2538 + change internal representation of default-color to allow application
2539 to use color number 255. This does not affect the total number of
2540 color pairs which are allowed.
2541 + add a top-level tags rule.
2544 + add a null-pointer check in wgetch() in case it is called without
2545 first calling initscr().
2546 + add some null-pointer checks for SP, which is not set by libtinfo.
2547 + modify misc/shlib to ensure that absolute pathnames are used.
2548 + modify test/Makefile.in, etc., to link test programs only against the
2549 libraries needed, e.g., omit form/menu/panel library for the ones
2550 that are curses-specific.
2551 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
2552 libtinfo.so and libtinfow.so have the same ABI. The reason for this
2553 is that the corresponding data which belongs to the upper-level
2554 ncurses library has a different size in each model (report by
2558 + minor fixes to allow test-compiles with g++.
2559 + correct column value shown in tic's warnings, which did not account
2560 for leading whitespace.
2561 + add a check in _nc_trans_string() for improperly ended strings, i.e.,
2562 where a following line begins in column 1.
2563 + modify _nc_save_str() to return a null pointer on buffer overflow.
2564 + improve repainting while scrolling wide-character data (Eungkyu Song).
2567 + merge some development changes to extend color capabilities.
2570 + merge some development changes to extend color capabilities.
2571 + fix manpage typo (FreeBSD report docs/75544).
2572 + update config.guess, config.sub
2573 > patches for configure script (Albert Chin-A-Young):
2574 + improved fix to make mbstate_t recognized on HPUX 11i (cf:
2575 20030705), making vsscanf() prototype visible on IRIX64. Tested for
2576 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
2577 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
2578 + print the result of the --disable-home-terminfo option.
2579 + use -rpath when compiling with SGI C compiler.
2582 + add trace calls to remaining public functions in form and menu
2584 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
2585 + fix typo in test/ncurses.c 'c' test from 20041218.
2588 + revise test/ncurses.c 'c' color test to improve use for xterm-88color
2589 and xterm-256color, added 'C' test using the wide-character color_set
2590 and attr_set functions.
2593 + modify configure script to work with Intel compiler.
2594 + fix an limit-check in wadd_wchnstr() which caused labels in the
2595 forms-demo to be one character short.
2596 + fix typo in curs_addchstr.3x (Jared Yanovich).
2597 + add trace calls to most functions in form and menu libraries.
2598 + update working-position for adding wide-characters when window is
2599 scrolled (prompted by related report by Eungkyu Song).
2602 + replace some references on Linux to wcrtomb() which use it to obtain
2603 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
2604 broken in glibc (see Debian #284260).
2605 + corrected length-computation in wide-character support for
2607 + some fixes to frm_driver.c to allow it to accept multibyte input.
2608 + modify configure script to work with Intel 8.0 compiler.
2611 + amend change to setupterm() in 20030405 which would reuse the value
2612 of cur_term if the same output was selected. This now reuses it only
2613 when setupterm() is called from tgetent(), which has no notion of
2614 separate SCREENs. Note that tgetent() must be called after initscr()
2615 or newterm() to use this feature (Redhat Bugzilla #140326).
2616 + add a check in CF_BUILD_CC macro to ensure that developer has given
2617 the --with-build-cc option when cross-compiling (report by Alexandre
2619 + improved configure script checks for _XOPEN_SOURCE and
2620 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
2622 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
2623 for consistency (comment by Dan Nelson).
2626 + update wsvt25 terminfo entry -TD
2627 + modify test/ins_wide.c to test all flavors of ins_wstr().
2628 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
2629 which consists of multi-column characters, since this function
2630 constructs them (cf: 20041023).
2631 + modify winnstr() to return multibyte character strings for the
2632 wide-character configuration.
2635 + fixes to make slk_set() and slk_wset() accept and store multibyte
2636 or multicolumn characters.
2639 + improve color optimization a little by making _nc_do_color() check
2640 if the old/new pairs are equivalent to the default pair 0.
2641 + modify assume_default_colors() to not require that
2642 use_default_colors() be called first.
2645 + modify term_attrs() to use termattrs(), add the extended attributes
2646 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
2647 + add logic in waddch_literal() to clear orphaned cells when one
2648 multi-column character partly overwrites another.
2649 + improved logic for clearing cells when a multi-column character
2650 must be wrapped to a new line.
2651 + revise storage of cells for multi-column characters to correct a
2652 problem with repainting. In the old scheme, it was possible for
2653 doupdate() to decide that only part of a multi-column character
2654 should be repainted since the filler cells stored only an attribute
2655 to denote them as fillers, rather than the character value and the
2659 + minor fixes for traces.
2660 + add SP->_screen_acs_map[], used to ensure that mapping of missing
2661 line-drawing characters is handled properly. For example, ACS_DARROW
2662 is absent from xterm-new, and it was coincidentally displayed the
2666 + amend 20021221 workaround for broken acs to reset the sgr, rmacs
2667 and smacs strings as well. Also modify the check for screen's
2668 limitations in that area to allow the multi-character shift-in
2669 and shift-out which seem to work.
2670 + change GPM initialization, using dl library to load it dynamically
2671 at runtime (Debian #110586).
2674 + correct logic for color pair in setcchar() and getcchar() (patch by
2675 Marcin 'Qrczak' Kowalczyk).
2676 + add t/T commands to ncurses b/B tests to allow a different color to
2677 be tested for the attrset part of the test than is used in the
2681 + fix to make setcchar() to work when its wchar_t* parameter is
2682 pointing to a string which contains more data than can be converted.
2683 + modify wget_wstr() and example in ncurses.c to work if wchar_t and
2684 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
2687 + remove check in wget_wch() added to fix an infinite loop, appears to
2688 have been working around a transitory glibc bug, and interferes
2689 with normal operation (report by Marcin 'Qrczak' Kowalczyk).
2690 + correct wadd_wch() and wecho_wch(), which did not pass the rendition
2691 information (report by Marcin 'Qrczak' Kowalczyk).
2692 + fix aclocal.m4 so that the wide-character version of ncurses gets
2693 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
2694 (adapted from patch by James J Ramsey).
2695 + change configure script for --with-caps option to indicate that it
2696 is no longer experimental.
2697 + change configure script to reflect the fact that --enable-widec has
2698 not been "experimental" since 5.3 (report by Bruno Lustosa).
2701 + add 'B' test to ncurses.c, to exercise some wide-character functions.
2704 + modify infocmp -i option to match 8-bit controls against its table
2705 entries, e.g., so it can analyze the xterm-8bit entry.
2706 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
2707 + correct translation of "%%" in terminfo format to termcap, e.g.,
2708 using "tic -C" (Redhat Bugzilla #130921).
2709 + modified configure script CF_XOPEN_SOURCE macro to ensure that if
2710 it defines _POSIX_C_SOURCE, that it defines it to a specific value
2711 (comp.os.stratus newsgroup comment).
2714 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
2715 fatal, and gnat does not follow the guidelines for pragmas).
2716 However that did find a coding error in Assume_Default_Colors().
2717 + modify several terminfo entries to ensure xterm mouse and cursor
2718 visibility are reset in rs2 string: hurd, putty, gnome,
2719 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The
2720 xterm entries are left alone - old ones for compatibility, and the
2721 new ones do not require this change. -TD
2724 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
2725 and window managers (Debian #265631).
2726 > terminfo updates -TD
2727 + remove dch/dch1 from rxvt because they are implemented inconsistently
2728 with the common usage of bce/ech
2729 + remove khome from vt220 (vt220's have no home key)
2733 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
2734 combinations of video attributes so that for instance bold and
2735 underline can be tested. This made the legend too crowded, added
2736 a help window as well.
2737 + modify test/ncurses.c 'b' test to cycle through default colors if
2738 the -d option is set.
2739 + update putty terminfo entry (Robert de Bath).
2742 + modify test/cardfile.c to allow it to read more data than can be
2744 + correct logic in resizeterm.c which kept it from processing all
2745 levels of window hierarchy (reports by Folkert van Heusden,
2749 + modify "tic -cv" to ignore delays when comparing strings. Also
2750 modify it to ignore a canceled sgr string, e.g., for terminals which
2751 cannot properly combine attributes in one control sequence.
2752 + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
2753 patch by Hans de Goede)
2754 > terminfo updates -TD
2755 + make ncsa-m rmacs/smacs consistent with sgr
2756 + add sgr, rc/sc and ech to syscons entries
2757 + add function-keys to decansi
2758 + add sgr to mterm-ansi
2759 + add sgr, civis, cnorm to emu
2760 + correct/simplify cup in addrinfo
2763 > terminfo updates -TD
2764 + add xterm-pc-fkeys
2765 + review/update gnome and gnome-rh90 entries (prompted by Redhat
2767 + review/update konsole entries
2768 + add sgr, correct sgr0 for kterm and mlterm
2769 + correct tsl string in kterm
2772 + add configure option --without-xterm-new
2775 + add check in wget_wch() for printable bytes that are not part of a
2776 multibyte character.
2777 + modify wadd_wchnstr() to render text using window's background
2779 + improve tic's check to compare sgr and sgr0.
2780 + fix c++ directory's .cc.i rule.
2781 + modify logic in tgetent() which adjusts the termcap "me" string
2782 to work with ISO-2022 string used in xterm-new (cf: 20010908).
2783 + modify tic's check for conflicting function keys to omit that if
2784 converting termcap to termcap format.
2785 + add -U option to tic and infocmp.
2786 + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
2787 > terminfo updates -TD
2788 + minor fixes for emu
2790 + change wyse acsc strings to use 'i' map rather than 'I'
2795 + use tic -x to install terminfo database -TD
2796 + add -x to infocmp's usage message.
2797 + correct field used for comparing O_ROWMAJOR in set_menu_format()
2798 (report/patch by Tony Li).
2799 + fix a missing nul check in set_field_buffer() from 20040508 changes.
2800 > terminfo updates -TD
2801 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
2803 + align with xterm patch #192's use of xterm-new -TD
2804 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
2805 + make xterm-new the default "xterm" entry -TD
2808 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
2809 cross-compiling from a separate directory tree (report/patch by
2811 + modify is_term_resized() to ensure that window sizes are nonzero,
2812 as documented in the manpage (report by Ian Collier).
2813 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
2814 (Debian #249214, report/patch by Jeff Bailey).
2815 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
2816 + update config.guess, config.sub
2817 > terminfo updates -TD
2819 + add xterm-xf86-v44
2820 + modify xterm-new aka xterm-xfree86 to accommodate luit, which
2821 relies on G1 being used via an ISO-2022 escape sequence (report by
2826 + reconsidered winsnstr(), decided after comparing other
2827 implementations that wrapping is an X/Open documentation error.
2828 + modify test/inserts.c to test all flavors of insstr().
2831 + add setlocale() calls to a few test programs which may require it:
2832 demo_forms.c, filter.c, ins_wide.c, inserts.c
2833 + correct a few misspelled function names in ncurses-intro.html (report
2835 + correct internal name of key_defined() manpage, which conflicted with
2839 + correct size of internal pad used for holding wide-character
2840 field_buffer() results.
2841 + modify data_ahead() to work with wide-characters.
2844 + improve description of terminfo if-then-else expressions (suggested
2846 + improve test/ncurses.c 'd' test, allow it to use external file for
2847 initial palette (added xterm-16color.dat and linux-color.dat), and
2848 reset colors to the initial palette when starting/ending the test.
2849 + change limit-check in init_color() to allow r/g/b component to
2850 reach 1000 (cf: 20020928).
2853 + modify form library to use cchar_t's rather than char's in the
2854 wide-character configuration for storing data for field buffers.
2855 + correct logic of win_wchnstr(), which did not work for more than
2859 + replace memset/memcpy usage in form library with for-loops to
2860 simplify changing the datatype of FIELD.buf, part of wide-character
2862 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
2865 + modify menu library to account for actual number of columns used by
2866 multibyte character strings, in the wide-character configuration
2867 (adapted from patch by Philipp Tomsich).
2868 + add "-x" option to infocmp like tic's "-x", for use in "-F"
2869 comparisons. This modifies infocmp to only report extended
2870 capabilities if the -x option is given, making this more consistent
2871 with tic. Some scripts may break, since infocmp previous gave this
2872 information without an option.
2873 + modify termcap-parsing to retain 2-character aliases at the beginning
2874 of an entry if the "-x" option is used in tic.
2877 + minor compiler-warning and test-program fixes.
2880 + modify tic's missing-sgr warning to apply to terminfo only.
2881 + free some memory leaks in tic.
2882 + remove check in post_menu() that prevented menus from extending
2883 beyond the screen (request by Max J. Werner).
2884 + remove check in newwin() that prevents allocating windows
2885 that extend beyond the screen. Solaris curses does this.
2886 + add ifdef in test/color_set.c to allow it to compile with older
2888 + add napms() calls to test/dots.c to make it not be a CPU hog.
2891 + modify unctrl() to return null if its parameter does not correspond
2892 to an unsigned char.
2893 + add some limit-checks to guard isprint(), etc., from being used on
2894 values that do not fit into an unsigned char (report by Sami Farin).
2897 + fix a typo in the _nc_get_locale() change.
2900 + modify _nc_get_locale() to use setlocale() to query the program's
2901 current locale rather than using getenv(). This fixes a case in tin
2902 which relies on legacy treatment of 8-bit characters when the locale
2903 is not initialized (reported by Urs Jansen).
2904 + add sgr string to screen's and rxvt's terminfo entries -TD.
2905 + add a check in tic for terminfo entries having an sgr0 but no sgr
2906 string. This confuses Tru64 and HPUX curses when combined with
2907 color, e.g., making them leave line-drawing characters in odd places.
2908 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
2909 original definitions used in Debian package to fix PowerPC bug before
2910 20030802 (Debian #237629).
2913 + modify PutAttrChar() and PUTC() macro to improve use of
2914 A_ALTCHARSET attribute to prevent line-drawing characters from
2915 being lost in situations where the locale would otherwise treat the
2916 raw data as nonprintable (Debian #227879).
2919 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
2921 + remove ".PP" after ".SH NAME" in a few manpages; this confuses
2922 some apropos script (Debian #237831).
2925 + modify ncurses.c 'r' test so editing commands, like inserted text,
2926 set the field background, and the state of insert/overlay editing
2927 mode is shown in that test.
2928 + change syntax of dummy targets in Ada95 makefiles to work with pmake.
2929 + correct logic in test/ncurses.c 'b' for noncolor terminals which
2930 did not recognize a quit-command (cf: 20030419).
2933 + modify _nc_insert_ch() to allow for its input to be part of a
2935 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states
2936 that this function performs wrapping, unlike all of the other
2937 insert-functions. Currently it does not wrap.
2938 + check for nl_langinfo(CODESET), use it if available (report by
2940 + split-out CF_BUILD_CC macro, actually did this for lynx first.
2941 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
2942 which happened to work with bash, but not with Bourne shell (report
2943 by Marco d'Itri via tin-dev).
2946 + some changes to adapt the form library to wide characters, incomplete
2947 (request by Mike Aubury).
2948 + add symbol to curses.h which can be used to suppress include of
2950 #define NCURSES_ENABLE_STDBOOL_H 0
2952 (discussion on XFree86 mailing list).
2955 + modify configure --with-termlib option to accept a value which sets
2956 the name of the terminfo library. This would allow a packager to
2957 build libtinfow.so renamed to coincide with libtinfo.so (discussion
2958 with Stanislav Ievlev).
2959 + improve documentation of --with-install-prefix, --prefix and
2960 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
2961 + add configure check if the compiler can use -c -o options to rename
2962 its output file, use that to omit the 'cd' command which was used to
2963 ensure object files are created in a separate staging directory
2964 (prompted by comments by Johnny Wezel, Martin Mokrejs).
2966 20040208 5.4 release for upload to ftp.gnu.org
2969 20040207 pre-release
2970 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
2971 and do not count %d if it follows a %p.
2972 + correct an inconsistency between handling of codes in the 128-255
2973 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX
2974 locale, the latter did not show printable results, while the former
2976 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
2977 OS X, which alters "%%" to "% % " (report by Robert Simms, fix
2978 verified by Scott Corscadden).
2980 20040131 pre-release
2981 + modify SCREEN struct to align it between normal/wide curses flavors
2982 to simplify future changes to build a single version of libtinfo
2983 (patch by Stanislav Ievlev).
2984 + document handling of carriage return by addch() in manpage.
2985 + document special features of unctrl() in manpage.
2986 + documented interface changes in INSTALL.
2987 + corrected control-char test in lib_addch.c to account for locale
2988 (Debian #230335, cf: 971206).
2989 + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
2990 + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
2991 + minor configure-script fixes for older ports, e.g., BeOS R4.5.
2993 20040125 pre-release
2994 + amend change to PutAttrChar() from 20030614 which computed the number
2995 of cells for a possibly multi-cell character. The 20030614 change
2996 forced the cell to a blank if the result from wcwidth() was not
2997 greater than zero. However, wcwidth() called for parameters in the
2998 range 128-255 can give this return value. The logic now simply
2999 ensures that the number of cells is greater than zero without
3000 modifying the displayed value.
3002 20040124 pre-release
3003 + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
3004 + modify configure script check for ranlib to use AC_CHECK_TOOL, since
3005 that works better for cross-compiling.
3007 20040117 pre-release
3008 + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
3009 work around core dump in Solaris 8's locale support, e.g., for
3010 zh_CN.GB18030 (report by Saravanan Bellan).
3011 + add includes for <stdarg.h> and <stdio.h> in configure script macro
3012 to make <wchar.h> check work with Tru64 4.0d.
3013 + add terminfo entry for U/Win -TD
3014 + add terminfo entries for SFU aka Interix aka OpenNT (Federico
3016 + modify tput's error messages to prefix them with the program name
3017 (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
3019 + correct a place in tack where exit_standout_mode was used instead of
3020 exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
3021 + modify c++/cursesf.h to use const in the Enumeration_Field method.
3022 + remove an ambiguous (actually redundant) method from c++/cursesf.h
3023 + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
3024 + improve sed script which extracts libtool's version in the
3025 CF_WITH_LIBTOOL macro.
3026 + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
3027 simplify local patch for Albert Chin-A-Young)..
3028 + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
3029 patch by Albert Chin-A-Young)..
3030 + fix a missing substitution in configure.in for "$target" needed for
3032 + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
3033 NetBSD 1.6 conflicts with _XOPEN_SOURCE.
3034 + make check for stdbool.h more specific, to ensure that including it
3035 will actually define/declare bool for the configured compiler.
3036 + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The
3037 intention of that is to #define NCURSES_BOOL as bool when the
3038 compiler declares bool, and to #define bool as NCURSES_BOOL when it
3039 does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
3041 20040110 pre-release
3042 + change minor version to 4, i.e., ncurses 5.4
3043 + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
3045 + simplified ncurses/base/version.c by defining the result from the
3046 configure script rather than using sprintf (suggested by Stanislav
3048 + remove obsolete casts from c++/cursesw.h (reported by Stanislav
3050 + modify configure script so that when configuring for termlib, programs
3051 such as tic are not linked with the upper-level ncurses library
3052 (suggested by Stanislav Ievlev).
3053 + move version.c from ncurses/base to ncurses/tinfo to allow linking
3054 of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
3057 + adjust -D's to build ncursesw on OpenBSD.
3058 + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
3059 + add pecho_wchar().
3060 + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
3061 available) on older platforms.
3064 + add -D's to build ncursew on FreeBSD 5.1.
3065 + modify shared library configuration for FreeBSD 4.x/5.x to add the
3066 soname information (request by Marc Glisse).
3067 + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
3068 for limiting the length of a filename in the terminfo database.
3069 + modify termname() to return the terminal name used by setupterm()
3070 rather than $TERM, without truncating to 14 characters as documented
3071 by X/Open (report by Stanislav Ievlev, cf: 970719).
3072 + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
3075 + add configure option --with-manpage-format=catonly to address
3076 behavior of BSDI, allow install of man+cat files on NetBSD, whose
3077 behavior has diverged by requiring both to be present.
3078 + remove leading blanks from comment-lines in manlinks.sed script to
3079 work with Tru64 4.0d.
3080 + add screen.linux terminfo entry (discussion on mutt-users mailing
3084 + add a check for tic to flag missing backslashes for termcap
3085 continuation lines. ncurses reads the whole entry, but termcap
3086 applications do not.
3087 + add configure option "--with-manpage-aliases" extending
3088 "--with-manpage-aliases" to provide the option of generating ".so"
3089 files rather than symbolic links for manpage aliases.
3090 + add bool definition in include/curses.h.in for configurations with no
3091 usable C++ compiler (cf: 20030607).
3092 + fix pathname of SigAction.h for building with --srcdir (reported by
3096 + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
3097 since that header is used only within ncurses/tty/lib_tstp.c, for
3098 non-POSIX systems (discussion with Stanislav Ievlev).
3099 + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
3100 <inger@altlinux.org>).
3101 + add test/background.c and test/color_set.c
3102 + modify color_set() function to work with color pair 0 (report by
3103 George Andreou <gbandreo@tem.uoc.gr>).
3104 + add configure option --with-trace, since defining TRACE seems too
3105 awkward for some cases.
3106 + remove a call to _nc_free_termtype() from read_termtype(), since the
3107 corresponding buffer contents were already zeroed by a memset (cf:
3109 + improve configure check for _XOPEN_SOURCE and related definitions,
3110 adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
3111 __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
3112 + small fixes to compile on Solaris and IRIX64 using cc.
3113 + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
3117 + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
3118 values (Philippe Blain).
3119 + improve the nanosleep() logic in napms() by checking for EINTR and
3120 restarting (Philippe Blain).
3121 + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
3125 + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
3126 + allow "\|" escape in terminfo; tic should not warn about this.
3127 + save the full pathname of the trace-file the first time it is opened,
3128 to avoid creating it in different directories if the application
3129 opens and closes it while changing its working directory.
3130 + modify configure script to provide a non-empty default for
3134 + add DJGPP to special case of DOS-style drive letters potentially
3135 appearing in TERMCAP environment variable.
3136 + fix some spelling in comments (reports by Jason McIntyre, Jonathon
3138 + update config.guess, config.sub
3141 + fix a memory leak in error-return from setupterm() (report by
3142 Stanislav Ievlev <inger@altlinux.org>).
3143 + use EXEEXT and OBJEXT consistently in makefiles.
3144 + amend fixes for cross-compiling to use separate executable-suffix
3145 BUILD_EXEEXT (cf: 20031018).
3146 + modify MKkey_defs.sh to check for sort utility that does not
3147 recognize key options, e.g., busybox (report by Peter S Mazinger
3149 + fix potential out-of-bounds indexing in _nc_infotocap() (found by
3150 David Krause using some of the new malloc debugging features
3151 under OpenBSD, patch by Ted Unangst).
3152 + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
3153 ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
3156 + update terminfo for xterm-xfree86 -TD
3157 + add check for multiple "tc=" clauses in a termcap to tic.
3158 + check for missing op/oc in tic.
3159 + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
3160 tic to show cancelled capabilities. These functions were ignoring
3161 the state of the target entry, which should be untouched if cancelled.
3162 + correct comment in tack/output.c (Debian #215806).
3163 + add some null-pointer checks to lib_options.c (report by Michael
3165 + regenerated html documentation.
3166 + correction to tar-copy.sh, remove a trap command that resulted in
3167 leaving temporary files (cf: 20030510).
3168 + remove contact/maintainer addresses for Juergen Pfeifer (his request).
3171 + updated test/configure to reflect changes for libtool (cf: 20030830).
3172 + fix several places in tack/pad.c which tested and used the parameter-
3173 and parameterless strings inconsistently, i.e., in pad_rin(),
3174 pad_il(), pad_indn() and pad_dl() (Debian #215805).
3175 + minor fixes for configure script and makefiles to cleanup executables
3176 generated when cross-compiling for DJGPP.
3177 + modify infocmp to omit check for $TERM for operations that do not
3178 require it, e.g., "infocmp -e" used to build fallback list (report by
3182 + add terminfo entries for DJGPP.
3183 + updated note about maintainer in ncurses-intro.html
3186 + update terminfo entries for gnome terminal.
3187 + modify tack to reset colors after each color test, correct a place
3188 where exit_standout_mode was used instead of exit_attribute_mode.
3189 + improve tack's bce test by making it set colors other than black
3191 + plug a potential recursion between napms() and _nc_timed_wait()
3192 (report by Philippe Blain).
3195 + add --with-rel-version option to allow workaround to allow making
3196 libtool on Darwin generate the "same" library names as with the
3197 --with-shared option. The Darwin ld program does not work well
3198 with a zero as the minor-version value (request by Chris Zubrzycki).
3199 + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
3200 + modify tack to allow it to run from fallback terminfo data.
3201 > patch by Philippe Blain:
3202 + improve PutRange() by adjusting call to EmitRange() and corresponding
3203 return-value to not emit unchanged characters on the end of the
3205 + improve a check for changed-attribute by exiting a loop when the
3207 + improve logic in TransformLine(), eliminating a duplicated comparison
3208 in the clr_bol logic.
3211 > patch by Philippe Blain:
3212 + in ncurses/tty/lib_mvcur.c,
3213 move the label 'nonlocal' just before the second gettimeofday() to
3214 be able to compute the diff time when 'goto nonlocal' used.
3215 Rename 'msec' to 'microsec' in the debug-message.
3216 + in ncurses/tty/lib_mvcur.c,
3217 Use _nc_outch() in carriage return/newline movement instead of
3218 putchar() which goes to stdout. Move test for xold>0 out of loop.
3219 + in ncurses/tinfo/setbuf.c,
3220 Set the flag SP->_buffered at the end of operations when all has been
3221 successful (typeMalloc can fail).
3222 + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
3225 + modify configure script to avoid using "head -1", which does not
3226 work if POSIXLY_CORRECT (sic) is set.
3227 + modify run_tic.in to avoid using wrong shared libraries when
3228 cross-compiling (Dan Kegel).
3231 + alter configure script help message to make it clearer that
3232 --with-build-cc does not specify a cross-compiler (suggested by Dan
3233 Kegel <dank@kegel.com>).
3234 + modify configure script to accommodate libtool 1.5, as well as add an
3235 parameter to the "--with-libtool" option which can specify the
3236 pathname of libtool (report by Chris Zubrzycki). We note that
3237 libtool 1.5 has more than one bug in its C++ support, so it is not
3238 able to install libncurses++, for instance, if $DESTDIR or the option
3239 --with-install-prefix is used.
3242 > patch by Philippe Blain:
3243 + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
3244 + make baudrate computation in delay_output() consistent with the
3245 assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
3248 + modify logic in waddch_literal() to take into account zh_TW.Big5
3249 whose multibyte sequences may contain "printable" characters, e.g.,
3250 a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
3251 + improve storage used by _nc_safe_strcpy() by ensuring that the size
3252 is reset based on the initialization call, in case it were called
3253 after other strcpy/strcat calls (report by Philippe Blain).
3254 > patch by Philippe Blain:
3255 + remove an unused ifdef for REAL_ATTR & WANT_CHAR
3256 + correct a place where _cup_cost was used rather than _cuu_cost
3259 + fix a small memory leak in _nc_free_termtype().
3260 + close trace-file if trace() is called with a zero parameter.
3261 + free memory allocated for soft-key strings, in delscreen().
3262 + fix an allocation size in safe_sprintf.c for the "*" format code.
3263 + correct safe_sprintf.c to not return a null pointer if the format
3264 happens to be an empty string. This applies to the "configure
3265 --enable-safe-sprintf" option (Redhat #101486).
3268 + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
3270 > patch by Philippe Blain:
3271 + change padding for change_scroll_region to not be proportional to
3272 the size of the scroll-region.
3273 + correct error-return in _nc_safe_strcat().
3276 + correct limit-checks in _nc_scroll_window() (report and test-case by
3277 Thomas Graf <graf@dms.at> cf: 20011020).
3278 + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
3282 + use clr_eol in preference to blanks for bce terminals, so select and
3283 paste will have fewer trailing blanks, e.g., when using xterm
3284 (request by Vincent Lefevre).
3285 + correct prototype for wunctrl() in manpage.
3286 + add configure --with-abi-version option (discussion with Charles
3288 > cygwin changes from Charles Wilson:
3289 + aclocal.m4: on cygwin, use autodetected prefix for import
3290 and static lib, but use "cyg" for DLL.
3291 + include/ncurses_dll.h: correct the comments to reflect current
3292 status of cygwin/mingw port. Fix compiler warning.
3293 + misc/run_tic.in: ensure that tic.exe can find the uninstalled
3294 DLL, by adding the lib-directory to the PATH variable.
3295 + misc/terminfo.src (nxterm|xterm-color): make xterm-color
3296 primary instead of nxterm, to match XFree86's xterm.terminfo
3297 usage and to prevent circular links.
3298 (rxvt): add additional codes from rxvt.org.
3299 (rxvt-color): new alias
3300 (rxvt-xpm): new alias
3301 (rxvt-cygwin): like rxvt, but with special acsc codes.
3302 (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or
3303 with a "native" MSWin GUI. Each takes different acsc codes,
3304 which are both different from the "normal" rxvt's acsc.
3305 (cygwin): cygwin-in-cmd.exe window. Lots of fixes.
3307 + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
3311 + update config.guess, config.sub
3312 + add triples for configuring shared libraries with the Debian
3313 GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
3316 + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some
3317 platforms have installed g++ along with the native C compiler, which
3318 would not accept gcc warning options.
3319 + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
3320 get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
3321 + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
3322 + correct a sign-extension in wadd_wch() and wecho_wchar() from
3323 20030628 (report by Tomohiro Kubota).
3324 + work around omission of btowc() and wctob() from wide-character
3325 support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
3327 + add portability note to curs_get_wstr.3x (Debian #199957).
3330 + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
3331 respectively, to avoid calling waddch_noecho() with wide-character
3332 data, since that function assumes its input is 8-bit data.
3333 Similarly, modify waddnwstr() to call wadd_wch().
3334 + remove logic from waddnstr() which transformed multibyte character
3335 strings into wide-characters. Rewrite of waddch_literal() from
3336 20030621 assumes its input is raw multibyte data rather than wide
3337 characters (report by Tomohiro Kubota).
3340 + write getyx() and related 2-return macros in terms of getcury(),
3342 + modify waddch_literal() in case an application passes bytes of a
3343 multibyte character directly to waddch(). In this case, waddch()
3344 must reassemble the bytes into a wide-character (report by Tomohiro
3345 Kubota <kubota@debian.org>).
3348 + modify waddch_literal() in case a multibyte value occupies more than
3350 + modify PutAttrChar() to compute the number of character cells that
3351 are used in multibyte values. This fixes a problem displaying
3352 double-width characters (report/test by Mitsuru Chinen
3353 <mchinen@yamato.ibm.com>).
3354 + add a null-pointer check for result of keyname() in _tracechar()
3355 + modify _tracechar() to work around glibc sprintf bug.
3358 + add a call to setlocale() in cursesmain.cc, making demo display
3359 properly in a UTF-8 locale.
3360 + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
3361 by discussion with Gabor Z Papp).
3362 + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
3363 appease -Wchar-subscript with g++ 3.3 (Debian #195732).
3364 + fix a redefinition of $RANLIB in the configure script when libtool
3365 is used, which broke configure on Mac OS X (report by Chris Zubrzycki
3367 + simplify ifdef for bool declaration in curses.h.in (suggested by
3368 Albert Chin-A-Young).
3369 + remove configure script check to allow -Wconversion for older
3370 versions of gcc (suggested by Albert Chin-A-Young).
3373 + regenerated html manpages.
3374 + modify ifdef's in curses.h.in that disabled use of __attribute__()
3375 for g++, since recent versions implement the cases which ncurses uses
3377 + modify _nc_get_token() to handle a case where an entry has no
3378 description, and capabilities begin on the same line as the entry
3380 + fix a typo in ncurses_dll.h reported by gcc 3.3.
3381 + add an entry for key_defined.3x to man_db.renames.
3384 + modify setcchar() to allow converting control characters to complex
3385 characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
3386 + add tkterm entry -TD
3387 + modify parse_entry.c to allow a terminfo entry with a leading
3388 2-character name (report by Don Libes).
3389 + corrected acsc in screen.teraterm, which requires a PC-style mapping.
3390 + fix trace statements in read_entry.c to use lseek() rather than
3392 + fix signed/unsigned warnings from Sun's compiler (gcc should give
3393 these warnings, but it is unpredictable).
3394 + modify configure script to omit -Winline for gcc 3.3, since that
3396 + modify manlinks.sed to add a few functions that were overlooked since
3397 they return function pointers: field_init, field_term, form_init,
3398 form_term, item_init, item_term, menu_init and menu_term.
3401 + prevent recursion in wgetch() via wgetnstr() if the connection cannot
3402 be switched between cooked/raw modes because it is not a TTY (report
3403 by Wolfgang Gutjahr <gutw@knapp.com>).
3404 + change parameter of define_key() and key_defined() to const (prompted
3406 + add a check in test/configure for ncurses extensions, since there
3407 are some older versions, etc., which would not compile with the
3408 current test programs.
3409 + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
3410 convert wchar_t string to multibyte form before printing it.
3411 + corrections to lib_get_wstr.c:
3412 + null-terminate buffer passed to setcchar(), which occasionally
3414 + map special characters such as erase- and kill-characters into
3415 key-codes so those will work as expected even if they are not
3416 mentioned in the terminfo.
3417 + modify PUTC() and Charable() macros to make wide-character line
3418 drawing work for POSIX locale on Linux console (cf: 20021221).
3421 + make typography for program options in manpages consistent (report
3422 by Miloslav Trmac <mitr@volny.cz>).
3423 + correct dependencies in Ada95/src/Makefile.in, so the builds with
3424 "--srcdir" work (report by Warren L Dodge).
3425 + correct missing definition of $(CC) in Ada95/gen/Makefile.in
3426 (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
3427 + fix typos and whitespace in manpages (patch by Jason McIntyre
3428 <jmc@prioris.mini.pw.edu.pl>).
3431 + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
3432 REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
3433 the editing position before making modifications.
3434 + add test/demo_forms and associated test/edit_field.c demos.
3435 + modify test/configure.in to use test/modules for the list of objects
3436 to compile rather than using the list of programs.
3439 + modify logic of acsc to use the original character if no mapping&nbs