1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2010,2011 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.1743 2011/07/23 22:02:25 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 start_color() to limit color-pairs to 256 when
50 extended colors are not supported (patch by David Benjamin).
51 + modify setcchar to omit no-longer-needed OR'ing of color pair in
52 the SetAttr() macro (patch by David Benjamin).
53 + add kich1 to sun terminfo entry (Yuri Pankov)
54 + use bold rather than reverse for smso in sun-color terminfo entry
56 + improve generation of termcap using tic/infocmp -C option, e.g.,
57 to correspond with 4.2BSD (prompted by discussion with Yuri Pankov
58 regarding Schilling's test program):
59 + translate %02 and %03 to %2 and %3 respectively.
60 + suppress string capabilities which use %s, not supported by tgoto
61 + use \040 rather than \s
62 + expand null characters as \200 rather than \0
63 + modify configure script to support shared libraries for DragonFlyBSD.
66 + replace an assert() in _nc_Free_Argument() with a regular null
67 pointer check (report/analysis by Franjo Ivancic).
68 + modify configure --enable-pc-files option to take into account the
69 PKG_CONFIG_PATH variable (report by Frederic L W Meunier).
70 + add/use xterm+tmux chunk from xterm #271 -TD
71 + resync xterm-new entry from xterm #271 -TD
72 + add E3 extended capability to linux-basic (Miroslav Lichvar)
73 + add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
74 + add SI/SO change to linux2.6 entry (Debian #515609) -TD
75 + fix inconsistent tabset path in pcmw (Todd C. Miller).
76 + remove a backslash which continued comment, obscuring altos3
77 definition with OpenBSD toolset (Nicholas Marriott).
80 + add workaround from xterm #271 changes to ensure that compiler flags
81 are not used in the $CC variable.
82 + improve support for shared libraries, tested with AIX 5.3, 6.1 and
83 7.1 with both gcc 4.2.4 and cc.
84 + modify configure checks for AIX to include release 7.x
85 + add loader flags/libraries to libtool options so that dynamic loading
86 works properly, adapted from ncurses-5.7-ldflags-with-libtool.patch
87 at gentoo prefix repository (patch by Michael Haubenwallner).
90 + move include of nc_termios.h out of term_entry.h, since the latter
91 is installed, e.g., for tack while the former is not (report by
95 + improve cleanup() function in lib_tstp.c, using _exit() rather than
96 exit() and checking for SIGTERM rather than SIGQUIT (prompted by
97 comments forwarded by Nicholas Marriott).
98 + reduce name pollution from term.h, moving fallback #define's for
99 tcgetattr(), etc., to new private header nc_termios.h (report by
101 + two minor fixes for tracing (patch by Vassili Courzakis).
102 + improve trace initialization by starting it in use_env() and
104 + review old email, add details for some changelog entries.
107 + update minix entry to minix 3.2 (Thomas Cort).
108 + fix a strict compiler warning in change to wattr_get (cf: 20110528).
111 + fixes for MirBSD port:
112 + set default prefix to /usr.
113 + add support for shared libraries in configure script.
114 + use S_ISREG and S_ISDIR consistently, with fallback definitions.
115 + add a few more checks based on ncurses/link_test.
116 + modify MKlib_gen.sh to handle sp-funcs renaming of NCURSES_OUTC type.
119 + add case to CF_SHARED_OPTS for Interix (patch by Markus Duft).
120 + used ncurses/link_test to check for behavior when the terminal has
121 not been initialized and when an application passes null pointers
122 to the library. Added checks to cover this (prompted by Redhat
124 + modify MKlib_gen.sh to make its main() function call each function
125 with zero parameters, to help find inconsistent checking for null
129 + fix warnings from clang 2.7 "--analyze"
132 + compiler-warning fixes in panel and progs.
133 + modify CF_PKG_CONFIG macro, from changes to tin -TD
134 + modify CF_CURSES_FUNCS configure macro, used in test directory
136 + work around (non-optimizer) bug in gcc 4.2.1 which caused
137 test-expression to be omitted from executable.
138 + force the linker to see a link-time expression of a symbol, to
139 help work around weak-symbol issues.
142 + update discussion of MKfallback.sh script in INSTALL; normally the
143 script is used automatically via the configured makefiles. However
144 there are still occasions when it might be used directly by packagers
145 (report by Gunter Schaffler).
146 + modify misc/ncurses-config.in to omit the "-L" option from the
147 "--libs" output if the library directory is /usr/lib.
148 + change order of tests for curses.h versus ncurses.h headers in the
149 configure scripts for Ada95 and test-directories, to look for
150 ncurses.h, from fixes to tin -TD
151 + modify ncurses/tinfo/access.c to account for Tandem's root uid
152 (report by Joachim Schmitz).
155 + modify rules in Ada95/src/Makefile.in to ensure that the PIC option
156 is not used when building a static library (report by Nicolas
158 + Ada95 build-fix for big-endian architectures such as sparc. This
159 undoes one of the fixes from 20110319, which added an "Unused" member
160 to representation clauses, replacing that with pragmas to suppress
161 warnings about unused bits (patch by Nicolas Boulenguez):
164 + add check in test/configure for use_window, use_screen.
165 + add configure-checks for getopt's variables, which may be declared
166 as different types on some Unix systems.
167 + add check in test/configure for some legacy curses types of the
168 function pointer passed to tputs().
169 + modify init_pair() to accept -1's for color value after
170 assume_default_colors() has been called (Debian #337095).
171 + modify test/background.c, adding commmand-line options to demonstrate
172 assume_default_colors() and use_default_colors().
175 + modify configure script/source-code to only define _POSIX_SOURCE if
176 the checks for sigaction and/or termios fail, and if _POSIX_C_SOURCE
177 and _XOPEN_SOURCE are undefined (report by Valentin Ochs).
178 + update config.guess, config.sub
181 + fixes to build c++ binding with clang 3.0 (patch by Alexander
183 + add check for unctrl.h in test/configure, to work around breakage in
184 some ncurses packages.
185 + add "--disable-widec" option to test/configure script.
186 + add "--with-curses-colr" and "--with-curses-5lib" options to the
187 test/configure script to address testing with very old machines.
189 20110404 5.9 release for upload to ftp.gnu.org
192 + various build-fixes for the rpm/dpkg scripts.
193 + add "--enable-rpath-link" option to Ada95/configure, to allow
194 packages to suppress the rpath feature which is normally used for
195 the in-tree build of sample programs.
196 + corrected definition of libdir variable in Ada95/src/Makefile.in,
197 needed for rpm script.
198 + add "--with-shared" option to Ada95/configure script, to allow
199 making the C-language parts of the binding use appropriate compiler
200 options if building a shared library with gnat.
203 > portability fixes for Ada95 binding:
204 + add configure check to ensure that SIGINT works with gnat. This is
205 needed for the "rain" sample program. If SIGINT does not work, omit
207 + correct typo in check of $PKG_CONFIG variable in Ada95/configure
208 + add ncurses_compat.c, to supply functions used in the Ada95 binding
209 which were added in 5.7 and later.
210 + modify sed expression in CF_NCURSES_ADDON to eliminate a dependency
214 + add special check in Ada95/configure script for ncurses6 reentrant
216 + regen Ada html documentation.
217 + build-fix for Ada shared libraries versus the varargs workaround.
218 + add rpm and dpkg scripts for Ada95 and test directories, for test
220 + update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and
222 + add configure check to determine if gnat's project feature supports
223 libraries, i.e., collections of .ali files.
224 + make all dereferences in Ada95 samples explicit.
225 + fix typo in comment in lib_add_wch.c (patch by Petr Pavlu).
226 + add configure check for, ifdef's for math.h which is in a separate
227 package on Solaris and potentially not installed (report by Petr
229 > fixes for Ada95 binding (Nicolas Boulenguez):
230 + improve type-checking in Ada95 by eliminating a few warning-suppress
232 + suppress unreferenced warnings.
233 + make all dereferences in binding explicit.
236 + regen Ada html documentation.
237 + change order of -I options from ncurses*-config script when the
238 --disable-overwrite option was used, so that the subdirectory include
240 + modify the make-tar.sh scripts to add a MANIFEST and NEWS file.
241 + modify configure script to provide value for HTML_DIR in
242 Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is
243 distributed separately (report by Nicolas Boulenguez).
244 + modify configure script to add -g and/or -O3 to ADAFLAGS if the
245 CFLAGS for the build has these options.
246 + amend change from 20070324, to not add 1 to the result of getmaxx
247 and getmaxy in the Ada binding (report by Nicolas Boulenguez for
248 thread in comp.lang.ada).
249 + build-fix Ada95/samples for gnat 4.5
250 + spelling fixes for Ada95/samples/explain.txt
251 > fixes for Ada95 binding (Nicolas Boulenguez):
252 + add item in Trace_Attribute_Set corresponding to TRACE_ATTRS.
253 + add workaround for binding to set_field_type(), which uses varargs.
254 The original binding from 990220 relied on the prevalent
255 implementation of varargs which did not support or need va_copy().
256 + add dependency on gen/Makefile.in needed for *-panels.ads
257 + add Library_Options to library.gpr
258 + add Languages to library.gpr, for gprbuild
261 + revert changes to limit-checks from 20110122 (Debian #616711).
262 > minor type-cleanup of Ada95 binding (Nicolas Boulenguez):
263 + corrected a minor sign error in a field of Low_Level_Field_Type, to
265 + replaced C_Int by Curses_Bool as return type for some callbacks, see
267 + modify samples/sample-explain.adb to provide explicit message when
268 explain.txt is not found.
271 + improve makefiles for Ada95 tree (patch by Nicolas Boulenguez).
272 + fix an off-by-one error in _nc_slk_initialize() from 20100605 fixes
273 for compiler warnings (report by Nicolas Boulenguez).
274 + modify Ada95/gen/gen.c to declare unused bits in generated layouts,
275 needed to compile when chtype is 64-bits using gnat 4.4.5
277 20110226 5.8 release for upload to ftp.gnu.org
280 + update release notes, for 5.8.
281 + regenerated html manpages.
282 + change open() in _nc_read_file_entry() to fopen() for consistency
284 + modify misc/run_tic.in to create parent directory, in case this is
285 a new install of hashed database.
286 + fix typo in Ada95/mk-1st.awk which causes error with original awk.
289 + configure script rpath fixes from xterm #269.
290 + workaround for cygwin's non-functional features.h, to force ncurses'
291 configure script to define _XOPEN_SOURCE_EXTENDED when building
292 wide-character configuration.
293 + build-fix in run_tic.sh for OS/2 EMX install
294 + add cons25-debian entry (patch by Brian M Carlson, Debian #607662).
297 + regenerated html manpages.
298 + use _tracef() in show_where() function of tic, to work correctly with
299 special case of trace configuration.
302 + add xterm-utf8 entry as a demo of the U8 feature -TD
303 + add U8 feature to denote entries for terminal emulators which do not
304 support VT100 SI/SO when processing UTF-8 encoding -TD
305 + improve the NCURSES_NO_UTF8_ACS feature by adding a check for an
306 extended terminfo capability U8 (prompted by mailing list
310 + start documenting interface changes for upcoming 5.8 release.
311 + correct limit-checks in derwin().
312 + correct limit-checks in newwin(), to ensure that windows have nonzero
313 size (report by Garrett Cooper).
314 + fix a missing "weak" declaration for pthread_kill (patch by Nicholas
316 + improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted
317 by discussion with Kevin Martin).
320 + modify Ada95/configure script to make the --with-curses-dir option
321 work without requiring the --with-ncurses option.
322 + modify test programs to allow them to be built with NetBSD curses.
323 + document thick- and double-line symbols in curs_add_wch.3x manpage.
324 + document WACS_xxx constants in curs_add_wch.3x manpage.
325 + fix some warnings for clang 2.6 "--analyze"
326 + modify Ada95 makefiles to make html-documentation with the project
327 file configuration if that is used.
328 + update config.guess, config.sub
331 + regenerated html manpages.
332 + minor fixes to enable lint when trace is not enabled, e.g., with
334 + fix typo in man/default_colors.3x (patch by Tim van der Molen).
335 + update ncurses/llib-lncurses*
338 + fix remaining strict compiler warnings in ncurses library ABI=5,
339 except those dealing with function pointers, etc.
342 + modify nc_tparm.h, adding guards against repeated inclusion, and
343 allowing TPARM_ARG to be overridden.
344 + fix some strict compiler warnings in ncurses library.
347 + suppress ncv in screen entry, allowing underline (patch by Alejandro
349 + also suppress ncv in konsole-base -TD
350 + fixes in wins_nwstr() and related functions to ensure that special
351 characters, i.e., control characters are handled properly with the
352 wide-character configuration.
353 + correct a comparison in wins_nwstr() (Redhat #661506).
354 + correct help-messages in some of the test-programs, which still
355 referred to quitting with 'q'.
358 + add special case to _nc_infotocap() to recognize the setaf/setab
359 strings from xterm+256color and xterm+88color, and provide a reduced
360 version which works with termcap.
361 + remove obsolete emacs "Local Variables" section from documentation
362 (request by Sven Joachim).
363 + update doc/html/index.html to include NCURSES-Programming-HOWTO.html
364 (report by Sven Joachim).
367 + modify test/configure and test/Makefile.in to handle this special
368 case of building within a build-tree (Debian #34182):
369 mkdir -p build && cd build && ../test/configure && make
372 + miscellaneous build-fixes for Ada95 and test-directories when built
374 + use VPATH in makefiles to simplify out-of-tree builds (Debian #34182).
375 + fix typo in rmso for tek4106 entry -Goran Weinholt
378 + improve checks in test/configure for X libraries, from xterm #267
380 + modify test/configure to allow it to use the build-tree's libraries
381 e.g., when using that to configure the test-programs without the
382 rpath feature (request by Sven Joachim).
383 + repurpose "gnome" terminfo entries as "vte", retaining "gnome" items
384 for compatibility, but generally deprecating those since the VTE
385 library is what actually defines the behavior of "gnome", etc.,
389 + compiler warning fixes for test programs.
390 + various build-fixes for test-programs with pdcurses.
391 + updated configure checks for X packages in test/configure from xterm
393 + add configure check to gnatmake, to accommodate cygwin.
396 + correct list of sub-directories needed in Ada95 tree for building as
398 + modify scripts in test-directory to improve builds as a separate
402 + correct parsing of relative tab-stops in tabs program (report by
404 + adjust configure script so that "t" is not added to library suffix
405 when weak-symbols are used, allowing the pthread configuration to
406 more closely match the non-thread naming (report by Werner Fink).
407 + modify configure check for tic program, used for fallbacks, to a
408 warning if not found. This makes it simpler to use additonal
409 scripts to bootstrap the fallbacks code using tic from the build
410 tree (report by Werner Fink).
411 + fix several places in configure script using ${variable-value} form.
412 + modify configure macro CF_LDFLAGS_STATIC to accommodate some loaders
413 which do not support selectively linking against static libraries
414 (report by John P. Hartmann)
415 + fix an unescaped dash in man/tset.1 (report by Sven Joachim).
418 + correct comparison used for setting 16-colors in linux-16color
419 entry (Novell #644831) -TD
420 + improve linux-16color entry, using "dim" for color-8 which makes it
421 gray rather than black like color-0 -TD
422 + drop misc/ncu-indent and misc/jpf-indent; they are provided by an
423 external package "cindent".
426 + improve linkages in html manpages, adding references to the newer
427 pages, e.g., *_variables, curs_sp_funcs, curs_threads.
428 + add checks in tic for inconsistent cursor-movement controls, and for
429 inconsistent printer-controls.
430 + fill in no-parameter forms of cursor-movement where a parameterized
431 form is available -TD
432 + fill in missing cursor controls where the form of the controls is
434 + fix inconsistent punctuation in form_variables manpage (patch by
436 + add parameterized cursor-controls to linux-basic (report by Dae) -TD
437 > patch by Juergen Pfeifer:
438 + document how to build 32-bit libraries in README.MinGW
439 + fixes to filename computation in mk-dlls.sh.in
440 + use POSIX locale in mk-dlls.sh.in rather than en_US (report by Sven
442 + add a check in mk-dlls.sh.in to obtain the size of a pointer to
443 distinguish between 32-bit and 64-bit hosts. The result is stored
447 + add "XT" capability to entries for terminals that support both
448 xterm-style mouse- and title-controls, for "screen" which
449 special-cases TERM beginning with "xterm" or "rxvt" -TD
450 > patch by Juergen Pfeifer:
451 + use 64-Bit MinGW toolchain (recommended package from TDM, see
453 + support pthreads when using the TDM MinGW toolchain
456 + regenerated html manpages.
457 + minor fixes for symlinks to curs_legacy.3x and curs_slk.3x manpages.
458 + add manpage for sp-funcs.
459 + add sp-funcs to test/listused.sh, for documentation aids.
462 + add manpages for summarizing public variables of curses-, terminfo-
464 + minor fixes to manpages for consistency (patch by Jason McIntyre).
465 + modify tic's -I/-C dump to reformat acsc strings into canonical form
466 (sorted, unique mapping) (cf: 971004).
467 + add configure check for pthread_kill(), needed for some old
471 + add configure option --without-tests, to suppress building test
472 programs (request by Frederic L W Meunier).
475 + modify nsterm, xnuppc and tek4115 to make sgr/sgr0 consistent -TD
476 + add check in terminfo source-reader to provide more informative
477 message when someone attempts to run tic on a compiled terminal
478 description (prompted by Debian #593920).
479 + note in infotocap and captoinfo manpages that they read terminal
480 descriptions from text-files (Debian #593920).
481 + improve acsc string for vt52, show arrow keys (patch by Benjamin
485 + document in manpages that "mv" functions first use wmove() to check
486 the window pointer and whether the position lies within the window
487 (suggested by Poul-Henning Kamp).
488 + fixes to curs_color.3x, curs_kernel.3x and wresize.3x manpages (patch
489 by Tim van der Molen).
490 + modify configure script to transform library names for tic- and
491 tinfo-libraries so that those build properly with Mac OS X shared
492 library configuration.
493 + modify configure script to ensure that it removes conftest.dSYM
494 directory leftover on checks with Mac OS X.
495 + modify configure script to cleanup after check for symbolic links.
498 + correct a typo in mk-1st.awk (patch by Gabriele Balducci)
500 + improve configure checks for location of tic and infocmp programs
501 used for installing database and for generating fallback data,
502 e.g., for cross-compiling.
503 + add Markus Kuhn's wcwidth function for compiling MinGW
504 + add special case to CF_REGEX for cross-compiling to MinGW target.
507 + modify initialization check for win32con driver to eliminate need for
508 special case for TERM "unknown", using terminal database if available
509 (prompted by discussion with Roumen Petrov).
510 + for MinGW port, ensure that terminal driver is setup if tgetent()
511 is called (patch by Roumen Petrov).
512 + document tabs "-0" and "-8" options in manpage.
513 + fix Debian "lintian" issues with manpages reported in
514 http://lintian.debian.org/full/csmall@debian.org.html#ncurses
517 + add a check in tic for missing set_tab if clear_all_tabs given.
518 + improve use of symbolic links in makefiles by using "-f" option if
519 it is supported, to eliminate temporary removal of the target
520 (prompted by http://www.t2-project.org/packages/ncurses.html)
521 + minor improvement to test/ncurses.c, reset color pairs in 'd' test
522 after exit from 'm' main-menu command.
523 + improved ncu-indent, from mawk changes, allows more than one of
524 GCC_NORETURN, GCC_PRINTFLIKE and GCC_SCANFLIKE on a single line.
527 + add hard-reset for rs2 to wsvt25 to help ensure that reset ends
528 the alternate character set (patch by Nicholas Marriott)
529 + remove tar-copy.sh and related configure/Makefile chunks, since the
530 Ada95 binding is now installed using rules in Ada95/src.
533 + continue integrating changes to use gnatmake project files in Ada95
534 + add/use configure check to turn on project rules for Ada95/src.
535 + revert the vfork change from 20100130, since it does not work.
538 + continue integrating changes to use gnatmake project files in Ada95
539 + old gnatmake (3.15) does not produce libraries using project-file;
540 work around by adding script to generate alternate makefile.
543 + continue integrating changes to use gnatmake project files in Ada95
544 + add configure --with-ada-sharedlib option, for the test_make rule.
545 + move Ada95-related logic into aclocal.m4, since additional checks
546 will be needed to distinguish old/new implementations of gnat.
549 + start integrating changes to use gnatmake project files in Ada95 tree
550 + add test_make / test_clean / test_install rules in Ada95/src
551 + change install-path for adainclude directory to /usr/share/ada (was
553 + update Ada95/configure.
554 + add mlterm+256color entry, for mlterm 3.0.0 -TD
555 + modify test/configure to use macros to ensure consistent order
556 of updating LIBS variable.
559 + change search order of options for Solaris in CF_SHARED_OPTS, to
560 work with 64-bit compiles.
561 + correct quoting of assignment in CF_SHARED_OPTS case for aix
565 + regenerated html documentation.
566 + modify test/configure to support pkg-config for checking X libraries
568 + add/use configure macro CF_ADD_LIB to force consistency of
569 assignments to $LIBS, etc.
570 + fix configure script for combining --with-pthread
571 and --enable-weak-symbols options.
574 + correct cross-compiling configure check for CF_MKSTEMP macro, by
575 adding a check cache variable set by AC_CHECK_FUNC (report by
577 + simplify include-dependencies of make_hash and make_keys, to reduce
578 the need for setting BUILD_CPPFLAGS in cross-compiling when the
579 build- and target-machines differ.
580 + repair broken-linker configuration by restoring a definition of SP
581 variable to curses.priv.h, and adjusting for cases where sp-funcs
583 + improve configure macro CF_AR_FLAGS, allowing ARFLAGS environment
584 variable to override (prompted by report by Pablo Cazallas).
587 + add configure option --enable-pthreads-eintr to control whether the
588 new EINTR feature is enabled.
589 + modify logic in pthread configuration to allow EINTR to interrupt
590 a read operation in wgetch() (Novell #540571, patch by Werner Fink).
591 + drop mkdirs.sh, use "mkdir -p".
592 + add configure option --disable-libtool-version, to use the
593 "-version-number" feature which was added in libtool 1.5 (report by
594 Peter Haering). The default value for the option uses the newer
595 feature, which makes libraries generated using libtool compatible
596 with the standard builds of ncurses.
597 + updated test/configure to match configure script macros.
598 + fixes for configure script from lynx changes:
599 + improve CF_FIND_LINKAGE logic for the case where a function is
600 found in predefined libraries.
601 + revert part of change to CF_HEADER (cf: 20100424)
604 + correct limit-check in wredrawln, accounting for begy/begx values
605 (patch by David Benjamin).
606 + fix most compiler warnings from clang.
607 + amend build-fix for OpenSolaris, to ensure that a system header is
608 included in curses.h before testing feature symbols, since they
609 may be defined by that route.
612 + fix some strict compiler warnings in ncurses library.
613 + modify configure macro CF_HEADER_PATH to not look for variations in
614 the predefined include directories.
615 + improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS to work
616 with gcc 4.x's c89 alias, which gives warning messages for cases
617 where older versions would produce an error.
620 + modify _nc_capcmp() to work with cancelled strings.
621 + correct translation of "^" in _nc_infotocap(), used to transform
622 terminfo to termcap strings
623 + add configure --disable-rpath-hack, to allow disabling the feature
624 which adds rpath options for libraries in unusual places.
625 + improve CF_RPATH_HACK_2 by checking if the rpath option for a given
626 directory was already added.
627 + improve CF_RPATH_HACK_2 by using ldd to provide a standard list of
628 directories (which will be ignored).
631 + improve win_driver.c handling of mouse:
632 + discard motion events
633 + avoid calling _nc_timed_wait when there is a mouse event
634 + handle 4th and "rightmost" buttons.
635 + quote substitutions in CF_RPATH_HACK_2 configure macro, needed for
636 cases where there are embedded blanks in the rpath option.
639 + add configure check for exctags vs ctags, to work around pkgsrc.
640 + simplify logic in _nc_get_screensize() to make it easier to see how
641 environment variables may override system- and terminfo-values
642 (prompted by discussion with Igor Bujna).
643 + make debug-traces for COLOR_PAIR and PAIR_NUMBER less verbose.
644 + improve handling of color-pairs embedded in attributes for the
645 extended-colors configuration.
646 + modify MKlib_gen.sh to build link_test with sp-funcs.
647 + build-fixes for OpenSolaris aka Solaris 11, for wide-character
648 configuration as well as for rpath feature in *-config scripts.
651 + refactor CF_SHARED_OPTS configure macro, making CF_RPATH_HACK more
653 + improve configure CF_REGEX, similar fixes.
654 + improve configure CF_FIND_LINKAGE, adding add check between system
655 (default) and explicit paths, where we can find the entrypoint in the
657 + add check if Gpm_Open() returns a -2, e.g., for "xterm". This is
658 normally suppressed but can be overridden using $NCURSES_GPM_TERMS.
659 Ensure that Gpm_Close() is called in this case.
662 + rename atari and st52 terminfo entries to atari-old, st52-old, use
663 newer entries from FreeMiNT by Guido Flohr (from patch/report by Alan
667 + modify install-rule for manpages so that *-config manpages will
668 install when building with --srcdir (report by Sven Joachim).
669 + modify CF_DISABLE_LEAKS configure macro so that the --enable-leaks
670 option is not the same as --disable-leaks (GenToo #305889).
671 + modify #define's for build-compiler to suppress cchar_t symbol from
672 compile of make_hash and make_keys, improving cross-compilation of
673 ncursesw (report by Bernhard Rosenkraenzer).
674 + modify CF_MAN_PAGES configure macro to replace all occurrences of
675 TPUT in tput.1's manpage (Debian #573597, report/analysis by Anders
679 + generate manpages for the *-config scripts, adapted from help2man
680 (suggested by Sven Joachim).
681 + use va_copy() in _nc_printf_string() to avoid conflicting use of
682 va_list value in _nc_printf_length() (report by Wim Lewis).
685 + add Ada95/configure script, to use in tar-file created by
687 + fix typo in wresize.3x (patch by Tim van der Molen).
688 + modify screen-bce.XXX entries to exclude ech, since screen's color
689 model does not clear with color for that feature -TD
692 + add make-tar.sh scripts to Ada95 and test subdirectories to help with
693 making those separately distributable.
694 + build-fix for static libraries without dlsym (Debian #556378).
695 + fix a syntax error in man/form_field_opts.3x (patch by Ingo
699 + add several screen-bce.XXX entries -TD
702 + update mrxvt terminfo entry -TD
703 + modify win_driver.c to support mouse single-clicks.
704 + correct name for termlib in ncurses*-config, e.g., if it is renamed
705 to provide a single file for ncurses/ncursesw libraries (patch by
709 + use vfork in test/ditto.c if available (request by Mike Frysinger).
710 + miscellaneous cleanup of manpages.
711 + fix typo in curs_bkgd.3x (patch by Tim van der Molen).
712 + build-fix for --srcdir (patch by Miroslav Lichvar).
715 + for term-driver configuration, ensure that the driver pointer is
716 initialized in setupterm so that terminfo/termcap programs work.
717 + amend fix for Debian #542031 to ensure that wattrset() returns only
718 OK or ERR, rather than the attribute value (report by Miroslav
720 + reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making
721 _nc_screen_of() compatible between normal/wide libraries again (patch
723 + review/fix include-dependencies in modules files (report by Miroslav
727 + modify win_driver.c to initialize acs_map for win32 console, so
728 that line-drawing works.
729 + modify win_driver.c to initialize TERMINAL struct so that programs
730 such as test/lrtest.c and test/ncurses.c which test string
731 capabilities can run.
732 + modify term-driver modules to eliminate forward-reference
736 + modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS
737 consistently to add new -D's while removing duplicates.
738 + modify a few configure macros to consistently put new options
739 before older in the list.
740 + add tiparm(), based on review of X/Open Curses Issue 7.
741 + minor documentation cleanup.
742 + update config.guess, config.sub from
743 http://savannah.gnu.org/projects/config
744 (caveat - its maintainer put 2010 copyright date on files dated 2009)
747 + minor improvement to tic's checking of similar SGR's to allow for the
748 most common case of SGR 0.
749 + modify getmouse() to act as its documentation implied, returning on
750 each call the preceding event until none are left. When no more
751 events remain, it will return ERR.
754 + change order of lookup in progs/tput.c, looking for terminfo data
755 first. This fixes a confusion between termcap "sg" and terminfo
756 "sgr" or "sgr0", originally from 990123 changes, but exposed by
757 20091114 fixes for hashing. With this change, only "dl" and "ed" are
758 ambiguous (Mandriva #56272).
761 + add bterm terminfo entry, based on bogl 0.1.18 -TD
762 + minor fix to rxvt+pcfkeys terminfo entry -TD
763 + build-fixes for Ada95 tree for gnat 4.4 "style".
766 + remove old check in mvderwin() which prevented moving a derived
767 window whose origin happened to coincide with its parent's origin
768 (report by Katarina Machalkova).
769 + improve test/ncurses.c to put mouse droppings in the proper window.
770 + update minix terminfo entry -TD
771 + add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
774 + correct transfer of multicolumn characters in multirow
775 field_buffer(), which stopped at the end of the first row due to
776 filling of unused entries in a cchar_t array with nulls.
777 + updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
778 + modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character
780 + use strdup() in set_menu_mark(), restore .marklen struct member on
782 + eliminate clause 3 from the UCB copyrights in read_termcap.c and
784 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
785 (patch by Nicholas Marriott).
786 + replace a malloc in tic.c with strdup, checking for failure (patch by
788 + update config.guess, config.sub from
789 http://savannah.gnu.org/projects/config
792 + correct layout of working window used to extract data in
793 wide-character configured by set_field_buffer (patch by Rafael
795 + improve some limit-checks related to filename length in reading and
796 writing terminfo entries.
797 + ensure that filename is always filled in when attempting to read
798 a terminfo entry, so that infocmp can report the filename (patch
799 by Nicholas Marriott).
802 + modify mk-1st.awk to allow tinfo library to be built when term-driver
804 + add error-check to configure script to ensure that sp-funcs is
805 enabled if term-driver is, since some internal interfaces rely upon
809 + fix case where progs/tput is used while sp-funcs is configure; this
810 requires save/restore of out-character function from _nc_prescreen
811 rather than the SCREEN structure (report by Charles Wilson).
812 + fix typo in man/curs_trace.3x which caused incorrect symbolic links
813 + improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
817 + updated man/curs_trace.3x
818 + limit hashing for termcap-names to 2-characters (Ubuntu #481740).
819 + change a variable name in lib_newwin.c to make it clearer which
820 value is being freed on error (patch by Nicholas Marriott).
823 + improve test/ncurses.c color-cycling test by reusing attribute-
824 and color-cycling logic from the video-attributes screen.
825 + add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form
826 library which help make it compatible with interop applications
827 (patch by Juergen Pfeifer).
828 + add configure option --enable-interop, for integrating changes
829 for generic/interop support to form-library by Juergen Pfeifer
832 + modify use of $CC environment variable which is defined by X/Open
833 as a curses feature, to ignore it if it is not a single character
834 (prompted by discussion with Benjamin C W Sittler).
835 + add START_TRACE in slk_init
836 + fix a regression in _nc_ripoffline which made test/ncurses.c not show
837 soft-keys, broken in 20090927 merging.
838 + change initialization of "hidden" flag for soft-keys from true to
839 false, broken in 20090704 merging (Ubuntu #464274).
840 + update nsterm entries (patch by Benjamin C W Sittler, prompted by
841 discussion with Fabian Groffen in GenToo #206201).
842 + add test/xterm-256color.dat
845 + quiet some pedantic gcc warnings.
846 + modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
847 SIGWINCH, and discard that value, to avoid confusing application
848 (patch by Eygene Ryabinkin, FreeBSD bin/136223).
851 + modify handling of $PKG_CONFIG_LIBDIR to use only the first item in
852 a possibly colon-separated list (Debian #550716).
855 + supply a null-terminator to buffer in _nc_viswibuf().
856 + fix a sign-extension bug in unget_wch() (report by Mike Gran).
857 + minor fixes to error-returns in default function for tputs, as well
861 + add WACS_xxx definitions to wide-character configuration for thick-
862 and double-lines (discussion with Slava Zanko).
863 + remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
864 + add ccc and initc capabilities to xterm-16color -TD
865 > patch by Benjamin C W Sittler:
867 + correct initc capability of linux-c-nc end-of-range
868 + similar change for dg+ccc and dgunix+ccc
871 + move leak-checking for comp_captab.c into _nc_leaks_tinfo() since
872 that module since 20090711 is in libtinfo.
873 + add configure option --enable-term-driver, to allow compiling with
874 terminal-driver. That is used in MinGW port, and (being somewhat
875 more complicated) is an experimental alternative to the conventional
876 termlib internals. Currently, it requires the sp-funcs feature to
878 + completed integrating "sp-funcs" by Juergen Pfeifer in ncurses
879 library (some work remains for forms library).
882 + document return code from define_key (report by Mike Gran).
883 + make some symbolic links in the terminfo directory-tree shorter
884 (patch by Daniel Jacobowitz, forwarded by Sven Joachim).).
885 + fix some groff warnings in terminfo.5, etc., from recent Debian
887 + change ncv and op capabilities in sun-color terminfo entry to match
888 Sun's entry for this (report by Laszlo Peter).
889 + improve interix smso terminfo capability by using reverse rather than
890 bold (report by Kristof Zelechovski).
893 + add some test programs (and make these use the same special keys
894 by sharing linedata.h functions):
898 test/test_add_wchstr.c
899 + correct internal _nc_insert_ch() to use _nc_insert_wch() when
900 inserting wide characters, since the wins_wch() function that it used
901 did not update the cursor position (report by Ciprian Craciun).
904 + fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not
906 + add null-pointer checks to other opaque-functions.
907 + add is_pad() and is_subwin() functions for opaque access to WINDOW
908 (discussion with Mark Dickinson).
909 + correct merge to lib_newterm.c, which broke when sp-funcs was
913 + build-fix for building outside source-tree (report by Sven Joachim).
914 + fix Debian lintian warning for man/tabs.1 by making section number
915 agree with file-suffix (report by Sven Joachim).
916 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
919 + workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on
920 amd64 (Debian #542031).
921 + fix typo in curs_mouse.3x (Debian #429198).
924 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
927 + correct use of terminfo capabilities for initializing soft-keys,
928 broken in 20090509 merging.
929 + modify wgetch() to ensure it checks SIGWINCH when it gets an error
930 in non-blocking mode (patch by Clemens Ladisch).
931 + use PATH_SEPARATOR symbol when substituting into run_tic.sh, to
932 help with builds on non-Unix platforms such as OS/2 EMX.
933 + modify scripting for misc/run_tic.sh to test configure script's
934 $cross_compiling variable directly rather than comparing host/build
935 compiler names (prompted by comment in GenToo #249363).
936 + fix configure script option --with-database, which was coded as an
938 + build-fixes for --srcdir (report by Frederic L W Meunier).
941 + separate _nc_find_entry() and _nc_find_type_entry() from
942 implementation details of hash function.
945 + add tabs.1 to man/man_db.renames
946 + modify lib_addch.c to compensate for removal of wide-character test
947 from unctrl() in 20090704 (Debian #539735).
950 + improve discussion in INSTALL for use of system's tic/infocmp for
951 cross-compiling and building fallbacks.
952 + modify test/demo_termcap.c to correspond better to options in
954 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
955 + fix logic for 'V' in test/ncurses.c tests f/F.
958 + correct logic in tigetnum(), which caused tput program to treat all
959 string capabilities as numeric (report by Rajeev V Pillai,
963 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
966 + fix a null-pointer check in _nc_format_slks() in lib_slk.c, from
968 + modify _nc_find_type_entry() to use hashing.
969 + make CCHARW_MAX value configurable, noting that changing this would
970 change the size of cchar_t, and would be ABI-incompatible.
971 + modify test-programs, e.g,. test/view.c, to address subtle
972 differences between Tru64/Solaris and HPUX/AIX getcchar() return
974 + modify length returned by getcchar() to count the trailing null
975 which is documented in X/Open (cf: 20020427).
976 + fixes for test programs to build/work on HPUX and AIX, etc.
979 + improve performance of tigetstr, etc., by using hashing code from tic.
980 + minor fixes for memory-leak checking.
981 + add test/demo_terminfo, for comparison with demo_termcap
984 + remove wide-character checks from unctrl() (patch by Clemens Ladisch).
985 + revise wadd_wch() and wecho_wchar() to eliminate dependency on
987 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
990 + update llib-lncurses[wt] to use sp-funcs.
991 + various code-fixes to build/work with --disable-macros configure
993 + add several new files from Juergen Pfeifer which will be used when
994 integration of "sp-funcs" is complete. This includes a port to
998 + move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to
999 make includes of term.h without curses.h work (report by "Nix").
1000 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1003 + fix a regression in lib_tputs.c, from ongoing merges.
1006 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1009 + fix an infinite recursion when adding a legacy-coding 8-bit value
1010 using insch() (report by Clemens Ladisch).
1011 + free home-terminfo string in del_curterm() (patch by Dan Weber).
1012 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1015 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1018 + work around antique BSD game's manipulation of stdscr, etc., versus
1019 SCREEN's copy of the pointer (Debian #528411).
1020 + add a cast to wattrset macro to avoid compiler warning when comparing
1021 its result against ERR (adapted from patch by Matt Kraii, Debian
1025 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1028 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1029 + add vwmterm terminfo entry (patch by Bryan Christ).
1032 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1035 + build fix for _nc_free_and_exit() change in 20090418 (report by
1039 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1042 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1043 This change finishes merging for menu and panel libraries, does
1044 part of the form library.
1047 + suppress configure check for static/dynamic linker flags for gcc on
1048 Darwin (report by Nelson Beebe).
1051 + extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
1052 function key definitions from emx-base for consistency -TD
1053 + correct missing final 'p' in pfkey capability of ansi.sys-old (report
1054 by Kalle Olavi Niemitalo).
1055 + improve test/ncurses.c 'F' test, show combining characters in color.
1056 + quiet a false report by cppcheck in c++/cursesw.cc by eliminating
1057 a temporary variable.
1058 + use _nc_doalloc() rather than realloc() in a few places in ncurses
1059 library to avoid leak in out-of-memory condition (reports by William
1060 Egert and Martin Ettl based on cppcheck tool).
1061 + add --with-ncurses-wrap-prefix option to test/configure (discussion
1062 with Charles Wilson).
1063 + use ncurses*-config scripts if available for test/configure.
1064 + update test/aclocal.m4 and test/configure
1065 > patches by Charles Wilson:
1066 + modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
1067 version numbers (e.g. which include alphabetic chars, as well as
1068 digits, after the final '.').
1069 + improve use of -no-undefined option for libtool by setting an
1070 intermediate variable LT_UNDEF in the configure script, and then
1071 using that in the libtool link-commands.
1072 + fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
1073 from 2009031 changes.
1074 + improve mk-1st.awk script by writing separate cases for the
1075 LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
1076 termlib) is to be linked.
1077 + modify configure.in to allow broken-linker configurations, not just
1078 enable-reentrant, to set public wrap prefix.
1081 + add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
1082 build with tic and term libraries (patch by Charles Wilson).
1083 + add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
1084 (report by Charles Wilson).
1085 + fix definition for c++/Makefile.in's SHLIB_LIST, which did not list
1086 the form, menu or panel libraries (patch by Charles Wilson).
1087 + add configure option --with-wrap-prefix to allow setting the prefix
1088 for functions used to wrap global variables to something other than
1089 "_nc_" (discussion with Charles Wilson).
1092 + modify scripts to generate ncurses*-config and pc-files to add
1093 dependency for tinfo library (patch by Charles Wilson).
1094 + improve comparison of program-names when checking for linked flavors
1095 such as "reset" by ignoring the executable suffix (reports by Charles
1096 Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
1098 + suppress configure check for static/dynamic linker flags for gcc on
1099 Solaris 10, since gcc is confused by absence of static libc, and
1100 does not switch back to dynamic mode before finishing the libraries
1101 (reports by Joel Bertrand, Alan Pae).
1102 + minor fixes to Intel compiler warning checks in configure script.
1103 + modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
1104 + modify set_curterm() to make broken-linker configuration work with
1105 changes from 20090228 (report by Charles Wilson).
1108 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1109 + modify declaration of cur_term when broken-linker is used, but
1110 enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
1113 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1116 + add configure script --enable-sp-funcs to enable the new set of
1118 + start integrating patches by Juergen Pfeifer:
1119 + add extended functions which specify the SCREEN pointer for several
1120 curses functions which use the global SP (these are incomplete;
1121 some internals work is needed to complete these).
1122 + add special cases to configure script for MinGW port.
1125 + update several configure macros from lynx changes
1126 + append (not prepend) to CFLAGS/CPPFLAGS
1127 + change variable from PATHSEP to PATH_SEPARATOR
1128 + improve install-rules for pc-files (patch by Miroslav Lichvar).
1129 + make it work with $DESTDIR
1130 + create the pkg-config library directory if needed.
1133 + modify init_pair() to allow caller to create extra color pairs beyond
1134 the color_pairs limit, which use default colors (request by Emanuele
1136 + add misc/terminfo.tmp and misc/*.pc to "sources" rule.
1137 + fix typo "==" where "=" is needed in ncurses-config.in and
1138 gen-pkgconfig.in files (Debian #512161).
1141 + add -shared option to MK_SHARED_LIB when -Bsharable is used, for
1142 *BSD's, without which "main" might be one of the shared library's
1143 dependencies (report/analysis by Ken Dickey).
1144 + modify waddch_literal(), updating line-pointer after a multicolumn
1145 character is found to not fit on the current row, and wrapping is
1146 done. Since the line-pointer was not updated, the wrapped
1147 multicolumn character was written to the beginning of the current row
1148 (cf: 20041023, reported by "Nick" regarding problem with ncmpc
1149 http://musicpd.org/mantis/bug_view_page.php?bug_id=1930).
1152 + add screen.Eterm terminfo entry (GenToo #124887) -TD
1153 + modify adacurses-config to look for ".ali" files in the adalib
1155 + correct install for Ada95, which omitted libAdaCurses.a used in
1157 + change install for adacurses-config to provide additional flavors
1158 such as adacursesw-config, for ncursesw (GenToo #167849).
1161 + remove undeveloped feature in ncurses-config.in for setting
1163 + recent change to ncurses-config.in did not take into account the
1164 --disable-overwrite option, which sets $includedir to the
1165 subdirectory and using just that for a -I option does not work - fix
1166 (report by Frederic L W Meunier).
1169 + modify gen-pkgconfig.in to eliminate a dependency on rpath when
1170 deciding whether to add $LIBS to --libs output; that should be shown
1171 for the ncurses and tinfo libraries without taking rpath into
1173 + fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
1174 used in static libraries (report by Marty Jack).
1177 + add a configure-time check to pick a suitable value for
1178 CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).
1179 + add configure --with-pkg-config and --enable-pc-files options, along
1180 with misc/gen-pkgconfig.in which can be used to generate ".pc" files
1181 for pkg-config (request by Jan Engelhardt).
1182 + use $includedir symbol in misc/ncurses-config.in, add --includedir
1184 + change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a
1185 configure check to detect whether a "-" is needed before "ar"
1187 + update config.guess, config.sub from
1188 http://savannah.gnu.org/projects/config
1191 + modify mk-1st.awk to work with extra categories for tinfo library.
1192 + modify configure script to allow building shared libraries with gcc
1193 on AIX 5 or 6 (adapted from patch by Lital Natan).
1196 + modify to omit the opaque-functions from lib_gen.o when
1197 --disable-ext-funcs is used.
1198 + add test/clip_printw.c to illustrate how to use printw without
1200 + modify ncurses 'F' test to demo wborder_set() with colored lines.
1201 + modify ncurses 'f' test to demo wborder() with colored lines.
1204 + add check for failure to open hashed-database needed for db4.6
1206 + corrected --without-manpages option; previous change only suppressed
1207 the auxiliary rules install.man and uninstall.man
1208 + add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
1210 + fixes from NetBSD port at
1211 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
1212 patch-ac (build-fix for DragonFly)
1213 patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
1214 + improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
1215 by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
1217 + correct title string for keybound manpage (patch by Frederic Culot,
1218 OpenBSD documentation/6019),
1221 + move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
1222 work for progs/clear, progs/tabs, etc.
1223 + correct buffer-size after internal resizing of wide-character
1224 set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
1225 + add "-i" option to test/filter.c to tell it to use initscr() rather
1226 than newterm(), to investigate report on comp.unix.programmer that
1227 ncurses would clear the screen in that case (it does not - the issue
1228 was xterm's alternate screen feature).
1229 + add check in mouse-driver to disable connection if GPM returns a
1230 zero, indicating that the connection is closed (Debian #506717,
1231 adapted from patch by Samuel Thibault).
1234 + improve a workaround in adding wide-characters, when a control
1235 character is found. The library (cf: 20040207) uses unctrl() to
1236 obtain a printable version of the control character, but was not
1237 passing color or video attributes.
1238 + improve test/ncurses.c 'a' test, using unctrl() more consistently to
1239 display meta-characters.
1240 + turn on _XOPEN_CURSES definition in curses.h
1241 + add eterm-color entry (report by Vincent Lefevre) -TD
1242 + correct use of key_name() in test/ncurses.c 'A' test, which only
1243 displays wide-characters, not key-codes since 20070612 (report by
1247 + change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
1248 Ada95 (patch by Juergen Pfeifer).
1249 + document in TO-DO an issue with Cygwin's package for GNAT (report
1251 + improve error-checking of command-line options in "tabs" program.
1254 + change several terminfo entries to make consistent use of ANSI
1256 + add "tabs" program (prompted by Debian #502260).
1257 + add configure --without-manpages option (request by Mike Frysinger).
1259 20081102 5.7 release for upload to ftp.gnu.org
1262 + add a manpage to discuss memory leaks.
1263 + add support for shared libraries for QNX (other than libtool, which
1264 does not work well on that platform).
1265 + build-fix for QNX C++ binding.
1268 + build-fixes for OS/2 EMX.
1269 + modify form library to accept control characters such as newline
1270 in set_field_buffer(), which is compatible with Solaris (report by
1272 + modify configure script to assume --without-hashed-db when
1273 --disable-database is used.
1274 + add "-e" option in ncurses/Makefile.in when generating source-files
1275 to force earlier exit if the build environment fails unexpectedly
1276 (prompted by patch by Adrian Bunk).
1277 + change configure script to use CF_UTF8_LIB, improved variant of
1281 + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
1282 original to teraterm2.3 -TD
1283 + update "gnome" terminfo to 2.22.3 -TD
1284 + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
1285 + add "aterm" terminfo -TD
1286 + add "linux2.6.26" terminfo -TD
1287 + add logic to tic for cancelling strings in user-defined capabilities,
1291 + regenerated html documentation.
1292 + add -m and -s options to test/keynames.c and test/key_names.c to test
1293 the meta() function with keyname() or key_name(), respectively.
1294 + correct return value of key_name() on error; it is null.
1295 + document some unresolved issues for rpath and pthreads in TO-DO.
1296 + fix a missing prototype for ioctl() on OpenBSD in tset.c
1297 + add configure option --disable-tic-depends to make explicit whether
1298 tic library depends on ncurses/ncursesw library, amends change from
1299 20080823 (prompted by Debian #501421).
1302 + some build-fixes for configure --disable-ext-funcs (incomplete, but
1303 works for C/C++ parts).
1304 + improve configure-check for awks unable to handle large strings, e.g.
1305 AIX 5.1 whose awk silently gives up on large printf's.
1308 + fix build for --with-dmalloc by workaround for redefinition of
1309 strndup between string.h and dmalloc.h
1310 + fix build for --disable-sigwinch
1311 + add environment variable NCURSES_GPM_TERMS to allow override to use
1312 GPM on terminals other than "linux", etc.
1313 + disable GPM mouse support when $TERM does not happen to contain
1314 "linux", since Gpm_Open() no longer limits its assertion to terminals
1315 that it might handle, e.g., within "screen" in xterm.
1316 + reset mouse file-descriptor when unloading GPM library (report by
1318 + fix build for --disable-leaks --enable-widec --with-termlib
1319 > patch by Juergen Pfeifer:
1320 + use improved initialization for soft-label keys in Ada95 sample code.
1321 + discard internal symbol _nc_slk_format (unused since 20080112).
1322 + move call of slk_paint_info() from _nc_slk_initialize() to
1323 slk_intern_refresh(), improving initialization.
1326 + fix bug in mouse code for GPM from 20080920 changes (reported in
1327 Debian #500103, also Miroslav Lichvar).
1330 + fix shared-library rules for cygwin with tic- and tinfo-libraries.
1331 + fix a memory leak when failure to connect to GPM.
1332 + correct check for notimeout() in wgetch() (report on linux.redhat
1333 newsgroup by FurtiveBertie).
1334 + add an example warning-suppression file for valgrind,
1335 misc/ncurses.supp (based on example from Reuben Thomas)
1338 + change shared-library configuration for OpenBSD, make rpath work.
1339 + build-fixes for using libutf8, e.g., on OpenBSD 3.7
1342 + corrected fix for --enable-weak-symbols (report by Frederic L W
1346 + corrected gcc options for building shared libraries on IRIX64.
1347 + add configure check for awk programs unable to handle big-strings,
1348 use that to improve the default for --enable-big-strings option.
1349 + makefile-fixes for --enable-weak-symbols (report by Frederic L W
1351 + update test/configure script.
1352 + adapt ifdef's from library to make test/view.c build when mbrtowc()
1353 is unavailable, e.g., with HPUX 10.20.
1354 + add configure check for wcsrtombs, mbsrtowcs, which are used in
1355 test/ncurses.c, and use wcstombs, mbstowcs instead if available,
1356 fixing build of ncursew for HPUX 11.00
1359 + fixes to make Ada95 demo_panels() example work.
1360 + modify Ada95 'rain' test program to accept keyboard commands like the
1362 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott
1364 + add configure-check to see if the std namespace is legal for cerr
1365 and endl, to fix a build issue with Tru64.
1366 + consistently use NCURSES_BOOL in lib_gen.c
1367 + filter #line's from lib_gen.c
1368 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
1369 substitution by IBM xlc to '#' as part of its extensions to digraphs.
1370 + update config.guess, config.sub from
1371 http://savannah.gnu.org/projects/config
1372 (caveat - its maintainer removed support for older Linux systems).
1375 + modify configure check for pthread library to work with OSF/1 5.1,
1376 which uses #define's to associate its header and library.
1377 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
1378 makes threaded code work on HPUX 11.23
1379 + fix a bug in demo_menus in freeing menus (cf: 20080804).
1380 + modify configure script for the case where tic library is used (and
1381 possibly renamed) to remove its dependency upon ncurses/ncursew
1382 library (patch by Dr Werner Fink).
1383 + correct manpage for menu_fore() which gave wrong default for
1384 the attribute used to display a selected entry (report by Mike Gran).
1385 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
1389 + add configure option --enable-weak-symbols to turn on new feature.
1390 + add configure-check for availability of weak symbols.
1391 + modify linkage with pthread library to use weak symbols so that
1392 applications not linked to that library will not use the mutexes,
1393 etc. This relies on gcc, and may be platform-specific (patch by Dr
1395 + add note to INSTALL to document limitation of renaming of tic library
1396 using the --with-ticlib configure option (report by Dr Werner Fink).
1397 + document (in manpage) why tputs does not detect I/O errors (prompted
1398 by comments by Samuel Thibault).
1399 + fix remaining warnings from Klocwork report.
1402 + modify _nc_panelhook() data to account for a permanent memory leak.
1403 + fix memory leaks in test/demo_menus
1404 + fix most warnings from Klocwork tool (report by Larry Zhou).
1405 + modify configure script CF_XOPEN_SOURCE macro to add case for
1406 "dragonfly" from xterm #236 changes.
1407 + modify configure script --with-hashed-db to let $LIBS override the
1408 search for the db library (prompted by report by Samson Pierre).
1411 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
1415 + build-fix (reports by Christian Ebert, Funda Wang).
1418 + compiler-warning fixes for Solaris.
1421 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
1422 make those work properly with the "--enable-ext-mouse" configuration
1424 + improve documentation of build-cc options in INSTALL.
1425 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the
1426 -static/-dynamic flags properly to linker, causing test/bs to
1430 + correct some ifdef's needed for the broken-linker configuration.
1431 + make debugging library's $BAUDRATE feature work for termcap
1433 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted
1434 by comment on FreeBSD mailing list).
1435 + add screen.mlterm terminfo entry -TD
1436 + improve mlterm and mlterm+pcfkeys terminfo entries -TD
1439 + regenerated html documentation.
1440 + expand manpage description of parameters for form_driver() and
1441 menu_driver() (prompted by discussion with Adam Spragg).
1442 + add null-pointer checks for cur_term in baudrate() and
1443 def_shell_mode(), def_prog_mode()
1444 + fix some memory leaks in delscreen() and wide acs.
1447 + modify test/ditto.c to illustrate multi-threaded use_screen().
1448 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
1449 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
1453 + finish changes to wgetch(), making it switch as needed to the
1454 window's actual screen when calling wrefresh() and wgetnstr(). That
1455 allows wgetch() to get used concurrently in different threads with
1456 some minor restrictions, e.g., the application should not delete a
1457 window which is being used in a wgetch().
1458 + simplify mutex's, combining the window- and screen-mutex's.
1461 + modify wgetch() to use the screen which corresponds to its window
1462 parameter rather than relying on SP; some dependent functions still
1464 + factor out most use of SP in lib_mouse.c, using parameter.
1465 + add internal _nc_keyname(), replacing keyname() to associate with a
1466 particular SCREEN rather than the global SP.
1467 + add internal _nc_unctrl(), replacing unctrl() to associate with a
1468 particular SCREEN rather than the global SP.
1469 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
1470 its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
1471 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
1472 preference to the global _nc_globals.tracechr_buf buffer.
1475 + modify _nc_keypad() to make it switch temporarily as needed to the
1476 screen which must be updated.
1477 + wrap cur_term variable to help make _nc_keymap() thread-safe, and
1478 always set the screen's copy of this variable in set_curterm().
1479 + restore curs_set() state after endwin()/refresh() (report/patch
1483 + modify configure script to note that --enable-ext-colors and
1484 --enable-ext-mouse are not experimental, but extensions from
1486 + corrected manpage description of setcchar() (discussion with
1487 Emanuele Giaquinta).
1488 + fix for adding a non-spacing character at the beginning of a line
1489 (report/patch by Miroslav Lichvar).
1492 + modify screen.* terminfo entries using new screen+fkeys to fix
1493 overridden keys in screen.rxvt (Debian #478094) -TD
1494 + modify internal interfaces to reduce wgetch()'s dependency on the
1496 + simplify some loops with macros each_screen(), each_window() and
1500 + continue modifying test/ditto.c toward making it demonstrate
1501 multithreaded use_screen(), using fifos to pass data between screens.
1502 + fix typo in form.3x (report by Mike Gran).
1505 + add screen.rxvt terminfo entry -TD
1506 + modify tic -f option to format spaces as \s to prevent them from
1507 being lost when that is read back in unformatted strings.
1508 + improve test/ditto.c, using a "talk"-style layout.
1511 + change test/ditto.c to use openpty() and xterm.
1512 + add locks for copywin(), dupwin(), overlap(), overlay() on their
1514 + add locks for initscr() and newterm() on updates to the SCREEN
1516 + finish table in curs_thread.3x manpage.
1519 + begin table in curs_thread.3x manpage describing the scope of data
1520 used by each function (or symbol) for threading analysis.
1521 + add null-pointer checks to setsyx() and getsyx() (prompted by
1522 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
1523 python-dev2 mailing list).
1526 + add null-pointer checks in set_term() and delscreen().
1527 + move _nc_windows into _nc_globals, since windows can be pads, which
1528 are not associated with a particular screen.
1529 + change use_screen() to pass the SCREEN* parameter rather than
1530 stdscr to the callback function.
1531 + force libtool to use tag for 'CC' in case it does not detect this,
1532 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
1533 (report/patch by Michael Haubenwallner).
1534 + override OBJEXT to "lo" when building with libtool, to work on
1535 platforms such as AIX where libtool may use a different suffix for
1536 the object files than ".o" (report/patch by Michael Haubenwallner).
1537 + add configure --with-pthread option, for building with the POSIX
1541 + fill in extended-color pair two more places in wbkgrndset() and
1542 waddch_nosync() (prompted by Sedeno's patch).
1543 + fill in extended-color pair in _nc_build_wch() to make colors work
1544 for wide-characters using extended-colors (patch by Alejandro R
1546 + add x/X toggles to ncurses.c C color test to test/demo
1547 wide-characters with extended-colors.
1548 + add a/A toggles to ncurses.c c/C color tests.
1549 + modify test/ditto.c to use use_screen().
1550 + finish modifying test/rain.c to demonstrate threads.
1553 + start modifying test/rain.c for threading demo.
1554 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
1555 that the 'F' accepts.
1556 + modify test/worm.c to show trail in reverse-video when other threads
1557 are working concurrently.
1558 + fix a deadlock from improper nesting of mutexes for windowlist and
1562 + fixes from 20080223 resolved issue with mutexes; change to use
1563 recursive mutexes to fix memory leak in delwin() as called from
1564 _nc_free_and_exit().
1567 + fix a size-difference in _nc_globals which caused hanging of mutex
1568 lock/unlock when termlib was built separately.
1571 + avoid using nanosleep() in threaded configuration since that often
1572 is implemented to suspend the entire process.
1575 + update test programs to build/work with various UNIX curses for
1576 comparisons. This was to reinvestigate statement in X/Open curses
1577 that insnstr and winsnstr perform wrapping. None of the Unix-branded
1578 implementations do this, as noted in manpage (cf: 20040228).
1581 + modify _nc_setupscreen() to set the legacy-coding value the same
1582 for both narrow/wide models. It had been set only for wide model,
1583 but is needed to make unctrl() work with locale in the narrow model.
1584 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
1585 using unctrl() to display illegal bytes rather than trying to append
1586 further bytes to make up a valid sequence (reported by Andrey A
1588 + modify unctrl() to check codes in 128-255 range versus isprint().
1589 If they are not printable, and locale was set, use a "M-" or "~"
1593 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
1594 handling). Now it hangs in napms(), no matter whether nanosleep()
1595 or poll() or select() are used on Linux.
1598 + fixes to build with --disable-ext-funcs
1599 + add manpage for use_window and use_screen.
1600 + add set_tabsize() and set_escdelay() functions.
1603 + remove recursive-mutex definitions, finish threading demo for worm.c
1604 + remove a redundant adjustment of lines in resizeterm.c's
1605 adjust_window() which caused occasional misadjustment of stdscr when
1609 + several improvements to terminfo entries based on xterm #230 -TD
1610 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
1611 "link_test" builds properly.
1612 + fix for toe command-line options -u/-U to ensure filename is given.
1613 + fix allocation-size for command-line parsing in infocmp from 20070728
1614 (report by Miroslav Lichvar)
1615 + improve resizeterm() by moving ripped-off lines, and repainting the
1616 soft-keys (report by Katarina Machalkova)
1617 + add clarification in wclear's manpage noting that the screen will be
1618 cleared even if a subwindow is cleared (prompted by Christer Enfors
1620 + change test/ncurses.c soft-key tests to work with KEY_RESIZE.
1623 + continue implementing support for threading demo by adding mutex
1627 + add several functions to C++ binding which wrap C functions that
1628 pass a WINDOW* parameter (request by Chris Lee).
1631 + add note about configure options needed for Berkeley database to the
1633 + improve checks for version of Berkeley database libraries.
1634 + amend fix for rpath to not modify LDFLAGS if the platform has no
1635 applicable transformation (report by Christian Ebert, cf: 20071124).
1638 + modify configure option --with-hashed-db to accept a parameter which
1639 is the install-prefix of a given Berkeley Database (prompted by
1640 pierre4d2 comments).
1641 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is
1642 used in the form library to determine the length of the buffer needed
1643 by field_buffer (report by Alfred Fung).
1644 + remove unneeded window-parameter from C++ binding for wresize (report
1648 + modify the support for filesystems which do not support mixed-case to
1649 generate 2-character (hexadecimal) codes for the lower-level of the
1650 filesystem terminfo database (request by Michail Vidiassov).
1651 + add configure option --enable-mixed-case, to allow overriding the
1652 configure script's check if the filesystem supports mixed-case
1654 + add wresize() to C++ binding (request by Chris Lee).
1655 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
1656 it simpler to tell if the extended functions and/or colors are
1660 + update memory-leak checks for changes to names.c and codes.c
1661 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
1664 + continue implementing support for threading demo by adding mutex
1666 + add mrxvt terminfo entry, add/fix xterm building blocks for modified
1668 + compile with FreeBSD "contemporary" TTY interface (patch by
1672 + modify makefile rules to allow clear, tput and tset to be built
1673 without libtic. The other programs (infocmp, tic and toe) rely on
1675 + add/modify null-pointer checks in several functions for SP and/or
1676 the WINDOW* parameter (report by Thorben Krueger).
1677 + fixes for field_buffer() in formw library (see Redhat Bugzilla
1678 #310071, patches by Miroslav Lichvar).
1679 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
1681 + update/improve mlterm and rxvt terminfo entries, e.g., for
1682 the modified cursor- and keypad-keys -TD
1685 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
1686 changes the CharEq() macro to an inline function to allow comparing
1687 cchar_t struct's without comparing gaps in a possibly unpacked
1688 memory layout (report by Miroslav Lichvar).
1691 + add new functions to lib_trace.c to setup mutex's for the _tracef()
1692 calls within the ncurses library.
1693 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into
1695 + start modifying test/worm.c to provide threading demo (incomplete).
1696 + separated ifdef's for some BSD-related symbols in tset.c, to make
1697 it compile on LynxOS (report by Greg Gemmer).
1699 + modify Ada95/gen/Makefile to use shlib script, to simplify building
1700 shared-library configuration on platforms lacking rpath support.
1701 + build-fix for Ada95/src/Makefile to reflect changed dependency for
1702 the terminal-interface-curses-aux.adb file which is now generated.
1703 + restructuring test/worm.c, for use_window() example.
1706 + add use_window() and use_screen() functions, to develop into support
1707 for threaded library (incomplete).
1708 + fix typos in man/curs_opaque.3x which kept the install script from
1709 creating symbolic links to two aliases created in 20070818 (report by
1713 + remove a spurious newline from output of html.m4, which caused links
1714 for Ada95 html to be incorrect for the files generated using m4.
1715 + start investigating mutex's for SCREEN manipulation (incomplete).
1716 + minor cleanup of codes.c/names.c for --enable-const
1717 + expand/revise "Routine and Argument Names" section of ncurses manpage
1718 to address report by David Givens in newsgroup discussion.
1719 + fix interaction between --without-progs/--with-termcap configure
1720 options (report by Michail Vidiassov).
1721 + fix typo in "--disable-relink" option (report by Michail Vidiassov).
1724 + fix a sign-extension bug in infocmp's repair_acsc() function
1726 + fix old configure script bug which prevented "--disable-warnings"
1727 option from working (patch by Mike Frysinger).
1730 + add 9term terminal description (request by Juhapekka Tolvanen) -TD
1731 + modify comp_hash.c's string output to avoid misinterpreting a null
1732 "\0" followed by a digit.
1733 + modify MKnames.awk and MKcodes.awk to support big-strings.
1734 This only applies to the cases (broken linker, reentrant) where
1735 the corresponding arrays are accessed via wrapper functions.
1736 + split MKnames.awk into two scripts, eliminating the shell redirection
1737 which complicated the make process and also the bogus timestamp file
1738 which was introduced to fix "make -j".
1739 + add test/test_opaque.c, test/test_arrays.c
1740 + add wgetscrreg() and wgetparent() for applications that may need it
1741 when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
1744 + amend treatment of infocmp "-r" option to retain the 1023-byte limit
1745 unless "-T" is given (cf: 981017).
1746 + modify comp_captab.c generation to use big-strings.
1747 + make _nc_capalias_table and _nc_infoalias_table private accessed via
1748 _nc_get_alias_table() since the tables are used only within the tic
1750 + modify configure script to skip Intel compiler in CF_C_INLINE.
1751 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
1752 _nc_get_hash_table() since the tables are used only within the tic
1756 + make _nc_capalias_table and _nc_infoalias_table private, accessed via
1757 _nc_get_alias_table() since they are used only by parse_entry.c
1758 + make _nc_key_names private since it is used only by lib_keyname.c
1759 + add --disable-big-strings configure option to control whether
1760 unctrl.c is generated using the big-string optimization - which may
1761 use strings longer than supported by a given compiler.
1762 + reduce relocation tables for tic, infocmp by changing type of
1763 internal hash tables to short, and make those private symbols.
1764 + eliminate large fixed arrays from progs/infocmp.c
1767 + change winnstr() to stop at the end of the line (cf: 970315).
1768 + add test/test_get_wstr.c
1769 + add test/test_getstr.c
1770 + add test/test_inwstr.c
1771 + add test/test_instr.c
1774 + restore a call to obtain screen-size in _nc_setupterm(), which
1775 is used in tput and other non-screen applications via setupterm()
1776 (Debian #433357, reported by Florent Bayle, Christian Ohm,
1780 + add test/savescreen.c test-program
1781 + add check to trace-file open, if the given name is a directory, add
1782 ".log" to the name and try again.
1783 + add konsole-256color entry -TD
1784 + add extra gcc warning options from xterm.
1785 + minor fixes for ncurses/hashmap test-program.
1786 + modify configure script to quiet c++ build with libtool when the
1787 --disable-echo option is used.
1788 + modify configure script to disable ada95 if libtool is selected,
1789 writing a warning message (addresses FreeBSD ports/114493).
1790 + update config.guess, config.sub
1793 + add continuous-move "M" to demo_panels to help test refresh changes.
1794 + improve fix for refresh of window on top of multi-column characters,
1795 taking into account some split characters on left/right window
1799 + add "widec" row to _tracedump() output to help diagnose remaining
1800 problems with multi-column characters.
1801 + partial fix for refresh of window on top of multi-column characters
1802 which are partly overwritten (report by Sadrul H Chowdhury).
1803 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
1804 multi-column extension bits are passed there.
1805 + add setlocale() call to demo_panels.c, needed for wide-characters.
1806 + add some output flags to _nc_trace_ttymode to help diagnose a bug
1807 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
1810 + add test/demo_panels.c
1811 + implement opaque version of setsyx() and getsyx().
1814 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
1816 + split-out key_name() from MKkeyname.awk since it now depends upon
1817 wunctrl() which is not in libtinfo (report by Rong-En Fan).
1820 + add test/key_name.c
1821 + add stdscr cases to test/inchs.c and test/inch_wide.c
1822 + update test/configure
1823 + correct formatting of DEL (0x7f) in _nc_vischar().
1824 + null-terminate result of wunctrl().
1825 + add null-pointer check in key_name() (report by Andreas Krennmair,
1829 + adapt mouse-handling code from menu library in form-library
1830 (discussion with Clive Nicolson).
1831 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
1832 illustrate how to use mvcur().
1833 + modify wide-character flavor of SetAttr() to preserve the
1834 WidecExt() value stored in the .attr field, e.g., in case it
1835 is overwritten by chgat (report by Aleksi Torhamo).
1836 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
1837 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
1840 + modify keyname() to use "^X" form only if meta() has been called, or
1841 if keyname() is called without initializing curses, e.g., via
1842 initscr() or newterm() (prompted by LinuxBase #1604).
1843 + document some portability issues in man/curs_util.3x
1844 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
1845 broken by moving that data into SCREEN (cf: 20061230).
1848 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
1849 problem reported by Sadrul H Chowdhury with repainting parts of
1851 + modify slk_init() so that if there are preceding calls to
1852 ripoffline(), those affect the available lines for soft-keys (adapted
1853 from patch by Clive Nicolson).
1854 + document some portability issues in man/curs_getyx.3x
1857 + fix a bug in Ada95/samples/ncurses which caused a variable to
1858 become uninitialized in the "b" test.
1859 + fix Ada95/gen/Makefile.in adahtml rule to account for recent
1860 movement of files, fix a few incorrect manpage references in the
1862 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
1864 + correct some functions in Ada95 binding which were using return value
1865 from C where none was returned: idcok(), immedok() and wtimeout().
1866 + amend recent changes for Ada95 binding to make it build with
1867 Cygwin's linker, e.g., with configure options
1868 --enable-broken-linker --with-ticlib
1871 + add a configure check for gcc's options for inlining, use that to
1872 quiet a warning message where gcc's default behavior changed from
1874 + improve warning message when checking if GPM is linked to curses
1875 library by not warning if its use of "wgetch" is via a weak symbol.
1876 + add loader options when building with static libraries to ensure that
1877 an installed shared library for ncurses does not conflict. This is
1878 reported as problem with Tru64, but could affect other platforms
1879 (report Martin Mokrejs, analysis by Tim Mooney).
1880 + fix build on cygwin after recent ticlib/termlib changes, i.e.,
1881 + adjust TINFO_SUFFIX value to work with cygwin's dll naming
1882 + revert a change from 20070303 which commented out dependency of
1883 SHLIB_LIST in form/menu/panel/c++ libraries.
1884 + fix initialization of ripoff stack pointer (cf: 20070421).
1887 + move most static variables into structures _nc_globals and
1888 _nc_prescreen, to simplify storage.
1889 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
1890 type for data manipulated by signal handlers (prompted by comments
1891 in mailing.openbsd.bugs newsgroup).
1892 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
1893 to the libtool create- and link-operations.
1896 + fix whitespace in curs_opaque.3x which caused a spurious ';' in
1897 the installed aliases (report by Peter Santoro).
1898 + fix configure script to not try to generate adacurses-config when
1899 Ada95 tree is not built.
1902 + add man/curs_legacy.3x, man/curs_opaque.3x
1903 + fix acs_map binding for Ada95 when --enable-reentrant is used.
1904 + add adacurses-config to the Ada95 install, based on version from
1905 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
1906 comment on comp.lang.ada newsgroup).
1907 + fix includes in c++ binding to build with Intel compiler
1909 + update install rule in Ada95 to use mkdirs.sh
1910 > other fixes prompted by inspection for Coverity report:
1911 + modify ifdef's for c++ binding to use try/catch/throw statements
1912 + add a null-pointer check in tack/ansi.c request_cfss()
1913 + fix a memory leak in ncurses/base/wresize.c
1914 + corrected check for valid memu/meml capabilities in
1915 progs/dump_entry.c when handling V_HPUX case.
1916 > fixes based on Coverity report:
1917 + remove dead code in test/bs.c
1918 + remove dead code in test/demo_defkey.c
1919 + remove an unused assignment in progs/infocmp.c
1920 + fix a limit check in tack/ansi.c tools_charset()
1921 + fix tack/ansi.c tools_status() to perform the VT320/VT420
1922 tests in request_cfss(). The function had exited too soon.
1923 + fix a memory leak in tic.c's make_namelist()
1924 + fix a couple of places in tack/output.c which did not check for EOF.
1925 + fix a loop-condition in test/bs.c
1926 + add index checks in lib_color.c for color palettes
1927 + add index checks in progs/dump_entry.c for version_filter() handling
1929 + fix a possible null-pointer dereference in copywin()
1930 + fix a possible null-pointer dereference in waddchnstr()
1931 + add a null-pointer check in _nc_expand_try()
1932 + add a null-pointer check in tic.c's make_namelist()
1933 + add a null-pointer check in _nc_expand_try()
1934 + add null-pointer checks in test/cardfile.c
1935 + fix a double-free in ncurses/tinfo/trim_sgr0.c
1936 + fix a double-free in ncurses/base/wresize.c
1937 + add try/catch block to c++/cursesmain.cc
1940 + modify Ada95 binding to build with --enable-reentrant by wrapping
1941 global variables (bug: acs_map does not yet work).
1942 + modify Ada95 binding to use the new access-functions, allowing it
1943 to build/run when NCURSES_OPAQUE is set.
1944 + add access-functions and macros to return properties of the WINDOW
1945 structure, e.g., when NCURSES_OPAQUE is set.
1946 + improved install-sh's quoting.
1947 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
1951 + eliminate part of the direct use of WINDOW data from Ada95 interface.
1952 + fix substitutions for termlib filename to make configure option
1953 --enable-reentrant work with --with-termlib.
1954 + change a constructor for NCursesWindow to allow compiling with
1955 NCURSES_OPAQUE set, since we cannot pass a reference to
1959 + ignore --with-chtype=unsigned since unsigned is always added to
1960 the type in curses.h; do the same for --with-mmask-t.
1961 + change warning regarding --enable-ext-colors and wide-character
1962 in the configure script to an error.
1963 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
1964 such as Darwin's libtool program (report by Michail Vidiassov)
1965 + modify edit_man.sh to allow for multiple substitutions per line.
1966 + set locale in misc/ncurses-config.in since it uses a range
1967 + change permissions libncurses++.a install (report by Michail
1969 + corrected length of temporary buffer in wide-character version
1970 of set_field_buffer() (related to report by Bryan Christ).
1973 + fix mk-1st.awk script install_shlib() function, broken in 20070224
1974 changes for cygwin (report by Michail Vidiassov).
1977 + increase size of array in _nc_visbuf2n() to make "tic -v" work
1978 properly in its similar_sgr() function (report/analysis by Peter
1980 + add --enable-reentrant configure option for ongoing changes to
1981 implement a reentrant version of ncurses:
1982 + libraries are suffixed with "t"
1983 + wrap several global variables (curscr, newscr, stdscr, ttytype,
1984 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
1985 functions returning values stored in SCREEN or cur_term.
1986 + move some initialization (LINES, COLS) from lib_setup.c,
1987 i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
1990 + regenerated html documentation.
1991 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
1992 opaque in selected configurations.
1993 + move the chunk in lib_acs.c which resets acs capabilities when
1994 running on a terminal whose locale interferes with those into
1995 _nc_setupscreen(), so the libtinfo/libtinfow files can be made
1996 identical (requested by Miroslav Lichvar).
1997 + do not use configure variable SHLIB_LIBS for building libraries
1998 outside the ncurses directory, since that symbol is customized
1999 only for that directory, and using it introduces an unneeded
2000 dependency on libdl (requested by Miroslav Lichvar).
2001 + modify mk-1st.awk so the generated makefile rules for linking or
2002 installing shared libraries do not first remove the library, in
2003 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
2005 + revised section "Using NCURSES under XTERM" in ncurses-intro.html
2006 (prompted by newsgroup comment by Nick Guenther).
2009 + change internal return codes of _nc_wgetch() to check for cases
2010 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
2011 ungetch'd, and read by wget_wch().
2012 + fix static-library build broken in 20070217 changes to remove "-ldl"
2013 (report by Miroslav Lichvar).
2014 + change makefile/scripts for cygwin to allow building termlib.
2015 + use Form_Hook in manpages to match form.h
2016 + use Menu_Hook in manpages, as well as a few places in menu.h
2017 + correct form- and menu-manpages to use specific Field_Options,
2018 Menu_Options and Item_Options types.
2019 + correct prototype for _tracechar() in manpage (cf: 20011229).
2020 + correct prototype for wunctrl() in manpage.
2023 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
2025 + modify relinking of shared libraries to apply only when rpath is
2026 enabled, and add --disable-relink option which can be used to
2027 disable the feature altogether (reports by Michail Vidiassov,
2029 + fix --with-termlib option for wide-character configuration, stripping
2030 the "w" suffix in one place (report by Miroslav Lichvar).
2031 + remove "-ldl" from some library lists to reduce dependencies in
2032 programs (report by Miroslav Lichvar).
2033 + correct description of --enable-signed-char in configure --help
2034 (report by Michail Vidiassov).
2035 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
2036 which matches an earlier change to CF_SHARED_OPTS, from xterm #224
2038 + remove "${DESTDIR}" from -install_name option used for linking
2039 shared libraries on Darwin (report by Michail Vidiassov).
2042 + add test/inchs.c, test/inch_wide.c, to test win_wchnstr().
2043 + remove libdl from library list for termlib (report by Miroslav
2045 + fix configure.in to allow --without-progs --with-termlib (patch by
2047 + modify win_wchnstr() to ensure that only a base cell is returned
2048 for each multi-column character (prompted by report by Wei Kong
2049 regarding change in mvwin_wch() cf: 20041023).
2052 + modify fix_wchnstr() in form library to strip attributes (and color)
2053 from the cchar_t array (field cells) read from a field's window.
2054 Otherwise, when copying the field cells back to the window, the
2055 associated color overrides the field's background color (report by
2057 + improve tracing for form library, showing created forms, fields, etc.
2058 + ignore --enable-rpath configure option if --with-shared was omitted.
2059 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
2060 to allow leak-checking when both tic- and tinfo-libraries are built.
2061 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
2062 no longer relies on it.
2063 + disallow combining configure script options --with-ticlib and
2064 --enable-termcap (report by Rong-En Fan).
2065 + remove tack from ncurses tree.
2068 + fix typo in configure script that broke --with-termlib option
2069 (report by Rong-En Fan).
2072 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
2073 to tgetent() (report by Rong-en Fan).
2074 + update tack/HISTORY and tack/README to tell how to build it after
2075 it is removed from the ncurses tree.
2076 + fix configure check for libtool's version to trim blank lines
2077 (report by sci-fi@hush.ai).
2078 + review/eliminate other original-file artifacts in cursesw.cc, making
2079 its license consistent with ncurses.
2080 + use ncurses vw_scanw() rather than reading into a fixed buffer in
2081 the c++ binding for scanw() methods (prompted by report by Nuno Dias).
2082 + eliminate fixed-buffer vsprintf() calls in c++ binding.
2085 + add _nc_leaks_tic() to separate leak-checking of tic library from
2086 term/ncurses libraries, and thereby eliminate a library dependency.
2087 + fix test/mk-test.awk to ignore blank lines.
2088 + correct paths in include/headers, for --srcdir (patch by Miroslav
2092 + add a break-statement in misc/shlib to ensure that it exits on the
2093 _first_ matched directory (report by Paul Novak).
2094 + add tack/configure, which can be used to build tack outside the
2096 + add --with-ticlib option, to build/install the tic-support functions
2097 in a separate library (suggested by Miroslav Lichvar).
2100 + change MKunctrl.awk to reduce relocation table for unctrl.o
2101 + change MKkeyname.awk to reduce relocation table for keyname.o
2102 (patch by Miroslav Lichvar).
2105 + modify configure check for libtool's version to trim blank lines
2106 (report by sci-fi@hush.ai).
2107 + modify some modules to allow them to be reentrant if _REENTRANT is
2108 defined: lib_baudrate.c, resizeterm.c (local data only)
2109 + eliminate static data from some modules: add_tries.c, hardscroll.c,
2110 lib_ttyflags.c, lib_twait.c
2111 + improve manpage install to add aliases for the transformed program
2112 names, e.g., from --program-prefix.
2113 + used linklint to verify links in the HTML documentation, made fixes
2114 to manpages as needed.
2115 + fix a typo in curs_mouse.3x (report by William McBrine).
2116 + fix install-rule for ncurses5-config to make the bin-directory.
2119 + modify configure script to omit the tic (terminfo compiler) support
2120 from ncurses library if --without-progs option is given.
2121 + modify install rule for ncurses5-config to do this via "install.libs"
2122 + modify shared-library rules to allow FreeBSD 3.x to use rpath.
2123 + update config.guess, config.sub
2125 20061217 5.6 release for upload to ftp.gnu.org
2128 + add ifdef's for <wctype.h> for HPUX, which has the corresponding
2129 definitions in <wchar.h>.
2130 + revert the va_copy() change from 20061202, since it was neither
2131 correct nor portable.
2132 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
2134 + ignore wide-acs line-drawing characters that wcwidth() claims are
2135 not one-column. This is a workaround for Solaris' broken locale
2139 + modify configure --with-gpm option to allow it to accept a parameter,
2140 i.e., the name of the dynamic GPM library to load via dlopen()
2141 (requested by Bryan Henderson).
2142 + add configure option --with-valgrind, changes from vile.
2143 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
2144 'return' in preference to 'exit()'.
2147 + change default for --with-develop back to "no".
2148 + add XTABS to tracing of TTY bits.
2149 + updated autoconf patch to ifdef-out the misfeature which declares
2150 exit() for configure tests. This fixes a redefinition warning on
2152 + use ${CC} rather than ${LD} in shared library rules for IRIX64,
2153 Solaris to help ensure that initialization sections are provided for
2154 extra linkage requirements, e.g., of C++ applications (prompted by
2155 comment by Casper Dik in newsgroup).
2156 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
2157 from the autoconf predefined symbol. There was no conflict,
2158 since "$target" was used only in the generated edit_man.sh file,
2159 but SuSE's rpm package contains a patch.
2162 + update man/term.5 to reflect extended terminfo support and hashed
2163 database configuration.
2164 + updates for test/configure script.
2165 + adapted from SuSE rpm package:
2166 + remove long-obsolete workaround for broken-linker which declared
2168 + improve error recovery in PUTC() macro when wcrtomb() does not
2169 return usable results for an 8-bit character.
2170 + patches from rpm package (SuSE):
2171 + use va_copy() in extra varargs manipulation for tracing version
2173 + use a va_list rather than a null in _nc_freeall()'s call to
2174 _nc_printf_string().
2175 + add some see-also references in manpages to show related
2176 wide-character functions (suggested by Claus Fischer).
2179 + add a check in lib_color.c to ensure caller does not increase COLORS
2180 above max_colors, which is used as an array index (discussion with
2182 + add ifdef's allowing ncurses to be built with tparm() using either
2183 varargs (the existing status), or using a fixed-parameter list (to
2187 + fix redrawing of windows other than stdscr using wredrawln() by
2188 touching the corresponding rows in curscr (discussion with Dan
2191 + add test/echochar.c
2192 + review/cleanup manpage descriptions of error-returns for form- and
2193 menu-libraries (prompted by FreeBSD docs/46196).
2196 + add AUTHORS file -TD
2197 + omit the -D options from output of the new config script --cflags
2198 option (suggested by Ralf S Engelschall).
2199 + make NCURSES_INLINE unconditionally defined in curses.h
2202 + revert change to accommodate bash 3.2, since that breaks other
2203 platforms, e.g., Solaris.
2204 + minor fixes to NEWS file to simplify scripting to obtain list of
2206 + improve some shared-library configure scripting for Linux, FreeBSD
2207 and NetBSD to make "--with-shlib-version" work.
2208 + change configure-script rules for FreeBSD shared libraries to allow
2209 for rpath support in versions past 3.
2210 + use $(DESTDIR) in makefile rules for installing/uninstalling the
2211 package config script (reports/patches by Christian Wiese,
2212 Ralf S Engelschall).
2213 + fix a warning in the configure script for NetBSD 2.0, working around
2214 spurious blanks embedded in its ${MAKEFLAGS} symbol.
2215 + change test/Makefile to simplify installing test programs in a
2216 different directory when --enable-rpath is used.
2219 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
2220 + add/install a package config script, e.g., "ncurses5-config" or
2221 "ncursesw5-config", according to configuration options.
2224 + add several GNU Screen terminfo variations with 16- and 256-colors,
2225 and status line (Alain Bench).
2226 + change the way shared libraries (other than libtool) are installed.
2227 Rather than copying the build-tree's libraries, link the shared
2228 objects into the install directory. This makes the --with-rpath
2229 option work except with $(DESTDIR) (cf: 20000930).
2232 + fix ifdef in c++/internal.h for QNX 6.1
2233 + test-compiled with (old) egcs-1.1.2, modified configure script to
2234 not unset the $CXX and related variables which would prevent this.
2235 + fix a few terminfo.src typos exposed by improvments to "-f" option.
2236 + improve infocmp/tic "-f" option formatting.
2239 + make --disable-largefile option work (report by Thomas M Ott).
2240 + updated html documentation.
2241 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
2242 + minor improvements to rxvt+pcfkeys -TD
2245 + move static data from lib_mouse.c into SCREEN struct.
2246 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
2247 (report by Michail Vidiassov).
2248 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
2249 option (from lynx changes) -TD
2250 + adapt AC_PROG_EGREP check, noting that this is likely to be another
2251 place aggravated by POSIXLY_CORRECT.
2252 + modify configure check for awk to ensure that it is found (prompted
2253 by report by Christopher Parker).
2257 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
2258 + remove invis capability from klone+sgr, mainly used by linux entry,
2259 since it does not really do this -TD
2262 + correct logic in wadd_wch() and wecho_wch(), which did not guard
2263 against passing the multi-column attribute into a call on waddch(),
2264 e.g., using data returned by win_wch() (cf: 20041023)
2265 (report by Sadrul H Chowdhury).
2268 + fix kterm's acsc string -TD
2269 + fix for change to tic/infocmp in 20060819 to ensure no blank is
2270 embedded into a termcap description.
2271 + workaround for 20050806 ifdef's change to allow visbuf.c to compile
2272 when using --with-termlib --with-trace options.
2273 + improve tgetstr() by making the return value point into the user's
2274 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
2276 + correct libraries needed for foldkeys (report by Stanislav Ievlev)
2279 + add terminfo entries for xfce terminal (xfce) and multi gnome
2281 + add test/foldkeys.c
2284 + modify tic and infocmp to avoid writing trailing blanks on terminfo
2285 source output (Debian #378783).
2286 + modify configure script to ensure that if the C compiler is used
2287 rather than the loader in making shared libraries, the $(CFLAGS)
2288 variable is also used (Redhat Bugzilla #199369).
2289 + port hashed-db code to db2 and db3.
2290 + fix a bug in tgetent() from 20060625 and 20060715 changes
2291 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
2294 + updated xterm function-keys terminfo to match xterm #216 -TD
2295 + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
2296 e.g., the db 1.8.5 interface).
2299 + modify toe to access termcap data, e.g., via cgetent() functions,
2300 or as a text file if those are not available.
2301 + use _nc_basename() in tset to improve $SHELL check for csh/sh.
2302 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
2303 can access termcap data when the terminfo database is disabled.
2306 + widen the test for xterm kmous a little to allow for other strings
2307 than \E[M, e.g., for xterm-sco functionality in xterm.
2308 + update xterm-related terminfo entries to match xterm patch #216 -TD
2309 + update config.guess, config.sub
2312 + fix for install-rule in Ada95 to add terminal_interface.ads
2313 and terminal_interface.ali (anonymous posting in comp.lang.ada).
2314 + correction to manpage for getcchar() (report by William McBrine).
2316 + modify wchgat() to mark updated cells as changed so a refresh will
2317 repaint those cells (comments by Sadrul H Chowdhury and William
2319 + split up dependency of names.c and codes.c in ncurses/Makefile to
2320 work with parallel make (report/analysis by Joseph S Myers).
2321 + suppress a warning message (which is ignored) for systems without
2322 an ldconfig program (patch by Justin Hibbits).
2323 + modify configure script --disable-symlinks option to allow one to
2324 disable symlink() in tic even when link() does not work (report by
2326 + modify MKfallback.sh to use tic -x when constructing fallback tables
2327 to allow extended capabilities to be retrieved from a fallback entry.
2328 + improve leak-checking logic in tgetent() from 20060625 to ensure that
2329 it does not free the current screen (report by Miroslav Lichvar).
2332 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
2333 + correct _nc_free_entries() and related functions used for memory leak
2337 + revert a minor change for magic-cookie support from 20060513, which
2338 caused unexpected reset of attributes, e.g., when resizing test/view
2340 + note in clear manpage that the program ignores command-line
2341 parameters (prompted by Debian #371855).
2342 + fixes to make lib_gen.c build properly with changes to the configure
2343 --disable-macros option and NCURSES_NOMACROS (cf: 20060527)
2344 + update/correct several terminfo entries -TD
2345 + add some notes regarding copyright to terminfo.src -TD
2348 + fixes to build Ada95 binding with gnat-4.1.0
2349 + modify read_termtype() so the term_names data is always allocated as
2350 part of the str_table, a better fix for a memory leak (cf: 20030809).
2351 + reduce memory leaks in repeated calls to tgetent() by remembering the
2352 last TERMINAL* value allocated to hold the corresponding data and
2353 freeing that if the tgetent() result buffer is the same as the
2354 previous call (report by "Matt" for FreeBSD gnu/98975).
2355 + modify tack to test extended capability function-key strings.
2356 + improved gnome terminfo entry (GenToo #122566).
2357 + improved xterm-256color terminfo entry (patch by Alain Bench).
2360 + fix two small memory leaks related to repeated tgetent() calls
2361 with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
2362 + add --enable-signed-char to simplify Debian package.
2363 + reduce name-pollution in term.h by removing #define's for HAVE_xxx
2365 + correct typo in curs_terminfo.3x (Debian #369168).
2368 + enable the mouse in test/movewindow.c
2369 + improve a limit-check in frm_def.c (John Heasley).
2370 + minor copyright fixes.
2371 + change configure script to produce test/Makefile from data file.
2374 + add a configure option --enable-wgetch-events to enable
2375 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
2376 lib_twait.c (report by Bernd Jendrissek).
2377 + remove include/nomacros.h from build, since the ifdef for
2378 NCURSES_NOMACROS makes that obsolete.
2379 + add entrypoints for some functions which were only provided as macros
2380 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(),
2381 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
2383 + provide ifdef for NCURSES_NOMACROS which suppresses most macro
2384 definitions from curses.h, i.e., where a macro is defined to override
2385 a function to improve performance. Allowing a developer to suppress
2386 these definitions can simplify some application (discussion with
2388 + improve description of memu/meml in terminfo manpage.
2391 + if msgr is false, reset video attributes when doing an automargin
2392 wrap to the next line. This makes the ncurses 'k' test work properly
2394 + correct caching of keyname(), which was using only half of its table.
2395 + minor fixes to memory-leak checking.
2396 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
2397 arrays, making ACS_LEN less visible to applications (suggested by
2399 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
2400 _screen_acs_map will have the same offset in both ncurses/ncursesw,
2401 making the corresponding tinfo/tinfow libraries binary-compatible
2402 (cf: 20041016, report by Stanislav Ievlev).
2405 + improve debug-tracing for EmitRange().
2406 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS
2407 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
2408 suppression of the related hard-tabs and xmc-glitch features.
2409 + add ncurses version number to top-level manpages, e.g., ncurses, tic,
2410 infocmp, terminfo as well as form, menu, panel.
2411 + update config.guess, config.sub
2412 + modify ncurses.c to work around a bug in NetBSD 3.0 curses
2413 (field_buffer returning null for a valid field). The 'r' test
2414 appears to not work with that configuration since the new_fieldtype()
2415 function is broken in that implementation.
2418 + add hpterm-color terminfo entry -TD
2419 + fixes to compile test-programs with HPUX 11.23
2422 + add copyright notices to files other than those that are generated,
2423 data or adapted from pdcurses (reports by William McBrine, David
2425 + improve rendering on hpterm by not resetting attributes at the end
2426 of doupdate() if the terminal has the magic-cookie feature (report
2428 + add 256color variants of terminfo entries for programs which are
2429 reported to implement this feature -TD
2432 + fix typo in change to NewChar() macro from 20060311 changes, which
2433 broke tab-expansion (report by Frederic L W Meunier).
2436 + document -U option of tic and infocmp.
2437 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
2438 due to size limit, e.g., converting to termcap format. Also
2439 suppress them if the output format does not contain acsc and it
2440 was not VT100-like, i.e., a one-one mapping (Novell #163715).
2441 + add configure check to ensure that SIGWINCH is defined on platforms
2442 such as OS X which exclude that when _XOPEN_SOURCE, etc., are
2443 defined (report by Nicholas Cole)
2446 + modify write_object() to not write coincidental extensions of an
2447 entry made due to it being referenced in a use= clause (report by
2449 + another fix for infocmp -i option, which did not ensure that some
2450 escape sequences had comparable prefixes (report by Alain Bench).
2453 + improve discussion of init/reset in terminfo and tput manpages
2454 (report by Alain Bench).
2455 + use is3 string for a fallback of rs3 in the reset program; it was
2456 using is2 (report by Alain Bench).
2457 + correct logic for infocmp -i option, which did not account for
2458 multiple digits in a parameter (cf: 20040828) (report by Alain
2460 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
2461 option work after 20060114 changes (report by Arkadiusz Miskiewicz).
2462 + add copyright notices to test-programs as needed (report by William
2466 + modify ncurses.c 'F' test to combine the wide-characters with color
2467 and/or video attributes.
2468 + modify test/ncurses to use CTL/Q or ESC consistently for exiting
2469 a test-screen (some commands used 'x' or 'q').
2472 + fix an off-by-one in the scrolling-region change (cf_ 20060311).
2475 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
2476 a null character is found (report by Igor Bogomazov).
2477 + modify progs/Makefile.in to make "tput init" work properly with
2478 cygwin, i.e., do not pass a ".exe" in the reference string used
2479 in check_aliases (report by Samuel Thibault).
2480 + add some checks to ensure current position is within scrolling
2481 region before scrolling on a new line (report by Dan Gookin).
2482 + change some NewChar() usage to static variables to work around
2483 stack garbage introduced when cchar_t is not packed (Redhat #182024).
2486 + workarounds to build test/movewindow with PDcurses 2.7.
2487 + fix for nsterm-16color entry (patch by Alain Bench).
2488 + correct a typo in infocmp manpage (Debian #354281).
2491 + add nsterm-16color entry -TD
2492 + updated mlterm terminfo entry -TD
2493 + remove 970913 feature for copying subwindows as they are moved in
2494 mvwin() (discussion with Bryan Christ).
2495 + modify test/demo_menus.c to demonstrate moving a menu (both the
2496 window and subwindow) using shifted cursor-keys.
2497 + start implementing recursive mvwin() in movewindow.c (incomplete).
2498 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
2499 for movewindow.c (report by William McBrine).
2500 + add help-message to test/movewindow.c
2503 + add test/movewindow.c, to test mvderwin().
2504 + fix ncurses soft-key test so color changes are shown immediately
2505 rather than delayed.
2506 + modify ncurses soft-key test to hide the keys when exiting the test
2508 + fixes to build test programs with PDCurses 2.7, e.g., its headers
2509 rely on autoconf symbols, and it declares stubs for nonfunctional
2510 terminfo and termcap entrypoints.
2513 + improved test/configure to build test/ncurses on HPUX 11 using the
2515 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
2516 benefit of developers who do not read INSTALL.
2519 + correct form library Window_To_Buffer() change (cf: 20040516), which
2520 should ignore the video attributes (report by Ricardo Cantu).
2523 + minor fixes to xmc-glitch experimental code:
2524 + suppress line-drawing
2525 + implement max_attributes
2527 + minor fixes for the database iterator.
2528 + fix some buffer limits in c++ demo (comment by Falk Hueffner in
2532 + add toe -a option, to show all databases. This uses new private
2533 interfaces in the ncurses library for iterating through the list of
2535 + fix toe from 20000909 changes which made it not look at
2537 + make toe's -v option parameter optional as per manpage.
2538 + improve SIGWINCH handling by postponing its effect during newterm(),
2539 etc., when allocating screens.
2542 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use
2543 this in test/filter.c
2544 + fix an error in filter() modification which caused some applications
2548 + check if filter() was called when getting the screensize. Keep it
2549 at 1 if so (based on Redhat #174498).
2550 + add extension nofilter().
2551 + refined the workaround for ACS mapping.
2552 + make ifdef's consistent in curses.h for the extended colors so the
2553 header file can be used for the normal curses library. The header
2554 file installed for extended colors is a variation of the
2555 wide-character configuration (report by Frederic L W Meunier).
2558 + add a workaround to ACS mapping to allow applications such as
2559 test/blue.c to use the "PC ROM" characters by masking them with
2560 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
2561 of legacy coding (report by Michael Deutschmann).
2562 + add a null-pointer check in the wide-character version of
2563 calculate_actual_width() (report by Victor Julien).
2564 + improve test/ncurses 'd' (color-edit) test by allowing the RGB
2565 values to be set independently (patch by William McBrine).
2566 + modify test/configure script to allow building test programs with
2568 + modified test programs to allow some to work with NetBSD curses.
2569 Several do not because NetBSD curses implements a subset of X/Open
2570 curses, and also lacks much of SVr4 additions. But it's enough for
2572 + update config.guess and config.sub
2575 + use BSD-specific fix for return-value from cgetent() from CVS where
2576 an unknown terminal type would be reportd as "database not found".
2577 + make tgetent() return code more readable using new symbols
2579 + remove references to non-existent "tctest" program.
2580 + remove TESTPROGS from progs/Makefile.in (it was referring to code
2581 that was never built in that directory).
2582 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
2585 + add use_legacy_coding() function to support lynx's font-switching
2587 + fix formatting in curs_termcap.3x (report by Mike Frysinger).
2588 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
2592 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
2593 overwrite() and copywin() with different combinations of colors and
2594 attributes (including background color) to make it easy to see the
2595 effect of the different functions.
2596 + corrections to menu/m_global.c for wide-characters (report by
2600 + add configure option --without-dlsym, allowing developers to
2601 configure GPM support without using dlsym() (discussion with Michael
2603 + fix wins_nwstr(), which did not handle single-column non-8bit codes
2607 + move prototypes for wide-character trace functions from curses.tail
2608 to curses.wide to avoid accidental reference to those if
2609 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
2611 + add/use NCURSES_INLINE definition.
2612 + change some internal functions to use int/unsigned rather than the
2616 + remove a redundant check in lib_color.c (Debian #335655).
2617 + use ld's -search_paths_first option on Darwin to work around odd
2618 search rules on that platform (report by Christian Gennerat, analysis
2620 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
2621 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
2622 + fix several bugs in test/bs.c (patch by Stephen Lindholm).
2625 + other minor fixes to cygwin based on tack -TD
2626 + correct smacs in cygwin (Debian #338234, report by Baurzhan
2627 Ismagulov, who noted that it was fixed in Cygwin).
2630 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
2631 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
2632 since those record the state of multicolumn characters (Debian
2634 + modify werase to clear multicolumn characters that extend into
2635 a derived window (Debian #316663).
2638 + move assignment from environment variable ESCDELAY from initscr()
2639 down to newterm() so the environment variable affects timeouts for
2640 terminals opened with newterm() as well.
2641 + fix a memory leak in keyname().
2642 + add test/demo_altkeys.c
2643 + modify test/demo_defkey.c to exit from loop via 'q' to allow
2644 leak-checking, as well as fix a buffer size in winnstr() call.
2647 + correct order of use-clauses in rxvt-basic entry which made codes for
2648 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
2649 + suppress configure check for gnatmake if Ada95/Makefile.in is not
2651 + correct a typo in configure --with-bool option for the case where
2652 --without-cxx is used (report by Daniel Jacobowitz).
2653 + add a note to INSTALL's discussion of --with-normal, pointing out
2654 that one may wish to use --without-gpm to ensure a completely
2655 static link (prompted by report by Felix von Leitner).
2657 20051010 5.5 release for upload to ftp.gnu.org
2660 + document in demo_forms.c some portability issues.
2663 + document side-effect of werase() which sets the cursor position.
2664 + save/restore the current position in form field editing to make
2668 + correct header dependencies in progs, allowing parallel make (report
2669 by Daniel Jacobowitz).
2670 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
2671 the configure check for --with-build-cc (report by Daniel Jacobowitz).
2672 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
2674 + update config.guess and config.sub from
2675 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
2678 + modify sed expression which computes path for /usr/lib/terminfo
2679 symbolic link in install to ensure that it does not change unexpected
2680 levels of the path (Gentoo #42336).
2681 + modify default for --disable-lp64 configure option to reduce impact
2682 on existing 64-bit builds. Enabling the _LP64 option may change the
2683 size of chtype and mmask_t. However, for ABI 6, it is enabled by
2684 default (report by Mike Frysinger).
2685 + add configure script check for --enable-ext-mouse, bump ABI to 6 by
2686 default if it is used.
2687 + improve configure script logic for bumping ABI to omit this if the
2688 --with-abi-version option was used.
2689 + update address for Free Software Foundation in tack's source.
2690 + correct wins_wch(), which was not marking the filler-cells of
2691 multi-column characters (cf: 20041023).
2694 + modify mouse initialization to ensure that Gpm_Open() is called only
2695 once. Otherwise GPM gets confused in its initialization of signal
2696 handlers (Debian #326709).
2699 + modify logic for backspacing in a multiline form field to ensure that
2700 it works even when the preceding line is full (report by Frank van
2702 + remove comment about BUGS section of ncurses manpage (Debian #325481)
2705 + document some workarounds for shared and libtool library
2706 configurations in INSTALL (see --with-shared and --with-libtool).
2707 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
2708 cross-compilers which emit the platform name in their version
2710 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
2711 (report by Frank van Vugt).
2714 + start updating documentation for upcoming 5.5 release.
2715 + fix to make libtool and libtinfo work together again (cf: 20050122).
2716 + fixes to allow building traces into libtinfo
2717 + add debug trace to tic that shows if/how ncurses will write to the
2718 lower corner of a terminal's screen.
2719 + update llib-l* files.
2722 + modify initializers in c++ binding to build with old versions of g++.
2723 + improve special case for 20050115 repainting fix, ensuring that if
2724 the first changed cell is not a character that the range to be
2725 repainted is adjusted to start at a character's beginning (Debian
2729 + fixes to build on QNX 6.1
2730 + improve configure script checks for Intel 9.0 compiler.
2731 + remove #include's for libc.h (obsolete).
2732 + adjust ifdef's in curses.priv.h so that when cross-compiling to
2733 produce comp_hash and make_keys, no dependency on wchar.h is needed.
2734 That simplifies the build-cppflags (report by Frank van Vugt).
2735 + move modules related to key-binding into libtinfo to fix linkage
2736 problem caused by 20050430 changes to MKkeyname.sh (report by
2737 Konstantin Andreev).
2740 + updates/fixes for configure script macros from vile -TD
2741 + make prism9's sgr string agree with the rest of the terminfo -TD
2742 + make vt220's sgr0 string consistent with sgr string, do this for
2743 several related cases -TD
2744 + improve translation to termcap by filtering the 'me' (sgr0) strings
2745 as in the runtime call to tgetent() (prompted by a discussion with
2747 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
2748 resets line-drawing.
2751 + fix special cases for trimming sgr0 for hurd and vt220 (Debian
2753 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
2754 allow it to be used by tic to provide information about the runtime
2755 changes that would be made to sgr0 for termcap applications.
2756 + modify make_sed.sh to make the group-name in the NAME section of
2757 form/menu library manpage agree with the TITLE string when renaming
2758 is done for Debian (Debian #78866).
2761 + modify parameter type in c++ binding for insch() and mvwinsch() to
2762 be consistent with underlying ncurses library (was char, is chtype).
2763 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
2765 + improve configure check for nanosleep(), checking that it works since
2766 some older systems such as AIX 4.3 have a nonworking version.
2769 + update config.guess and config.sub from
2770 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
2771 + modify misc/shlib to work in test-directory.
2772 + suppress $suffix in misc/run_tic.sh when cross-compiling. This
2773 allows cross-compiles to use the host's tic program to handle the
2774 "make install.data" step.
2775 + improve description of $LINES and $COLUMNS variables in manpages
2776 (prompted by report by Dave Ulrick).
2777 + improve description of cross-compiling in INSTALL
2778 + add NCURSES-Programming-HOWTO.html by Pradeep Padala
2779 (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
2780 + modify configure script to obtain soname for GPM library (discussion
2781 with Daniel Jacobowitz).
2782 + modify configure script so that --with-chtype option will still
2783 compute the unsigned literals suffix for constants in curses.h
2784 (report by Daniel Jacobowitz:
2785 + patches from Daniel Jacobowitz:
2786 + the man_db.renames entry for tack.1 was backwards.
2787 + tack.1 had some 1m's that should have been 1M's.
2788 + the section for curs_inwstr.3 was wrong.
2791 + correction to --with-chtype option (report by Daniel Jacobowitz).
2794 + move build-time edit_man.sh and edit_man.sed scripts to top directory
2795 to simplify reusing them for renaming tack's manpage (prompted by a
2796 review of Debian package).
2797 + revert minor optimization from 20041030 (Debian #313609).
2798 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
2799 1.5.10 and 1.5.18 (all work except as noted previously for the c++
2800 install using libtool 1.5.0):
2801 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
2803 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
2804 + add configure options --with-chtype and --with-mmask-t, to allow
2805 overriding of the non-LP64 model's use of the corresponding types.
2806 + revise test for size of chtype (and mmask_t), which always returned
2807 "long" due to an uninitialized variable (report by Daniel Jacobowitz).
2810 + change _tracef's that used "%p" format for va_list values to ignore
2811 that, since on some platforms those are not pointers.
2812 + fixes for long-formats in printf's due to largefile support.
2815 + fixes for termcap support:
2816 + reset pointer to _nc_curr_token.tk_name when the input stream is
2817 closed, which could point to free memory (cf: 20030215).
2818 + delink TERMTYPE data which is used by the termcap reader, so that
2819 extended names data will be freed consistently.
2820 + free pointer to TERMTYPE data in _nc_free_termtype() rather than
2822 + add some entrypoints for freeing permanently allocated data via
2823 _nc_freeall() when NO_LEAKS is defined.
2824 + amend 20041030 change to _nc_do_color to ensure that optimization is
2825 applied only when the terminal supports back_color_erase (bce).
2828 + add sun-color terminfo entry -TD
2829 + correct a missing assignment in c++ binding's method
2830 NCursesPanel::UserPointer() from 20050409 changes.
2831 + improve configure check for large-files, adding check for dirent64
2833 + minor change to configure script to improve linker options for the
2837 + document error conditions for ncurses library functions (report by
2839 + regenerated html documentation for ada binding.
2840 see ftp://invisible-island.net/ncurses/patches/gnathtml
2843 + regenerated html documentation for manpages.
2844 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
2845 ncurses/Makefile (Gentoo #89772).
2846 + modify c++/demo.cc to build with g++ -fno-implicit-templates option
2847 (patch by Mike Frysinger).
2848 + modify tic to filter out long extended names when translating to
2849 termcap format. Only two characters are permissible for termcap
2853 + modify terminfo entries xterm-new and rxvt to add strings for
2854 shift-, control-cursor keys.
2855 + workaround to allow c++ binding to compile with g++ 2.95.3, which
2856 has a broken implementation of static_cast<> (patch by Jeff Chua).
2857 + modify initialization of key lookup table so that if an extended
2858 capability (tic -x) string is defined, and its name begins with 'k',
2859 it will automatically be treated as a key.
2860 + modify test/keynames.c to allow for the possibility of extended
2861 key names, e.g., via define_key(), or via "tic -x".
2862 + add test/demo_termcap.c to show the contents of given entry via the
2866 + minor fixes for vt100/vt52 entries -TD
2867 + add configure option --enable-largefile
2868 + corrected libraries used to build Ada95/gen/gen, found in testing
2872 + update config.guess, config.sub
2873 + modify configure script check for _XOPEN_SOURCE, disable that on
2874 Darwin whose header files have problems (patch by Chris Zubrzycki).
2875 + modify form library Is_Printable_String() to use iswprint() rather
2876 than wcwidth() for determining if a character is printable. The
2877 latter caused it to reject menu items containing non-spacing
2879 + modify ncurses test program's F-test to handle non-spacing characters
2880 by combining them with a reverse-video blank.
2881 + review/fix several gcc -Wconversion warnings.
2884 + correct an off-by-one error in m_driver() for mouse-clicks used to
2885 position the mouse to a particular item.
2886 + implement test/demo_menus.c
2887 + add some checks in lib_mouse to ensure SP is set.
2888 + modify C++ binding to make 20050403 changes work with the configure
2889 --enable-const option.
2892 + modify start_color() to return ERR if it cannot allocate memory.
2893 + address g++ compiler warnings in C++ binding by adding explicit
2894 member initialization, assignment operators and copy constructors.
2895 Most of the changes simply preserve the existing semantics of the
2896 binding, which can leak memory, etc., but by making these features
2897 visible, it provides a framework for improving the binding.
2898 + improve C++ binding using static_cast, etc.
2899 + modify configure script --enable-warnings to add options to g++ to
2900 correspond to the gcc --enable-warnings.
2901 + modify C++ binding to use some C internal functions to make it
2902 compile properly on Solaris (and other platforms).
2905 + amend change from 20050320 to limit it to configurations with a
2907 + fix a bug introduced in 20050320 which broke the translation of
2908 nonprinting characters to uparrow form (report by Takahashi Tamotsu).
2911 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
2912 chtype and mmask_t, but add configure option --disable-lp64 in case
2913 anyone used that configuration.
2914 + update misc/shlib script to account for Mac OS X (report by Michail
2916 + correct comparison for wrapping multibyte characters in
2917 waddch_literal() (report by Takahashi Tamotsu).
2920 + add -c and -w options to tset to allow user to suppress ncurses'
2921 resizing of the terminal emulator window in the special case where it
2922 is not able to detect the true size (report by Win Delvaux, Debian
2924 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
2925 codes 128-159 as part of multibyte characters (report by Wang
2926 WenRui, Debian #300512).
2929 + modify ncurses.c 'd' test to make it work with 88-color
2930 configuration, i.e., by implementing scrolling.
2931 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
2935 + change tracemunch to use strict checking.
2936 + modify ncurses.c 'p' test to test line-drawing within a pad.
2937 + implement environment variable NCURSES_NO_UTF8_ACS to support
2938 miscellaneous terminal emulators which ignore alternate character
2939 set escape sequences when in UTF-8 mode.
2942 + change NCursesWindow::err_handler() to a virtual function (request by
2944 + modify fty_int.c and fty_num.c to handle wide characters (report by
2946 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
2947 and wide characters inconsistently (report by Wolfgang Gutjahr).
2948 + update llib-* files to reflect internal interface additions/changes.
2951 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
2953 + add aixterm-16color terminfo entry -TD
2954 + modified xterm-new terminfo entry to work with tgetent() changes -TD
2955 + extended changes in tgetent() from 20040710 to allow the substring of
2956 sgr0 which matches rmacs to be at the beginning of the sgr0 string
2957 (request by Thomas Wolff). Wolff says the visual effect in
2958 combination with pre-20040710 ncurses is improved.
2959 + fix off-by-one in winnstr() call which caused form field validation
2960 of multibyte characters to ignore the last character in a field.
2961 + correct logic in winsch() for inserting multibyte strings; the code
2962 would clear cells after the insertion rather than push them to the
2963 right (cf: 20040228).
2964 + fix an inconsistency in Check_Alpha_Field() between normal and wide
2965 character logic (report by Wolfgang Gutjahr).
2968 + fix a bug in editing wide-characters in form library: deleting a
2969 nonwide character modified the previous wide-character.
2970 + update manpage to describe NCURSES_MOUSE_VERSION 2.
2971 + correct manpage description of mouseinterval() (Debian #280687).
2972 + add a note to default_colors.3x explaining why this extension was
2973 added (Debian #295083).
2974 + add traces to panel library.
2977 + improve editing of wide-characters in form library: left/right
2978 cursor movement, and single-character deletions work properly.
2979 + disable GPM mouse support when $TERM happens to be prefixed with
2980 "xterm". Gpm_Open() would otherwise assert that it can deal with
2981 mouse events in this case.
2982 + modify GPM mouse support so it closes the server connection when
2983 the caller disables the mouse (report by Stanislav Ievlev).
2986 + add traces for callback functions in form library.
2987 + add experimental configure option --enable-ext-mouse, which defines
2988 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
2989 support wheel mice, which may transmit buttons 4 and 5. This works
2990 with xterm and similar X terminal emulators (prompted by question by
2991 Andreas Henningsson, this is also related to Debian #230990).
2992 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
2993 avoid redefinition warnings on cygwin.
2996 + merge remaining development changes for extended colors (mostly
2997 complete, does not appear to break other configurations).
2998 + add xterm-88color.dat (part of extended colors testing).
2999 + improve _tracedump() handling of color pairs past 96.
3000 + modify return-value from start_color() to return OK if colors have
3001 already been started.
3002 + modify curs_color.3x list error conditions for init_pair(),
3003 pair_content() and color_content().
3004 + modify pair_content() to return -1 for consistency with init_pair()
3005 if it corresponds to the default-color.
3006 + change internal representation of default-color to allow application
3007 to use color number 255. This does not affect the total number of
3008 color pairs which are allowed.
3009 + add a top-level tags rule.
3012 + add a null-pointer check in wgetch() in case it is called without
3013 first calling initscr().
3014 + add some null-pointer checks for SP, which is not set by libtinfo.
3015 + modify misc/shlib to ensure that absolute pathnames are used.
3016 + modify test/Makefile.in, etc., to link test programs only against the
3017 libraries needed, e.g., omit form/menu/panel library for the ones
3018 that are curses-specific.
3019 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
3020 libtinfo.so and libtinfow.so have the same ABI. The reason for this
3021 is that the corresponding data which belongs to the upper-level
3022 ncurses library has a different size in each model (report by
3026 + minor fixes to allow test-compiles with g++.
3027 + correct column value shown in tic's warnings, which did not account
3028 for leading whitespace.
3029 + add a check in _nc_trans_string() for improperly ended strings, i.e.,
3030 where a following line begins in column 1.
3031 + modify _nc_save_str() to return a null pointer on buffer overflow.
3032 + improve repainting while scrolling wide-character data (Eungkyu Song).
3035 + merge some development changes to extend color capabilities.
3038 + merge some development changes to extend color capabilities.
3039 + fix manpage typo (FreeBSD report docs/75544).
3040 + update config.guess, config.sub
3041 > patches for configure script (Albert Chin-A-Young):
3042 + improved fix to make mbstate_t recognized on HPUX 11i (cf:
3043 20030705), making vsscanf() prototype visible on IRIX64. Tested for
3044 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
3045 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
3046 + print the result of the --disable-home-terminfo option.
3047 + use -rpath when compiling with SGI C compiler.
3050 + add trace calls to remaining public functions in form and menu
3052 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
3053 + fix typo in test/ncurses.c 'c' test from 20041218.
3056 + revise test/ncurses.c 'c' color test to improve use for xterm-88color
3057 and xterm-256color, added 'C' test using the wide-character color_set
3058 and attr_set functions.
3061 + modify configure script to work with Intel compiler.
3062 + fix an limit-check in wadd_wchnstr() which caused labels in the
3063 forms-demo to be one character short.
3064 + fix typo in curs_addchstr.3x (Jared Yanovich).
3065 + add trace calls to most functions in form and menu libraries.
3066 + update working-position for adding wide-characters when window is
3067 scrolled (prompted by related report by Eungkyu Song).
3070 + replace some references on Linux to wcrtomb() which use it to obtain
3071 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
3072 broken in glibc (see Debian #284260).
3073 + corrected length-computation in wide-character support for
3075 + some fixes to frm_driver.c to allow it to accept multibyte input.
3076 + modify configure script to work with Intel 8.0 compiler.
3079 + amend change to setupterm() in 20030405 which would reuse the value
3080 of cur_term if the same output was selected. This now reuses it only
3081 when setupterm() is called from tgetent(), which has no notion of
3082 separate SCREENs. Note that tgetent() must be called after initscr()
3083 or newterm() to use this feature (Redhat Bugzilla #140326).
3084 + add a check in CF_BUILD_CC macro to ensure that developer has given
3085 the --with-build-cc option when cross-compiling (report by Alexandre
3087 + improved configure script checks for _XOPEN_SOURCE and
3088 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
3090 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
3091 for consistency (comment by Dan Nelson).
3094 + update wsvt25 terminfo entry -TD
3095 + modify test/ins_wide.c to test all flavors of ins_wstr().
3096 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
3097 which consists of multi-column characters, since this function
3098 constructs them (cf: 20041023).
3099 + modify winnstr() to return multibyte character strings for the
3100 wide-character configuration.
3103 + fixes to make slk_set() and slk_wset() accept and store multibyte
3104 or multicolumn characters.
3107 + improve color optimization a little by making _nc_do_color() check
3108 if the old/new pairs are equivalent to the default pair 0.
3109 + modify assume_default_colors() to not require that
3110 use_default_colors() be called first.
3113 + modify term_attrs() to use termattrs(), add the extended attributes
3114 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
3115 + add logic in waddch_literal() to clear orphaned cells when one
3116 multi-column character partly overwrites another.
3117 + improved logic for clearing cells when a multi-column character
3118 must be wrapped to a new line.
3119 + revise storage of cells for multi-column characters to correct a
3120 problem with repainting. In the old scheme, it was possible for
3121 doupdate() to decide that only part of a multi-column character
3122 should be repainted since the filler cells stored only an attribute
3123 to denote them as fillers, rather than the character value and the
3127 + minor fixes for traces.
3128 + add SP->_screen_acs_map[], used to ensure that mapping of missing
3129 line-drawing characters is handled properly. For example, ACS_DARROW
3130 is absent from xterm-new, and it was coincidentally displayed the
3134 + amend 20021221 workaround for broken acs to reset the sgr, rmacs
3135 and smacs strings as well. Also modify the check for screen's
3136 limitations in that area to allow the multi-character shift-in
3137 and shift-out which seem to work.
3138 + change GPM initialization, using dl library to load it dynamically
3139 at runtime (Debian #110586).
3142 + correct logic for color pair in setcchar() and getcchar() (patch by
3143 Marcin 'Qrczak' Kowalczyk).
3144 + add t/T commands to ncurses b/B tests to allow a different color to
3145 be tested for the attrset part of the test than is used in the
3149 + fix to make setcchar() to work when its wchar_t* parameter is
3150 pointing to a string which contains more data than can be converted.
3151 + modify wget_wstr() and example in ncurses.c to work if wchar_t and
3152 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
3155 + remove check in wget_wch() added to fix an infinite loop, appears to
3156 have been working around a transitory glibc bug, and interferes
3157 with normal operation (report by Marcin 'Qrczak' Kowalczyk).
3158 + correct wadd_wch() and wecho_wch(), which did not pass the rendition
3159 information (report by Marcin 'Qrczak' Kowalczyk).
3160 + fix aclocal.m4 so that the wide-character version of ncurses gets
3161 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
3162 (adapted from patch by James J Ramsey).
3163 + change configure script for --with-caps option to indicate that it
3164 is no longer experimental.
3165 + change configure script to reflect the fact that --enable-widec has
3166 not been "experimental" since 5.3 (report by Bruno Lustosa).
3169 + add 'B' test to ncurses.c, to exercise some wide-character functions.
3172 + modify infocmp -i option to match 8-bit controls against its table
3173 entries, e.g., so it can analyze the xterm-8bit entry.
3174 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
3175 + correct translation of "%%" in terminfo format to termcap, e.g.,
3176 using "tic -C" (Redhat Bugzilla #130921).
3177 + modified configure script CF_XOPEN_SOURCE macro to ensure that if
3178 it defines _POSIX_C_SOURCE, that it defines it to a specific value
3179 (comp.os.stratus newsgroup comment).
3182 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
3183 fatal, and gnat does not follow the guidelines for pragmas).
3184 However that did find a coding error in Assume_Default_Colors().
3185 + modify several terminfo entries to ensure xterm mouse and cursor
3186 visibility are reset in rs2 string: hurd, putty, gnome,
3187 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The
3188 xterm entries are left alone - old ones for compatibility, and the
3189 new ones do not require this change. -TD
3192 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
3193 and window managers (Debian #265631).
3194 > terminfo updates -TD
3195 + remove dch/dch1 from rxvt because they are implemented inconsistently
3196 with the common usage of bce/ech
3197 + remove khome from vt220 (vt220's have no home key)
3201 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
3202 combinations of video attributes so that for instance bold and
3203 underline can be tested. This made the legend too crowded, added
3204 a help window as well.
3205 + modify test/ncurses.c 'b' test to cycle through default colors if
3206 the -d option is set.
3207 + update putty terminfo entry (Robert de Bath).
3210 + modify test/cardfile.c to allow it to read more data than can be
3212 + correct logic in resizeterm.c which kept it from processing all
3213 levels of window hierarchy (reports by Folkert van Heusden,
3217 + modify "tic -cv" to ignore delays when comparing strings. Also
3218 modify it to ignore a canceled sgr string, e.g., for terminals which
3219 cannot properly combine attributes in one control sequence.
3220 + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
3221 patch by Hans de Goede)
3222 > terminfo updates -TD
3223 + make ncsa-m rmacs/smacs consistent with sgr
3224 + add sgr, rc/sc and ech to syscons entries
3225 + add function-keys to decansi
3226 + add sgr to mterm-ansi
3227 + add sgr, civis, cnorm to emu
3228 + correct/simplify cup in addrinfo
3231 > terminfo updates -TD
3232 + add xterm-pc-fkeys
3233 + review/update gnome and gnome-rh90 entries (prompted by Redhat
3235 + review/update konsole entries
3236 + add sgr, correct sgr0 for kterm and mlterm
3237 + correct tsl string in kterm
3240 + add configure option --without-xterm-new
3243 + add check in wget_wch() for printable bytes that are not part of a
3244 multibyte character.
3245 + modify wadd_wchnstr() to render text using window's background
3247 + improve tic's check to compare sgr and sgr0.
3248 + fix c++ directory's .cc.i rule.
3249 + modify logic in tgetent() which adjusts the termcap "me" string
3250 to work with ISO-2022 string used in xterm-new (cf: 20010908).
3251 + modify tic's check for conflicting function keys to omit that if
3252 converting termcap to termcap format.
3253 + add -U option to tic and infocmp.
3254 + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
3255 > terminfo updates -TD
3256 + minor fixes for emu
3258 + change wyse acsc strings to use 'i' map rather than 'I'
3263 + use tic -x to install terminfo database -TD
3264 + add -x to infocmp's usage message.
3265 + correct field used for comparing O_ROWMAJOR in set_menu_format()
3266 (report/patch by Tony Li).
3267 + fix a missing nul check in set_field_buffer() from 20040508 changes.
3268 > terminfo updates -TD
3269 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
3271 + align with xterm patch #192's use of xterm-new -TD
3272 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
3273 + make xterm-new the default "xterm" entry -TD
3276 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
3277 cross-compiling from a separate directory tree (report/patch by
3279 + modify is_term_resized() to ensure that window sizes are nonzero,
3280 as documented in the manpage (report by Ian Collier).
3281 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
3282 (Debian #249214, report/patch by Jeff Bailey).
3283 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
3284 + update config.guess, config.sub
3285 > terminfo updates -TD
3287 + add xterm-xf86-v44
3288 + modify xterm-new aka xterm-xfree86 to accommodate luit, which
3289 relies on G1 being used via an ISO-2022 escape sequence (report by
3294 + reconsidered winsnstr(), decided after comparing other
3295 implementations that wrapping is an X/Open documentation error.
3296 + modify test/inserts.c to test all flavors of insstr().
3299 + add setlocale() calls to a few test programs which may require it:
3300 demo_forms.c, filter.c, ins_wide.c, inserts.c
3301 + correct a few misspelled function names in ncurses-intro.html (report
3303 + correct internal name of key_defined() manpage, which conflicted with
3307 + correct size of internal pad used for holding wide-character
3308 field_buffer() results.
3309 + modify data_ahead() to work with wide-characters.
3312 + improve description of terminfo if-then-else expressions (suggested
3314 + improve test/ncurses.c 'd' test, allow it to use external file for
3315 initial palette (added xterm-16color.dat and linux-color.dat), and
3316 reset colors to the initial palette when starting/ending the test.
3317 + change limit-check in init_color() to allow r/g/b component to
3318 reach 1000 (cf: 20020928).
3321 + modify form library to use cchar_t's rather than char's in the
3322 wide-character configuration for storing data for field buffers.
3323 + correct logic of win_wchnstr(), which did not work for more than
3327 + replace memset/memcpy usage in form library with for-loops to
3328 simplify changing the datatype of FIELD.buf, part of wide-character
3330 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
3333 + modify menu library to account for actual number of columns used by
3334 multibyte character strings, in the wide-character configuration
3335 (adapted from patch by Philipp Tomsich).
3336 + add "-x" option to infocmp like tic's "-x", for use in "-F"
3337 comparisons. This modifies infocmp to only report extended
3338 capabilities if the -x option is given, making this more consistent
3339 with tic. Some scripts may break, since infocmp previous gave this
3340 information without an option.
3341 + modify termcap-parsing to retain 2-character aliases at the beginning
3342 of an entry if the "-x" option is used in tic.
3345 + minor compiler-warning and test-program fixes.
3348 + modify tic's missing-sgr warning to apply to terminfo only.
3349 + free some memory leaks in tic.
3350 + remove check in post_menu() that prevented menus from extending
3351 beyond the screen (request by Max J. Werner).
3352 + remove check in newwin() that prevents allocating windows
3353 that extend beyond the screen. Solaris curses does this.
3354 + add ifdef in test/color_set.c to allow it to compile with older
3356 + add napms() calls to test/dots.c to make it not be a CPU hog.
3359 + modify unctrl() to return null if its parameter does not correspond
3360 to an unsigned char.
3361 + add some limit-checks to guard isprint(), etc., from being used on
3362 values that do not fit into an unsigned char (report by Sami Farin).
3365 + fix a typo in the _nc_get_locale() change.
3368 + modify _nc_get_locale() to use setlocale() to query the program's
3369 current locale rather than using getenv(). This fixes a case in tin
3370 which relies on legacy treatment of 8-bit characters when the locale
3371 is not initialized (reported by Urs Jansen).
3372 + add sgr string to screen's and rxvt's terminfo entries -TD.
3373 + add a check in tic for terminfo entries having an sgr0 but no sgr
3374 string. This confuses Tru64 and HPUX curses when combined with
3375 color, e.g., making them leave line-drawing characters in odd places.
3376 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
3377 original definitions used in Debian package to fix PowerPC bug before
3378 20030802 (Debian #237629).
3381 + modify PutAttrChar() and PUTC() macro to improve use of
3382 A_ALTCHARSET attribute to prevent line-drawing characters from
3383 being lost in situations where the locale would otherwise treat the
3384 raw data as nonprintable (Debian #227879).
3387 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
3389 + remove ".PP" after ".SH NAME" in a few manpages; this confuses
3390 some apropos script (Debian #237831).
3393 + modify ncurses.c 'r' test so editing commands, like inserted text,
3394 set the field background, and the state of insert/overlay editing
3395 mode is shown in that test.
3396 + change syntax of dummy targets in Ada95 makefiles to work with pmake.
3397 + correct logic in test/ncurses.c 'b' for noncolor terminals which
3398 did not recognize a quit-command (cf: 20030419).
3401 + modify _nc_insert_ch() to allow for its input to be part of a
3403 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states
3404 that this function performs wrapping, unlike all of the other
3405 insert-functions. Currently it does not wrap.
3406 + check for nl_langinfo(CODESET), use it if available (report by
3408 + split-out CF_BUILD_CC macro, actually did this for lynx first.
3409 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
3410 which happened to work with bash, but not with Bourne shell (report
3411 by Marco d'Itri via tin-dev).
3414 + some changes to adapt the form library to wide characters, incomplete
3415 (request by Mike Aubury).
3416 + add symbol to curses.h which can be used to suppress include of
3418 #define NCURSES_ENABLE_STDBOOL_H 0
3420 (discussion on XFree86 mailing list).
3423 + modify configure --with-termlib option to accept a value which sets
3424 the name of the terminfo library. This would allow a packager to
3425 build libtinfow.so renamed to coincide with libtinfo.so (discussion
3426 with Stanislav Ievlev).
3427 + improve documentation of --with-install-prefix, --prefix and
3428 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
3429 + add configure check if the compiler can use -c -o options to rename
3430 its output file, use that to omit the 'cd' command which was used to
3431 ensure object files are created in a separate staging directory
3432 (prompted by comments by Johnny Wezel, Martin Mokrejs).
3434 20040208 5.4 release for upload to ftp.gnu.org
3437 20040207 pre-release
3438 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
3439 and do not count %d if it follows a %p.
3440 + correct an inconsistency between handling of codes in the 128-255
3441 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX
3442 locale, the latter did not show printable results, while the former
3444 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
3445 OS X, which alters "%%" to "% % " (report by Robert Simms, fix
3446 verified by Scott Corscadden).
3448 20040131 pre-release
3449 + modify SCREEN struct to align it between normal/wide curses flavors
3450 to simplify future changes to build a single version of libtinfo
3451 (patch by Stanislav Ievlev).