1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2011,2012 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.1880 2012/03/17 21:16:50 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 + correct a check made in lib_napms.c, so that terminfo applications
50 can again use napms() (cf: 20110604).
51 + add a note in tic.h regarding required casts for ABSENT_BOOLEAN
53 + correct scripting for --disable-echo option in test/configure.
54 + amend check for missing c++ compiler to work when no error is
55 reported, and no variables set (cf: 20021206).
56 + add/use configure macro CF_DISABLE_ECHO.
59 + fix some strict compiler warnings for abi6 and 64-bits.
60 + use begin_va_copy/end_va_copy macros in lib_printw.c (cf: 20120303).
61 + improve a limit-check in infocmp.c (Werner Fink):
64 + minor tidying of terminfo.tail, clarify reason for limitation
65 regarding mapping of \0 to \200
66 + minor improvement to _nc_copy_termtype(), using memcpy to replace
68 + fix no-leaks checking in test/demo_termcap.c to account for multiple
70 + modified the libgpm change to show previous load as a problem in the
72 > merge some patches from OpenSUSE rpm (Werner Fink):
73 + ncurses-5.7-printw.dif, fixes for varargs handling in lib_printw.c
74 + ncurses-5.7-gpm.dif, do not dlopen libgpm if already loaded by
76 + ncurses-5.6-fallback.dif, do not free arrays and strings from static
80 + fix breakage in tic/infocmp from 20120225 (report by Werner Fink).
83 + modify configure script to allow creating dll's for MinGW when
85 + add --enable-string-hacks option to control whether strlcat and
86 strlcpy may be used. The same issue applies to OpenBSD's warnings
87 about snprintf, noting that this function is weakly standardized.
88 + add configure checks for strlcat, strlcpy and snprintf, to help
89 reduce bogus warnings with OpenBSD builds.
90 + build-fix for OpenBSD 4.9 to supply consistent intptr_t declaration
92 + update config.guess, config.sub
95 + correct CF_ETIP_DEFINES configure macro, making it exit properly on
96 the first success (patch by Pierre Labastie).
97 + improve configure macro CF_MKSTEMP by moving existence-check for
98 mkstemp out of the AC_TRY_RUN, to help with cross-compiles.
99 + improve configure macro CF_FUNC_POLL from luit changes to detect
100 broken implementations, e.g., with Mac OS X.
101 + add configure option --with-tparm-arg
102 + build-fix for MinGW cross-compiling, so that make_hash does not
103 depend on TTY definition (cf: 20111008).
106 + make sgr for xterm-pcolor agree with other caps -TD
107 + make sgr for att5425 agree with other caps -TD
108 + make sgr for att630 agree with other caps -TD
109 + make sgr for linux entries agree with other caps -TD
110 + make sgr for tvi9065 agree with other caps -TD
111 + make sgr for ncr260vt200an agree with other caps -TD
112 + make sgr for ncr160vt100pp agree with other caps -TD
113 + make sgr for ncr260vt300an agree with other caps -TD
114 + make sgr for aaa-60-dec-rv, aaa+dec agree with other caps -TD
115 + make sgr for cygwin, cygwinDBG agree with other caps -TD
116 + add configure option --with-xterm-kbs to simplify configuration for
117 Linux versus most other systems.
120 + improved tic -D option, avoid making target directory and provide
124 + add mach-gnu (Debian #614316, patch by Samuel Thibault)
125 + add mach-gnu-color, tweaks to mach-gnu terminfo -TD
126 + make sgr for sun-color agree with smso -TD
127 + make sgr for prism9 agree with other caps -TD
128 + make sgr for icl6404 agree with other caps -TD
129 + make sgr for ofcons agree with other caps -TD
130 + make sgr for att5410v1, att4415, att620 agree with other caps -TD
131 + make sgr for aaa-unk, aaa-rv agree with other caps -TD
132 + make sgr for avt-ns agree with other caps -TD
133 + amend fix intended to separate fixups for acsc to allow "tic -cv" to
134 give verbose warnings (cf: 20110730).
135 + modify misc/gen-edit.sh to make the location of the tabset directory
136 consistent with misc/Makefile.in, i.e., using ${datadir}/tabset
137 (Debian #653435, patch by Sven Joachim).
140 + add --with-lib-prefix option to allow configuring for old/new flavors
142 + modify check for gnat version to allow for year, as used in FreeBSD
144 + modify check_existence() in db_iterator.c to simply check if the
145 path is a directory or file, according to the need. Checking for
146 directory size also gives no usable result with OS/2 (cf: 20120107).
147 + support OS/2 kLIBC (patch by KO Myung-Han).
150 + several improvements to test/movewindow.c (prompted by discussion on
152 + modify movement commands to make them continuous
153 + rewrote the test for mvderwin
154 + rewrote the test for recursive mvwin
155 + split-out reusable CF_WITH_NCURSES_ETC macro in test/configure.in
156 + updated configure macro CF_XOPEN_SOURCE, build-fixes for Mac OS X
158 + regenerated html manpages.
161 + various improvments for MinGW (Juergen Pfeifer):
162 + modify stat() calls to ignore the st_size member
163 + drop mk-dlls.sh script.
164 + change recommended regular expression library.
165 + modify rain.c to allow for threaded configuraton.
166 + modify tset.c to allow for case when size-change logic is not used.
169 + modify toe's report when -a and -s options are combined, to add
170 a column showing which entries belong to a given database.
171 + add -s option to toe, to sort its output.
172 + modify progs/toe.c, simplifying use of db-iterator results to use
173 caching improvements from 20111001 and 20111126.
174 + correct generation of pc-files when ticlib or termlib options are
175 given to rename the corresponding tic- or tinfo-libraries (report
179 + document a portability issue with tput, i.e., that scripts which work
180 with ncurses may fail in other implementations that do no parameter
182 + add putty-sco entry -TD
185 + review/fix places in manpages where --program-prefix configure option
187 + add -D option to infocmp, to show the database locations that it
189 + fix build for the special case where term-driver, ticlib and termlib
190 are all enabled. The terminal driver depends on a few features in
191 the base ncurses library, so tic's dependencies include both ncurses
193 + fix build work for term-driver when --enable-wgetch-events option is
195 + use <stdint.h> types to fix some questionable casts to void*.
198 + modify configure script to check if thread library provides
199 pthread_mutexattr_settype(), e.g., not provided by Solaris 2.6
200 + modify configure script to suppress check to define _XOPEN_SOURCE
201 for IRIX64, since its header files have a conflict versus
203 + modify configure script to add ".pc" files for tic- and
204 tinfo-libraries, which were omitted in recent change (cf: 20111126).
205 + fix inconsistent checks on $PKG_CONFIG variable in configure script.
208 + modify configure-check for etip.h dependencies, supplying a temporary
209 copy of ncurses_dll.h since it is a generated file (prompted by
211 + modify CF_CPP_PARAM_INIT "main" function to work with current C++.
214 + correct database iterator's check for duplicate entries
216 + modify database iterator to ignore $TERMCAP when it is not an
218 + add -D option to tic, to show the database locations that it could
220 + improve description of database locations in tic manpage.
221 + modify the configure script to generate a list of the ".pc" files to
222 generate, rather than deriving the list from the libraries which have
223 been built (patch by Mike Frysinger).
224 + use AC_CHECK_TOOLS in preference to AC_PATH_PROGS when searching for
225 ncurses*-config, e.g., in Ada95/configure and test/configure (adapted
226 from patch by Mike Frysinger).
229 + remove obsolete/conflicting fallback definition for _POSIX_SOURCE
230 from curses.priv.h, fixing a regression with IRIX64 and Tru64
232 + modify _nc_tic_dir() to ensure that its return-value is nonnull,
233 i.e., the database iterator was not initialized. This case is needed
234 to when tic is translating to termcap, rather than loading the
235 database (cf: 20111001).
238 + add pccon entries for OpenBSD console (Alexei Malinin).
239 + build-fix for OpenBSD 4.9 with gcc 4.2.1, setting _XOPEN_SOURCE to
240 600 to work around inconsistent ifdef'ing of wcstof between C and
242 + modify capconvert script to accept more than exact match on "xterm",
243 e.g., the "xterm-*" variants, to exclude from the conversion (patch
245 + add -lc_r as alternative for -lpthread, allows build of threaded code
246 in older FreeBSD machines.
247 + build-fix for MirBSD, which fails when either _XOPEN_SOURCE or
248 _POSIX_SOURCE are defined.
249 + fix a typo misc/Makefile.in, used in uninstalling pc-files.
252 + modify make_db_path() to allow creating "terminfo.db" in the same
253 directory as an existing "terminfo" directory. This fixes a case
254 where switching between hashed/filesystem databases would cause the
255 new hashed database to be installed in the next best location -
256 root's home directory.
257 + add variable cf_cv_prog_gnat_correct to those passed to
258 config.status, fixing a problem with Ada95 builds (cf: 20111022).
259 + change feature test from _XPG5 to _XOPEN_SOURCE in two places, to
260 accommodate broken implementations for _XPG6.
261 + eliminate usage of NULL symbol from etip.h, to reduce header
263 + add configure check to decide when to add _XOPEN_SOURCE define to
264 compiler options, i.e., for Solaris 10 and later (cf: 20100403).
265 This is a workaround for gcc 4.6, which fails to build the c++
266 binding if that symbol is defined by the application, due to
267 incorrectly combining the corresponding feature test macros
268 (report by Peter Kruse).
271 + correct logic for discarding mouse events, retaining the partial
272 events used to build up click, double-click, etc, until needed
274 + fix configure script to avoid creating unused Ada95 makefile when
276 + cleanup width-related gcc 3.4.3 warnings for 64-bit platform, for the
277 internal functions of libncurses. The external interface of courses
278 uses bool, which still produces these warnings.
281 + improve description of --disable-tic-depends option to make it
282 clear that it may be useful whether or not the --with-termlib
283 option is also given (report by Sven Joachim).
284 + amend termcap equivalent for set_pglen_inch to use the X/Open
285 "YI" rather than the obsolete Solaris 2.5 "sL" (cf: 990109).
286 + improve manpage for tgetent differences from termcap library.
289 + moved static data from db_iterator.c to lib_data.c
290 + modify db_iterator.c for memory-leak checking, fix one leak.
291 + modify misc/gen-pkgconfig.in to use Requires.private for the parts
292 of ncurses rather than Requires, as well as Libs.private for the
293 other library dependencies (prompted by Debian #644728).
296 + modify tic "-K" option to only set the strict-flag rather than force
297 source-output. That allows the same flag to control the parser for
298 input and output of termcap source.
299 + modify _nc_getent() to ignore backslash at the end of a comment line,
300 making it consistent with ncurses' parser.
301 + restore a special-case check for directory needed to make termcap
302 text files load as if they were databases (cf: 20110924).
303 + modify tic's resolution/collision checking to attempt to remove the
304 conflicting alias from the second entry in the pair, which is
305 normally following in the source file. Also improved the warning
306 message to make it simpler to see which alias is the problem.
307 + improve performance of the database iterator by caching search-list.
310 + add a missing "else" in changes to _nc_read_tic_entry().
313 + modify _nc_read_tic_entry() so that hashed-database is checked before
315 + updated CF_CURSES_LIBS check in test/configure script.
316 + modify configure script and makefiles to split TIC_ARGS and
317 TINFO_ARGS into pieces corresponding to LDFLAGS and LIBS variables,
318 to help separate searches for tic- and tinfo-libraries (patch by Nick
320 + build-fix for lib_mouse.c changes (cf: 20110917).
323 + fix compiler warning for clang 2.9
324 + improve merging of mouse events (integrated patch by Damien
326 + correct mask-check used in lib_mouse for wheel mouse buttons 4/5
327 (patch by Damien Guibouret).
330 + modify misc/gen_edit.sh to select a "linux" entry which works with
331 the current kernel rather than assuming it is always "linux3.0"
333 + revert a change to getmouse() which had the undesirable side-effect
334 of suppressing button-release events (report by Damien Guibouret,
336 + add xterm+kbs fragment from xterm #272 -TD
337 + add configure option --with-pkg-config-libdir to provide control over
338 the actual directory into which pc-files are installed, do not use
339 the pkg-config environment variables (discussion with Frederic L W
341 + add link to mailing-list archive in announce.html.in, as done in
342 FAQ (prompted by question by Andrius Bentkus).
343 + improve manpage install by adjusting the "#include" examples to
344 show the ncurses-subdirectory used when --disable-overwrite option
346 + install an alias for "curses" to the ncurses manpage, tied to the
347 --with-curses-h configure option (suggested by Reuben Thomas).
350 + propagate error-returns from wresize, i.e., the internal
351 increase_size and decrease_size functions through resize_term (report
352 by Tim van der Molen, cf: 20020713).
353 + fix typo in tset manpage (patch by Sven Joachim).
356 + add a check to ensure that termcap files which might have "^?" do
357 not use the terminfo interpretation as "\177".
358 + minor cleanup of X-terminal emulator section of terminfo.src -TD
359 + add terminator entry -TD
360 + add simpleterm entry -TD
361 + improve wattr_get macros by ensuring that if the window pointer is
362 null, then the attribute and color values returned will be zero
366 + add substitution for $RPATH_LIST to misc/ncurses-config.in
367 + improve performance of tic with hashed-database by caching the
368 database connection, using atexit() to cleanup.
369 + modify treatment of 2-character aliases at the beginning of termcap
370 entries so they are not counted in use-resolution, since these are
371 guaranteed to be unique. Also ignore these aliases when reporting
372 the primary name of the entry (cf: 20040501)
373 + double-check gn (generic) flag in terminal descriptions to
374 accommodate old/buggy termcap databases which misused that feature.
375 + minor fixes to _nc_tgetent(), ensure buffer is initialized even on
379 + improve rpath fix from 20110730 by ensuring that the new $RPATH_LIST
380 variable is defined in the makefiles which use it.
381 + build-fix for DragonFlyBSD's pkgsrc in test/configure script.
382 + build-fixes for NetBSD 5.1 with termcap support enabled.
383 + corrected k9 in dg460-ansi, add other features based on manuals -TD
384 + improve trimming of whitespace at the end of terminfo/termcap output
386 + when writing termcap source, ensure that colons in the description
387 field are translated to a non-delimiter, i.e., "=".
388 + add "-0" option to tic/infocmp, to make the termcap/terminfo source
390 + add a null-pointer check when handling the $CC variable.
393 + modify configure script and makefiles in c++ and progs to allow the
394 directory used for rpath option to be overridden, e.g., to work
395 around updates to the variables used by tic during an install.
396 + add -K option to tic/infocmp, to provide stricter BSD-compatibility
398 + add _nc_strict_bsd variable in tic library which controls the
399 "strict" BSD termcap compatibility from 20110723, plus these
401 + allow escapes such as "\8" and "\9" when reading termcap
402 + disallow "\a", "\e", "\l", "\s" and "\:" escapes when reading
403 termcap files, passing through "a", "e", etc.
404 + expand "\:" as "\072" on output.
405 + modify _nc_get_token() to reset the token's string value in case
406 there is a string-typed token lacking the "=" marker.
407 + fix a few memory leaks in _nc_tgetent.
408 + fix a few places where reading from a termcap file could refer to
410 + add an overflow check when converting terminfo/termcap numeric
411 values, since terminfo stores those in a short, and they must be
413 + correct internal variables used for translating to termcap "%>"
414 feature, and translating from termcap %B to terminfo, needed by
415 tctest (cf: 19991211).
416 + amend a minor fix to acsc when loading a termcap file to separate it
417 from warnings needed for tic (cf: 20040710)
418 + modify logic in _nc_read_entry() and _nc_read_tic_entry() to allow
419 a termcap file to be handled via TERMINFO_DIRS.
420 + modify _nc_infotocap() to include non-mandatory padding when
421 translating to termcap.
422 + modify _nc_read_termcap_entry(), passing a flag in the case where
423 getcap is used, to reduce interactive warning messages.
426 + add a check in start_color() to limit color-pairs to 256 when
427 extended colors are not supported (patch by David Benjamin).
428 + modify setcchar to omit no-longer-needed OR'ing of color pair in
429 the SetAttr() macro (patch by David Benjamin).
430 + add kich1 to sun terminfo entry (Yuri Pankov)
431 + use bold rather than reverse for smso in sun-color terminfo entry
433 + improve generation of termcap using tic/infocmp -C option, e.g.,
434 to correspond with 4.2BSD (prompted by discussion with Yuri Pankov
435 regarding Schilling's test program):
436 + translate %02 and %03 to %2 and %3 respectively.
437 + suppress string capabilities which use %s, not supported by tgoto
438 + use \040 rather than \s
439 + expand null characters as \200 rather than \0
440 + modify configure script to support shared libraries for DragonFlyBSD.
443 + replace an assert() in _nc_Free_Argument() with a regular null
444 pointer check (report/analysis by Franjo Ivancic).
445 + modify configure --enable-pc-files option to take into account the
446 PKG_CONFIG_PATH variable (report by Frederic L W Meunier).
447 + add/use xterm+tmux chunk from xterm #271 -TD
448 + resync xterm-new entry from xterm #271 -TD
449 + add E3 extended capability to linux-basic (Miroslav Lichvar)
450 + add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
451 + add SI/SO change to linux2.6 entry (Debian #515609) -TD
452 + fix inconsistent tabset path in pcmw (Todd C. Miller).
453 + remove a backslash which continued comment, obscuring altos3
454 definition with OpenBSD toolset (Nicholas Marriott).
457 + add workaround from xterm #271 changes to ensure that compiler flags
458 are not used in the $CC variable.
459 + improve support for shared libraries, tested with AIX 5.3, 6.1 and
460 7.1 with both gcc 4.2.4 and cc.
461 + modify configure checks for AIX to include release 7.x
462 + add loader flags/libraries to libtool options so that dynamic loading
463 works properly, adapted from ncurses-5.7-ldflags-with-libtool.patch
464 at gentoo prefix repository (patch by Michael Haubenwallner).
467 + move include of nc_termios.h out of term_entry.h, since the latter
468 is installed, e.g., for tack while the former is not (report by
472 + improve cleanup() function in lib_tstp.c, using _exit() rather than
473 exit() and checking for SIGTERM rather than SIGQUIT (prompted by
474 comments forwarded by Nicholas Marriott).
475 + reduce name pollution from term.h, moving fallback #define's for
476 tcgetattr(), etc., to new private header nc_termios.h (report by
478 + two minor fixes for tracing (patch by Vassili Courzakis).
479 + improve trace initialization by starting it in use_env() and
481 + review old email, add details for some changelog entries.
484 + update minix entry to minix 3.2 (Thomas Cort).
485 + fix a strict compiler warning in change to wattr_get (cf: 20110528).
488 + fixes for MirBSD port:
489 + set default prefix to /usr.
490 + add support for shared libraries in configure script.
491 + use S_ISREG and S_ISDIR consistently, with fallback definitions.
492 + add a few more checks based on ncurses/link_test.
493 + modify MKlib_gen.sh to handle sp-funcs renaming of NCURSES_OUTC type.
496 + add case to CF_SHARED_OPTS for Interix (patch by Markus Duft).
497 + used ncurses/link_test to check for behavior when the terminal has
498 not been initialized and when an application passes null pointers
499 to the library. Added checks to cover this (prompted by Redhat
501 + modify MKlib_gen.sh to make its main() function call each function
502 with zero parameters, to help find inconsistent checking for null
506 + fix warnings from clang 2.7 "--analyze"
509 + compiler-warning fixes in panel and progs.
510 + modify CF_PKG_CONFIG macro, from changes to tin -TD
511 + modify CF_CURSES_FUNCS configure macro, used in test directory
513 + work around (non-optimizer) bug in gcc 4.2.1 which caused
514 test-expression to be omitted from executable.
515 + force the linker to see a link-time expression of a symbol, to
516 help work around weak-symbol issues.
519 + update discussion of MKfallback.sh script in INSTALL; normally the
520 script is used automatically via the configured makefiles. However
521 there are still occasions when it might be used directly by packagers
522 (report by Gunter Schaffler).
523 + modify misc/ncurses-config.in to omit the "-L" option from the
524 "--libs" output if the library directory is /usr/lib.
525 + change order of tests for curses.h versus ncurses.h headers in the
526 configure scripts for Ada95 and test-directories, to look for
527 ncurses.h, from fixes to tin -TD
528 + modify ncurses/tinfo/access.c to account for Tandem's root uid
529 (report by Joachim Schmitz).
532 + modify rules in Ada95/src/Makefile.in to ensure that the PIC option
533 is not used when building a static library (report by Nicolas
535 + Ada95 build-fix for big-endian architectures such as sparc. This
536 undoes one of the fixes from 20110319, which added an "Unused" member
537 to representation clauses, replacing that with pragmas to suppress
538 warnings about unused bits (patch by Nicolas Boulenguez):
541 + add check in test/configure for use_window, use_screen.
542 + add configure-checks for getopt's variables, which may be declared
543 as different types on some Unix systems.
544 + add check in test/configure for some legacy curses types of the
545 function pointer passed to tputs().
546 + modify init_pair() to accept -1's for color value after
547 assume_default_colors() has been called (Debian #337095).
548 + modify test/background.c, adding commmand-line options to demonstrate
549 assume_default_colors() and use_default_colors().
552 + modify configure script/source-code to only define _POSIX_SOURCE if
553 the checks for sigaction and/or termios fail, and if _POSIX_C_SOURCE
554 and _XOPEN_SOURCE are undefined (report by Valentin Ochs).
555 + update config.guess, config.sub
558 + fixes to build c++ binding with clang 3.0 (patch by Alexander
560 + add check for unctrl.h in test/configure, to work around breakage in
561 some ncurses packages.
562 + add "--disable-widec" option to test/configure script.
563 + add "--with-curses-colr" and "--with-curses-5lib" options to the
564 test/configure script to address testing with very old machines.
566 20110404 5.9 release for upload to ftp.gnu.org
569 + various build-fixes for the rpm/dpkg scripts.
570 + add "--enable-rpath-link" option to Ada95/configure, to allow
571 packages to suppress the rpath feature which is normally used for
572 the in-tree build of sample programs.
573 + corrected definition of libdir variable in Ada95/src/Makefile.in,
574 needed for rpm script.
575 + add "--with-shared" option to Ada95/configure script, to allow
576 making the C-language parts of the binding use appropriate compiler
577 options if building a shared library with gnat.
580 > portability fixes for Ada95 binding:
581 + add configure check to ensure that SIGINT works with gnat. This is
582 needed for the "rain" sample program. If SIGINT does not work, omit
584 + correct typo in check of $PKG_CONFIG variable in Ada95/configure
585 + add ncurses_compat.c, to supply functions used in the Ada95 binding
586 which were added in 5.7 and later.
587 + modify sed expression in CF_NCURSES_ADDON to eliminate a dependency
591 + add special check in Ada95/configure script for ncurses6 reentrant
593 + regen Ada html documentation.
594 + build-fix for Ada shared libraries versus the varargs workaround.
595 + add rpm and dpkg scripts for Ada95 and test directories, for test
597 + update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and
599 + add configure check to determine if gnat's project feature supports
600 libraries, i.e., collections of .ali files.
601 + make all dereferences in Ada95 samples explicit.
602 + fix typo in comment in lib_add_wch.c (patch by Petr Pavlu).
603 + add configure check for, ifdef's for math.h which is in a separate
604 package on Solaris and potentially not installed (report by Petr
606 > fixes for Ada95 binding (Nicolas Boulenguez):
607 + improve type-checking in Ada95 by eliminating a few warning-suppress
609 + suppress unreferenced warnings.
610 + make all dereferences in binding explicit.
613 + regen Ada html documentation.
614 + change order of -I options from ncurses*-config script when the
615 --disable-overwrite option was used, so that the subdirectory include
617 + modify the make-tar.sh scripts to add a MANIFEST and NEWS file.
618 + modify configure script to provide value for HTML_DIR in
619 Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is
620 distributed separately (report by Nicolas Boulenguez).
621 + modify configure script to add -g and/or -O3 to ADAFLAGS if the
622 CFLAGS for the build has these options.
623 + amend change from 20070324, to not add 1 to the result of getmaxx
624 and getmaxy in the Ada binding (report by Nicolas Boulenguez for
625 thread in comp.lang.ada).
626 + build-fix Ada95/samples for gnat 4.5
627 + spelling fixes for Ada95/samples/explain.txt
628 > fixes for Ada95 binding (Nicolas Boulenguez):
629 + add item in Trace_Attribute_Set corresponding to TRACE_ATTRS.
630 + add workaround for binding to set_field_type(), which uses varargs.
631 The original binding from 990220 relied on the prevalent
632 implementation of varargs which did not support or need va_copy().
633 + add dependency on gen/Makefile.in needed for *-panels.ads
634 + add Library_Options to library.gpr
635 + add Languages to library.gpr, for gprbuild
638 + revert changes to limit-checks from 20110122 (Debian #616711).
639 > minor type-cleanup of Ada95 binding (Nicolas Boulenguez):
640 + corrected a minor sign error in a field of Low_Level_Field_Type, to
642 + replaced C_Int by Curses_Bool as return type for some callbacks, see
644 + modify samples/sample-explain.adb to provide explicit message when
645 explain.txt is not found.
648 + improve makefiles for Ada95 tree (patch by Nicolas Boulenguez).
649 + fix an off-by-one error in _nc_slk_initialize() from 20100605 fixes
650 for compiler warnings (report by Nicolas Boulenguez).
651 + modify Ada95/gen/gen.c to declare unused bits in generated layouts,
652 needed to compile when chtype is 64-bits using gnat 4.4.5
654 20110226 5.8 release for upload to ftp.gnu.org
657 + update release notes, for 5.8.
658 + regenerated html manpages.
659 + change open() in _nc_read_file_entry() to fopen() for consistency
661 + modify misc/run_tic.in to create parent directory, in case this is
662 a new install of hashed database.
663 + fix typo in Ada95/mk-1st.awk which causes error with original awk.
666 + configure script rpath fixes from xterm #269.
667 + workaround for cygwin's non-functional features.h, to force ncurses'
668 configure script to define _XOPEN_SOURCE_EXTENDED when building
669 wide-character configuration.
670 + build-fix in run_tic.sh for OS/2 EMX install
671 + add cons25-debian entry (patch by Brian M Carlson, Debian #607662).
674 + regenerated html manpages.
675 + use _tracef() in show_where() function of tic, to work correctly with
676 special case of trace configuration.
679 + add xterm-utf8 entry as a demo of the U8 feature -TD
680 + add U8 feature to denote entries for terminal emulators which do not
681 support VT100 SI/SO when processing UTF-8 encoding -TD
682 + improve the NCURSES_NO_UTF8_ACS feature by adding a check for an
683 extended terminfo capability U8 (prompted by mailing list
687 + start documenting interface changes for upcoming 5.8 release.
688 + correct limit-checks in derwin().
689 + correct limit-checks in newwin(), to ensure that windows have nonzero
690 size (report by Garrett Cooper).
691 + fix a missing "weak" declaration for pthread_kill (patch by Nicholas
693 + improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted
694 by discussion with Kevin Martin).
697 + modify Ada95/configure script to make the --with-curses-dir option
698 work without requiring the --with-ncurses option.
699 + modify test programs to allow them to be built with NetBSD curses.
700 + document thick- and double-line symbols in curs_add_wch.3x manpage.
701 + document WACS_xxx constants in curs_add_wch.3x manpage.
702 + fix some warnings for clang 2.6 "--analyze"
703 + modify Ada95 makefiles to make html-documentation with the project
704 file configuration if that is used.
705 + update config.guess, config.sub
708 + regenerated html manpages.
709 + minor fixes to enable lint when trace is not enabled, e.g., with
711 + fix typo in man/default_colors.3x (patch by Tim van der Molen).
712 + update ncurses/llib-lncurses*
715 + fix remaining strict compiler warnings in ncurses library ABI=5,
716 except those dealing with function pointers, etc.
719 + modify nc_tparm.h, adding guards against repeated inclusion, and
720 allowing TPARM_ARG to be overridden.
721 + fix some strict compiler warnings in ncurses library.
724 + suppress ncv in screen entry, allowing underline (patch by Alejandro
726 + also suppress ncv in konsole-base -TD
727 + fixes in wins_nwstr() and related functions to ensure that special
728 characters, i.e., control characters are handled properly with the
729 wide-character configuration.
730 + correct a comparison in wins_nwstr() (Redhat #661506).
731 + correct help-messages in some of the test-programs, which still
732 referred to quitting with 'q'.
735 + add special case to _nc_infotocap() to recognize the setaf/setab
736 strings from xterm+256color and xterm+88color, and provide a reduced
737 version which works with termcap.
738 + remove obsolete emacs "Local Variables" section from documentation
739 (request by Sven Joachim).
740 + update doc/html/index.html to include NCURSES-Programming-HOWTO.html
741 (report by Sven Joachim).
744 + modify test/configure and test/Makefile.in to handle this special
745 case of building within a build-tree (Debian #34182):
746 mkdir -p build && cd build && ../test/configure && make
749 + miscellaneous build-fixes for Ada95 and test-directories when built
751 + use VPATH in makefiles to simplify out-of-tree builds (Debian #34182).
752 + fix typo in rmso for tek4106 entry -Goran Weinholt
755 + improve checks in test/configure for X libraries, from xterm #267
757 + modify test/configure to allow it to use the build-tree's libraries
758 e.g., when using that to configure the test-programs without the
759 rpath feature (request by Sven Joachim).
760 + repurpose "gnome" terminfo entries as "vte", retaining "gnome" items
761 for compatibility, but generally deprecating those since the VTE
762 library is what actually defines the behavior of "gnome", etc.,
766 + compiler warning fixes for test programs.
767 + various build-fixes for test-programs with pdcurses.
768 + updated configure checks for X packages in test/configure from xterm
770 + add configure check to gnatmake, to accommodate cygwin.
773 + correct list of sub-directories needed in Ada95 tree for building as
775 + modify scripts in test-directory to improve builds as a separate
779 + correct parsing of relative tab-stops in tabs program (report by
781 + adjust configure script so that "t" is not added to library suffix
782 when weak-symbols are used, allowing the pthread configuration to
783 more closely match the non-thread naming (report by Werner Fink).
784 + modify configure check for tic program, used for fallbacks, to a
785 warning if not found. This makes it simpler to use additonal
786 scripts to bootstrap the fallbacks code using tic from the build
787 tree (report by Werner Fink).
788 + fix several places in configure script using ${variable-value} form.
789 + modify configure macro CF_LDFLAGS_STATIC to accommodate some loaders
790 which do not support selectively linking against static libraries
791 (report by John P. Hartmann)
792 + fix an unescaped dash in man/tset.1 (report by Sven Joachim).
795 + correct comparison used for setting 16-colors in linux-16color
796 entry (Novell #644831) -TD
797 + improve linux-16color entry, using "dim" for color-8 which makes it
798 gray rather than black like color-0 -TD
799 + drop misc/ncu-indent and misc/jpf-indent; they are provided by an
800 external package "cindent".
803 + improve linkages in html manpages, adding references to the newer
804 pages, e.g., *_variables, curs_sp_funcs, curs_threads.
805 + add checks in tic for inconsistent cursor-movement controls, and for
806 inconsistent printer-controls.
807 + fill in no-parameter forms of cursor-movement where a parameterized
808 form is available -TD
809 + fill in missing cursor controls where the form of the controls is
811 + fix inconsistent punctuation in form_variables manpage (patch by
813 + add parameterized cursor-controls to linux-basic (report by Dae) -TD
814 > patch by Juergen Pfeifer:
815 + document how to build 32-bit libraries in README.MinGW
816 + fixes to filename computation in mk-dlls.sh.in
817 + use POSIX locale in mk-dlls.sh.in rather than en_US (report by Sven
819 + add a check in mk-dlls.sh.in to obtain the size of a pointer to
820 distinguish between 32-bit and 64-bit hosts. The result is stored
824 + add "XT" capability to entries for terminals that support both
825 xterm-style mouse- and title-controls, for "screen" which
826 special-cases TERM beginning with "xterm" or "rxvt" -TD
827 > patch by Juergen Pfeifer:
828 + use 64-Bit MinGW toolchain (recommended package from TDM, see
830 + support pthreads when using the TDM MinGW toolchain
833 + regenerated html manpages.
834 + minor fixes for symlinks to curs_legacy.3x and curs_slk.3x manpages.
835 + add manpage for sp-funcs.
836 + add sp-funcs to test/listused.sh, for documentation aids.
839 + add manpages for summarizing public variables of curses-, terminfo-
841 + minor fixes to manpages for consistency (patch by Jason McIntyre).
842 + modify tic's -I/-C dump to reformat acsc strings into canonical form
843 (sorted, unique mapping) (cf: 971004).
844 + add configure check for pthread_kill(), needed for some old
848 + add configure option --without-tests, to suppress building test
849 programs (request by Frederic L W Meunier).
852 + modify nsterm, xnuppc and tek4115 to make sgr/sgr0 consistent -TD
853 + add check in terminfo source-reader to provide more informative
854 message when someone attempts to run tic on a compiled terminal
855 description (prompted by Debian #593920).
856 + note in infotocap and captoinfo manpages that they read terminal
857 descriptions from text-files (Debian #593920).
858 + improve acsc string for vt52, show arrow keys (patch by Benjamin
862 + document in manpages that "mv" functions first use wmove() to check
863 the window pointer and whether the position lies within the window
864 (suggested by Poul-Henning Kamp).
865 + fixes to curs_color.3x, curs_kernel.3x and wresize.3x manpages (patch
866 by Tim van der Molen).
867 + modify configure script to transform library names for tic- and
868 tinfo-libraries so that those build properly with Mac OS X shared
869 library configuration.
870 + modify configure script to ensure that it removes conftest.dSYM
871 directory leftover on checks with Mac OS X.
872 + modify configure script to cleanup after check for symbolic links.
875 + correct a typo in mk-1st.awk (patch by Gabriele Balducci)
877 + improve configure checks for location of tic and infocmp programs
878 used for installing database and for generating fallback data,
879 e.g., for cross-compiling.
880 + add Markus Kuhn's wcwidth function for compiling MinGW
881 + add special case to CF_REGEX for cross-compiling to MinGW target.
884 + modify initialization check for win32con driver to eliminate need for
885 special case for TERM "unknown", using terminal database if available
886 (prompted by discussion with Roumen Petrov).
887 + for MinGW port, ensure that terminal driver is setup if tgetent()
888 is called (patch by Roumen Petrov).
889 + document tabs "-0" and "-8" options in manpage.
890 + fix Debian "lintian" issues with manpages reported in
891 http://lintian.debian.org/full/csmall@debian.org.html#ncurses
894 + add a check in tic for missing set_tab if clear_all_tabs given.
895 + improve use of symbolic links in makefiles by using "-f" option if
896 it is supported, to eliminate temporary removal of the target
897 (prompted by http://www.t2-project.org/packages/ncurses.html)
898 + minor improvement to test/ncurses.c, reset color pairs in 'd' test
899 after exit from 'm' main-menu command.
900 + improved ncu-indent, from mawk changes, allows more than one of
901 GCC_NORETURN, GCC_PRINTFLIKE and GCC_SCANFLIKE on a single line.
904 + add hard-reset for rs2 to wsvt25 to help ensure that reset ends
905 the alternate character set (patch by Nicholas Marriott)
906 + remove tar-copy.sh and related configure/Makefile chunks, since the
907 Ada95 binding is now installed using rules in Ada95/src.
910 + continue integrating changes to use gnatmake project files in Ada95
911 + add/use configure check to turn on project rules for Ada95/src.
912 + revert the vfork change from 20100130, since it does not work.
915 + continue integrating changes to use gnatmake project files in Ada95
916 + old gnatmake (3.15) does not produce libraries using project-file;
917 work around by adding script to generate alternate makefile.
920 + continue integrating changes to use gnatmake project files in Ada95
921 + add configure --with-ada-sharedlib option, for the test_make rule.
922 + move Ada95-related logic into aclocal.m4, since additional checks
923 will be needed to distinguish old/new implementations of gnat.
926 + start integrating changes to use gnatmake project files in Ada95 tree
927 + add test_make / test_clean / test_install rules in Ada95/src
928 + change install-path for adainclude directory to /usr/share/ada (was
930 + update Ada95/configure.
931 + add mlterm+256color entry, for mlterm 3.0.0 -TD
932 + modify test/configure to use macros to ensure consistent order
933 of updating LIBS variable.
936 + change search order of options for Solaris in CF_SHARED_OPTS, to
937 work with 64-bit compiles.
938 + correct quoting of assignment in CF_SHARED_OPTS case for aix
942 + regenerated html documentation.
943 + modify test/configure to support pkg-config for checking X libraries
945 + add/use configure macro CF_ADD_LIB to force consistency of
946 assignments to $LIBS, etc.
947 + fix configure script for combining --with-pthread
948 and --enable-weak-symbols options.
951 + correct cross-compiling configure check for CF_MKSTEMP macro, by
952 adding a check cache variable set by AC_CHECK_FUNC (report by
954 + simplify include-dependencies of make_hash and make_keys, to reduce
955 the need for setting BUILD_CPPFLAGS in cross-compiling when the
956 build- and target-machines differ.
957 + repair broken-linker configuration by restoring a definition of SP
958 variable to curses.priv.h, and adjusting for cases where sp-funcs
960 + improve configure macro CF_AR_FLAGS, allowing ARFLAGS environment
961 variable to override (prompted by report by Pablo Cazallas).
964 + add configure option --enable-pthreads-eintr to control whether the
965 new EINTR feature is enabled.
966 + modify logic in pthread configuration to allow EINTR to interrupt
967 a read operation in wgetch() (Novell #540571, patch by Werner Fink).
968 + drop mkdirs.sh, use "mkdir -p".
969 + add configure option --disable-libtool-version, to use the
970 "-version-number" feature which was added in libtool 1.5 (report by
971 Peter Haering). The default value for the option uses the newer
972 feature, which makes libraries generated using libtool compatible
973 with the standard builds of ncurses.
974 + updated test/configure to match configure script macros.
975 + fixes for configure script from lynx changes:
976 + improve CF_FIND_LINKAGE logic for the case where a function is
977 found in predefined libraries.
978 + revert part of change to CF_HEADER (cf: 20100424)
981 + correct limit-check in wredrawln, accounting for begy/begx values
982 (patch by David Benjamin).
983 + fix most compiler warnings from clang.
984 + amend build-fix for OpenSolaris, to ensure that a system header is
985 included in curses.h before testing feature symbols, since they
986 may be defined by that route.
989 + fix some strict compiler warnings in ncurses library.
990 + modify configure macro CF_HEADER_PATH to not look for variations in
991 the predefined include directories.
992 + improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS to work
993 with gcc 4.x's c89 alias, which gives warning messages for cases
994 where older versions would produce an error.
997 + modify _nc_capcmp() to work with cancelled strings.
998 + correct translation of "^" in _nc_infotocap(), used to transform
999 terminfo to termcap strings
1000 + add configure --disable-rpath-hack, to allow disabling the feature
1001 which adds rpath options for libraries in unusual places.
1002 + improve CF_RPATH_HACK_2 by checking if the rpath option for a given
1003 directory was already added.
1004 + improve CF_RPATH_HACK_2 by using ldd to provide a standard list of
1005 directories (which will be ignored).
1008 + improve win_driver.c handling of mouse:
1009 + discard motion events
1010 + avoid calling _nc_timed_wait when there is a mouse event
1011 + handle 4th and "rightmost" buttons.
1012 + quote substitutions in CF_RPATH_HACK_2 configure macro, needed for
1013 cases where there are embedded blanks in the rpath option.
1016 + add configure check for exctags vs ctags, to work around pkgsrc.
1017 + simplify logic in _nc_get_screensize() to make it easier to see how
1018 environment variables may override system- and terminfo-values
1019 (prompted by discussion with Igor Bujna).
1020 + make debug-traces for COLOR_PAIR and PAIR_NUMBER less verbose.
1021 + improve handling of color-pairs embedded in attributes for the
1022 extended-colors configuration.
1023 + modify MKlib_gen.sh to build link_test with sp-funcs.
1024 + build-fixes for OpenSolaris aka Solaris 11, for wide-character
1025 configuration as well as for rpath feature in *-config scripts.
1028 + refactor CF_SHARED_OPTS configure macro, making CF_RPATH_HACK more
1030 + improve configure CF_REGEX, similar fixes.
1031 + improve configure CF_FIND_LINKAGE, adding add check between system
1032 (default) and explicit paths, where we can find the entrypoint in the
1034 + add check if Gpm_Open() returns a -2, e.g., for "xterm". This is
1035 normally suppressed but can be overridden using $NCURSES_GPM_TERMS.
1036 Ensure that Gpm_Close() is called in this case.
1039 + rename atari and st52 terminfo entries to atari-old, st52-old, use
1040 newer entries from FreeMiNT by Guido Flohr (from patch/report by Alan
1044 + modify install-rule for manpages so that *-config manpages will
1045 install when building with --srcdir (report by Sven Joachim).
1046 + modify CF_DISABLE_LEAKS configure macro so that the --enable-leaks
1047 option is not the same as --disable-leaks (GenToo #305889).
1048 + modify #define's for build-compiler to suppress cchar_t symbol from
1049 compile of make_hash and make_keys, improving cross-compilation of
1050 ncursesw (report by Bernhard Rosenkraenzer).
1051 + modify CF_MAN_PAGES configure macro to replace all occurrences of
1052 TPUT in tput.1's manpage (Debian #573597, report/analysis by Anders
1056 + generate manpages for the *-config scripts, adapted from help2man
1057 (suggested by Sven Joachim).
1058 + use va_copy() in _nc_printf_string() to avoid conflicting use of
1059 va_list value in _nc_printf_length() (report by Wim Lewis).
1062 + add Ada95/configure script, to use in tar-file created by
1064 + fix typo in wresize.3x (patch by Tim van der Molen).
1065 + modify screen-bce.XXX entries to exclude ech, since screen's color
1066 model does not clear with color for that feature -TD
1069 + add make-tar.sh scripts to Ada95 and test subdirectories to help with
1070 making those separately distributable.
1071 + build-fix for static libraries without dlsym (Debian #556378).
1072 + fix a syntax error in man/form_field_opts.3x (patch by Ingo
1076 + add several screen-bce.XXX entries -TD
1079 + update mrxvt terminfo entry -TD
1080 + modify win_driver.c to support mouse single-clicks.
1081 + correct name for termlib in ncurses*-config, e.g., if it is renamed
1082 to provide a single file for ncurses/ncursesw libraries (patch by
1086 + use vfork in test/ditto.c if available (request by Mike Frysinger).
1087 + miscellaneous cleanup of manpages.
1088 + fix typo in curs_bkgd.3x (patch by Tim van der Molen).
1089 + build-fix for --srcdir (patch by Miroslav Lichvar).
1092 + for term-driver configuration, ensure that the driver pointer is
1093 initialized in setupterm so that terminfo/termcap programs work.
1094 + amend fix for Debian #542031 to ensure that wattrset() returns only
1095 OK or ERR, rather than the attribute value (report by Miroslav
1097 + reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making
1098 _nc_screen_of() compatible between normal/wide libraries again (patch
1099 by Miroslav Lichvar)
1100 + review/fix include-dependencies in modules files (report by Miroslav
1104 + modify win_driver.c to initialize acs_map for win32 console, so
1105 that line-drawing works.
1106 + modify win_driver.c to initialize TERMINAL struct so that programs
1107 such as test/lrtest.c and test/ncurses.c which test string
1108 capabilities can run.
1109 + modify term-driver modules to eliminate forward-reference
1113 + modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS
1114 consistently to add new -D's while removing duplicates.
1115 + modify a few configure macros to consistently put new options
1116 before older in the list.
1117 + add tiparm(), based on review of X/Open Curses Issue 7.
1118 + minor documentation cleanup.
1119 + update config.guess, config.sub from
1120 http://savannah.gnu.org/projects/config
1121 (caveat - its maintainer put 2010 copyright date on files dated 2009)
1124 + minor improvement to tic's checking of similar SGR's to allow for the
1125 most common case of SGR 0.
1126 + modify getmouse() to act as its documentation implied, returning on
1127 each call the preceding event until none are left. When no more
1128 events remain, it will return ERR.
1131 + change order of lookup in progs/tput.c, looking for terminfo data
1132 first. This fixes a confusion between termcap "sg" and terminfo
1133 "sgr" or "sgr0", originally from 990123 changes, but exposed by
1134 20091114 fixes for hashing. With this change, only "dl" and "ed" are
1135 ambiguous (Mandriva #56272).
1138 + add bterm terminfo entry, based on bogl 0.1.18 -TD
1139 + minor fix to rxvt+pcfkeys terminfo entry -TD
1140 + build-fixes for Ada95 tree for gnat 4.4 "style".
1143 + remove old check in mvderwin() which prevented moving a derived
1144 window whose origin happened to coincide with its parent's origin
1145 (report by Katarina Machalkova).
1146 + improve test/ncurses.c to put mouse droppings in the proper window.
1147 + update minix terminfo entry -TD
1148 + add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
1151 + correct transfer of multicolumn characters in multirow
1152 field_buffer(), which stopped at the end of the first row due to
1153 filling of unused entries in a cchar_t array with nulls.
1154 + updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
1155 + modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character
1157 + use strdup() in set_menu_mark(), restore .marklen struct member on
1159 + eliminate clause 3 from the UCB copyrights in read_termcap.c and
1161 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1162 (patch by Nicholas Marriott).
1163 + replace a malloc in tic.c with strdup, checking for failure (patch by
1165 + update config.guess, config.sub from
1166 http://savannah.gnu.org/projects/config
1169 + correct layout of working window used to extract data in
1170 wide-character configured by set_field_buffer (patch by Rafael
1172 + improve some limit-checks related to filename length in reading and
1173 writing terminfo entries.
1174 + ensure that filename is always filled in when attempting to read
1175 a terminfo entry, so that infocmp can report the filename (patch
1176 by Nicholas Marriott).
1179 + modify mk-1st.awk to allow tinfo library to be built when term-driver
1181 + add error-check to configure script to ensure that sp-funcs is
1182 enabled if term-driver is, since some internal interfaces rely upon
1186 + fix case where progs/tput is used while sp-funcs is configure; this
1187 requires save/restore of out-character function from _nc_prescreen
1188 rather than the SCREEN structure (report by Charles Wilson).
1189 + fix typo in man/curs_trace.3x which caused incorrect symbolic links
1190 + improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
1194 + updated man/curs_trace.3x
1195 + limit hashing for termcap-names to 2-characters (Ubuntu #481740).
1196 + change a variable name in lib_newwin.c to make it clearer which
1197 value is being freed on error (patch by Nicholas Marriott).
1200 + improve test/ncurses.c color-cycling test by reusing attribute-
1201 and color-cycling logic from the video-attributes screen.
1202 + add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form
1203 library which help make it compatible with interop applications
1204 (patch by Juergen Pfeifer).
1205 + add configure option --enable-interop, for integrating changes
1206 for generic/interop support to form-library by Juergen Pfeifer
1209 + modify use of $CC environment variable which is defined by X/Open
1210 as a curses feature, to ignore it if it is not a single character
1211 (prompted by discussion with Benjamin C W Sittler).
1212 + add START_TRACE in slk_init
1213 + fix a regression in _nc_ripoffline which made test/ncurses.c not show
1214 soft-keys, broken in 20090927 merging.
1215 + change initialization of "hidden" flag for soft-keys from true to
1216 false, broken in 20090704 merging (Ubuntu #464274).
1217 + update nsterm entries (patch by Benjamin C W Sittler, prompted by
1218 discussion with Fabian Groffen in GenToo #206201).
1219 + add test/xterm-256color.dat
1222 + quiet some pedantic gcc warnings.
1223 + modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
1224 SIGWINCH, and discard that value, to avoid confusing application
1225 (patch by Eygene Ryabinkin, FreeBSD bin/136223).
1228 + modify handling of $PKG_CONFIG_LIBDIR to use only the first item in
1229 a possibly colon-separated list (Debian #550716).
1232 + supply a null-terminator to buffer in _nc_viswibuf().
1233 + fix a sign-extension bug in unget_wch() (report by Mike Gran).
1234 + minor fixes to error-returns in default function for tputs, as well
1238 + add WACS_xxx definitions to wide-character configuration for thick-
1239 and double-lines (discussion with Slava Zanko).
1240 + remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
1241 + add ccc and initc capabilities to xterm-16color -TD
1242 > patch by Benjamin C W Sittler:
1244 + correct initc capability of linux-c-nc end-of-range
1245 + similar change for dg+ccc and dgunix+ccc
1248 + move leak-checking for comp_captab.c into _nc_leaks_tinfo() since
1249 that module since 20090711 is in libtinfo.
1250 + add configure option --enable-term-driver, to allow compiling with
1251 terminal-driver. That is used in MinGW port, and (being somewhat
1252 more complicated) is an experimental alternative to the conventional
1253 termlib internals. Currently, it requires the sp-funcs feature to
1255 + completed integrating "sp-funcs" by Juergen Pfeifer in ncurses
1256 library (some work remains for forms library).
1259 + document return code from define_key (report by Mike Gran).
1260 + make some symbolic links in the terminfo directory-tree shorter
1261 (patch by Daniel Jacobowitz, forwarded by Sven Joachim).).
1262 + fix some groff warnings in terminfo.5, etc., from recent Debian
1264 + change ncv and op capabilities in sun-color terminfo entry to match
1265 Sun's entry for this (report by Laszlo Peter).
1266 + improve interix smso terminfo capability by using reverse rather than
1267 bold (report by Kristof Zelechovski).
1270 + add some test programs (and make these use the same special keys
1271 by sharing linedata.h functions):
1274 test/test_addchstr.c
1275 test/test_add_wchstr.c
1276 + correct internal _nc_insert_ch() to use _nc_insert_wch() when
1277 inserting wide characters, since the wins_wch() function that it used
1278 did not update the cursor position (report by Ciprian Craciun).
1281 + fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not
1283 + add null-pointer checks to other opaque-functions.
1284 + add is_pad() and is_subwin() functions for opaque access to WINDOW
1285 (discussion with Mark Dickinson).
1286 + correct merge to lib_newterm.c, which broke when sp-funcs was
1290 + build-fix for building outside source-tree (report by Sven Joachim).
1291 + fix Debian lintian warning for man/tabs.1 by making section number
1292 agree with file-suffix (report by Sven Joachim).
1293 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1296 + workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on
1297 amd64 (Debian #542031).
1298 + fix typo in curs_mouse.3x (Debian #429198).
1301 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1304 + correct use of terminfo capabilities for initializing soft-keys,
1305 broken in 20090509 merging.
1306 + modify wgetch() to ensure it checks SIGWINCH when it gets an error
1307 in non-blocking mode (patch by Clemens Ladisch).
1308 + use PATH_SEPARATOR symbol when substituting into run_tic.sh, to
1309 help with builds on non-Unix platforms such as OS/2 EMX.
1310 + modify scripting for misc/run_tic.sh to test configure script's
1311 $cross_compiling variable directly rather than comparing host/build
1312 compiler names (prompted by comment in GenToo #249363).
1313 + fix configure script option --with-database, which was coded as an
1315 + build-fixes for --srcdir (report by Frederic L W Meunier).
1318 + separate _nc_find_entry() and _nc_find_type_entry() from
1319 implementation details of hash function.
1322 + add tabs.1 to man/man_db.renames
1323 + modify lib_addch.c to compensate for removal of wide-character test
1324 from unctrl() in 20090704 (Debian #539735).
1327 + improve discussion in INSTALL for use of system's tic/infocmp for
1328 cross-compiling and building fallbacks.
1329 + modify test/demo_termcap.c to correspond better to options in
1330 test/demo_terminfo.c
1331 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1332 + fix logic for 'V' in test/ncurses.c tests f/F.
1335 + correct logic in tigetnum(), which caused tput program to treat all
1336 string capabilities as numeric (report by Rajeev V Pillai,
1340 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1343 + fix a null-pointer check in _nc_format_slks() in lib_slk.c, from
1345 + modify _nc_find_type_entry() to use hashing.
1346 + make CCHARW_MAX value configurable, noting that changing this would
1347 change the size of cchar_t, and would be ABI-incompatible.
1348 + modify test-programs, e.g,. test/view.c, to address subtle
1349 differences between Tru64/Solaris and HPUX/AIX getcchar() return
1351 + modify length returned by getcchar() to count the trailing null
1352 which is documented in X/Open (cf: 20020427).
1353 + fixes for test programs to build/work on HPUX and AIX, etc.
1356 + improve performance of tigetstr, etc., by using hashing code from tic.
1357 + minor fixes for memory-leak checking.
1358 + add test/demo_terminfo, for comparison with demo_termcap
1361 + remove wide-character checks from unctrl() (patch by Clemens Ladisch).
1362 + revise wadd_wch() and wecho_wchar() to eliminate dependency on
1364 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1367 + update llib-lncurses[wt] to use sp-funcs.
1368 + various code-fixes to build/work with --disable-macros configure
1370 + add several new files from Juergen Pfeifer which will be used when
1371 integration of "sp-funcs" is complete. This includes a port to
1375 + move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to
1376 make includes of term.h without curses.h work (report by "Nix").
1377 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1380 + fix a regression in lib_tputs.c, from ongoing merges.
1383 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1386 + fix an infinite recursion when adding a legacy-coding 8-bit value
1387 using insch() (report by Clemens Ladisch).
1388 + free home-terminfo string in del_curterm() (patch by Dan Weber).
1389 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1392 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1395 + work around antique BSD game's manipulation of stdscr, etc., versus
1396 SCREEN's copy of the pointer (Debian #528411).
1397 + add a cast to wattrset macro to avoid compiler warning when comparing
1398 its result against ERR (adapted from patch by Matt Kraii, Debian
1402 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1405 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1406 + add vwmterm terminfo entry (patch by Bryan Christ).
1409 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1412 + build fix for _nc_free_and_exit() change in 20090418 (report by
1416 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1419 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1420 This change finishes merging for menu and panel libraries, does
1421 part of the form library.
1424 + suppress configure check for static/dynamic linker flags for gcc on
1425 Darwin (report by Nelson Beebe).
1428 + extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
1429 function key definitions from emx-base for consistency -TD
1430 + correct missing final 'p' in pfkey capability of ansi.sys-old (report
1431 by Kalle Olavi Niemitalo).
1432 + improve test/ncurses.c 'F' test, show combining characters in color.
1433 + quiet a false report by cppcheck in c++/cursesw.cc by eliminating
1434 a temporary variable.
1435 + use _nc_doalloc() rather than realloc() in a few places in ncurses
1436 library to avoid leak in out-of-memory condition (reports by William
1437 Egert and Martin Ettl based on cppcheck tool).
1438 + add --with-ncurses-wrap-prefix option to test/configure (discussion
1439 with Charles Wilson).
1440 + use ncurses*-config scripts if available for test/configure.
1441 + update test/aclocal.m4 and test/configure
1442 > patches by Charles Wilson:
1443 + modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
1444 version numbers (e.g. which include alphabetic chars, as well as
1445 digits, after the final '.').
1446 + improve use of -no-undefined option for libtool by setting an
1447 intermediate variable LT_UNDEF in the configure script, and then
1448 using that in the libtool link-commands.
1449 + fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
1450 from 2009031 changes.
1451 + improve mk-1st.awk script by writing separate cases for the
1452 LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
1453 termlib) is to be linked.
1454 + modify configure.in to allow broken-linker configurations, not just
1455 enable-reentrant, to set public wrap prefix.
1458 + add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
1459 build with tic and term libraries (patch by Charles Wilson).
1460 + add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
1461 (report by Charles Wilson).
1462 + fix definition for c++/Makefile.in's SHLIB_LIST, which did not list
1463 the form, menu or panel libraries (patch by Charles Wilson).
1464 + add configure option --with-wrap-prefix to allow setting the prefix
1465 for functions used to wrap global variables to something other than
1466 "_nc_" (discussion with Charles Wilson).
1469 + modify scripts to generate ncurses*-config and pc-files to add
1470 dependency for tinfo library (patch by Charles Wilson).
1471 + improve comparison of program-names when checking for linked flavors
1472 such as "reset" by ignoring the executable suffix (reports by Charles
1473 Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
1475 + suppress configure check for static/dynamic linker flags for gcc on
1476 Solaris 10, since gcc is confused by absence of static libc, and
1477 does not switch back to dynamic mode before finishing the libraries
1478 (reports by Joel Bertrand, Alan Pae).
1479 + minor fixes to Intel compiler warning checks in configure script.
1480 + modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
1481 + modify set_curterm() to make broken-linker configuration work with
1482 changes from 20090228 (report by Charles Wilson).
1485 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1486 + modify declaration of cur_term when broken-linker is used, but
1487 enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
1490 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1493 + add configure script --enable-sp-funcs to enable the new set of
1495 + start integrating patches by Juergen Pfeifer:
1496 + add extended functions which specify the SCREEN pointer for several
1497 curses functions which use the global SP (these are incomplete;
1498 some internals work is needed to complete these).
1499 + add special cases to configure script for MinGW port.
1502 + update several configure macros from lynx changes
1503 + append (not prepend) to CFLAGS/CPPFLAGS
1504 + change variable from PATHSEP to PATH_SEPARATOR
1505 + improve install-rules for pc-files (patch by Miroslav Lichvar).
1506 + make it work with $DESTDIR
1507 + create the pkg-config library directory if needed.
1510 + modify init_pair() to allow caller to create extra color pairs beyond
1511 the color_pairs limit, which use default colors (request by Emanuele
1513 + add misc/terminfo.tmp and misc/*.pc to "sources" rule.
1514 + fix typo "==" where "=" is needed in ncurses-config.in and
1515 gen-pkgconfig.in files (Debian #512161).
1518 + add -shared option to MK_SHARED_LIB when -Bsharable is used, for
1519 *BSD's, without which "main" might be one of the shared library's
1520 dependencies (report/analysis by Ken Dickey).
1521 + modify waddch_literal(), updating line-pointer after a multicolumn
1522 character is found to not fit on the current row, and wrapping is
1523 done. Since the line-pointer was not updated, the wrapped
1524 multicolumn character was written to the beginning of the current row
1525 (cf: 20041023, reported by "Nick" regarding problem with ncmpc
1526 http://musicpd.org/mantis/bug_view_page.php?bug_id=1930).
1529 + add screen.Eterm terminfo entry (GenToo #124887) -TD
1530 + modify adacurses-config to look for ".ali" files in the adalib
1532 + correct install for Ada95, which omitted libAdaCurses.a used in
1534 + change install for adacurses-config to provide additional flavors
1535 such as adacursesw-config, for ncursesw (GenToo #167849).
1538 + remove undeveloped feature in ncurses-config.in for setting
1540 + recent change to ncurses-config.in did not take into account the
1541 --disable-overwrite option, which sets $includedir to the
1542 subdirectory and using just that for a -I option does not work - fix
1543 (report by Frederic L W Meunier).
1546 + modify gen-pkgconfig.in to eliminate a dependency on rpath when
1547 deciding whether to add $LIBS to --libs output; that should be shown
1548 for the ncurses and tinfo libraries without taking rpath into
1550 + fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
1551 used in static libraries (report by Marty Jack).
1554 + add a configure-time check to pick a suitable value for
1555 CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).
1556 + add configure --with-pkg-config and --enable-pc-files options, along
1557 with misc/gen-pkgconfig.in which can be used to generate ".pc" files
1558 for pkg-config (request by Jan Engelhardt).
1559 + use $includedir symbol in misc/ncurses-config.in, add --includedir
1561 + change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a
1562 configure check to detect whether a "-" is needed before "ar"
1564 + update config.guess, config.sub from
1565 http://savannah.gnu.org/projects/config
1568 + modify mk-1st.awk to work with extra categories for tinfo library.
1569 + modify configure script to allow building shared libraries with gcc
1570 on AIX 5 or 6 (adapted from patch by Lital Natan).
1573 + modify to omit the opaque-functions from lib_gen.o when
1574 --disable-ext-funcs is used.
1575 + add test/clip_printw.c to illustrate how to use printw without
1577 + modify ncurses 'F' test to demo wborder_set() with colored lines.
1578 + modify ncurses 'f' test to demo wborder() with colored lines.
1581 + add check for failure to open hashed-database needed for db4.6
1583 + corrected --without-manpages option; previous change only suppressed
1584 the auxiliary rules install.man and uninstall.man
1585 + add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
1587 + fixes from NetBSD port at
1588 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
1589 patch-ac (build-fix for DragonFly)
1590 patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
1591 + improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
1592 by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
1594 + correct title string for keybound manpage (patch by Frederic Culot,
1595 OpenBSD documentation/6019),
1598 + move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
1599 work for progs/clear, progs/tabs, etc.
1600 + correct buffer-size after internal resizing of wide-character
1601 set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
1602 + add "-i" option to test/filter.c to tell it to use initscr() rather
1603 than newterm(), to investigate report on comp.unix.programmer that
1604 ncurses would clear the screen in that case (it does not - the issue
1605 was xterm's alternate screen feature).
1606 + add check in mouse-driver to disable connection if GPM returns a
1607 zero, indicating that the connection is closed (Debian #506717,
1608 adapted from patch by Samuel Thibault).
1611 + improve a workaround in adding wide-characters, when a control
1612 character is found. The library (cf: 20040207) uses unctrl() to
1613 obtain a printable version of the control character, but was not
1614 passing color or video attributes.
1615 + improve test/ncurses.c 'a' test, using unctrl() more consistently to
1616 display meta-characters.
1617 + turn on _XOPEN_CURSES definition in curses.h
1618 + add eterm-color entry (report by Vincent Lefevre) -TD
1619 + correct use of key_name() in test/ncurses.c 'A' test, which only
1620 displays wide-characters, not key-codes since 20070612 (report by
1624 + change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
1625 Ada95 (patch by Juergen Pfeifer).
1626 + document in TO-DO an issue with Cygwin's package for GNAT (report
1628 + improve error-checking of command-line options in "tabs" program.
1631 + change several terminfo entries to make consistent use of ANSI
1633 + add "tabs" program (prompted by Debian #502260).
1634 + add configure --without-manpages option (request by Mike Frysinger).
1636 20081102 5.7 release for upload to ftp.gnu.org
1639 + add a manpage to discuss memory leaks.
1640 + add support for shared libraries for QNX (other than libtool, which
1641 does not work well on that platform).
1642 + build-fix for QNX C++ binding.
1645 + build-fixes for OS/2 EMX.
1646 + modify form library to accept control characters such as newline
1647 in set_field_buffer(), which is compatible with Solaris (report by
1649 + modify configure script to assume --without-hashed-db when
1650 --disable-database is used.
1651 + add "-e" option in ncurses/Makefile.in when generating source-files
1652 to force earlier exit if the build environment fails unexpectedly
1653 (prompted by patch by Adrian Bunk).
1654 + change configure script to use CF_UTF8_LIB, improved variant of
1658 + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
1659 original to teraterm2.3 -TD
1660 + update "gnome" terminfo to 2.22.3 -TD
1661 + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
1662 + add "aterm" terminfo -TD
1663 + add "linux2.6.26" terminfo -TD
1664 + add logic to tic for cancelling strings in user-defined capabilities,
1668 + regenerated html documentation.
1669 + add -m and -s options to test/keynames.c and test/key_names.c to test
1670 the meta() function with keyname() or key_name(), respectively.
1671 + correct return value of key_name() on error; it is null.
1672 + document some unresolved issues for rpath and pthreads in TO-DO.
1673 + fix a missing prototype for ioctl() on OpenBSD in tset.c
1674 + add configure option --disable-tic-depends to make explicit whether
1675 tic library depends on ncurses/ncursesw library, amends change from
1676 20080823 (prompted by Debian #501421).
1679 + some build-fixes for configure --disable-ext-funcs (incomplete, but
1680 works for C/C++ parts).
1681 + improve configure-check for awks unable to handle large strings, e.g.
1682 AIX 5.1 whose awk silently gives up on large printf's.
1685 + fix build for --with-dmalloc by workaround for redefinition of
1686 strndup between string.h and dmalloc.h
1687 + fix build for --disable-sigwinch
1688 + add environment variable NCURSES_GPM_TERMS to allow override to use
1689 GPM on terminals other than "linux", etc.
1690 + disable GPM mouse support when $TERM does not happen to contain
1691 "linux", since Gpm_Open() no longer limits its assertion to terminals
1692 that it might handle, e.g., within "screen" in xterm.
1693 + reset mouse file-descriptor when unloading GPM library (report by
1695 + fix build for --disable-leaks --enable-widec --with-termlib
1696 > patch by Juergen Pfeifer:
1697 + use improved initialization for soft-label keys in Ada95 sample code.
1698 + discard internal symbol _nc_slk_format (unused since 20080112).
1699 + move call of slk_paint_info() from _nc_slk_initialize() to
1700 slk_intern_refresh(), improving initialization.
1703 + fix bug in mouse code for GPM from 20080920 changes (reported in
1704 Debian #500103, also Miroslav Lichvar).
1707 + fix shared-library rules for cygwin with tic- and tinfo-libraries.
1708 + fix a memory leak when failure to connect to GPM.
1709 + correct check for notimeout() in wgetch() (report on linux.redhat
1710 newsgroup by FurtiveBertie).
1711 + add an example warning-suppression file for valgrind,
1712 misc/ncurses.supp (based on example from Reuben Thomas)
1715 + change shared-library configuration for OpenBSD, make rpath work.
1716 + build-fixes for using libutf8, e.g., on OpenBSD 3.7
1719 + corrected fix for --enable-weak-symbols (report by Frederic L W
1723 + corrected gcc options for building shared libraries on IRIX64.
1724 + add configure check for awk programs unable to handle big-strings,
1725 use that to improve the default for --enable-big-strings option.
1726 + makefile-fixes for --enable-weak-symbols (report by Frederic L W
1728 + update test/configure script.
1729 + adapt ifdef's from library to make test/view.c build when mbrtowc()
1730 is unavailable, e.g., with HPUX 10.20.
1731 + add configure check for wcsrtombs, mbsrtowcs, which are used in
1732 test/ncurses.c, and use wcstombs, mbstowcs instead if available,
1733 fixing build of ncursew for HPUX 11.00
1736 + fixes to make Ada95 demo_panels() example work.
1737 + modify Ada95 'rain' test program to accept keyboard commands like the
1739 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott
1741 + add configure-check to see if the std namespace is legal for cerr
1742 and endl, to fix a build issue with Tru64.
1743 + consistently use NCURSES_BOOL in lib_gen.c
1744 + filter #line's from lib_gen.c
1745 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
1746 substitution by IBM xlc to '#' as part of its extensions to digraphs.
1747 + update config.guess, config.sub from
1748 http://savannah.gnu.org/projects/config
1749 (caveat - its maintainer removed support for older Linux systems).
1752 + modify configure check for pthread library to work with OSF/1 5.1,
1753 which uses #define's to associate its header and library.
1754 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
1755 makes threaded code work on HPUX 11.23
1756 + fix a bug in demo_menus in freeing menus (cf: 20080804).
1757 + modify configure script for the case where tic library is used (and
1758 possibly renamed) to remove its dependency upon ncurses/ncursew
1759 library (patch by Dr Werner Fink).
1760 + correct manpage for menu_fore() which gave wrong default for
1761 the attribute used to display a selected entry (report by Mike Gran).
1762 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
1766 + add configure option --enable-weak-symbols to turn on new feature.
1767 + add configure-check for availability of weak symbols.
1768 + modify linkage with pthread library to use weak symbols so that
1769 applications not linked to that library will not use the mutexes,
1770 etc. This relies on gcc, and may be platform-specific (patch by Dr
1772 + add note to INSTALL to document limitation of renaming of tic library
1773 using the --with-ticlib configure option (report by Dr Werner Fink).
1774 + document (in manpage) why tputs does not detect I/O errors (prompted
1775 by comments by Samuel Thibault).
1776 + fix remaining warnings from Klocwork report.
1779 + modify _nc_panelhook() data to account for a permanent memory leak.
1780 + fix memory leaks in test/demo_menus
1781 + fix most warnings from Klocwork tool (report by Larry Zhou).
1782 + modify configure script CF_XOPEN_SOURCE macro to add case for
1783 "dragonfly" from xterm #236 changes.
1784 + modify configure script --with-hashed-db to let $LIBS override the
1785 search for the db library (prompted by report by Samson Pierre).
1788 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
1792 + build-fix (reports by Christian Ebert, Funda Wang).
1795 + compiler-warning fixes for Solaris.
1798 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
1799 make those work properly with the "--enable-ext-mouse" configuration
1801 + improve documentation of build-cc options in INSTALL.
1802 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the
1803 -static/-dynamic flags properly to linker, causing test/bs to
1807 + correct some ifdef's needed for the broken-linker configuration.
1808 + make debugging library's $BAUDRATE feature work for termcap
1810 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted
1811 by comment on FreeBSD mailing list).
1812 + add screen.mlterm terminfo entry -TD
1813 + improve mlterm and mlterm+pcfkeys terminfo entries -TD
1816 + regenerated html documentation.
1817 + expand manpage description of parameters for form_driver() and
1818 menu_driver() (prompted by discussion with Adam Spragg).
1819 + add null-pointer checks for cur_term in baudrate() and
1820 def_shell_mode(), def_prog_mode()
1821 + fix some memory leaks in delscreen() and wide acs.
1824 + modify test/ditto.c to illustrate multi-threaded use_screen().
1825 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
1826 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
1830 + finish changes to wgetch(), making it switch as needed to the
1831 window's actual screen when calling wrefresh() and wgetnstr(). That
1832 allows wgetch() to get used concurrently in different threads with
1833 some minor restrictions, e.g., the application should not delete a
1834 window which is being used in a wgetch().
1835 + simplify mutex's, combining the window- and screen-mutex's.
1838 + modify wgetch() to use the screen which corresponds to its window
1839 parameter rather than relying on SP; some dependent functions still
1841 + factor out most use of SP in lib_mouse.c, using parameter.
1842 + add internal _nc_keyname(), replacing keyname() to associate with a
1843 particular SCREEN rather than the global SP.
1844 + add internal _nc_unctrl(), replacing unctrl() to associate with a
1845 particular SCREEN rather than the global SP.
1846 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
1847 its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
1848 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
1849 preference to the global _nc_globals.tracechr_buf buffer.
1852 + modify _nc_keypad() to make it switch temporarily as needed to the
1853 screen which must be updated.
1854 + wrap cur_term variable to help make _nc_keymap() thread-safe, and
1855 always set the screen's copy of this variable in set_curterm().
1856 + restore curs_set() state after endwin()/refresh() (report/patch
1860 + modify configure script to note that --enable-ext-colors and
1861 --enable-ext-mouse are not experimental, but extensions from
1863 + corrected manpage description of setcchar() (discussion with
1864 Emanuele Giaquinta).
1865 + fix for adding a non-spacing character at the beginning of a line
1866 (report/patch by Miroslav Lichvar).
1869 + modify screen.* terminfo entries using new screen+fkeys to fix
1870 overridden keys in screen.rxvt (Debian #478094) -TD
1871 + modify internal interfaces to reduce wgetch()'s dependency on the
1873 + simplify some loops with macros each_screen(), each_window() and
1877 + continue modifying test/ditto.c toward making it demonstrate
1878 multithreaded use_screen(), using fifos to pass data between screens.
1879 + fix typo in form.3x (report by Mike Gran).
1882 + add screen.rxvt terminfo entry -TD
1883 + modify tic -f option to format spaces as \s to prevent them from
1884 being lost when that is read back in unformatted strings.
1885 + improve test/ditto.c, using a "talk"-style layout.
1888 + change test/ditto.c to use openpty() and xterm.
1889 + add locks for copywin(), dupwin(), overlap(), overlay() on their
1891 + add locks for initscr() and newterm() on updates to the SCREEN
1893 + finish table in curs_thread.3x manpage.
1896 + begin table in curs_thread.3x manpage describing the scope of data
1897 used by each function (or symbol) for threading analysis.
1898 + add null-pointer checks to setsyx() and getsyx() (prompted by
1899 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
1900 python-dev2 mailing list).
1903 + add null-pointer checks in set_term() and delscreen().
1904 + move _nc_windows into _nc_globals, since windows can be pads, which
1905 are not associated with a particular screen.
1906 + change use_screen() to pass the SCREEN* parameter rather than
1907 stdscr to the callback function.
1908 + force libtool to use tag for 'CC' in case it does not detect this,
1909 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
1910 (report/patch by Michael Haubenwallner).
1911 + override OBJEXT to "lo" when building with libtool, to work on
1912 platforms such as AIX where libtool may use a different suffix for
1913 the object files than ".o" (report/patch by Michael Haubenwallner).
1914 + add configure --with-pthread option, for building with the POSIX
1918 + fill in extended-color pair two more places in wbkgrndset() and
1919 waddch_nosync() (prompted by Sedeno's patch).
1920 + fill in extended-color pair in _nc_build_wch() to make colors work
1921 for wide-characters using extended-colors (patch by Alejandro R
1923 + add x/X toggles to ncurses.c C color test to test/demo
1924 wide-characters with extended-colors.
1925 + add a/A toggles to ncurses.c c/C color tests.
1926 + modify test/ditto.c to use use_screen().
1927 + finish modifying test/rain.c to demonstrate threads.
1930 + start modifying test/rain.c for threading demo.
1931 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
1932 that the 'F' accepts.
1933 + modify test/worm.c to show trail in reverse-video when other threads
1934 are working concurrently.
1935 + fix a deadlock from improper nesting of mutexes for windowlist and
1939 + fixes from 20080223 resolved issue with mutexes; change to use
1940 recursive mutexes to fix memory leak in delwin() as called from
1941 _nc_free_and_exit().
1944 + fix a size-difference in _nc_globals which caused hanging of mutex
1945 lock/unlock when termlib was built separately.
1948 + avoid using nanosleep() in threaded configuration since that often
1949 is implemented to suspend the entire process.
1952 + update test programs to build/work with various UNIX curses for
1953 comparisons. This was to reinvestigate statement in X/Open curses
1954 that insnstr and winsnstr perform wrapping. None of the Unix-branded
1955 implementations do this, as noted in manpage (cf: 20040228).
1958 + modify _nc_setupscreen() to set the legacy-coding value the same
1959 for both narrow/wide models. It had been set only for wide model,
1960 but is needed to make unctrl() work with locale in the narrow model.
1961 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
1962 using unctrl() to display illegal bytes rather than trying to append
1963 further bytes to make up a valid sequence (reported by Andrey A
1965 + modify unctrl() to check codes in 128-255 range versus isprint().
1966 If they are not printable, and locale was set, use a "M-" or "~"
1970 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
1971 handling). Now it hangs in napms(), no matter whether nanosleep()
1972 or poll() or select() are used on Linux.
1975 + fixes to build with --disable-ext-funcs
1976 + add manpage for use_window and use_screen.
1977 + add set_tabsize() and set_escdelay() functions.
1980 + remove recursive-mutex definitions, finish threading demo for worm.c
1981 + remove a redundant adjustment of lines in resizeterm.c's
1982 adjust_window() which caused occasional misadjustment of stdscr when
1986 + several improvements to terminfo entries based on xterm #230 -TD
1987 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
1988 "link_test" builds properly.
1989 + fix for toe command-line options -u/-U to ensure filename is given.
1990 + fix allocation-size for command-line parsing in infocmp from 20070728
1991 (report by Miroslav Lichvar)
1992 + improve resizeterm() by moving ripped-off lines, and repainting the
1993 soft-keys (report by Katarina Machalkova)
1994 + add clarification in wclear's manpage noting that the screen will be
1995 cleared even if a subwindow is cleared (prompted by Christer Enfors
1997 + change test/ncurses.c soft-key tests to work with KEY_RESIZE.
2000 + continue implementing support for threading demo by adding mutex
2004 + add several functions to C++ binding which wrap C functions that
2005 pass a WINDOW* parameter (request by Chris Lee).
2008 + add note about configure options needed for Berkeley database to the
2010 + improve checks for version of Berkeley database libraries.
2011 + amend fix for rpath to not modify LDFLAGS if the platform has no
2012 applicable transformation (report by Christian Ebert, cf: 20071124).
2015 + modify configure option --with-hashed-db to accept a parameter which
2016 is the install-prefix of a given Berkeley Database (prompted by
2017 pierre4d2 comments).
2018 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is
2019 used in the form library to determine the length of the buffer needed
2020 by field_buffer (report by Alfred Fung).
2021 + remove unneeded window-parameter from C++ binding for wresize (report
2025 + modify the support for filesystems which do not support mixed-case to
2026 generate 2-character (hexadecimal) codes for the lower-level of the
2027 filesystem terminfo database (request by Michail Vidiassov).
2028 + add configure option --enable-mixed-case, to allow overriding the
2029 configure script's check if the filesystem supports mixed-case
2031 + add wresize() to C++ binding (request by Chris Lee).
2032 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
2033 it simpler to tell if the extended functions and/or colors are
2037 + update memory-leak checks for changes to names.c and codes.c
2038 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
2041 + continue implementing support for threading demo by adding mutex
2043 + add mrxvt terminfo entry, add/fix xterm building blocks for modified
2045 + compile with FreeBSD "contemporary" TTY interface (patch by
2049 + modify makefile rules to allow clear, tput and tset to be built
2050 without libtic. The other programs (infocmp, tic and toe) rely on
2052 + add/modify null-pointer checks in several functions for SP and/or
2053 the WINDOW* parameter (report by Thorben Krueger).
2054 + fixes for field_buffer() in formw library (see Redhat Bugzilla
2055 #310071, patches by Miroslav Lichvar).
2056 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
2058 + update/improve mlterm and rxvt terminfo entries, e.g., for
2059 the modified cursor- and keypad-keys -TD
2062 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
2063 changes the CharEq() macro to an inline function to allow comparing
2064 cchar_t struct's without comparing gaps in a possibly unpacked
2065 memory layout (report by Miroslav Lichvar).
2068 + add new functions to lib_trace.c to setup mutex's for the _tracef()
2069 calls within the ncurses library.
2070 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into
2072 + start modifying test/worm.c to provide threading demo (incomplete).
2073 + separated ifdef's for some BSD-related symbols in tset.c, to make
2074 it compile on LynxOS (report by Greg Gemmer).
2076 + modify Ada95/gen/Makefile to use shlib script, to simplify building
2077 shared-library configuration on platforms lacking rpath support.
2078 + build-fix for Ada95/src/Makefile to reflect changed dependency for
2079 the terminal-interface-curses-aux.adb file which is now generated.
2080 + restructuring test/worm.c, for use_window() example.
2083 + add use_window() and use_screen() functions, to develop into support
2084 for threaded library (incomplete).
2085 + fix typos in man/curs_opaque.3x which kept the install script from
2086 creating symbolic links to two aliases created in 20070818 (report by
2090 + remove a spurious newline from output of html.m4, which caused links
2091 for Ada95 html to be incorrect for the files generated using m4.
2092 + start investigating mutex's for SCREEN manipulation (incomplete).
2093 + minor cleanup of codes.c/names.c for --enable-const
2094 + expand/revise "Routine and Argument Names" section of ncurses manpage
2095 to address report by David Givens in newsgroup discussion.
2096 + fix interaction between --without-progs/--with-termcap configure
2097 options (report by Michail Vidiassov).
2098 + fix typo in "--disable-relink" option (report by Michail Vidiassov).
2101 + fix a sign-extension bug in infocmp's repair_acsc() function
2103 + fix old configure script bug which prevented "--disable-warnings"
2104 option from working (patch by Mike Frysinger).
2107 + add 9term terminal description (request by Juhapekka Tolvanen) -TD
2108 + modify comp_hash.c's string output to avoid misinterpreting a null
2109 "\0" followed by a digit.
2110 + modify MKnames.awk and MKcodes.awk to support big-strings.
2111 This only applies to the cases (broken linker, reentrant) where
2112 the corresponding arrays are accessed via wrapper functions.
2113 + split MKnames.awk into two scripts, eliminating the shell redirection
2114 which complicated the make process and also the bogus timestamp file
2115 which was introduced to fix "make -j".
2116 + add test/test_opaque.c, test/test_arrays.c
2117 + add wgetscrreg() and wgetparent() for applications that may need it
2118 when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
2121 + amend treatment of infocmp "-r" option to retain the 1023-byte limit
2122 unless "-T" is given (cf: 981017).
2123 + modify comp_captab.c generation to use big-strings.
2124 + make _nc_capalias_table and _nc_infoalias_table private accessed via
2125 _nc_get_alias_table() since the tables are used only within the tic
2127 + modify configure script to skip Intel compiler in CF_C_INLINE.
2128 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
2129 _nc_get_hash_table() since the tables are used only within the tic
2133 + make _nc_capalias_table and _nc_infoalias_table private, accessed via
2134 _nc_get_alias_table() since they are used only by parse_entry.c
2135 + make _nc_key_names private since it is used only by lib_keyname.c
2136 + add --disable-big-strings configure option to control whether
2137 unctrl.c is generated using the big-string optimization - which may
2138 use strings longer than supported by a given compiler.
2139 + reduce relocation tables for tic, infocmp by changing type of
2140 internal hash tables to short, and make those private symbols.
2141 + eliminate large fixed arrays from progs/infocmp.c
2144 + change winnstr() to stop at the end of the line (cf: 970315).
2145 + add test/test_get_wstr.c
2146 + add test/test_getstr.c
2147 + add test/test_inwstr.c
2148 + add test/test_instr.c
2151 + restore a call to obtain screen-size in _nc_setupterm(), which
2152 is used in tput and other non-screen applications via setupterm()
2153 (Debian #433357, reported by Florent Bayle, Christian Ohm,
2157 + add test/savescreen.c test-program
2158 + add check to trace-file open, if the given name is a directory, add
2159 ".log" to the name and try again.
2160 + add konsole-256color entry -TD
2161 + add extra gcc warning options from xterm.
2162 + minor fixes for ncurses/hashmap test-program.
2163 + modify configure script to quiet c++ build with libtool when the
2164 --disable-echo option is used.
2165 + modify configure script to disable ada95 if libtool is selected,
2166 writing a warning message (addresses FreeBSD ports/114493).
2167 + update config.guess, config.sub
2170 + add continuous-move "M" to demo_panels to help test refresh changes.
2171 + improve fix for refresh of window on top of multi-column characters,
2172 taking into account some split characters on left/right window
2176 + add "widec" row to _tracedump() output to help diagnose remaining
2177 problems with multi-column characters.
2178 + partial fix for refresh of window on top of multi-column characters
2179 which are partly overwritten (report by Sadrul H Chowdhury).
2180 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
2181 multi-column extension bits are passed there.
2182 + add setlocale() call to demo_panels.c, needed for wide-characters.
2183 + add some output flags to _nc_trace_ttymode to help diagnose a bug
2184 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
2187 + add test/demo_panels.c
2188 + implement opaque version of setsyx() and getsyx().
2191 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
2193 + split-out key_name() from MKkeyname.awk since it now depends upon
2194 wunctrl() which is not in libtinfo (report by Rong-En Fan).
2197 + add test/key_name.c
2198 + add stdscr cases to test/inchs.c and test/inch_wide.c
2199 + update test/configure
2200 + correct formatting of DEL (0x7f) in _nc_vischar().
2201 + null-terminate result of wunctrl().
2202 + add null-pointer check in key_name() (report by Andreas Krennmair,
2206 + adapt mouse-handling code from menu library in form-library
2207 (discussion with Clive Nicolson).
2208 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
2209 illustrate how to use mvcur().
2210 + modify wide-character flavor of SetAttr() to preserve the
2211 WidecExt() value stored in the .attr field, e.g., in case it
2212 is overwritten by chgat (report by Aleksi Torhamo).
2213 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
2214 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
2217 + modify keyname() to use "^X" form only if meta() has been called, or
2218 if keyname() is called without initializing curses, e.g., via
2219 initscr() or newterm() (prompted by LinuxBase #1604).
2220 + document some portability issues in man/curs_util.3x
2221 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
2222 broken by moving that data into SCREEN (cf: 20061230).
2225 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
2226 problem reported by Sadrul H Chowdhury with repainting parts of
2228 + modify slk_init() so that if there are preceding calls to
2229 ripoffline(), those affect the available lines for soft-keys (adapted
2230 from patch by Clive Nicolson).
2231 + document some portability issues in man/curs_getyx.3x
2234 + fix a bug in Ada95/samples/ncurses which caused a variable to
2235 become uninitialized in the "b" test.
2236 + fix Ada95/gen/Makefile.in adahtml rule to account for recent
2237 movement of files, fix a few incorrect manpage references in the
2239 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
2241 + correct some functions in Ada95 binding which were using return value
2242 from C where none was returned: idcok(), immedok() and wtimeout().
2243 + amend recent changes for Ada95 binding to make it build with
2244 Cygwin's linker, e.g., with configure options
2245 --enable-broken-linker --with-ticlib
2248 + add a configure check for gcc's options for inlining, use that to
2249 quiet a warning message where gcc's default behavior changed from
2251 + improve warning message when checking if GPM is linked to curses
2252 library by not warning if its use of "wgetch" is via a weak symbol.
2253 + add loader options when building with static libraries to ensure that
2254 an installed shared library for ncurses does not conflict. This is
2255 reported as problem with Tru64, but could affect other platforms
2256 (report Martin Mokrejs, analysis by Tim Mooney).
2257 + fix build on cygwin after recent ticlib/termlib changes, i.e.,
2258 + adjust TINFO_SUFFIX value to work with cygwin's dll naming
2259 + revert a change from 20070303 which commented out dependency of
2260 SHLIB_LIST in form/menu/panel/c++ libraries.
2261 + fix initialization of ripoff stack pointer (cf: 20070421).
2264 + move most static variables into structures _nc_globals and
2265 _nc_prescreen, to simplify storage.
2266 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
2267 type for data manipulated by signal handlers (prompted by comments
2268 in mailing.openbsd.bugs newsgroup).
2269 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
2270 to the libtool create- and link-operations.
2273 + fix whitespace in curs_opaque.3x which caused a spurious ';' in
2274 the installed aliases (report by Peter Santoro).
2275 + fix configure script to not try to generate adacurses-config when
2276 Ada95 tree is not built.
2279 + add man/curs_legacy.3x, man/curs_opaque.3x
2280 + fix acs_map binding for Ada95 when --enable-reentrant is used.
2281 + add adacurses-config to the Ada95 install, based on version from
2282 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
2283 comment on comp.lang.ada newsgroup).
2284 + fix includes in c++ binding to build with Intel compiler
2286 + update install rule in Ada95 to use mkdirs.sh
2287 > other fixes prompted by inspection for Coverity report:
2288 + modify ifdef's for c++ binding to use try/catch/throw statements
2289 + add a null-pointer check in tack/ansi.c request_cfss()
2290 + fix a memory leak in ncurses/base/wresize.c
2291 + corrected check for valid memu/meml capabilities in
2292 progs/dump_entry.c when handling V_HPUX case.
2293 > fixes based on Coverity report:
2294 + remove dead code in test/bs.c
2295 + remove dead code in test/demo_defkey.c
2296 + remove an unused assignment in progs/infocmp.c
2297 + fix a limit check in tack/ansi.c tools_charset()
2298 + fix tack/ansi.c tools_status() to perform the VT320/VT420
2299 tests in request_cfss(). The function had exited too soon.
2300 + fix a memory leak in tic.c's make_namelist()
2301 + fix a couple of places in tack/output.c which did not check for EOF.
2302 + fix a loop-condition in test/bs.c
2303 + add index checks in lib_color.c for color palettes
2304 + add index checks in progs/dump_entry.c for version_filter() handling
2306 + fix a possible null-pointer dereference in copywin()
2307 + fix a possible null-pointer dereference in waddchnstr()
2308 + add a null-pointer check in _nc_expand_try()
2309 + add a null-pointer check in tic.c's make_namelist()
2310 + add a null-pointer check in _nc_expand_try()
2311 + add null-pointer checks in test/cardfile.c
2312 + fix a double-free in ncurses/tinfo/trim_sgr0.c
2313 + fix a double-free in ncurses/base/wresize.c
2314 + add try/catch block to c++/cursesmain.cc
2317 + modify Ada95 binding to build with --enable-reentrant by wrapping
2318 global variables (bug: acs_map does not yet work).
2319 + modify Ada95 binding to use the new access-functions, allowing it
2320 to build/run when NCURSES_OPAQUE is set.
2321 + add access-functions and macros to return properties of the WINDOW
2322 structure, e.g., when NCURSES_OPAQUE is set.
2323 + improved install-sh's quoting.
2324 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
2328 + eliminate part of the direct use of WINDOW data from Ada95 interface.
2329 + fix substitutions for termlib filename to make configure option
2330 --enable-reentrant work with --with-termlib.
2331 + change a constructor for NCursesWindow to allow compiling with
2332 NCURSES_OPAQUE set, since we cannot pass a reference to
2336 + ignore --with-chtype=unsigned since unsigned is always added to
2337 the type in curses.h; do the same for --with-mmask-t.
2338 + change warning regarding --enable-ext-colors and wide-character
2339 in the configure script to an error.
2340 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
2341 such as Darwin's libtool program (report by Michail Vidiassov)
2342 + modify edit_man.sh to allow for multiple substitutions per line.
2343 + set locale in misc/ncurses-config.in since it uses a range
2344 + change permissions libncurses++.a install (report by Michail
2346 + corrected length of temporary buffer in wide-character version
2347 of set_field_buffer() (related to report by Bryan Christ).
2350 + fix mk-1st.awk script install_shlib() function, broken in 20070224
2351 changes for cygwin (report by Michail Vidiassov).
2354 + increase size of array in _nc_visbuf2n() to make "tic -v" work
2355 properly in its similar_sgr() function (report/analysis by Peter
2357 + add --enable-reentrant configure option for ongoing changes to
2358 implement a reentrant version of ncurses:
2359 + libraries are suffixed with "t"
2360 + wrap several global variables (curscr, newscr, stdscr, ttytype,
2361 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
2362 functions returning values stored in SCREEN or cur_term.
2363 + move some initialization (LINES, COLS) from lib_setup.c,
2364 i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
2367 + regenerated html documentation.
2368 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
2369 opaque in selected configurations.
2370 + move the chunk in lib_acs.c which resets acs capabilities when
2371 running on a terminal whose locale interferes with those into
2372 _nc_setupscreen(), so the libtinfo/libtinfow files can be made
2373 identical (requested by Miroslav Lichvar).
2374 + do not use configure variable SHLIB_LIBS for building libraries
2375 outside the ncurses directory, since that symbol is customized
2376 only for that directory, and using it introduces an unneeded
2377 dependency on libdl (requested by Miroslav Lichvar).
2378 + modify mk-1st.awk so the generated makefile rules for linking or
2379 installing shared libraries do not first remove the library, in
2380 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
2382 + revised section "Using NCURSES under XTERM" in ncurses-intro.html
2383 (prompted by newsgroup comment by Nick Guenther).
2386 + change internal return codes of _nc_wgetch() to check for cases
2387 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
2388 ungetch'd, and read by wget_wch().
2389 + fix static-library build broken in 20070217 changes to remove "-ldl"
2390 (report by Miroslav Lichvar).
2391 + change makefile/scripts for cygwin to allow building termlib.
2392 + use Form_Hook in manpages to match form.h
2393 + use Menu_Hook in manpages, as well as a few places in menu.h
2394 + correct form- and menu-manpages to use specific Field_Options,
2395 Menu_Options and Item_Options types.
2396 + correct prototype for _tracechar() in manpage (cf: 20011229).
2397 + correct prototype for wunctrl() in manpage.
2400 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
2402 + modify relinking of shared libraries to apply only when rpath is
2403 enabled, and add --disable-relink option which can be used to
2404 disable the feature altogether (reports by Michail Vidiassov,
2406 + fix --with-termlib option for wide-character configuration, stripping
2407 the "w" suffix in one place (report by Miroslav Lichvar).
2408 + remove "-ldl" from some library lists to reduce dependencies in
2409 programs (report by Miroslav Lichvar).
2410 + correct description of --enable-signed-char in configure --help
2411 (report by Michail Vidiassov).
2412 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
2413 which matches an earlier change to CF_SHARED_OPTS, from xterm #224
2415 + remove "${DESTDIR}" from -install_name option used for linking
2416 shared libraries on Darwin (report by Michail Vidiassov).
2419 + add test/inchs.c, test/inch_wide.c, to test win_wchnstr().
2420 + remove libdl from library list for termlib (report by Miroslav
2422 + fix configure.in to allow --without-progs --with-termlib (patch by
2424 + modify win_wchnstr() to ensure that only a base cell is returned
2425 for each multi-column character (prompted by report by Wei Kong
2426 regarding change in mvwin_wch() cf: 20041023).
2429 + modify fix_wchnstr() in form library to strip attributes (and color)
2430 from the cchar_t array (field cells) read from a field's window.
2431 Otherwise, when copying the field cells back to the window, the
2432 associated color overrides the field's background color (report by
2434 + improve tracing for form library, showing created forms, fields, etc.
2435 + ignore --enable-rpath configure option if --with-shared was omitted.
2436 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
2437 to allow leak-checking when both tic- and tinfo-libraries are built.
2438 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
2439 no longer relies on it.
2440 + disallow combining configure script options --with-ticlib and
2441 --enable-termcap (report by Rong-En Fan).
2442 + remove tack from ncurses tree.
2445 + fix typo in configure script that broke --with-termlib option
2446 (report by Rong-En Fan).
2449 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
2450 to tgetent() (report by Rong-en Fan).
2451 + update tack/HISTORY and tack/README to tell how to build it after
2452 it is removed from the ncurses tree.
2453 + fix configure check for libtool's version to trim blank lines
2454 (report by sci-fi@hush.ai).
2455 + review/eliminate other original-file artifacts in cursesw.cc, making
2456 its license consistent with ncurses.
2457 + use ncurses vw_scanw() rather than reading into a fixed buffer in
2458 the c++ binding for scanw() methods (prompted by report by Nuno Dias).
2459 + eliminate fixed-buffer vsprintf() calls in c++ binding.
2462 + add _nc_leaks_tic() to separate leak-checking of tic library from
2463 term/ncurses libraries, and thereby eliminate a library dependency.
2464 + fix test/mk-test.awk to ignore blank lines.
2465 + correct paths in include/headers, for --srcdir (patch by Miroslav
2469 + add a break-statement in misc/shlib to ensure that it exits on the
2470 _first_ matched directory (report by Paul Novak).
2471 + add tack/configure, which can be used to build tack outside the
2473 + add --with-ticlib option, to build/install the tic-support functions
2474 in a separate library (suggested by Miroslav Lichvar).
2477 + change MKunctrl.awk to reduce relocation table for unctrl.o
2478 + change MKkeyname.awk to reduce relocation table for keyname.o
2479 (patch by Miroslav Lichvar).
2482 + modify configure check for libtool's version to trim blank lines
2483 (report by sci-fi@hush.ai).
2484 + modify some modules to allow them to be reentrant if _REENTRANT is
2485 defined: lib_baudrate.c, resizeterm.c (local data only)
2486 + eliminate static data from some modules: add_tries.c, hardscroll.c,
2487 lib_ttyflags.c, lib_twait.c
2488 + improve manpage install to add aliases for the transformed program
2489 names, e.g., from --program-prefix.
2490 + used linklint to verify links in the HTML documentation, made fixes
2491 to manpages as needed.
2492 + fix a typo in curs_mouse.3x (report by William McBrine).
2493 + fix install-rule for ncurses5-config to make the bin-directory.
2496 + modify configure script to omit the tic (terminfo compiler) support
2497 from ncurses library if --without-progs option is given.
2498 + modify install rule for ncurses5-config to do this via "install.libs"
2499 + modify shared-library rules to allow FreeBSD 3.x to use rpath.
2500 + update config.guess, config.sub
2502 20061217 5.6 release for upload to ftp.gnu.org
2505 + add ifdef's for <wctype.h> for HPUX, which has the corresponding
2506 definitions in <wchar.h>.
2507 + revert the va_copy() change from 20061202, since it was neither
2508 correct nor portable.
2509 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
2511 + ignore wide-acs line-drawing characters that wcwidth() claims are
2512 not one-column. This is a workaround for Solaris' broken locale
2516 + modify configure --with-gpm option to allow it to accept a parameter,
2517 i.e., the name of the dynamic GPM library to load via dlopen()
2518 (requested by Bryan Henderson).
2519 + add configure option --with-valgrind, changes from vile.
2520 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
2521 'return' in preference to 'exit()'.
2524 + change default for --with-develop back to "no".
2525 + add XTABS to tracing of TTY bits.
2526 + updated autoconf patch to ifdef-out the misfeature which declares
2527 exit() for configure tests. This fixes a redefinition warning on
2529 + use ${CC} rather than ${LD} in shared library rules for IRIX64,
2530 Solaris to help ensure that initialization sections are provided for
2531 extra linkage requirements, e.g., of C++ applications (prompted by
2532 comment by Casper Dik in newsgroup).
2533 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
2534 from the autoconf predefined symbol. There was no conflict,
2535 since "$target" was used only in the generated edit_man.sh file,
2536 but SuSE's rpm package contains a patch.
2539 + update man/term.5 to reflect extended terminfo support and hashed
2540 database configuration.
2541 + updates for test/configure script.
2542 + adapted from SuSE rpm package:
2543 + remove long-obsolete workaround for broken-linker which declared
2545 + improve error recovery in PUTC() macro when wcrtomb() does not
2546 return usable results for an 8-bit character.
2547 + patches from rpm package (SuSE):
2548 + use va_copy() in extra varargs manipulation for tracing version
2550 + use a va_list rather than a null in _nc_freeall()'s call to
2551 _nc_printf_string().
2552 + add some see-also references in manpages to show related
2553 wide-character functions (suggested by Claus Fischer).
2556 + add a check in lib_color.c to ensure caller does not increase COLORS
2557 above max_colors, which is used as an array index (discussion with
2559 + add ifdef's allowing ncurses to be built with tparm() using either
2560 varargs (the existing status), or using a fixed-parameter list (to
2564 + fix redrawing of windows other than stdscr using wredrawln() by
2565 touching the corresponding rows in curscr (discussion with Dan
2568 + add test/echochar.c
2569 + review/cleanup manpage descriptions of error-returns for form- and
2570 menu-libraries (prompted by FreeBSD docs/46196).
2573 + add AUTHORS file -TD
2574 + omit the -D options from output of the new config script --cflags
2575 option (suggested by Ralf S Engelschall).
2576 + make NCURSES_INLINE unconditionally defined in curses.h
2579 + revert change to accommodate bash 3.2, since that breaks other
2580 platforms, e.g., Solaris.
2581 + minor fixes to NEWS file to simplify scripting to obtain list of
2583 + improve some shared-library configure scripting for Linux, FreeBSD
2584 and NetBSD to make "--with-shlib-version" work.
2585 + change configure-script rules for FreeBSD shared libraries to allow
2586 for rpath support in versions past 3.
2587 + use $(DESTDIR) in makefile rules for installing/uninstalling the
2588 package config script (reports/patches by Christian Wiese,
2589 Ralf S Engelschall).
2590 + fix a warning in the configure script for NetBSD 2.0, working around
2591 spurious blanks embedded in its ${MAKEFLAGS} symbol.
2592 + change test/Makefile to simplify installing test programs in a
2593 different directory when --enable-rpath is used.
2596 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
2597 + add/install a package config script, e.g., "ncurses5-config" or
2598 "ncursesw5-config", according to configuration options.
2601 + add several GNU Screen terminfo variations with 16- and 256-colors,
2602 and status line (Alain Bench).
2603 + change the way shared libraries (other than libtool) are installed.
2604 Rather than copying the build-tree's libraries, link the shared
2605 objects into the install directory. This makes the --with-rpath
2606 option work except with $(DESTDIR) (cf: 20000930).
2609 + fix ifdef in c++/internal.h for QNX 6.1
2610 + test-compiled with (old) egcs-1.1.2, modified configure script to
2611 not unset the $CXX and related variables which would prevent this.
2612 + fix a few terminfo.src typos exposed by improvments to "-f" option.
2613 + improve infocmp/tic "-f" option formatting.
2616 + make --disable-largefile option work (report by Thomas M Ott).
2617 + updated html documentation.
2618 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
2619 + minor improvements to rxvt+pcfkeys -TD
2622 + move static data from lib_mouse.c into SCREEN struct.
2623 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
2624 (report by Michail Vidiassov).
2625 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
2626 option (from lynx changes) -TD
2627 + adapt AC_PROG_EGREP check, noting that this is likely to be another
2628 place aggravated by POSIXLY_CORRECT.
2629 + modify configure check for awk to ensure that it is found (prompted
2630 by report by Christopher Parker).
2634 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
2635 + remove invis capability from klone+sgr, mainly used by linux entry,
2636 since it does not really do this -TD
2639 + correct logic in wadd_wch() and wecho_wch(), which did not guard
2640 against passing the multi-column attribute into a call on waddch(),
2641 e.g., using data returned by win_wch() (cf: 20041023)
2642 (report by Sadrul H Chowdhury).
2645 + fix kterm's acsc string -TD
2646 + fix for change to tic/infocmp in 20060819 to ensure no blank is
2647 embedded into a termcap description.
2648 + workaround for 20050806 ifdef's change to allow visbuf.c to compile
2649 when using --with-termlib --with-trace options.
2650 + improve tgetstr() by making the return value point into the user's
2651 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
2653 + correct libraries needed for foldkeys (report by Stanislav Ievlev)
2656 + add terminfo entries for xfce terminal (xfce) and multi gnome
2658 + add test/foldkeys.c
2661 + modify tic and infocmp to avoid writing trailing blanks on terminfo
2662 source output (Debian #378783).
2663 + modify configure script to ensure that if the C compiler is used
2664 rather than the loader in making shared libraries, the $(CFLAGS)
2665 variable is also used (Redhat Bugzilla #199369).
2666 + port hashed-db code to db2 and db3.
2667 + fix a bug in tgetent() from 20060625 and 20060715 changes
2668 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
2671 + updated xterm function-keys terminfo to match xterm #216 -TD
2672 + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
2673 e.g., the db 1.8.5 interface).
2676 + modify toe to access termcap data, e.g., via cgetent() functions,
2677 or as a text file if those are not available.
2678 + use _nc_basename() in tset to improve $SHELL check for csh/sh.
2679 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
2680 can access termcap data when the terminfo database is disabled.
2683 + widen the test for xterm kmous a little to allow for other strings
2684 than \E[M, e.g., for xterm-sco functionality in xterm.
2685 + update xterm-related terminfo entries to match xterm patch #216 -TD
2686 + update config.guess, config.sub
2689 + fix for install-rule in Ada95 to add terminal_interface.ads
2690 and terminal_interface.ali (anonymous posting in comp.lang.ada).
2691 + correction to manpage for getcchar() (report by William McBrine).
2693 + modify wchgat() to mark updated cells as changed so a refresh will
2694 repaint those cells (comments by Sadrul H Chowdhury and William
2696 + split up dependency of names.c and codes.c in ncurses/Makefile to
2697 work with parallel make (report/analysis by Joseph S Myers).
2698 + suppress a warning message (which is ignored) for systems without
2699 an ldconfig program (patch by Justin Hibbits).
2700 + modify configure script --disable-symlinks option to allow one to
2701 disable symlink() in tic even when link() does not work (report by
2703 + modify MKfallback.sh to use tic -x when constructing fallback tables
2704 to allow extended capabilities to be retrieved from a fallback entry.
2705 + improve leak-checking logic in tgetent() from 20060625 to ensure that
2706 it does not free the current screen (report by Miroslav Lichvar).
2709 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
2710 + correct _nc_free_entries() and related functions used for memory leak
2714 + revert a minor change for magic-cookie support from 20060513, which
2715 caused unexpected reset of attributes, e.g., when resizing test/view
2717 + note in clear manpage that the program ignores command-line
2718 parameters (prompted by Debian #371855).
2719 + fixes to make lib_gen.c build properly with changes to the configure
2720 --disable-macros option and NCURSES_NOMACROS (cf: 20060527)
2721 + update/correct several terminfo entries -TD
2722 + add some notes regarding copyright to terminfo.src -TD
2725 + fixes to build Ada95 binding with gnat-4.1.0
2726 + modify read_termtype() so the term_names data is always allocated as
2727 part of the str_table, a better fix for a memory leak (cf: 20030809).
2728 + reduce memory leaks in repeated calls to tgetent() by remembering the
2729 last TERMINAL* value allocated to hold the corresponding data and
2730 freeing that if the tgetent() result buffer is the same as the
2731 previous call (report by "Matt" for FreeBSD gnu/98975).
2732 + modify tack to test extended capability function-key strings.
2733 + improved gnome terminfo entry (GenToo #122566).
2734 + improved xterm-256color terminfo entry (patch by Alain Bench).
2737 + fix two small memory leaks related to repeated tgetent() calls
2738 with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
2739 + add --enable-signed-char to simplify Debian package.
2740 + reduce name-pollution in term.h by removing #define's for HAVE_xxx
2742 + correct typo in curs_terminfo.3x (Debian #369168).
2745 + enable the mouse in test/movewindow.c
2746 + improve a limit-check in frm_def.c (John Heasley).
2747 + minor copyright fixes.
2748 + change configure script to produce test/Makefile from data file.
2751 + add a configure option --enable-wgetch-events to enable
2752 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
2753 lib_twait.c (report by Bernd Jendrissek).
2754 + remove include/nomacros.h from build, since the ifdef for
2755 NCURSES_NOMACROS makes that obsolete.
2756 + add entrypoints for some functions which were only provided as macros
2757 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(),
2758 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
2760 + provide ifdef for NCURSES_NOMACROS which suppresses most macro
2761 definitions from curses.h, i.e., where a macro is defined to override
2762 a function to improve performance. Allowing a developer to suppress
2763 these definitions can simplify some application (discussion with
2765 + improve description of memu/meml in terminfo manpage.
2768 + if msgr is false, reset video attributes when doing an automargin
2769 wrap to the next line. This makes the ncurses 'k' test work properly
2771 + correct caching of keyname(), which was using only half of its table.
2772 + minor fixes to memory-leak checking.
2773 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
2774 arrays, making ACS_LEN less visible to applications (suggested by
2776 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
2777 _screen_acs_map will have the same offset in both ncurses/ncursesw,
2778 making the corresponding tinfo/tinfow libraries binary-compatible
2779 (cf: 20041016, report by Stanislav Ievlev).
2782 + improve debug-tracing for EmitRange().
2783 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS
2784 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
2785 suppression of the related hard-tabs and xmc-glitch features.
2786 + add ncurses version number to top-level manpages, e.g., ncurses, tic,
2787 infocmp, terminfo as well as form, menu, panel.
2788 + update config.guess, config.sub
2789 + modify ncurses.c to work around a bug in NetBSD 3.0 curses
2790 (field_buffer returning null for a valid field). The 'r' test
2791 appears to not work with that configuration since the new_fieldtype()
2792 function is broken in that implementation.
2795 + add hpterm-color terminfo entry -TD
2796 + fixes to compile test-programs with HPUX 11.23
2799 + add copyright notices to files other than those that are generated,
2800 data or adapted from pdcurses (reports by William McBrine, David
2802 + improve rendering on hpterm by not resetting attributes at the end
2803 of doupdate() if the terminal has the magic-cookie feature (report
2805 + add 256color variants of terminfo entries for programs which are
2806 reported to implement this feature -TD
2809 + fix typo in change to NewChar() macro from 20060311 changes, which
2810 broke tab-expansion (report by Frederic L W Meunier).
2813 + document -U option of tic and infocmp.
2814 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
2815 due to size limit, e.g., converting to termcap format. Also
2816 suppress them if the output format does not contain acsc and it
2817 was not VT100-like, i.e., a one-one mapping (Novell #163715).
2818 + add configure check to ensure that SIGWINCH is defined on platforms
2819 such as OS X which exclude that when _XOPEN_SOURCE, etc., are
2820 defined (report by Nicholas Cole)
2823 + modify write_object() to not write coincidental extensions of an
2824 entry made due to it being referenced in a use= clause (report by
2826 + another fix for infocmp -i option, which did not ensure that some
2827 escape sequences had comparable prefixes (report by Alain Bench).
2830 + improve discussion of init/reset in terminfo and tput manpages
2831 (report by Alain Bench).
2832 + use is3 string for a fallback of rs3 in the reset program; it was
2833 using is2 (report by Alain Bench).
2834 + correct logic for infocmp -i option, which did not account for
2835 multiple digits in a parameter (cf: 20040828) (report by Alain
2837 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
2838 option work after 20060114 changes (report by Arkadiusz Miskiewicz).
2839 + add copyright notices to test-programs as needed (report by William
2843 + modify ncurses.c 'F' test to combine the wide-characters with color
2844 and/or video attributes.
2845 + modify test/ncurses to use CTL/Q or ESC consistently for exiting
2846 a test-screen (some commands used 'x' or 'q').
2849 + fix an off-by-one in the scrolling-region change (cf_ 20060311).
2852 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
2853 a null character is found (report by Igor Bogomazov).
2854 + modify progs/Makefile.in to make "tput init" work properly with
2855 cygwin, i.e., do not pass a ".exe" in the reference string used
2856 in check_aliases (report by Samuel Thibault).
2857 + add some checks to ensure current position is within scrolling
2858 region before scrolling on a new line (report by Dan Gookin).
2859 + change some NewChar() usage to static variables to work around
2860 stack garbage introduced when cchar_t is not packed (Redhat #182024).
2863 + workarounds to build test/movewindow with PDcurses 2.7.
2864 + fix for nsterm-16color entry (patch by Alain Bench).
2865 + correct a typo in infocmp manpage (Debian #354281).
2868 + add nsterm-16color entry -TD
2869 + updated mlterm terminfo entry -TD
2870 + remove 970913 feature for copying subwindows as they are moved in
2871 mvwin() (discussion with Bryan Christ).
2872 + modify test/demo_menus.c to demonstrate moving a menu (both the
2873 window and subwindow) using shifted cursor-keys.
2874 + start implementing recursive mvwin() in movewindow.c (incomplete).
2875 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
2876 for movewindow.c (report by William McBrine).
2877 + add help-message to test/movewindow.c
2880 + add test/movewindow.c, to test mvderwin().
2881 + fix ncurses soft-key test so color changes are shown immediately
2882 rather than delayed.
2883 + modify ncurses soft-key test to hide the keys when exiting the test
2885 + fixes to build test programs with PDCurses 2.7, e.g., its headers
2886 rely on autoconf symbols, and it declares stubs for nonfunctional
2887 terminfo and termcap entrypoints.
2890 + improved test/configure to build test/ncurses on HPUX 11 using the
2892 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
2893 benefit of developers who do not read INSTALL.
2896 + correct form library Window_To_Buffer() change (cf: 20040516), which
2897 should ignore the video attributes (report by Ricardo Cantu).
2900 + minor fixes to xmc-glitch experimental code:
2901 + suppress line-drawing
2902 + implement max_attributes
2904 + minor fixes for the database iterator.
2905 + fix some buffer limits in c++ demo (comment by Falk Hueffner in
2909 + add toe -a option, to show all databases. This uses new private
2910 interfaces in the ncurses library for iterating through the list of
2912 + fix toe from 20000909 changes which made it not look at
2914 + make toe's -v option parameter optional as per manpage.
2915 + improve SIGWINCH handling by postponing its effect during newterm(),
2916 etc., when allocating screens.
2919 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use
2920 this in test/filter.c
2921 + fix an error in filter() modification which caused some applications
2925 + check if filter() was called when getting the screensize. Keep it
2926 at 1 if so (based on Redhat #174498).
2927 + add extension nofilter().
2928 + refined the workaround for ACS mapping.
2929 + make ifdef's consistent in curses.h for the extended colors so the
2930 header file can be used for the normal curses library. The header
2931 file installed for extended colors is a variation of the
2932 wide-character configuration (report by Frederic L W Meunier).
2935 + add a workaround to ACS mapping to allow applications such as
2936 test/blue.c to use the "PC ROM" characters by masking them with
2937 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
2938 of legacy coding (report by Michael Deutschmann).
2939 + add a null-pointer check in the wide-character version of
2940 calculate_actual_width() (report by Victor Julien).
2941 + improve test/ncurses 'd' (color-edit) test by allowing the RGB
2942 values to be set independently (patch by William McBrine).
2943 + modify test/configure script to allow building test programs with
2945 + modified test programs to allow some to work with NetBSD curses.
2946 Several do not because NetBSD curses implements a subset of X/Open
2947 curses, and also lacks much of SVr4 additions. But it's enough for
2949 + update config.guess and config.sub
2952 + use BSD-specific fix for return-value from cgetent() from CVS where
2953 an unknown terminal type would be reportd as "database not found".
2954 + make tgetent() return code more readable using new symbols
2956 + remove references to non-existent "tctest" program.
2957 + remove TESTPROGS from progs/Makefile.in (it was referring to code
2958 that was never built in that directory).
2959 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
2962 + add use_legacy_coding() function to support lynx's font-switching
2964 + fix formatting in curs_termcap.3x (report by Mike Frysinger).
2965 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
2969 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
2970 overwrite() and copywin() with different combinations of colors and
2971 attributes (including background color) to make it easy to see the
2972 effect of the different functions.
2973 + corrections to menu/m_global.c for wide-characters (report by
2977 + add configure option --without-dlsym, allowing developers to
2978 configure GPM support without using dlsym() (discussion with Michael
2980 + fix wins_nwstr(), which did not handle single-column non-8bit codes
2984 + move prototypes for wide-character trace functions from curses.tail
2985 to curses.wide to avoid accidental reference to those if
2986 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
2988 + add/use NCURSES_INLINE definition.
2989 + change some internal functions to use int/unsigned rather than the
2993 + remove a redundant check in lib_color.c (Debian #335655).
2994 + use ld's -search_paths_first option on Darwin to work around odd
2995 search rules on that platform (report by Christian Gennerat, analysis
2997 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
2998 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
2999 + fix several bugs in test/bs.c (patch by Stephen Lindholm).
3002 + other minor fixes to cygwin based on tack -TD
3003 + correct smacs in cygwin (Debian #338234, report by Baurzhan
3004 Ismagulov, who noted that it was fixed in Cygwin).
3007 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
3008 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
3009 since those record the state of multicolumn characters (Debian
3011 + modify werase to clear multicolumn characters that extend into
3012 a derived window (Debian #316663).
3015 + move assignment from environment variable ESCDELAY from initscr()
3016 down to newterm() so the environment variable affects timeouts for
3017 terminals opened with newterm() as well.
3018 + fix a memory leak in keyname().
3019 + add test/demo_altkeys.c
3020 + modify test/demo_defkey.c to exit from loop via 'q' to allow
3021 leak-checking, as well as fix a buffer size in winnstr() call.
3024 + correct order of use-clauses in rxvt-basic entry which made codes for
3025 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
3026 + suppress configure check for gnatmake if Ada95/Makefile.in is not
3028 + correct a typo in configure --with-bool option for the case where
3029 --without-cxx is used (report by Daniel Jacobowitz).
3030 + add a note to INSTALL's discussion of --with-normal, pointing out
3031 that one may wish to use --without-gpm to ensure a completely
3032 static link (prompted by report by Felix von Leitner).
3034 20051010 5.5 release for upload to ftp.gnu.org
3037 + document in demo_forms.c some portability issues.
3040 + document side-effect of werase() which sets the cursor position.
3041 + save/restore the current position in form field editing to make
3045 + correct header dependencies in progs, allowing parallel make (report
3046 by Daniel Jacobowitz).
3047 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
3048 the configure check for --with-build-cc (report by Daniel Jacobowitz).
3049 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
3051 + update config.guess and config.sub from
3052 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
3055 + modify sed expression which computes path for /usr/lib/terminfo
3056 symbolic link in install to ensure that it does not change unexpected
3057 levels of the path (Gentoo #42336).
3058 + modify default for --disable-lp64 configure option to reduce impact
3059 on existing 64-bit builds. Enabling the _LP64 option may change the
3060 size of chtype and mmask_t. However, for ABI 6, it is enabled by
3061 default (report by Mike Frysinger).
3062 + add configure script check for --enable-ext-mouse, bump ABI to 6 by
3063 default if it is used.
3064 + improve configure script logic for bumping ABI to omit this if the
3065 --with-abi-version option was used.
3066 + update address for Free Software Foundation in tack's source.
3067 + correct wins_wch(), which was not marking the filler-cells of
3068 multi-column characters (cf: 20041023).
3071 + modify mouse initialization to ensure that Gpm_Open() is called only
3072 once. Otherwise GPM gets confused in its initialization of signal
3073 handlers (Debian #326709).
3076 + modify logic for backspacing in a multiline form field to ensure that
3077 it works even when the preceding line is full (report by Frank van
3079 + remove comment about BUGS section of ncurses manpage (Debian #325481)
3082 + document some workarounds for shared and libtool library
3083 configurations in INSTALL (see --with-shared and --with-libtool).
3084 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
3085 cross-compilers which emit the platform name in their version
3087 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
3088 (report by Frank van Vugt).
3091 + start updating documentation for upcoming 5.5 release.
3092 + fix to make libtool and libtinfo work together again (cf: 20050122).
3093 + fixes to allow building traces into libtinfo
3094 + add debug trace to tic that shows if/how ncurses will write to the
3095 lower corner of a terminal's screen.
3096 + update llib-l* files.
3099 + modify initializers in c++ binding to build with old versions of g++.
3100 + improve special case for 20050115 repainting fix, ensuring that if
3101 the first changed cell is not a character that the range to be
3102 repainted is adjusted to start at a character's beginning (Debian
3106 + fixes to build on QNX 6.1
3107 + improve configure script checks for Intel 9.0 compiler.
3108 + remove #include's for libc.h (obsolete).
3109 + adjust ifdef's in curses.priv.h so that when cross-compiling to
3110 produce comp_hash and make_keys, no dependency on wchar.h is needed.
3111 That simplifies the build-cppflags (report by Frank van Vugt).
3112 + move modules related to key-binding into libtinfo to fix linkage
3113 problem caused by 20050430 changes to MKkeyname.sh (report by
3114 Konstantin Andreev).
3117 + updates/fixes for configure script macros from vile -TD
3118 + make prism9's sgr string agree with the rest of the terminfo -TD
3119 + make vt220's sgr0 string consistent with sgr string, do this for
3120 several related cases -TD
3121 + improve translation to termcap by filtering the 'me' (sgr0) strings
3122 as in the runtime call to tgetent() (prompted by a discussion with
3124 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
3125 resets line-drawing.
3128 + fix special cases for trimming sgr0 for hurd and vt220 (Debian
3130 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
3131 allow it to be used by tic to provide information about the runtime
3132 changes that would be made to sgr0 for termcap applications.
3133 + modify make_sed.sh to make the group-name in the NAME section of
3134 form/menu library manpage agree with the TITLE string when renaming
3135 is done for Debian (Debian #78866).
3138 + modify parameter type in c++ binding for insch() and mvwinsch() to
3139 be consistent with underlying ncurses library (was char, is chtype).
3140 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
3142 + improve configure check for nanosleep(), checking that it works since
3143 some older systems such as AIX 4.3 have a nonworking version.
3146 + update config.guess and config.sub from
3147 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
3148 + modify misc/shlib to work in test-directory.
3149 + suppress $suffix in misc/run_tic.sh when cross-compiling. This
3150 allows cross-compiles to use the host's tic program to handle the
3151 "make install.data" step.
3152 + improve description of $LINES and $COLUMNS variables in manpages
3153 (prompted by report by Dave Ulrick).
3154 + improve description of cross-compiling in INSTALL
3155 + add NCURSES-Programming-HOWTO.html by Pradeep Padala
3156 (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
3157 + modify configure script to obtain soname for GPM library (discussion
3158 with Daniel Jacobowitz).
3159 + modify configure script so that --with-chtype option will still
3160 compute the unsigned literals suffix for constants in curses.h
3161 (report by Daniel Jacobowitz:
3162 + patches from Daniel Jacobowitz:
3163 + the man_db.renames entry for tack.1 was backwards.
3164 + tack.1 had some 1m's that should have been 1M's.
3165 + the section for curs_inwstr.3 was wrong.
3168 + correction to --with-chtype option (report by Daniel Jacobowitz).
3171 + move build-time edit_man.sh and edit_man.sed scripts to top directory
3172 to simplify reusing them for renaming tack's manpage (prompted by a
3173 review of Debian package).
3174 + revert minor optimization from 20041030 (Debian #313609).
3175 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
3176 1.5.10 and 1.5.18 (all work except as noted previously for the c++
3177 install using libtool 1.5.0):
3178 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
3180 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
3181 + add configure options --with-chtype and --with-mmask-t, to allow
3182 overriding of the non-LP64 model's use of the corresponding types.
3183 + revise test for size of chtype (and mmask_t), which always returned
3184 "long" due to an uninitialized variable (report by Daniel Jacobowitz).
3187 + change _tracef's that used "%p" format for va_list values to ignore
3188 that, since on some platforms those are not pointers.
3189 + fixes for long-formats in printf's due to largefile support.
3192 + fixes for termcap support:
3193 + reset pointer to _nc_curr_token.tk_name when the input stream is
3194 closed, which could point to free memory (cf: 20030215).
3195 + delink TERMTYPE data which is used by the termcap reader, so that
3196 extended names data will be freed consistently.
3197 + free pointer to TERMTYPE data in _nc_free_termtype() rather than
3199 + add some entrypoints for freeing permanently allocated data via
3200 _nc_freeall() when NO_LEAKS is defined.
3201 + amend 20041030 change to _nc_do_color to ensure that optimization is
3202 applied only when the terminal supports back_color_erase (bce).
3205 + add sun-color terminfo entry -TD
3206 + correct a missing assignment in c++ binding's method
3207 NCursesPanel::UserPointer() from 20050409 changes.
3208 + improve configure check for large-files, adding check for dirent64
3210 + minor change to configure script to improve linker options for the
3214 + document error conditions for ncurses library functions (report by
3216 + regenerated html documentation for ada binding.
3217 see ftp://invisible-island.net/ncurses/patches/gnathtml
3220 + regenerated html documentation for manpages.
3221 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
3222 ncurses/Makefile (Gentoo #89772).
3223 + modify c++/demo.cc to build with g++ -fno-implicit-templates option
3224 (patch by Mike Frysinger).
3225 + modify tic to filter out long extended names when translating to
3226 termcap format. Only two characters are permissible for termcap
3230 + modify terminfo entries xterm-new and rxvt to add strings for
3231 shift-, control-cursor keys.
3232 + workaround to allow c++ binding to compile with g++ 2.95.3, which
3233 has a broken implementation of static_cast<> (patch by Jeff Chua).
3234 + modify initialization of key lookup table so that if an extended
3235 capability (tic -x) string is defined, and its name begins with 'k',
3236 it will automatically be treated as a key.
3237 + modify test/keynames.c to allow for the possibility of extended
3238 key names, e.g., via define_key(), or via "tic -x".
3239 + add test/demo_termcap.c to show the contents of given entry via the
3243 + minor fixes for vt100/vt52 entries -TD
3244 + add configure option --enable-largefile
3245 + corrected libraries used to build Ada95/gen/gen, found in testing
3249 + update config.guess, config.sub
3250 + modify configure script check for _XOPEN_SOURCE, disable that on
3251 Darwin whose header files have problems (patch by Chris Zubrzycki).
3252 + modify form library Is_Printable_String() to use iswprint() rather
3253 than wcwidth() for determining if a character is printable. The
3254 latter caused it to reject menu items containing non-spacing
3256 + modify ncurses test program's F-test to handle non-spacing characters
3257 by combining them with a reverse-video blank.
3258 + review/fix several gcc -Wconversion warnings.
3261 + correct an off-by-one error in m_driver() for mouse-clicks used to
3262 position the mouse to a particular item.
3263 + implement test/demo_menus.c
3264 + add some checks in lib_mouse to ensure SP is set.
3265 + modify C++ binding to make 20050403 changes work with the configure
3266 --enable-const option.
3269 + modify start_color() to return ERR if it cannot allocate memory.
3270 + address g++ compiler warnings in C++ binding by adding explicit
3271 member initialization, assignment operators and copy constructors.
3272 Most of the changes simply preserve the existing semantics of the
3273 binding, which can leak memory, etc., but by making these features
3274 visible, it provides a framework for improving the binding.
3275 + improve C++ binding using static_cast, etc.
3276 + modify configure script --enable-warnings to add options to g++ to
3277 correspond to the gcc --enable-warnings.
3278 + modify C++ binding to use some C internal functions to make it
3279 compile properly on Solaris (and other platforms).
3282 + amend change from 20050320 to limit it to configurations with a
3284 + fix a bug introduced in 20050320 which broke the translation of
3285 nonprinting characters to uparrow form (report by Takahashi Tamotsu).
3288 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
3289 chtype and mmask_t, but add configure option --disable-lp64 in case
3290 anyone used that configuration.
3291 + update misc/shlib script to account for Mac OS X (report by Michail
3293 + correct comparison for wrapping multibyte characters in
3294 waddch_literal() (report by Takahashi Tamotsu).
3297 + add -c and -w options to tset to allow user to suppress ncurses'
3298 resizing of the terminal emulator window in the special case where it
3299 is not able to detect the true size (report by Win Delvaux, Debian
3301 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
3302 codes 128-159 as part of multibyte characters (report by Wang
3303 WenRui, Debian #300512).
3306 + modify ncurses.c 'd' test to make it work with 88-color
3307 configuration, i.e., by implementing scrolling.
3308 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
3312 + change tracemunch to use strict checking.
3313 + modify ncurses.c 'p' test to test line-drawing within a pad.
3314 + implement environment variable NCURSES_NO_UTF8_ACS to support
3315 miscellaneous terminal emulators which ignore alternate character
3316 set escape sequences when in UTF-8 mode.
3319 + change NCursesWindow::err_handler() to a virtual function (request by
3321 + modify fty_int.c and fty_num.c to handle wide characters (report by
3323 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
3324 and wide characters inconsistently (report by Wolfgang Gutjahr).
3325 + update llib-* files to reflect internal interface additions/changes.
3328 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
3330 + add aixterm-16color terminfo entry -TD
3331 + modified xterm-new terminfo entry to work with tgetent() changes -TD
3332 + extended changes in tgetent() from 20040710 to allow the substring of
3333 sgr0 which matches rmacs to be at the beginning of the sgr0 string
3334 (request by Thomas Wolff). Wolff says the visual effect in
3335 combination with pre-20040710 ncurses is improved.
3336 + fix off-by-one in winnstr() call which caused form field validation
3337 of multibyte characters to ignore the last character in a field.
3338 + correct logic in winsch() for inserting multibyte strings; the code
3339 would clear cells after the insertion rather than push them to the
3340 right (cf: 20040228).
3341 + fix an inconsistency in Check_Alpha_Field() between normal and wide
3342 character logic (report by Wolfgang Gutjahr).
3345 + fix a bug in editing wide-characters in form library: deleting a
3346 nonwide character modified the previous wide-character.
3347 + update manpage to describe NCURSES_MOUSE_VERSION 2.
3348 + correct manpage description of mouseinterval() (Debian #280687).
3349 + add a note to default_colors.3x explaining why this extension was
3350 added (Debian #295083).
3351 + add traces to panel library.
3354 + improve editing of wide-characters in form library: left/right
3355 cursor movement, and single-character deletions work properly.
3356 + disable GPM mouse support when $TERM happens to be prefixed with
3357 "xterm". Gpm_Open() would otherwise assert that it can deal with
3358 mouse events in this case.
3359 + modify GPM mouse support so it closes the server connection when
3360 the caller disables the mouse (report by Stanislav Ievlev).
3363 + add traces for callback functions in form library.
3364 + add experimental configure option --enable-ext-mouse, which defines
3365 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
3366 support wheel mice, which may transmit buttons 4 and 5. This works
3367 with xterm and similar X terminal emulators (prompted by question by
3368 Andreas Henningsson, this is also related to Debian #230990).
3369 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
3370 avoid redefinition warnings on cygwin.
3373 + merge remaining development changes for extended colors (mostly
3374 complete, does not appear to break other configurations).
3375 + add xterm-88color.dat (part of extended colors testing).
3376 + improve _tracedump() handling of color pairs past 96.
3377 + modify return-value from start_color() to return OK if colors have
3378 already been started.
3379 + modify curs_color.3x list error conditions for init_pair(),
3380 pair_content() and color_content().
3381 + modify pair_content() to return -1 for consistency with init_pair()
3382 if it corresponds to the default-color.
3383 + change internal representation of default-color to allow application
3384 to use color number 255. This does not affect the total number of
3385 color pairs which are allowed.
3386 + add a top-level tags rule.
3389 + add a null-pointer check in wgetch() in case it is called without
3390 first calling initscr().
3391 + add some null-pointer checks for SP, which is not set by libtinfo.
3392 + modify misc/shlib to ensure that absolute pathnames are used.
3393 + modify test/Makefile.in, etc., to link test programs only against the
3394 libraries needed, e.g., omit form/menu/panel library for the ones
3395 that are curses-specific.
3396 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
3397 libtinfo.so and libtinfow.so have the same ABI. The reason for this
3398 is that the corresponding data which belongs to the upper-level
3399 ncurses library has a different size in each model (report by
3403 + minor fixes to allow test-compiles with g++.
3404 + correct column value shown in tic's warnings, which did not account
3405 for leading whitespace.
3406 + add a check in _nc_trans_string() for improperly ended strings, i.e.,
3407 where a following line begins in column 1.
3408 + modify _nc_save_str() to return a null pointer on buffer overflow.
3409 + improve repainting while scrolling wide-character data (Eungkyu Song).
3412 + merge some development changes to extend color capabilities.
3415 + merge some development changes to extend color capabilities.
3416 + fix manpage typo (FreeBSD report docs/75544).
3417 + update config.guess, config.sub
3418 > patches for configure script (Albert Chin-A-Young):
3419 + improved fix to make mbstate_t recognized on HPUX 11i (cf:
3420 20030705), making vsscanf() prototype visible on IRIX64. Tested for
3421 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
3422 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
3423 + print the result of the --disable-home-terminfo option.
3424 + use -rpath when compiling with SGI C compiler.
3427 + add trace calls to remaining public functions in form and menu
3429 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
3430 + fix typo in test/ncurses.c 'c' test from 20041218.
3433 + revise test/ncurses.c 'c' color test to improve use for xterm-88color
3434 and xterm-256color, added 'C' test using the wide-character color_set
3435 and attr_set functions.
3438 + modify configure script to work with Intel compiler.
3439 + fix an limit-check in wadd_wchnstr() which caused labels in the
3440 forms-demo to be one character short.
3441 + fix typo in curs_addchstr.3x (Jared Yanovich).
3442 + add trace calls to most functions in form and menu libraries.
3443 + update working-position for adding wide-characters when window is
3444 scrolled (prompted by related report by Eungkyu Song).
3447 + replace some references on Linux to wcrtomb() which use it to obtain
3448 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
3449 broken in glibc (see Debian #284260).
3450 + corrected length-computation in wide-character support for
3452 + some fixes to frm_driver.c to allow it to accept multibyte input.
3453 + modify configure script to work with Intel 8.0 compiler.
3456 + amend change to setupterm() in 20030405 which would reuse the value
3457 of cur_term if the same output was selected. This now reuses it only
3458 when setupterm() is called from tgetent(), which has no notion of
3459 separate SCREENs. Note that tgetent() must be called after initscr()
3460 or newterm() to use this feature (Redhat Bugzilla #140326).
3461 + add a check in CF_BUILD_CC macro to ensure that developer has given
3462 the --with-build-cc option when cross-compiling (report by Alexandre
3464 + improved configure script checks for _XOPEN_SOURCE and
3465 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
3467 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
3468 for consistency (comment by Dan Nelson).
3471 + update wsvt25 terminfo entry -TD
3472 + modify test/ins_wide.c to test all flavors of ins_wstr().
3473 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
3474 which consists of multi-column characters, since this function
3475 constructs them (cf: 20041023).
3476 + modify winnstr() to return multibyte character strings for the
3477 wide-character configuration.
3480 + fixes to make slk_set() and slk_wset() accept and store multibyte
3481 or multicolumn characters.
3484 + improve color optimization a little by making _nc_do_color() check
3485 if the old/new pairs are equivalent to the default pair 0.
3486 + modify assume_default_colors() to not require that
3487 use_default_colors() be called first.
3490 + modify term_attrs() to use termattrs(), add the extended attributes
3491 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
3492 + add logic in waddch_literal() to clear orphaned cells when one
3493 multi-column character partly overwrites another.
3494 + improved logic for clearing cells when a multi-column character
3495 must be wrapped to a new line.
3496 + revise storage of cells for multi-column characters to correct a
3497 problem with repainting. In the old scheme, it was possible for
3498 doupdate() to decide that only part of a multi-column character
3499 should be repainted since the filler cells stored only an attribute
3500 to denote them as fillers, rather than the character value and the
3504 + minor fixes for traces.
3505 + add SP->_screen_acs_map[], used to ensure that mapping of missing
3506 line-drawing characters is handled properly. For example, ACS_DARROW
3507 is absent from xterm-new, and it was coincidentally displayed the
3511 + amend 20021221 workaround for broken acs to reset the sgr, rmacs
3512 and smacs strings as well. Also modify the check for screen's
3513 limitations in that area to allow the multi-character shift-in
3514 and shift-out which seem to work.
3515 + change GPM initialization, using dl library to load it dynamically
3516 at runtime (Debian #110586).
3519 + correct logic for color pair in setcchar() and getcchar() (patch by
3520 Marcin 'Qrczak' Kowalczyk).
3521 + add t/T commands to ncurses b/B tests to allow a different color to
3522 be tested for the attrset part of the test than is used in the
3526 + fix to make setcchar() to work when its wchar_t* parameter is
3527 pointing to a string which contains more data than can be converted.
3528 + modify wget_wstr() and example in ncurses.c to work if wchar_t and
3529 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
3532 + remove check in wget_wch() added to fix an infinite loop, appears to
3533 have been working around a transitory glibc bug, and interferes
3534 with normal operation (report by Marcin 'Qrczak' Kowalczyk).
3535 + correct wadd_wch() and wecho_wch(), which did not pass the rendition
3536 information (report by Marcin 'Qrczak' Kowalczyk).
3537 + fix aclocal.m4 so that the wide-character version of ncurses gets
3538 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
3539 (adapted from patch by James J Ramsey).
3540 + change configure script for --with-caps option to indicate that it
3541 is no longer experimental.
3542 + change configure script to reflect the fact that --enable-widec has
3543 not been "experimental" since 5.3 (report by Bruno Lustosa).
3546 + add 'B' test to ncurses.c, to exercise some wide-character functions.
3549 + modify infocmp -i option to match 8-bit controls against its table
3550 entries, e.g., so it can analyze the xterm-8bit entry.
3551 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
3552 + correct translation of "%%" in terminfo format to termcap, e.g.,
3553 using "tic -C" (Redhat Bugzilla #130921).
3554 + modified configure script CF_XOPEN_SOURCE macro to ensure that if
3555 it defines _POSIX_C_SOURCE, that it defines it to a specific value
3556 (comp.os.stratus newsgroup comment).
3559 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
3560 fatal, and gnat does not follow the guidelines for pragmas).
3561 However that did find a coding error in Assume_Default_Colors().
3562 + modify several terminfo entries to ensure xterm mouse and cursor
3563 visibility are reset in rs2 string: hurd, putty, gnome,
3564 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The
3565 xterm entries are left alone - old ones for compatibility, and the
3566 new ones do not require this change. -TD
3569 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
3570 and window managers (Debian #265631).
3571 > terminfo updates -TD
3572 + remove dch/dch1 from rxvt because they are implemented inconsistently
3573 with the common usage of bce/ech
3574 + remove khome from vt220 (vt220's have no home key)
3578 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
3579 combinations of video attributes so that for instance bold and
3580 underline can be tested. This made the legend too crowded, added
3581 a help window as well.
3582 + modify test/ncurses.c 'b' test to cycle through default colors if
3583 the -d option is set.
3584 + update putty terminfo entry (Robert de Bath).
3587 + modify test/cardfile.c to allow it to read more data than can be
3589 + correct logic in resizeterm.c which kept it from processing all
3590 levels of window hierarchy (reports by Folkert van Heusden,
3594 + modify "tic -cv" to ignore delays when comparing strings. Also
3595 modify it to ignore a canceled sgr string, e.g., for terminals which
3596 cannot properly combine attributes in one control sequence.
3597 + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
3598 patch by Hans de Goede)
3599 > terminfo updates -TD
3600 + make ncsa-m rmacs/smacs consistent with sgr
3601 + add sgr, rc/sc and ech to syscons entries
3602 + add function-keys to decansi
3603 + add sgr to mterm-ansi
3604 + add sgr, civis, cnorm to emu
3605 + correct/simplify cup in addrinfo
3608 > terminfo updates -TD
3609 + add xterm-pc-fkeys
3610 + review/update gnome and gnome-rh90 entries (prompted by Redhat
3612 + review/update konsole entries
3613 + add sgr, correct sgr0 for kterm and mlterm
3614 + correct tsl string in kterm
3617 + add configure option --without-xterm-new
3620 + add check in wget_wch() for printable bytes that are not part of a
3621 multibyte character.
3622 + modify wadd_wchnstr() to render text using window's background
3624 + improve tic's check to compare sgr and sgr0.
3625 + fix c++ directory's .cc.i rule.
3626 + modify logic in tgetent() which adjusts the termcap "me" string
3627 to work with ISO-2022 string used in xterm-new (cf: 20010908).
3628 + modify tic's check for conflicting function keys to omit that if
3629 converting termcap to termcap format.
3630 + add -U option to tic and infocmp.
3631 + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
3632 > terminfo updates -TD
3633 + minor fixes for emu
3635 + change wyse acsc strings to use 'i' map rather than 'I'
3640 + use tic -x to install terminfo database -TD
3641 + add -x to infocmp's usage message.
3642 + correct field used for comparing O_ROWMAJOR in set_menu_format()
3643 (report/patch by Tony Li).
3644 + fix a missing nul check in set_field_buffer() from 20040508 changes.
3645 > terminfo updates -TD
3646 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
3648 + align with xterm patch #192's use of xterm-new -TD
3649 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
3650 + make xterm-new the default "xterm" entry -TD
3653 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
3654 cross-compiling from a separate directory tree (report/patch by
3656 + modify is_term_resized() to ensure that window sizes are nonzero,
3657 as documented in the manpage (report by Ian Collier).
3658 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
3659 (Debian #249214, report/patch by Jeff Bailey).
3660 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
3661 + update config.guess, config.sub
3662 > terminfo updates -TD
3664 + add xterm-xf86-v44
3665 + modify xterm-new aka xterm-xfree86 to accommodate luit, which
3666 relies on G1 being used via an ISO-2022 escape sequence (report by
3671 + reconsidered winsnstr(), decided after comparing other
3672 implementations that wrapping is an X/Open documentation error.
3673 + modify test/inserts.c to test all flavors of insstr().
3676 + add setlocale() calls to a few test programs which may require it:
3677 demo_forms.c, filter.c, ins_wide.c, inserts.c
3678 + correct a few misspelled function names in ncurses-intro.html (report
3680 + correct internal name of key_defined() manpage, which conflicted with
3684 + correct size of internal pad used for holding wide-character
3685 field_buffer() results.
3686 + modify data_ahead() to work with wide-characters.
3689 + improve description of terminfo if-then-else expressions (suggested
3691 + improve test/ncurses.c 'd' test, allow it to use external file for
3692 initial palette (added xterm-16color.dat and linux-color.dat), and
3693 reset colors to the initial palette when starting/ending the test.
3694 + change limit-check in init_color() to allow r/g/b component to
3695 reach 1000 (cf: 20020928).
3698 + modify form library to use cchar_t's rather than char's in the
3699 wide-character configuration for storing data for field buffers.
3700 + correct logic of win_wchnstr(), which did not work for more than
3704 + replace memset/memcpy usage in form library with for-loops to
3705 simplify changing the datatype of FIELD.buf, part of wide-character
3707 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
3710 + modify menu library to account for actual number of columns used by
3711 multibyte character strings, in the wide-character configuration
3712 (adapted from patch by Philipp Tomsich).
3713 + add "-x" option to infocmp like tic's "-x", for use in "-F"
3714 comparisons. This modifies infocmp to only report extended
3715 capabilities if the -x option is given, making this more consistent
3716 with tic. Some scripts may break, since infocmp previous gave this
3717 information without an option.
3718 + modify termcap-parsing to retain 2-character aliases at the beginning
3719 of an entry if the "-x" option is used in tic.
3722 + minor compiler-warning and test-program fixes.
3725 + modify tic's missing-sgr warning to apply to terminfo only.
3726 + free some memory leaks in tic.
3727 + remove check in post_menu() that prevented menus from extending
3728 beyond the screen (request by Max J. Werner).
3729 + remove check in newwin() that prevents allocating windows
3730 that extend beyond the screen. Solaris curses does this.
3731 + add ifdef in test/color_set.c to allow it to compile with older
3733 + add napms() calls to test/dots.c to make it not be a CPU hog.
3736 + modify unctrl() to return null if its parameter does not correspond
3737 to an unsigned char.
3738 + add some limit-checks to guard isprint(), etc., from being used on
3739 values that do not fit into an unsigned char (report by Sami Farin).
3742 + fix a typo in the _nc_get_locale() change.
3745 + modify _nc_get_locale() to use setlocale() to query the program's
3746 current locale rather than using getenv(). This fixes a case in tin
3747 which relies on legacy treatment of 8-bit characters when the locale
3748 is not initialized (reported by Urs Jansen).
3749 + add sgr string to screen's and rxvt's terminfo entries -TD.
3750 + add a check in tic for terminfo entries having an sgr0 but no sgr
3751 string. This confuses Tru64 and HPUX curses when combined with
3752 color, e.g., making them leave line-drawing characters in odd places.
3753 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
3754 original definitions used in Debian package to fix PowerPC bug before
3755 20030802 (Debian #237629).
3758 + modify PutAttrChar() and PUTC() macro to improve use of
3759 A_ALTCHARSET attribute to prevent line-drawing characters from
3760 being lost in situations where the locale would otherwise treat the
3761 raw data as nonprintable (Debian #227879).
3764 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
3766 + remove ".PP" after ".SH NAME" in a few manpages; this confuses
3767 some apropos script (Debian #237831).
3770 + modify ncurses.c 'r' test so editing commands, like inserted text,
3771 set the field background, and the state of insert/overlay editing
3772 mode is shown in that test.
3773 + change syntax of dummy targets in Ada95 makefiles to work with pmake.
3774 + correct logic in test/ncurses.c 'b' for noncolor terminals which
3775 did not recognize a quit-command (cf: 20030419).
3778 + modify _nc_insert_ch() to allow for its input to be part of a
3780 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states
3781 that this function performs wrapping, unlike all of the other
3782 insert-functions. Currently it does not wrap.
3783 + check for nl_langinfo(CODESET), use it if available (report by
3785 + split-out CF_BUILD_CC macro, actually did this for lynx first.
3786 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
3787 which happened to work with bash, but not with Bourne shell (report
3788 by Marco d'Itri via tin-dev).
3791 + some changes to adapt the form library to wide characters, incomplete
3792 (request by Mike Aubury).
3793 + add symbol to curses.h which can be used to suppress include of
3795 #define NCURSES_ENABLE_STDBOOL_H 0
3797 (discussion on XFree86 mailing list).
3800 + modify configure --with-termlib option to accept a value which sets
3801 the name of the terminfo library. This would allow a packager to
3802 build libtinfow.so renamed to coincide with libtinfo.so (discussion
3803 with Stanislav Ievlev).
3804 + improve documentation of --with-install-prefix, --prefix and
3805 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
3806 + add configure check if the compiler can use -c -o options to rename
3807 its output file, use that to omit the 'cd' command which was used to
3808 ensure object files are created in a separate staging directory
3809 (prompted by comments by Johnny Wezel, Martin Mokrejs).
3811 20040208 5.4 release for upload to ftp.gnu.org
3814 20040207 pre-release
3815 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
3816 and do not count %d if it follows a %p.
3817 + correct an inconsistency between handling of codes in the 128-255
3818 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX
3819 locale, the latter did not show printable results, while the former
3821 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
3822 OS X, which alters "%%" to "% % " (report by Robert Simms, fix
3823 verified by Scott Corscadden).
3825 20040131 pre-release
3826 + modify SCREEN struct to align it between normal/wide curses flavors
3827 to simplify future changes to build a single version of libtinfo
3828 (patch by Stanislav Ievlev).
3829 + document handling of carriage return by addch() in manpage.
3830 + document special features of unctrl() in manpage.
3831 + documented interface changes in INSTALL.
3832 + corrected control-char test in lib_addch.c to account for locale
3833 (Debian #230335, cf: 971206).
3834 + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
3835 + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
3836 + minor configure-script fixes for older ports, e.g., BeOS R4.5.
3838 20040125 pre-release
3839 + amend change to PutAttrChar() from 20030614 which computed the number
3840 of cells for a possibly multi-cell character. The 20030614 change
3841 forced the cell to a blank if the result from wcwidth() was not
3842 greater than zero. However, wcwidth() called for parameters in the
3843 range 128-255 can give this return value. The logic now simply
3844 ensures that the number of cells is greater than zero without
3845 modifying the displayed value.
3847 20040124 pre-release
3848 + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
3849 + modify configure script check for ranlib to use AC_CHECK_TOOL, since
3850 that works better for cross-compiling.
3852 20040117 pre-release
3853 + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
3854 work around core dump in Solaris 8's locale support, e.g., for
3855 zh_CN.GB18030 (report by Saravanan Bellan).
3856 + add includes for <stdarg.h> and <stdio.h> in configure script macro
3857 to make <wchar.h> check work with Tru64 4.0d.
3858 + add terminfo entry for U/Win -TD
3859 + add terminfo entries for SFU aka Interix aka OpenNT (Federico
3861 + modify tput's error messages to prefix them with the program name
3862 (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
3864 + correct a place in tack where exit_standout_mode was used instead of
3865 exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
3866 + modify c++/cursesf.h to use const in the Enumeration_Field method.
3867 + remove an ambiguous (actually redundant) method from c++/cursesf.h
3868 + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
3869 + improve sed script which extracts libtool's version in the
3870 CF_WITH_LIBTOOL macro.
3871 + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
3872 simplify local patch for Albert Chin-A-Young)..
3873 + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
3874 patch by Albert Chin-A-Young)..
3875 + fix a missing substitution in configure.in for "$target" needed for
3877 + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
3878 NetBSD 1.6 conflicts with _XOPEN_SOURCE.
3879 + make check for stdbool.h more specific, to ensure that including it
3880 will actually define/declare bool for the configured compiler.
3881 + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The
3882 intention of that is to #define NCURSES_BOOL as bool when the
3883 compiler declares bool, and to #define bool as NCURSES_BOOL when it
3884 does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
3886 20040110 pre-release
3887 + change minor version to 4, i.e., ncurses 5.4
3888 + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
3890 + simplified ncurses/base/version.c by defining the result from the
3891 configure script rather than using sprintf (suggested by Stanislav
3893 + remove obsolete casts from c++/cursesw.h (reported by Stanislav
3895 + modify configure script so that when configuring for termlib, programs
3896 such as tic are not linked with the upper-level ncurses library
3897 (suggested by Stanislav Ievlev).
3898 + move version.c from ncurses/base to ncurses/tinfo to allow linking
3899 of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
3902 + adjust -D's to build ncursesw on OpenBSD.
3903 + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
3904 + add pecho_wchar().
3905 + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
3906 available) on older platforms.
3909 + add -D's to build ncursew on FreeBSD 5.1.
3910 + modify shared library configuration for FreeBSD 4.x/5.x to add the
3911 soname information (request by Marc Glisse).
3912 + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
3913 for limiting the length of a filename in the terminfo database.
3914 + modify termname() to return the terminal name used by setupterm()
3915 rather than $TERM, without truncating to 14 characters as documented
3916 by X/Open (report by Stanislav Ievlev, cf: 970719).
3917 + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
3920 + add configure option --with-manpage-format=catonly to address
3921 behavior of BSDI, allow install of man+cat files on NetBSD, whose
3922 behavior has diverged by requiring both to be present.
3923 + remove leading blanks from comment-lines in manlinks.sed script to
3924 work with Tru64 4.0d.
3925 + add screen.linux terminfo entry (discussion on mutt-users mailing
3929 + add a check for tic to flag missing backslashes for termcap
3930 continuation lines. ncurses reads the whole entry, but termcap
3931 applications do not.
3932 + add configure option "--with-manpage-aliases" extending
3933 "--with-manpage-aliases" to provide the option of generating ".so"
3934 files rather than symbolic links for manpage aliases.
3935 + add bool definition in include/curses.h.in for configurations with no
3936 usable C++ compiler (cf: 20030607).
3937 + fix pathname of SigAction.h for building with --srcdir (reported by
3941 + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
3942 since that header is used only within ncurses/tty/lib_tstp.c, for
3943 non-POSIX systems (discussion with Stanislav Ievlev).
3944 + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
3945 <inger@altlinux.org>).
3946 + add test/background.c and test/color_set.c
3947 + modify color_set() function to work with color pair 0 (report by
3948 George Andreou <gbandreo@tem.uoc.gr>).
3949 + add configure option --with-trace, since defining TRACE seems too
3950 awkward for some cases.
3951 + remove a call to _nc_free_termtype() from read_termtype(), since the
3952 corresponding buffer contents were already zeroed by a memset (cf:
3954 + improve configure check for _XOPEN_SOURCE and related definitions,
3955 adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
3956 __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
3957 + small fixes to compile on Solaris and IRIX64 using cc.
3958 + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
3962 + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
3963 values (Philippe Blain).
3964 + improve the nanosleep() logic in napms() by checking for EINTR and
3965 restarting (Philippe Blain).
3966 + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
3970 + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
3971 + allow "\|" escape in terminfo; tic should not warn about this.
3972 + save the full pathname of the trace-file the first time it is opened,
3973 to avoid creating it in different directories if the application
3974 opens and closes it while changing its working directory.
3975 + modify configure script to provide a non-empty default for
3979 + add DJGPP to special case of DOS-style drive letters potentially
3980 appearing in TERMCAP environment variable.
3981 + fix some spelling in comments (reports by Jason McIntyre, Jonathon
3983 + update config.guess, config.sub
3986 + fix a memory leak in error-return from setupterm() (report by
3987 Stanislav Ievlev <inger@altlinux.org>).
3988 + use EXEEXT and OBJEXT consistently in makefiles.
3989 + amend fixes for cross-compiling to use separate executable-suffix
3990 BUILD_EXEEXT (cf: 20031018).
3991 + modify MKkey_defs.sh to check for sort utility that does not
3992 recognize key options, e.g., busybox (report by Peter S Mazinger
3994 + fix potential out-of-bounds indexing in _nc_infotocap() (found by
3995 David Krause using some of the new malloc debugging features
3996 under OpenBSD, patch by Ted Unangst).
3997 + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
3998 ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
4001 + update terminfo for xterm-xfree86 -TD
4002 + add check for multiple "tc=" clauses in a termcap to tic.
4003 + check for missing op/oc in tic.
4004 + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
4005 tic to show cancelled capabilities. These functions were ignoring