blob: f24d2c80538b56c8d8698d096292b4d9181c9501 [file] [log] [blame]
-- Copyright (c) 1998-2014,2015 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
-- "Software"), to deal in the Software without restriction, including --
-- without limitation the rights to use, copy, modify, merge, publish, --
-- distribute, distribute with modifications, sublicense, and/or sell copies --
-- of the Software, and to permit persons to whom the Software is furnished --
-- to do so, subject to the following conditions: --
-- --
-- The above copyright notice and this permission notice shall be included --
-- in all copies or substantial portions of the Software. --
-- --
-- --
-- Except as contained in this notice, the name(s) of the above copyright --
-- holders shall not be used in advertising or otherwise to promote the --
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-- $Id: NEWS,v 1.2476 2015/08/08 23:29:51 tom Exp $
This is a log of changes that ncurses has gone through since Zeyd started
working with Pavel Curtis' original work, pcurses, in 1992.
Changes through 1.9.9e are recorded by Zeyd M Ben-Halim.
Changes since 1.9.9e are recorded by Thomas E Dickey.
Contributors include those who have provided patches (even small ones), as well
as those who provide useful information (bug reports, analyses). Changes with
no cited author are the work of Thomas E Dickey (TD).
A few contributors are given in this file by their initials.
They each account for one percent or more of the changes since 1.9.9e.
See the AUTHORS file for the corresponding full names.
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
20150808 6.0 release for upload to
+ build-fix for Ada95 on older platforms without stdint.h
+ build-fix for Solaris, whose /bin/sh and /usr/bin/sed are non-POSIX.
+ update release announcement, summarizing more than 800 changes across
more than 200 snapshots.
+ minor fixes to manpages, etc., to simplify linking from announcement
+ updated llib-* files.
+ build-fixes for ncurses library "test_progs" rule.
+ use alternate workaround for gcc 5.x feature (adapted from patch by
Mikhail Peselnik).
+ add status line to tmux via xterm+sl (patch by Nicholas Marriott).
+ fixes for st 0.5 from testing with tack -TD
+ review/improve several manual pages to break up wall-of-text:
curs_add_wch.3x, curs_attr.3x, curs_bkgd.3x, curs_bkgrnd.3x,
curs_getcchar.3x, curs_getch.3x, curs_kernel.3x, curs_mouse.3x,
curs_outopts.3x, curs_overlay.3x, curs_pad.3x, curs_termattrs.3x
curs_trace.3x, and curs_window.3x
+ correct an old logic error for %A and %O in tparm (report by "zreed").
+ improve documentation for signal handlers by adding section in the
curs_initscr.3x page.
+ modify logic in make_keys.c to not assume anything about the size
of strnames and strfnames variables, since those may be functions
in the thread- or broken-linker configurations (problem found by
+ modify test/configure script to check for pthreads configuration,
e.g., ncursestw library.
+ modify scripts to build/use test-packages for the pthreads
configuration of ncurses6.
+ add references to ttytype and termcap symbols in demo_terminfo.c and
demo_termcap.c to ensure that when building, etc., that
the corresponding names such as _nc_ttytype are added to the list of
versioned symbols (report by Werner Fink)
+ fix regression from 20150704 (report/patch by Werner Fink).
+ fix a few problems reported by Coverity.
+ fix comparison against "/usr/include" in misc/
(report by Daiki Ueno, Debian #790548, cf: 20141213).
+ modify configure script to remove deprecated ABI 5 symbols when
building ABI 6.
+ add symbols _nc_Default_Field, _nc_Default_Form, _nc_has_mouse to
map-files, but marked as deprecated so that they can easily be
suppressed from ABI 6 builds (Debian #788610).
+ comment-out "screen.xterm" entry, and inherit screen.xterm-256color
from xterm-new (report by Richard Birkett) -TD
+ modify read_entry.c to set the error-return to -1 if no terminal
databases were found, as documented for setupterm.
+ add test_setupterm.c to demonstrate normal/error returns from the
setupterm and restartterm functions.
+ amend cleanup change from 20110813 which removed redundant definition
of ret_error, etc., from tinfo_driver.c, to account for the fact that
it should return a bool rather than int (report/analysis by Johannes
+ fix overflow warning for OSX with lib_baudrate.c (cf: 20010630).
+ modify script used to generate map/sym files to mark 5.9.20150530 as
the last "5.9" version, and regenerated the files. That makes the
files not use ".current" for the post-5.9 symbols. This also
corrects the label for _nc_sigprocmask used in when weak symbols are
configured for the ncursest/ncursestw libraries (prompted by
discussion with Sven Joachim).
+ fix typo in NEWS (report by Sven Joachim).
20150606 pre-release
+ make ABI 6 the default by updates to and VERSION, with the
intention that the existing ABI 5 should build as before using the
"--with-abi-version=5" option.
+ regenerate ada- and man-html documentation.
+ minor fixes to color- and util-manpages.
+ fix a regression in Ada95/gen/, to handle special case of
Cygwin, which uses the broken-linker feature.
+ amend fix for CF_NCURSES_CONFIG used in test/configure to assume that
ncurses package scripts work when present for cross-compiling, as the
lessor of two evils (cf: 20150530).
+ add check in configure script to disallow conflicting options
"--with-termlib" and "--enable-term-driver".
+ move defaults for "--disable-lp64" and "--with-versioned-syms" into
+ change private type for Event_Mask in Ada95 binding to work when
mmask_t is set to 32-bits.
+ remove spurious "%;" from st entry (report by Daniel Pitts) -TD
+ add vte-2014, update vte to use that -TD
+ modify tic and infocmp to "move" a diagnostic for tparm strings that
have a syntax error to tic's "-c" option (report by Daniel Pitts).
+ fix two problems with configure script macros (Debian #786436,
cf: 20150425, cf: 20100529).
+ add 'P' menu item to test/ncurses.c, to show pad in color.
+ improve discussion in curs_color.3x about color rendering (prompted
by comment on Stack Overflow forum):
+ remove screen-bce.mlterm, since mlterm does not do "bce" -TD
+ add several screen.XXX entries to support the respective variations
for 256 colors -TD
+ add putty+fnkeys* building-block entries -TD
+ add smkx/rmkx to capabilities analyzed with infocmp "-i" option.
+ amend change to ".pc" files to only use the extra loader flags which
may have rpath options (report by Sven Joachim, cf: 20150502).
+ change versioning for dpkg's in test-packages for Ada95 and
ncurses-examples for consistency with Debian, to work with package
+ regenerate html manpages.
+ clarify handling of carriage return in waddch manual page; it was
discussed only in the portability section (prompted by comment on
Stack Overflow forum):
+ add test-packages for cross-compiling ncurses-examples using the
MinGW test-packages. These are only the Debian packages; RPM later.
+ cleanup format of debian/copyright files
+ add pc-files to the MinGW cross-compiling test-packages.
+ correct a couple of places in to handle renaming of
the tinfo library.
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
+ add sample "magic" file, to document ext-putwin.
+ modify to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
+ expanded description of tgetstr's area pointer in manual page
(report by Todd M Lewis).
+ in-progress changes to modify test-packages to use ncursesw6 rather
than ncursesw, with updated configure scripts.
+ modify CF_NCURSES_CONFIG in Ada95- and test-configure scripts to
check for ".pc" files via pkg-config, but add a linkage check since
frequently pkg-config configurations are broken.
+ modify misc/ to include EXTRA_LDFLAGS, e.g., for the
rpath option.
+ add 'dim' capability to screen entry (report by Leonardo B Schenkel)
+ add several key definitions to nsterm-bce to match preconfigured
keys, e.g., with OSX 10.9 and 10.10 (report by Leonardo B Schenkel)
+ fix repeated "extra-suffix" in (cf: 20150418).
+ improve term_variables manual page, adding section on the terminfo
long-name symbols which are defined in the term.h header.
+ fix bug in lib_tracebits.c introduced in const-fixes (cf: 20150404).
+ avoid a blank line in output from tabs program by ending it with
a carriage return as done in FreeBSD (patch by James Clarke).
+ build-fix for the "--enable-ext-putwin" feature when not using
wide characters (report by Werner Fink).
+ modify autoconf macros to use scripting improvement from xterm.
+ add -brtl option to compiler options on AIX 5-7, needed to link
with the shared libraries.
+ add --with-extra-suffix option to help with installing nonconflicting
ncurses6 packages, e.g., avoiding header- and library-conflicts.
NOTE: as a side-effect, this renames
adacurses-config to adacurses5-config and
adacursesw-config to adacursesw5-config
+ modify debian/rules test package to suffix programs with "6".
+ clarify in curs_inopts.3x that window-specific settings do not
inherit into new windows.
+ improve description of start_color() in the manual.
+ modify several files in ncurses- and progs-directories to allow
const data used in internal tables to be put by the linker into the
readonly text segment.
+ correct cut/paste error for "--enable-ext-putwin" that made it the
same as "--enable-ext-colors" (report by Roumen Petrov)
+ add "-f" option to test/savescreen.c to help with testing/debugging
the extended putwin/getwin.
+ add logic for writing/reading combining characters in the extended
+ add "--enable-ext-putwin" configure option to turn on the extended
+ in-progress changes to provide an extended version of putwin and
getwin which will be capable of reading screen-dumps between the
wide/normal ncurses configurations. These are text files, except
for a magic code at the beginning:
0 string \210\210 Screen-dump (ncurses)
+ document limitations of getwin in manual page (prompted by discussion
with John S Urban).
+ extend test/savescreen.c to demonstrate that color pair values
and graphic characters can be restored using getwin.
+ modify win_driver.c to eliminate the constructor, to make it more
usable in an application which may/may not need the console window
(report by Grady Martin).
+ capture define's related to -D_XOPEN_SOURCE from the configure check
and add those to the *-config and *.pc files, to simplify use for
the wide-character libraries.
+ modify ncurses.spec to accommodate Fedora21's location of pkg-config
+ correct sense of "--disable-lib-suffixes" configure option (report
by Nicolas Boos, cf: 20140426).
+ regenerate html manpages using improved man2html from work on xterm.
+ regenerated ".map" and ".sym" files using improved script, accounting
for the "--enable-weak-symbols" configure option (report by Werner
+ regenerated ".map" and ".sym" files using improved script, showing
the combinations of configure options used at each stage.
+ add configure check to determine if "local: _*;" can be used in the
".map" files to selectively omit symbols beginning with "_". On at
least recent FreeBSD, the wildcard applies to all "_" symbols.
+ remove obsolete/conflicting rule for from
ncurses/ (cf: 20130706).
+ improve description in INSTALL of the --with-versioned-syms option.
+ add combination of --with-hashed-db and --with-ticlib to
configurations for ".map" files (report by Werner Fink).
+ add a step to generating ".map" files, to declare any remaining
symbols beginning with "_" as local, at the last version node.
+ improve configure checks for pkg-config, addressing a variant found
with FreeBSD ports.
+ modify win_driver.c to provide characters for special keys, like
ansi.sys, when keypad mode is off, rather than returning nothing at
all (discussion with Eli Zaretskii).
+ add "broken_linker" and "hashed-db" configure options to combinations
use for generating the ".map" and ".sym" files.
+ avoid using "ld" directly when creating shared library, to simplify
cross-compiles. Also drop "-Bsharable" option from shared-library
rules for FreeBSD and DragonFly (FreeBSD #196592).
+ fix a memory leak in form library Free_RegularExpression_Type()
(report by Pavel Balaev).
+ modify_nc_flush() to retry if interrupted (patch by Stian Skjelstad).
+ change map files to make _nc_freeall a global, since it may be used
via the Ada95 binding when checking for memory leaks.
+ improve sed script used in 20141220 to account for wide-, threaded-
variations in ABI 6.
+ regenerate ".map" files, using step overlooked in 20141213 to use
the same patch-dates across each file to match (report by
Sven Joachim).
+ fix an incorrect variable assignment in 20141220 changes (report by
Sven Joachim).
+ updated Ada95/configure with macro changes from 20141213
+ tie configure options --with-abi-version and --with-versioned-syms
together, so that ABI 6 libraries have distinct symbol versions from
the ABI 5 libraries.
+ replace obsolete/nonworking link to man2html with current one,
regenerate html-manpages.
+ modify misc/ to add -I option for include-directory
when using both --prefix and --disable-overwrite (report by Misty
De Meo).
+ add configure option --with-pc-suffix to allow minor renaming of
".pc" files and the corresponding library. Use this in the test
package for ncurses6.
+ modify configure script so that if pkg-config is not installed, it
is still possible to install ".pc" files (report by Misty De Meo).
+ updated ".sym" files, removing symbols which are marked as "local"
in the corresponding ".map" files.
+ updated ".map" files to reflect move of comp_captab and comp_hash
from tic-library to tinfo-library in 20090711 (report by Sven
+ updated ".map" files so that each symbol that may be shared across
the different library configurations has the same label. Some
review is needed to ensure these are really compatible.
+ modify to work around change in development version of
gcc introduced here:
(reports by Marcus Shawcroft, Maohui Lei).
+ improved configure macro CF_SUBDIR_PATH, from lynx changes.
+ improved ".map" files by generating them with a script that builds
ncurses with several related configurations and merges the results.
A further refinement is planned, to make the tic- and tinfo-library
symbols use the same versions across each of the four configurations
which are represented (reports by Sven Joachim, Werner Fink).
+ improve description of limits for color values and color pairs in
curs_color.3x (prompted by patch by Tim van der Molen).
+ add VERSION file, using first field in that to record the ABI version
used for configure --with-libtool --disable-libtool-version
+ add configure options for applying the ".map" and ".sym" files to
the ncurses, form, menu and panel libraries.
+ add ".map" and ".sym" files to show exported symbols, e.g., for
+ improve strict compiler-warnings by adding a cast in TRACE_RETURN
and making a new TRACE_RETURN1 macro for cases where the cast does
not apply.
+ in-progress changes to integrate the win32 console driver with the
msys2 configuration.
+ reviewed terminology 0.6.1, add function key definitions. None of
the vt100-compatibility issues were improved -TD
+ improve infocmp conversion of extended capabilities to termcap by
correcting the limit check against parametrized[], as well as filling
in a check if the string happens to have parameters, e.g., "xm"
in recent changes.
+ add check for zero/negative dimensions for resizeterm and resize_term
(report by Mike Gran).
+ add experimental support for xterm's 1005 mouse mode, to use in a
demonstration of its limitations.
+ add experimental support for "%u" format to terminfo.
+ modify test/ncurses.c to also show position reports in 'a' test.
+ minor formatting fixes to _nc_trace_mmask_t, make this function
exported to help with debugging mouse changes.
+ improve behavior of wheel-mice for xterm protocol, noting that there
are only button-presses for buttons "4" and "5", so there is no need
to wait to combine events into double-clicks (report/analysis by
Greg Field).
+ provide examples xterm-1005 and xterm-1006 terminfo entries -TD
+ implement decoder for xterm SGR 1006 mouse mode.
+ implement curs_set in win_driver.c
+ implement flash in win_driver.c
+ fix an infinite loop in win_driver.c if the command-window loses
+ improve the non-buffered mode, i.e., NCURSES_CONSOLE2, of
win_driver.c by temporarily changing the buffer-size to match the
window-size to eliminate the scrollback. Also enforce a minimum
screen-size of 24x80 in the non-buffered mode.
+ modify generated misc/Makefile to suppress from the
dependencies if the --disable-db-install option is used, compensating
for the top-level makefile changes used to add ncurses*-config in the
20140920 changes (report by Steven Honeyman).
+ add ncurses*-config to bin-directory of sample package-scripts.
+ add check to ensure that getopt is available; this is a problem in
some older cross-compiler environments.
+ expanded on the description of --disable-overwrite in INSTALL
(prompted by reports by Joakim Tjernlund, Thomas Klausner).
See Gentoo #522586 and NetBSD #49200 for examples.
which relates to the clarified guidelines.
+ remove special logic from CF_INCLUDE_DIRS which adds the directory
for the --includedir from the build (report by Joakim Tjernlund).
+ add case for Unixware to CF_XOPEN_SOURCE, from lynx changes.
+ update config.sub from
+ add a configure check to ignore some of the plethora of non-working
C++ cross-compilers.
+ build-fixes for Ada95 with gnat 4.9
+ build-fix and other improvements for port of ncurses-examples to
+ minor compiler-warning fixes.
+ modify test/demo_termcap.c and test/demo_terminfo.c to make their
options more directly comparable, and add "-i" option to specify
a terminal description filename to parse for names to lookup.
+ fix special case where double-width character overwrites a single-
width character in the first column (report by Egmont Koblinger,
cf: 20050813).
+ fix colors in ncurses 'b' test which did not work after changing
it to put the test-strings in subwindows (cf: 20140705).
+ merge redundant SEE-ALSO sections in form and menu manpages.
+ modify declarations for user-data pointers in C++ binding to use
reinterpret_cast to facilitate converting typed pointers to void*
in user's application (patch by Adam Jiang).
+ regenerated html manpages.
+ add note regarding cause and effect for TERM in ncurses manpage,
having noted clueless verbiage in's "help" file
which reverses cause/effect.
+ remove special fallback definition for NCURSES_ATTR_T, since macros
have resolved type-mismatches using casts (cf: 970412).
+ fixes for win_driver.c:
+ handle repainting on endwin/refresh combination.
+ implement beep().
+ minor cleanup.
+ minor portability fixes for MinGW:
+ ensure WINVER is defined in makefiles rather than using headers
+ add check for gnatprep "-T" option
+ work around bug introduced by gcc 4.8.1 in MinGW which breaks
"trace" feature:
+ fix most compiler warnings for Cygwin ncurses-examples.
+ restore "redundant" -I options in test/, since they are
typically needed when building the derived ncurses-examples package
(cf: 20140726).
+ eliminate some redundant -I options used for building libraries, and
ensure that ${srcdir} is added to the include-options (prompted by
discussion with Paul Gilmartin).
+ modify configure script to work with Minix3.2
+ add form library extension O_DYNAMIC_JUSTIFY option which can be
used to override the different treatment of justification for static
versus dynamic fields (adapted from patch by Leon Winter).
+ add a null pointer check in test/edit_field.c (report/analysis by
Leon Winter, cf: 20130608).
+ make workarounds for compiling test-programs with NetBSD curses.
+ improve configure macro CF_ADD_LIBS, to eliminate repeated -l/-L
options, from xterm changes.
+ correct Charable() macro check for A_ALTCHARSET in wide-characters.
+ build-fix for position-debug code in tty_update.c, to work with or
without sp-funcs.
+ add w/W toggle to ncurses.c 'B' test, to demonstrate permutation of
video-attributes and colors with double-width character strings.
+ correct check in win_driver.c for saving screen contents, e.g., when
NCURSES_CONSOLE2 is set (cf: 20140503).
+ reorganize b/B menu items in ncurses.c, putting the test-strings into
subwindows. This is needed for a planned change to use Unicode
fullwidth characters in the test-screens.
+ correct update to form status for _NEWTOP, broken by fixes for
compiler warnings (patch by Leon Winter, cf: 20120616).
+ change shared-library suffix for AIX 5 and 6 to ".so", avoiding
conflict with the static library (report by Ben Lentz).
+ document RPATH_LIST in INSTALLATION file, as part of workarounds for
upgrading an ncurses library using the "--with-shared" option.
+ modify test/ncurses.c c/C tests to cycle through subsets of the
total number of colors, to better illustrate 8/16/88/256-colors by
providing directly comparable screens.
+ add test/dots_curses.c, for comparison with the low-level examples.
+ fix dereference before null check found by Coverity in tic.c
(cf: 20140524).
+ fix sign-extension bug in read_entry.c which prevented "toe" from
reading empty "screen+italics" entry.
+ modify sgr for screen.xterm-new to support dim capability -TD
+ add dim capability to nsterm+7 -TD
+ cancel dim capability for iterm -TD
+ add dim, invis capabilities to vte-2012 -TD
+ add sitm/ritm to konsole-base and mlterm3 -TD
> fix regression in screen terminfo entries (reports by Christian
Ebert, Gabriele Balducci) -TD
+ revert the change to screen; see notes for why this did not work -TD
+ cancel sitm/ritm for entries which extend "screen", to work around
screen's hardcoded behavior for SGR 3 -TD
+ separate masking for sgr in vidputs from sitm/ritm, which do not
overlap with sgr functionality.
+ remove unneeded -i option from adacurses-config; put -a in the -I
option for consistency (patch by Pascal Pignard).
+ update xterm-new terminfo entry to xterm patch #305 -TD
+ change format of test-scripts for Debian Ada95 and ncurses-examples
packages to quilted to work around Debian #700177 (cf: 20130907).
+ build fix for form_driver_w.c as part of ncurses-examples package for
older ncurses than 20131207.
+ add Hello World example to adacurses-config manpage.
+ remove unused --enable-pc-files option from Ada95/configure.
+ add --disable-gnat-projects option for testing.
+ revert changes to Ada95 project-files configuration (cf: 20140524).
+ corrected usage message in adacurses-config.
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
because the parameters to be incremented were already on the internal
stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
activate additional checks which compare the results from running
tparm() on the terminfo expressions versus the translated termcap
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
instead of <>.
+ samples/ncurses2-util.adb: removed unused with clause. The warning
was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off). The latter,
available with older GNATs, needs no configure test. This also
replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling. Using two parameters allows
some basic formatting, and avoids a warning about security with some
compiler flags.
+ for generated Ada sources, replace many snippets with one pure
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced with direct use of Eti_Error, now enumerated. As it
was used in a case statement, values were tested by the Ada compiler
to be consecutive anyway.
+ src/ remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
+ cleanup recently introduced compiler warnings for MingW port.
+ workaround for ${MAKEFLAGS} configure check versus GNU make 4.0,
which introduces more than one gratuitous incompatibility.
+ add vt520ansi terminfo entry (patch by Mike Gran)
+ further improve MinGW support for the scenario where there is an
ANSI-escapes handler such as ansicon running in the console window
(patch by Juergen Pfeifer).
+ add --disable-lib-suffixes option (adapted from patch by Juergen
+ merge some changes from Juergen Pfeifer's work with MSYS2, to
simplify later merging:
+ use NC_ISATTY() macro for isatty() in library
+ add _nc_mingw_isatty() and related functions to windows-driver
+ rename terminal driver entrypoints to simplify grep's
+ remove a check in the sp-funcs flavor of newterm() which allowed only
the first call to newterm() to succeed (report by Thomas Beierlein,
cf: 20090927).
+ update config.guess, config.sub from
+ modify configure script:
+ drop the -no-gcc option from Intel compiler, from lynx changes.
+ extend the --with-hashed-db configure option to simplify building
with different versions of Berkeley database using FreeBSD ports.
+ improve initialization for MinGW port (Juergen Pfeifer):
+ enforce Windows-style path-separator if cross-compiling,
+ add a driver-name method to each of the drivers,
+ allow the Windows driver name to match "unknown", ignoring case,
+ lengthen the built-in name for the Windows console driver to
"#win32console", and
+ move the comparison of driver-names allowing abbreviation, e.g.,
to "#win32con" into the Windows console driver.
+ add check in tic for mismatch between ccc and initp/initc
+ cancel ccc in putty-256color and konsole-256color for consistency
with the cancelled initc capability (patch by Sven Zuhlsdorf).
+ add xterm+256setaf building block for various terminals which only
get the 256-color feature half-implemented -TD
+ updated "st" entry (leaving the 0.1.1 version as "simpleterm") to
0.4.1 -TD
+ fix typo in "mlterm" entry (report by Gabriele Balducci) -TD
+ use types from <stdint.h> in sample build-scripts for chtype, etc.
+ modify configure script and to allow the types specified
using --with-chtype and related options to be defined in <stdint.h>
+ add terminology entry -TD
+ add mlterm3 entry, use that as "mlterm" -TD
+ inherit mlterm-256color from mlterm -TD
+ modify _nc_New_TopRow_and_CurrentItem() to ensure that the menu's
top-row is adjusted as needed to ensure that the current item is
on the screen (patch by Johann Klammer).
+ add wgetdelay() to retrieve _delay member of WINDOW if it happens to
be opaque, e.g., in the pthread configuration (prompted by patch by
Soren Brinkmann).
+ modify ifdef in read_entry.c to handle the case where
NCURSES_USE_DATABASE is not defined (patch by Xin Li).
+ add cast in form_driver_w() to fix ARM build (patch by Xin Li).
+ add logic to win_driver.c to save/restore screen contents when not
allocating a console-buffer (cf: 20140215).
+ clarify error-returns from newwin (report by Ruslan Nabioullin).
+ fix some compiler warnings in win_driver.c
+ updated notes for wsvt25 based on tack and vttest -TD
+ add teken entry to show actual properties of FreeBSD's "xterm"
console -TD
+ in-progress changes to win_driver.c to implement output without
allocating a console-buffer. This uses a pre-existing environment
variable NCGDB used by Juergen Pfeifer for debugging (prompted by
discussion with Erwin Waterlander regarding Console2, which hangs
when reading in an allocated console-buffer).
+ add -t option to gdc.c, and modify to accept "S" to step through the
+ regenerate NCURSES-Programming-HOWTO.html to fix some of the broken
html emitted by docbook.
+ modify CF_XOPEN_SOURCE macro to omit followup check to determine if
_XOPEN_SOURCE can/should be defined. g++ 4.7.2 built on Solaris 10
has some header breakage due to its own predefinition of this symbol
(report by Jean-Pierre Flori, Sage #15796).
+ add/use symbol NCURSES_PAIRS_T like NCURSES_COLOR_T, to illustrate
which "short" types are for color pairs and which are color values.
+ fix build for s390x, by correcting field bit offsets in generated
representation clauses when int=32 long=64 and endian=big, or at
least on s390x (patch by Nicolas Boulenguez).
+ minor cleanup change to test/form_driver_w.c (patch by Gaute Hope).
+ remove unnecessary ifdef's in Ada95/gen/gen.c, which reportedly do
not work as is with gcc 4.8 due to fixes using chtype cast made for
new compiler warnings by gcc 4.8 in 20130824 (Debian #735753, patch
by Nicolas Boulenguez).
+ apply includesubdir variable which was introduced in 20130805 to (Debian #735782).
+ further improved man2html, used this to fix broken links in html
manpages. See
+ modify configure-script/ifdef's to allow OLD_TTY feature to be
suppressed if the type of ospeed is configured using the option
--with-ospeed to not be a short. By default, it is a short for
termcap-compatibility (adapted from suggestion by Christian
+ correct a typo in _nc_baudrate() (patch by Christian Weisgerber,
cf: 20061230).
+ fix a few -Wlogical-op warnings.
+ updated llib-l* files.
+ add form_driver_w() entrypoint to wide-character forms library, as
well as test program form_driver_w (adapted from patch by Gaute
+ minor fix for CF_GCC_WARNINGS to special-case options which are not
recognized by clang.
+ add special case to configure script to move _XOPEN_SOURCE_EXTENDED
definition from CPPFLAGS to CFLAGS if it happens to be needed for
Solaris, because g++ errors with that definition (report by
Jean-Pierre Flori, Sage #15268).
+ correct logic in infocmp's -i option which was intended to ignore
strings which correspond to function-keys as candidates for piecing
together initialization- or reset-strings. The problem dates to
1.9.7a, but was overlooked until changes in -Wlogical-op warnings for
gcc 4.8 (report by David Binderman).
+ updated CF_GCC_WARNINGS to documented options for gcc 4.9.0, moving
checks for -Wextra and -Wdeclaration-after-statement into the macro,
and adding checks for -Wignored-qualifiers, -Wlogical-op and
+ updated CF_CURSES_UNCTRL_H and CF_SHARED_OPTS macros from ongoing
work on cdk.
+ update config.sub from
+ minor cleanup of terminfo.tail
+ use TS extension to describe xterm's title-escapes -TD
+ modify terminator and nsterm-s to use xterm+sl-twm building block -TD
+ update hurd.ti, add xenl to reflect 2011-03-06 change in
(Debian #727119).
+ simplify pfkey expression in ansi.sys -TD
+ correct/simplify ifdef's for cur_term versus broken-linker and
reentrant options (report by Jean-Pierre Flori, cf: 20090530).
+ modify release/version combinations in test build-scripts to make
them more consistent with other packages.
+ add nc_mingw.h to installed headers for MinGW port; needed for
compiling ncurses-examples.
+ add rpm-script for testing cross-compile of ncurses-examples.
+ fix new typo in CF_ADA_INCLUDE_DIRS macro (report by Roumen Petrov).
+ fix a few compiler warnings in progs and test.
+ minor fix to package/debian-mingw/rules, do not strip dll's.
+ minor fixes to configure script for empty $prefix, e.g., when doing
cross-compiles to MinGW.
+ add script for building test-packages of binaries cross-compiled to
MinGW using NSIS.
+ minor fixes for ncurses-example package and makefile.
+ add scripts for test-builds of cross-compiler packages for ncurses6
to MinGW.
+ some build-fixes for ncurses-examples with NetBSD-6.0 curses, though
it lacks some common functions such as use_env() which is not yet
+ build-fix and some compiler warning fixes for ncurses-examples with
OpenBSD 5.3
+ fix a possible null-pointer reference in a trace message from newterm.
+ quiet a few warnings from NetBSD 6.0 namespace pollution by
nonstandard popcount() function in standard strings.h header.
+ ignore g++ 4.2.1 warnings for "-Weffc++" in c++/
+ fix a few overlooked places for --enable-string-hacks option.
+ fix typo in curs_attr.3x (patch by Sven Joachim, cf: 20130831).
+ build-fix for --with-shared option for DragonFly and FreeBSD (report
by Rong-En Fan, cf: 20130727).
+ build-fixes for MSYS for two test-programs (patches by Ray Donnelly,
Alexey Pavlov).
+ revert change to two of the dpkg format files, to work with dpkg
before/after Debian #700177.
+ fix gcc -Wconversion warning in wattr_get() macro.
+ add msys and msysdll to known host/configuration types (patch by
Alexey Pavlov).
+ modify CF_RPATH_HACK configure macro to not rely upon "-u" option
of sort, improving portability.
+ minor improvements for test-programs from reviewing Solaris port.
+ update config.guess, config.sub from
+ modify test/ncurses.c b/B tests to display lines only for the
attributes which a given terminal supports, to make room for an
italics test.
+ completed ncv table in terminfo.tail; it did not list the wide
character codes listed in X/Open Curses issue 7.
+ add A_ITALIC extension (prompted by discussion with Egmont Koblinger).
+ fix some gcc 4.8 -Wconversion warnings.
+ change format of dpkg test-scripts to quilted to work around bug
introduced by Debian #700177.
+ discard cached keyname() values if meta() is changed after a value
was cached using (report by Kurban Mallachiev).
+ add checks in tic to warn about terminals which lack cursor
addressing, capabilities or having those, are marked as hard_copy or
+ use --without-progs in mingw-ncurses rpm.
+ split out _nc_init_termtype() from alloc_entry.c to use in MinGW
port when tic and other programs are not needed.
+ minor fixes to the --disable-overwrite logic, to ensure that the
configured $(includedir) is not cancelled by the mingwxx-filesystem
rpm macros.
+ add --disable-db-install configure option, to simplify building
cross-compile support packages.
+ add mingw-ncurses.spec file, for testing cross-compiles.
+ improve configure macros from ongoing work on cdk, dialog, xterm:
+ CF_ADD_LIB_AFTER - fix a problem with -Wl options
+ CF_RPATH_HACK - add missing result-message
+ CF_SHARED_OPTS - modify to use $rel_builddir in cygwin and mingw
dll symbols (which can be overridden) rather than explicit "../".
+ CF_SHARED_OPTS - modify NetBSD and DragonFly symbols to use ${CC}
rather than ${LD} to improve rpath support.
+ CF_SHARED_OPTS - add a symbol to denote the temporary files that
are created by the macro, to simplify clean-rules.
+ CF_X_ATHENA - trim extra libraries to work with -Wl,--as-needed
+ fix a regression in hashed-database support for NetBSD, which uses
the key-size differently from other implementations (cf: 20121229).
+ further improvements for setupterm manpage, clarifying the
initialization of cur_term.
+ improve manpages for initscr and setupterm.
+ minor compiler-warning fixes
+ add fallback defs for <inttypes.h> and <stdint.h> (cf: 20120225).
+ add check for size of wchar_t, use that to suppress a chunk of
wcwidth.h in MinGW port.
+ quiet linker warnings for MinGW cross-compile with dll's using the
--enable-auto-import flag.
+ add rule to ncurses/Makefile to help diagnose symbol
table issues.
+ modify the clear program to take into account the E3 extended
capability to clear the terminal's scrollback buffer (patch by
Miroslav Lichvar, Redhat #815790).
+ clarify in resizeterm manpage that LINES and COLS are updated.
+ updated ansi example in terminfo.tail, correct misordered example
of sgr.
+ fix other doclifter warnings for manpages
+ remove unnecessary ".ta" in terminfo.tail, add missing ".fi"
(patch by Eric Raymond).
+ minor changes to some configure macros to make them more reusable.
+ fixes for tabs program (prompted by report by Nick Andrik).
+ corrected logic in command-line parsing of -a and -c predefined
tab-lists options.
+ allow "-0" and "-8" options to be combined with others, e.g.,"-0d".
+ make warning messages more consistent with the other utilities by
not printing the full pathname of the program.
+ add -V option for consistency with other utilities.
+ fix off-by-one in columns for tabs program when processing an option
such as "-5" (patch by Nick Andrik).
+ add to test/demo_forms.c examples of using the menu-hooks as well
as showing how the menu item user-data can be used to pass a callback
function pointer.
+ add test/dots_termcap.c
+ remove setupterm call from test/demo_termcap.c
+ build-fix if --disable-ext-funcs configure option is used.
+ modified test/edit_field.c and test/demo_forms.c to move the lengths
into a user-data structure, keeping the original string for later
expansion to free-format input/out demo.
+ modified test/demo_forms.c to load data from file.
+ added note to clarify's non-emulation of the various
terminal types listed in the preferences dialog -TD
+ fix regression in error-reporting in lib_setup.c (Debian #711134,
cf: 20121117).
+ build-fix for a case where --enable-broken_linker and
--enable-reentrant options are combined (report by George R Goffe).
+ modify mvcur() to distinguish between internal use by the ncurses
library, and external callers, preventing it from reading the content
of the screen which is only nonblank when curses calls have updated
it. This makes test/dots_mvcur.c avoid painting colored cells in
the left margin of the display.
+ minor fix to test/dots_mvcur.c
+ move configured symbols USE_DATABASE and USE_TERMCAP to term.h as
use of these symbols in term_entry.h
+ corrected ifdefs in test/testcurs.c to allow comparison of mouse
interface versus pdcurses (cf: 20130316).
+ add pow() to configure-check for math library, needed since
20121208 for test/hanoi (Debian #708056).
+ regenerated html manpages.
+ update doctype used for html documentation.
+ move nsterm-related entries out of "obsolete" section to more
plausible "ansi consoles" -TD
+ additional cleanup of table-of-contents by reordering -TD
+ revise fix for check for 8-bit value in _nc_insert_ch(); prior fix
prevented inserts when video attributes were attached to the data
(cf: 20121215) (Redhat #959534).
+ fixes for issues found by Coverity:
+ correct FNKEY() macro in progs/dump_entry.c, allowing kf11-kf63 to
display when infocmp's -R option is used for HP or AIX subsets.
+ fix dead-code issue with test/movewindow.c
+ improve limited-checking in _nc_read_termtype().
+ fix clang 3.2 warning in progs/dump_entry.c
+ drop AC_TYPE_SIGNAL check; ncurses relies on c89 and later.
+ add MinGW to cases where ncurses installs by default into /usr
(prompted by discussion with Daniel Silva Ferreira).
+ add -D option to infocmp's usage-message (patch by Miroslav Lichvar).
+ add a missing 'int' type for main function in configure check for
type of bool variable, to work with clang 3.2 (report by Dmitri
+ improve configure check for static_cast, to work with clang 3.2
(report by Dmitri Gribenko).
+ re-order rule for demo.o and macros defining header dependencies in
c++/ to accommodate gmake (report by Dmitri Gribenko).
+ improve parameter checking in copywin().
+ modify configure script to work around OS X's "libtool" program, to
choose glibtool instead. At the same time, chance the autoconf macro
to look for a "tool" rather than a "prog", to help with potential use
in cross-compiling.
+ separate the rpath usage for c++ library from demo program
(Redhat #911540)
+ update/correct header-dependencies in c++ makefile (report by Werner
+ add --with-cxx-shared to dpkg-script, as done for rpm-script.
+ build-fix for libtool configuration (reports by Daniel Silva Ferreira
and Roumen Petrov).
+ build-fix for OS X, to handle changes for --with-cxx-shared feature
(report by Christian Ebert).
+ change initialization for vt220, similar entries for consistency
with cursor-key strings (NetBSD #47674) -TD
+ further improvements to linux-16color (Benjamin Sittler)
+ additional fix for tic.c, to allocate missing buffer space.
+ eliminate configure-script warnings for
+ correct typo in sgr string for sun-color,
add bold for consistency with sgr,
change smso for consistency with sgr -TD
+ correct typo in sgr string for terminator -TD
+ add blink to the attributes masked by ncv in linux-16color (report
by Benjamin Sittler)
+ improve warning message from post-load checking for missing "%?"
operator by tic/infocmp by showing the entry name and capability.
+ minor formatting improvement to tic/infocmp -f option to ensure
line split after "%;".
+ amend scripting for --with-cxx-shared option to handle the debug
library "libncurses++_g.a" (report by Sven Joachim).
+ amend change to toe.c for reading from /dev/zero, to ensure that
there is a buffer for the temporary filename (cf: 20120324).
+ regenerated html manpages.
+ fix typo in terminfo.head (report by Sven Joachim, cf: 20130302).
+ updated some autoconf macros:
+ CF_ACVERSION_CHECK, from byacc 1.9 20130304
+ CF_INTEL_COMPILER, CF_XOPEN_SOURCE from luit 2.0-20130217
+ add configure option --with-cxx-shared to permit building
libncurses++ as a shared library when using g++, e.g., the same
limitations as libtool but better integrated with the usual build
configuration (Redhat #911540).
+ modify to filter out build-path which was unnecessarily
shown in curses.h (Debian #689131).
+ add section to terminfo manpage discussing user-defined capabilities.
+ update manpage description of NCURSES_NO_SETBUF, explaining why it
is obsolete.
+ add a check in waddch_nosync() to ensure that tab characters are
treated as control characters; some broken locales claim they are
+ add some traces to the Windows console driver.
+ initialize a temporary array in _nc_mbtowc, needed for some cases
of raw input in MinGW port.
+ correct ifdef on change to lib_twait.c (report by Werner Fink).
+ update config.guess, config.sub
+ modify test/testcurs.c to work with mouse for ncurses as it does for
+ modify test/knight.c to work with mouse for pdcurses as it does for
+ modify internal recursion in wgetch() which handles cooked mode to
check if the call to wgetnstr() returned an error. This can happen
when both nocbreak() and nodelay() are set, for instance (report by
Nils Christopher Brause) (cf: 960418).
+ fixes for issues found by Coverity:
+ add a check for valid position in ClearToEOS()
+ fix in lib_twait.c when --enable-wgetch-events is used, pointer
use after free.
+ improve a limit-check in make_hash.c
+ fix a memory leak in hashed_db.c
+ modify test/configure script to make it simpler to override names
of curses-related libraries, to help with linking with pdcurses in
MinGW environment.
+ if the --with-terminfo-dirs configure option is not used, there is
no corresponding compiled-in value for that. Fill in "no default
value" for that part of the manpage substitution.
+ correct initialization in knight.c which let it occasionally make
an incorrect move (cf: 20001028).
+ improve documentation of the terminfo/termcap search path.
+ further fixes to mvcur to pass callback function (cf: 20130112),
needed to make test/dots_mvcur work.
+ reduce calls to SetConsoleActiveScreenBuffer in win_driver.c, to
help reduce flicker.
+ modify configure script to omit "+b" from linker options for very
old HP-UX systems (report by Dennis Grevenstein)
+ add HP-UX workaround for missing EILSEQ on old HP-UX systems (patch
by Dennis Grevenstein).
+ restore memmove/strdup support for antique systems (request by
Dennis Grevenstein).
+ change %l behavior in tparm to push the string length onto the stack
rather than saving the formatted length into the output buffer
(report by Roy Marples, cf: 980620).
+ fixes for issues found by Coverity:
+ fix memory leak in safe_sprintf.c
+ add check for return-value in tty_update.c
+ correct initialization for -s option in test/view.c
+ add check for numeric overflow in lib_instr.c
+ improve error-checking in copywin
+ add advice in infocmp manpage for termcap users (Debian #698469).
+ add "-y" option to test/demo_termcap and test/demo_terminfo to
demonstrate behavior with/without extended capabilities.
+ updated termcap manpage to document legacy termcap behavior for
matching capability names.
+ modify name-comparison for tgetstr, etc., to accommodate legacy
applications as well as to improve compatbility with BSD 4.2
termcap implementations (Debian #698299) (cf: 980725).
+ correct prototype in manpage for vid_puts.
+ drop ncurses/tty/tty_display.h, ncurses/tty/tty_input.h, since they
are unused in the current driver model.
+ modify mvcur to use stdout except when called within the ncurses
+ modify vidattr and vid_attr to use stdout as documented in manpage.
+ amend changes made to buffering in 20120825 so that the low-level
putp() call uses stdout rather than ncurses' internal buffering.
The putp_sp() call does the same, for consistency (Redhat #892674).
+ add "-s" option to test/view.c to allow it to start in single-step
mode, reducing size of trace files when it is used for debugging
MinGW changes.
+ revert part of 20121222 change to tinfo_driver.c
+ add experimental logic in win_driver.c to improve optimization of
screen updates. This does not yet work with double-width characters,
so it is ifdef'd out for the moment (prompted by report by Erwin
Waterlander regarding screen flicker).
+ fix coverity warnings regarding copying into fixed-size buffers.
+ add throw-declarations in the c++ binding per Coverity warning.
+ minor changes to new-items for consistent reference to bug-report
+ add *.dSYM directories to clean-rule in ncurses directory makefile,
for Mac OS builds.
+ add a configure check for gcc option -no-cpp-precomp, which is not
available in all Mac OS X configurations (report by Andras Salamon,
cf: 20011208).
+ improve 20021221 workaround for broken acs, handling a case where
that ACS_xxx character is not in the acsc string but there is a known
wide-character which can be used.
+ fix several warnings from clang 3.1 --analyze, includes correcting
a null-pointer check in _nc_mvcur_resume.
+ correct display of double-width characters with MinGW port (report
by Erwin Waterlander).
+ replace MinGW's wcrtomb(), fixing a problem with _nc_viscbuf
> fixes based on Coverity report:
+ correct coloring in test/bs.c
+ correct check for 8-bit value in _nc_insert_ch().
+ remove dead code in progs/tset.c, test/linedata.h
+ add null-pointer checks in lib_tracemse.c, panel.priv.h, and some
+ modify test/knight.c to show the number of choices possible for
each position in automove option, e.g., to allow user to follow
Warnsdorff's rule to solve the puzzle.
+ modify test/hanoi.c to show the minimum number of moves possible for
the given number of tiles (prompted by patch by Lucas Gioia).
> fixes based on Coverity report:
+ remove a few redundant checks.
+ correct logic in test/bs.c, when randomly placing a specific type of
+ check return value from remove/unlink in tic.
+ check return value from sscanf in test/ncurses.c
+ fix a null dereference in c++/
+ fix two instances of uninitialized variables when configuring for the
terminal driver.
+ correct scope of variable used in SetSafeOutcWrapper macro.
+ set umask when calling mkstemp in tic.
+ initialize wbkgrndset() temporary variable when extended-colors are
+ also replace MinGW's wctomb(), fixing a problem with setcchar().
+ modify test/view.c to load UTF-8 when built with MinGW by using
regular win32 API because the MinGW functions mblen() and mbtowc()
do not work.
+ correct order of color initialization versus display in some of the
test-programs, e.g., test_addstr.c
> fixes based on Coverity report:
+ delete windows on exit from some of the test-programs.
> fixes based on Coverity report:
+ add missing braces around FreeAndNull in two places.
+ various fixes in test/ncurses.c
+ improve limit-checks in tinfo/make_hash.c, tinfo/read_entry.c
+ correct malloc size in progs/infocmp.c
+ guard against negative array indices in test/knight.c
+ fix off-by-one limit check in test/color_name.h
+ add null-pointer check in progs/tabs.c, test/bs.c, test/demo_forms.c,
+ fix memory-leak in tinfo/lib_setup.c, progs/toe.c,
test/clip_printw.c, test/demo_menus.c
+ delete unused windows in test/chgat.c, test/clip_printw.c,
test/insdelln.c, test/newdemo.c on error-return.
+ modify configure macro CF_INCLUDE_DIRS to put $CPPFLAGS after the
local -I include options in case someone has set conflicting -I
options in $CPPFLAGS (prompted by patch for ncurses/ by
Vassili Courzakis).
+ modify the ncurses*-config scripts to eliminate relative paths from
the RPATH_LIST variable, e.g., "../lib" as used in installing shared
libraries or executables.
+ realign these related pages:
and fix a long-ago error in curs_addstr.3x which said that a -1
length parameter would only write as much as fit onto one line
(report by Reuben Thomas).
+ remove obsolete fallback _nc_memmove() for memmove()/bcopy().
+ remove obsolete fallback _nc_strdup() for strdup().
+ cancel any debug-rpm in package/ncurses.spec
+ reviewed vte-2012, reverted most of the change since it was incorrect
based on testing with tack -TD
+ un-cancel the initc in vte-256color, since this was implemented
starting with version 0.20 in 2009 -TD
+ improve malloc/realloc checking (prompted by discussion in Redhat
+ add ncurses test-program as "ncurses6" to the rpm- and dpkg-scripts.
+ updated configure macros CF_GCC_VERSION and CF_WITH_PATHLIST. The
first corrects pattern used for Mac OS X's customization of gcc.
+ fix change to _nc_scroll_optimize(), which incorrectly freed memory
(Redhat #866989).
+ add vte-2012, gnome-2012, making these the defaults for vte/gnome
(patch by Christian Persch).
+ improve CF_GCC_VERSION to work around Debian's customization of gcc
--version message.
+ improve configure macros as done in byacc:
+ drop 2.13 compatibility; use 2.52.xxxx version only since EMX port
has used that for a while.
+ add 3rd parameter to AC_DEFINE's to allow autoheader to run, i.e.,
for experimental use.
+ remove unused configure macros.
+ modify configure script and makefiles to quiet new autoconf warning
for LIBS_TO_MAKE variable.
+ modify configure script to show $PATH_SEPARATOR variable.
+ update config.guess, config.sub
+ modify setupterm to set its copy of TERM to "unknown" if configured
for the terminal driver and TERM was null or empty.
+ modify treatment of TERM variable for MinGW port to allow explicit
use of the windows console driver by checking if $TERM is set to
"#win32con" or an abbreviation of that.
+ undo recent change to fallback definition of vsscanf() to build with
older Solaris compilers (cf: 20120728).
+ add test-screens to test/ncurses to show 256-characters at a time,
to help with MinGW port.
+ simplify varargs logic in lib_printw.c; va_copy is no longer needed
+ modifications for MinGW port to make wide-character display usable.
+ regenerate configure script (report by Sven Joachim, cf: 20120901).
+ add a null-pointer check in _nc_flush (cf: 20120825).
+ fix a case in _nc_scroll_optimize() where the _oldnums_list array
might not be allocated.
+ improve comparisons in for unset shell variables.
+ increase size of ncurses' output-buffer, in case of very small
initial screen-sizes.
+ fix evaluation of TERMINFO and TERMINFO_DIRS default values as needed
after changes to use --datarootdir (reports by Gabriele Balducci,
Roumen Petrov).
+ change output buffering scheme, using buffer maintained by ncurses
rather than stdio, to avoid problems with SIGTSTP handling (report
by Brian Bloniarz).
+ update autoconf patch to 2.52.20120811, adding --datarootdir
(prompted by discussion with Erwin Waterlander).
+ improve description of --enable-reentrant option in README and the
+ add nsterm-256color, make this the default nsterm -TD
+ remove bw from nsterm-bce, per testing with tack -TD
+ update test/configure, adding check for tinfo library.
+ improve limit-checks for the getch fifo (report by Werner Fink).
+ fix a remaining mismatch between $with_echo and the symbols updated
for CF_DISABLE_ECHO affecting parameters for mk-2nd.awk (report by
Sven Joachim, cf: 20120317).
+ modify followup check for pkg-config's library directory in the
--enable-pc-files option to validate syntax (report by Sven Joachim,
cf: 20110716).
+ correct path for ncurses_mingw.h in include/headers, in case build
is done outside source-tree (patch by Roumen Petrov).
+ modify some older xterm entries to align with xterm source -TD
+ separate "xterm-old" alias from "xterm-r6" -TD
+ add E3 extended capability to xterm-basic and putty -TD
+ parenthesize parameters of other macros in curses.h -TD
+ parenthesize parameter of COLOR_PAIR and PAIR_NUMBER in curses.h
in case it happens to be a comma-expression, etc. (patch by Nick
+ improved form_request_by_name() and menu_request_by_name().
+ eliminate two fixed-size buffers in toe.c
+ extend use_tioctl() to have expected behavior when use_env(FALSE) and
use_tioctl(TRUE) are called.
+ modify ncurses test-program, adding -E and -T options to demonstrate
use_env() versus use_tioctl().
+ add use_tioctl() function (adapted from patch by Werner Fink,
Novell #769788):
+ add ncurses_mingw.h to installed headers (prompted by patch by
Juergen Pfeifer).
+ clarify return-codes from wgetch() in response to SIGWINCH (prompted
by Novell #769788).
+ modify resizeterm() to always push a KEY_RESIZE onto the fifo, even
if screensize is unchanged. Modify _nc_update_screensize() to push a
KEY_RESIZE if there was a SIGWINCH, even if it does not call
resizeterm(). These changes eliminate the case where a SIGWINCH is
received, but ERR returned from wgetch or wgetnstr because the screen
dimensions did not change (Novell #769788).
+ add --enable-interop to sample package scripts (suggested by Juergen
+ update CF_PATH_SYNTAX macro, from mawk changes.
+ modify mk-0th.awk to allow for generating llib-ltic, etc., though
some work is needed on cproto to work with lib_gen.c to update
+ remove redundant getenv() cal in database-iterator leftover from
cleanup in 20120622 changes (report by Sven Joachim).
+ add -d, -e and -q options to test/demo_terminfo and test/demo_termcap
+ fix caching of environment variables in database-iterator (patch by
Philippe Troin, Redhat #831366).
+ add configure check to distinguish clang from gcc to eliminate
warnings about unused command-line parameters when compiler warnings
are enabled.
+ improve behavior when updating terminfo entries which are hardlinked
by allowing for the possibility that an alias has been repurposed to
a new primary name.
+ fix some strict compiler warnings based on package scripts.
+ further fixes for configure check for working poll (Debian #676461).
+ fix an uninitialized variable in -c/-n logic for infocmp changes
(cf: 20120526).
+ corrected fix for building c++ binding with clang 3.0 (report/patch
by Richard Yao, Gentoo #417613, cf: 20110409)
+ correct configure check for working poll, fixing the case where stdin
is redirected, e.g., in rpm/dpkg builds (Debian #676461).
+ add rpm- and dpkg-scripts, to test those build-environments.
The resulting packages are used only for testing.
+ add kdch1 aka "Remove" to vt220 and vt220-8 entries -TD
+ add kdch1, etc., to qvt108 -TD
+ add dl1/il1 to some entries based on dl/il values -TD
+ add dl to simpleterm -TD
+ add consistency-checks in tic for insert-line vs delete-line
controls, and insert/delete-char keys
+ correct no-leaks logic in infocmp when doing comparisons, fixing
duplicate free of entries given via the command-line, and freeing
entries loaded from the last-but-one of files specified on the
+ add kdch1 to wsvt25 entry from NetBSD CVS (reported by David Lord,
analysis by Martin Husemann).
+ add cnorm/civis to wsvt25 entry from NetBSD CVS (report/analysis by
Onno van der Linden).
+ extend -c and -n options of infocmp to allow comparing more than two
+ correct check in infocmp for number of terminal names when more than
two are given.
+ correct typo in curs_threads.3x (report by Yanhui Shen on
freebsd-hackers mailing list).
+ corrected 'op' for bterm (report by Samuel Thibault) -TD
+ modify test/background.c to demonstrate a background character
holding a colored ACS_HLINE. The behavior differs from SVr4 due to
the thick- and double-line extension (cf: 20091003).
+ modify handling of acs characters in PutAttrChar to avoid mapping an
unmapped character to a space with A_ALTCHARSET set.
+ rewrite vt520 entry based on vt420 -TD
+ remove p6 (bold) from opus3n1+ for consistency -TD
+ remove acs stuff from env230 per clues in Ingres termcap -TD
+ modify env230 sgr/sgr0 to match other capabilities -TD
+ modify smacs/rmacs in bq300-8 to match sgr/sgr0 -TD
+ make sgr for dku7202 agree with other caps -TD
+ make sgr for ibmpc agree with other caps -TD
+ make sgr for tek4107 agree with other caps -TD
+ make sgr for ndr9500 agree with other caps -TD
+ make sgr for sco-ansi agree with other caps -TD
+ make sgr for d410 agree with other caps -TD
+ make sgr for d210 agree with other caps -TD
+ make sgr for d470c, d470c-7b agree with other caps -TD
+ remove redundant AC_DEFINE for NDEBUG versus Makefile definition.
+ fix a back-link in _nc_delink_entry(), which is needed if ncurses is
configured with --enable-termcap and --disable-getcap.
+ fix some inconsistencies between vt320/vt420, e.g., cnorm/civis -TD
+ add eslok flag to dec+sl -TD
+ dec+sl applies to vt320 and up -TD
+ drop wsl width from xterm+sl -TD
+ reuse xterm+sl in putty and nsca-m -TD
+ add ansi+tabs to vt520 -TD
+ add ansi+enq to vt220-vt520 -TD
+ fix a compiler warning in example in ncurses-intro.doc (Paul Waring).
+ added paragraph in keyname manpage telling how extended capabilities
are interpreted as key definitions.
+ modify tic's check of conflicting key definitions to include extended
capability strings in addition to the existing check on predefined
+ improve cleanup of temporary files in tic using atexit().
+ add msgr to vt420, similar DEC vtXXX entries -TD
+ add several missing vt420 capabilities from vt220 -TD
+ factor out ansi+pp from several entries -TD
+ change xterm+sl and xterm+sl-twm to include only the status-line
capabilities and not "use=xterm", making them more generally useful
as building-blocks -TD
+ add dec+sl building block, as example -TD
+ add XT to some terminfo entries to improve usefulness for other
applications than screen, which would like to pretend that xterm's
title is a status-line. -TD
+ change use-clauses in ansi-mtabs, hp2626, and hp2622 based on review
of ordering and overrides -TD
+ add consistency check in tic for screen's "XT" capability.
+ add section in terminfo.src summarizing the user-defined capabilities
used in that file -TD
+ fix an inconsistency between tic/infocmp "-x" option; tic omits all
non-standard capabilities, while infocmp was ignoring only the user
definable capabilities.
+ improve special case in tic parsing of description to allow it to be
followed by terminfo capabilities. Previously the description had to
be the last field on an input line to allow tic to distinguish
between termcap and terminfo format while still allowing commas to be
embedded in the description.
+ correct variable name in which broke configurability of
the --with-xterm-kbs option.
+ revert 2011-07-16 change to "linux" alias, return to "linux2.2" -TD
+ further amend 20110910 change, providing for configure-script
override of the "linux" terminfo entry to install and changing the
default for that to "linux2.2" (Debian #665959).
+ update Ada95/configure to use CF_DISABLE_ECHO (cf: 20120317).
+ correct order of use-clauses in st-256color -TD
+ modify configure script to look for gnatgcc if the Ada95 binding
is built, in preference to the default gcc/cc (suggested by
Nicolas Boulenguez).
+ modify configure script to ensure that the same -On option used for
the C compiler in CFLAGS is used for ADAFLAGS rather than simply
using "-O3" (suggested by Nicolas Boulenguez)
+ amend an old fix so that next_char() exits properly for empty files,
e.g., from reading /dev/null (cf: 20080804).
+ modify tic so that it can read from the standard input, or from
a character device. Because tic uses seek's, this requires writing
the data to a temporary file first (prompted by remark by Sven
Joachim) (cf: 20000923).
+ correct a check made in lib_napms.c, so that terminfo applications
can again use napms() (cf: 20110604).
+ add a note in tic.h regarding required casts for ABSENT_BOOLEAN
(cf: 20040327).
+ correct scripting for --disable-echo option in test/configure.
+ amend check for missing c++ compiler to work when no error is
reported, and no variables set (cf: 20021206).
+ add/use configure macro CF_DISABLE_ECHO.
+ fix some strict compiler warnings for abi6 and 64-bits.
+ use begin_va_copy/end_va_copy macros in lib_printw.c (cf: 20120303).
+ improve a limit-check in infocmp.c (Werner Fink):
+ minor tidying of terminfo.tail, clarify reason for limitation
regarding mapping of \0 to \200
+ minor improvement to _nc_copy_termtype(), using memcpy to replace
+ fix no-leaks checking in test/demo_termcap.c to account for multiple
calls to setupterm().
+ modified the libgpm change to show previous load as a problem in the
> merge some patches from OpenSUSE rpm (Werner Fink):
+ ncurses-5.7-printw.dif, fixes for varargs handling in lib_printw.c
+ ncurses-5.7-gpm.dif, do not dlopen libgpm if already loaded by
runtime linker
+ ncurses-5.6-fallback.dif, do not free arrays and strings from static
fallback entries
+ fix breakage in tic/infocmp from 20120225 (report by Werner Fink).
+ modify configure script to allow creating dll's for MinGW when
+ add --enable-string-hacks option to control whether strlcat and
strlcpy may be used. The same issue applies to OpenBSD's warnings
about snprintf, noting that this function is weakly standardized.
+ add configure checks for strlcat, strlcpy and snprintf, to help
reduce bogus warnings with OpenBSD builds.
+ build-fix for OpenBSD 4.9 to supply consistent intptr_t declaration
+ update config.guess, config.sub
+ correct CF_ETIP_DEFINES configure macro, making it exit properly on
the first success (patch by Pierre Labastie).
+ improve configure macro CF_MKSTEMP by moving existence-check for
mkstemp out of the AC_TRY_RUN, to help with cross-compiles.
+ improve configure macro CF_FUNC_POLL from luit changes to detect
broken implementations, e.g., with Mac OS X.
+ add configure option --with-tparm-arg
+ build-fix for MinGW cross-compiling, so that make_hash does not
depend on TTY definition (cf: 20111008).
+ make sgr for xterm-pcolor agree with other caps -TD
+ make sgr for att5425 agree with other caps -TD
+ make sgr for att630 agree with other caps -TD
+ make sgr for linux entries agree with other caps -TD
+ make sgr for tvi9065 agree with other caps -TD
+ make sgr for ncr260vt200an agree with other caps -TD
+ make sgr for ncr160vt100pp agree with other caps -TD
+ make sgr for ncr260vt300an agree with other caps -TD
+ make sgr for aaa-60-dec-rv, aaa+dec agree with other caps -TD
+ make sgr for cygwin, cygwinDBG agree with other caps -TD
+ add configure option --with-xterm-kbs to simplify configuration for
Linux versus most other systems.
+ improved tic -D option, avoid making target directory and provide
better diagnostics.
+ add mach-gnu (Debian #614316, patch by Samuel Thibault)
+ add mach-gnu-color, tweaks to mach-gnu terminfo -TD
+ make sgr for sun-color agree with smso -TD
+ make sgr for prism9 agree with other caps -TD
+ make sgr for icl6404 agree with other caps -TD
+ make sgr for ofcons agree with other caps -TD
+ make sgr for att5410v1, att4415, att620 agree with other caps -TD
+ make sgr for aaa-unk, aaa-rv agree with other caps -TD
+ make sgr for avt-ns agree with other caps -TD
+ amend fix intended to separate fixups for acsc to allow "tic -cv" to
give verbose warnings (cf: 20110730).
+ modify misc/ to make the location of the tabset directory
consistent with misc/, i.e., using ${datadir}/tabset
(Debian #653435, patch by Sven Joachim).
+ add --with-lib-prefix option to allow configuring for old/new flavors
of OS/2 EMX.
+ modify check for gnat version to allow for year, as used in FreeBSD
+ modify check_existence() in db_iterator.c to simply check if the
path is a directory or file, according to the need. Checking for
directory size also gives no usable result with OS/2 (cf: 20120107).
+ support OS/2 kLIBC (patch by KO Myung-Han).
+ several improvements to test/movewindow.c (prompted by discussion on
Linux Mint forum):
+ modify movement commands to make them continuous
+ rewrote the test for mvderwin
+ rewrote the test for recursive mvwin
+ split-out reusable CF_WITH_NCURSES_ETC macro in test/
+ updated configure macro CF_XOPEN_SOURCE, build-fixes for Mac OS X
and OpenBSD.
+ regenerated html manpages.
+ various improvments for MinGW (Juergen Pfeifer):
+ modify stat() calls to ignore the st_size member
+ drop script.
+ change recommended regular expression library.
+ modify rain.c to allow for threaded configuraton.
+ modify tset.c to allow for case when size-change logic is not used.
+ modify toe's report when -a and -s options are combined, to add
a column showing which entries belong to a given database.
+ add -s option to toe, to sort its output.
+ modify progs/toe.c, simplifying use of db-iterator results to use
caching improvements from 20111001 and 20111126.
+ correct generation of pc-files when ticlib or termlib options are
given to rename the corresponding tic- or tinfo-libraries (report
by Sven Joachim).
+ document a portability issue with tput, i.e., that scripts which work
with ncurses may fail in other implementations that do no parameter
+ add putty-sco entry -TD
+ review/fix places in manpages where --program-prefix configure option
was not being used.
+ add -D option to infocmp, to show the database locations that it
could use.
+ fix build for the special case where term-driver, ticlib and termlib
are all enabled. The terminal driver depends on a few features in
the base ncurses library, so tic's dependencies include both ncurses
and termlib.
+ fix build work for term-driver when --enable-wgetch-events option is
+ use <stdint.h> types to fix some questionable casts to void*.
+ modify configure script to check if thread library provides
pthread_mutexattr_settype(), e.g., not provided by Solaris 2.6
+ modify configure script to suppress check to define _XOPEN_SOURCE
for IRIX64, since its header files have a conflict versus
+ modify configure script to add ".pc" files for tic- and
tinfo-libraries, which were omitted in recent change (cf: 20111126).
+ fix inconsistent checks on $PKG_CONFIG variable in configure script.
+ modify configure-check for etip.h dependencies, supplying a temporary
copy of ncurses_dll.h since it is a generated file (prompted by
Debian #646977).
+ modify CF_CPP_PARAM_INIT "main" function to work with current C++.
+ correct database iterator's check for duplicate entries
(cf: 20111001).
+ modify database iterator to ignore $TERMCAP when it is not an
absolute pathname.
+ add -D option to tic, to show the database locations that it could
+ improve description of database locations in tic manpage.
+ modify the configure script to generate a list of the ".pc" files to
generate, rather than deriving the list from the libraries which have
been built (patch by Mike Frysinger).
+ use AC_CHECK_TOOLS in preference to AC_PATH_PROGS when searching for
ncurses*-config, e.g., in Ada95/configure and test/configure (adapted
from patch by Mike Frysinger).
+ remove obsolete/conflicting fallback definition for _POSIX_SOURCE
from curses.priv.h, fixing a regression with IRIX64 and Tru64
(cf: 20110416)
+ modify _nc_tic_dir() to ensure that its return-value is nonnull,
i.e., the database iterator was not initialized. This case is needed
to when tic is translating to termcap, rather than loading the
database (cf: 20111001).
+ add pccon entries for OpenBSD console (Alexei Malinin).
+ build-fix for OpenBSD 4.9 with gcc 4.2.1, setting _XOPEN_SOURCE to
600 to work around inconsistent ifdef'ing of wcstof between C and
C++ header files.
+ modify capconvert script to accept more than exact match on "xterm",
e.g., the "xterm-*" variants, to exclude from the conversion (patch
by Robert Millan).
+ add -lc_r as alternative for -lpthread, allows build of threaded code
in older FreeBSD machines.
+ build-fix for MirBSD, which fails when either _XOPEN_SOURCE or
_POSIX_SOURCE are defined.
+ fix a typo misc/, used in uninstalling pc-files.
+ modify make_db_path() to allow creating "terminfo.db" in the same
directory as an existing "terminfo" directory. This fixes a case
where switching between hashed/filesystem databases would cause the
new hashed database to be installed in the next best location -
root's home directory.
+ add variable cf_cv_prog_gnat_correct to those passed to
config.status, fixing a problem with Ada95 builds (cf: 20111022).
+ change feature test from _XPG5 to _XOPEN_SOURCE in two places, to
accommodate broken implementations for _XPG6.
+ eliminate usage of NULL symbol from etip.h, to reduce header
+ add configure check to decide when to add _XOPEN_SOURCE define to
compiler options, i.e., for Solaris 10 and later (cf: 20100403).
This is a workaround for gcc 4.6, which fails to build the c++
binding if that symbol is defined by the application, due to
incorrectly combining the corresponding feature test macros
(report by Peter Kruse).
+ correct logic for discarding mouse events, retaining the partial
events used to build up click, double-click, etc, until needed
(cf: 20110917).
+ fix configure script to avoid creating unused Ada95 makefile when
gnat does not work.
+ cleanup width-related gcc 3.4.3 warnings for 64-bit platform, for the
internal functions of libncurses. The external interface of courses
uses bool, which still produces these warnings.
+ improve description of --disable-tic-depends option to make it
clear that it may be useful whether or not the --with-termlib
option is also given (report by Sven Joachim).
+ amend termcap equivalent for set_pglen_inch to use the X/Open
"YI" rather than the obsolete Solaris 2.5 "sL" (cf: 990109).
+ improve manpage for tgetent differences from termcap library.
+ moved static data from db_iterator.c to lib_data.c
+ modify db_iterator.c for memory-leak checking, fix one leak.
+ modify misc/ to use Requires.private for the parts
of ncurses rather than Requires, as well as Libs.private for the
other library dependencies (prompted by Debian #644728).
+ modify tic "-K" option to only set the strict-flag rather than force
source-output. That allows the same flag to control the parser for
input and output of termcap source.
+ modify _nc_getent() to ignore backslash at the end of a comment line,
making it consistent with ncurses' parser.
+ restore a special-case check for directory needed to make termcap
text files load as if they were databases (cf: 20110924).
+ modify tic's resolution/collision checking to attempt to remove the
conflicting alias from the second entry in the pair, which is
normally following in the source file. Also improved the warning
message to make it simpler to see which alias is the problem.
+ improve performance of the database iterator by caching search-list.
+ add a missing "else" in changes to _nc_read_tic_entry().
+ modify _nc_read_tic_entry() so that hashed-database is checked before
+ updated CF_CURSES_LIBS check in test/configure script.
+ modify configure script and makefiles to split TIC_ARGS and
TINFO_ARGS into pieces corresponding to LDFLAGS and LIBS variables,
to help separate searches for tic- and tinfo-libraries (patch by Nick
Alcock aka "Nix").
+ build-fix for lib_mouse.c changes (cf: 20110917).
+ fix compiler warning for clang 2.9
+ improve merging of mouse events (integrated patch by Damien
+ correct mask-check used in lib_mouse for wheel mouse buttons 4/5
(patch by Damien Guibouret).
+ modify misc/ to select a "linux" entry which works with
the current kernel rather than assuming it is always "linux3.0"
(cf: 20110716).
+ revert a change to getmouse() which had the undesirable side-effect
of suppressing button-release events (report by Damien Guibouret,
cf: 20100102).
+ add xterm+kbs fragment from xterm #272 -TD
+ add configure option --with-pkg-config-libdir to provide control over
the actual directory into which pc-files are installed, do not use
the pkg-config environment variables (discussion with Frederic L W
+ add link to mailing-list archive in, as done in
FAQ (prompted by question by Andrius Bentkus).
+ improve manpage install by adjusting the "#include" examples to
show the ncurses-subdirectory used when --disable-overwrite option
is used.
+ install an alias for "curses" to the ncurses manpage, tied to the
--with-curses-h configure option (suggested by Reuben Thomas).
+ propagate error-returns from wresize, i.e., the internal
increase_size and decrease_size functions through resize_term (report
by Tim van der Molen, cf: 20020713).
+ fix typo in tset manpage (patch by Sven Joachim).
+ add a check to ensure that termcap files which might have "^?" do
not use the terminfo interpretation as "\177".
+ minor cleanup of X-terminal emulator section of terminfo.src -TD
+ add terminator entry -TD
+ add simpleterm entry -TD
+ improve wattr_get macros by ensuring that if the window pointer is
null, then the attribute and color values returned will be zero
(cf: 20110528).
+ add substitution for $RPATH_LIST to misc/
+ improve performance of tic with hashed-database by caching the
database connection, using atexit() to cleanup.
+ modify treatment of 2-character aliases at the beginning of termcap
entries so they are not counted in use-resolution, since these are
guaranteed to be unique. Also ignore these aliases when reporting
the primary name of the entry (cf: 20040501)
+ double-check gn (generic) flag in terminal descriptions to
accommodate old/buggy termcap databases which misused that feature.
+ minor fixes to _nc_tgetent(), ensure buffer is initialized even on
+ improve rpath fix from 20110730 by ensuring that the new $RPATH_LIST
variable is defined in the makefiles which use it.
+ build-fix for DragonFlyBSD's pkgsrc in test/configure script.
+ build-fixes for NetBSD 5.1 with termcap support enabled.
+ corrected k9 in dg460-ansi, add other features based on manuals -TD
+ improve trimming of whitespace at the end of terminfo/termcap output
from tic/infocmp.
+ when writing termcap source, ensure that colons in the description
field are translated to a non-delimiter, i.e., "=".
+ add "-0" option to tic/infocmp, to make the termcap/terminfo source
use a single line.
+ add a null-pointer check when handling the $CC variable.
+ modify configure script and makefiles in c++ and progs to allow the
directory used for rpath option to be overridden, e.g., to work
around updates to the variables used by tic during an install.
+ add -K option to tic/infocmp, to provide stricter BSD-compatibility
for termcap output.
+ add _nc_strict_bsd variable in tic library which controls the
"strict" BSD termcap compatibility from 20110723, plus these
+ allow escapes such as "\8" and "\9" when reading termcap
+ disallow "\a", "\e", "\l", "\s" and "\:" escapes when reading
termcap files, passing through "a", "e", etc.
+ expand "\:" as "\072" on output.
+ modify _nc_get_token() to reset the token's string value in case
there is a string-typed token lacking the "=" marker.
+ fix a few memory leaks in _nc_tgetent.
+ fix a few places where reading from a termcap file could refer to
freed memory.
+ add an overflow check when converting terminfo/termcap numeric
values, since terminfo stores those in a short, and they must be
+ correct internal variables used for translating to termcap "%>"
feature, and translating from termcap %B to terminfo, needed by
tctest (cf: 19991211).
+ amend a minor fix to acsc when loading a termcap file to separate it
from warnings needed for tic (cf: 20040710)
+ modify logic in _nc_read_entry() and _nc_read_tic_entry() to allow
a termcap file to be handled via TERMINFO_DIRS.
+ modify _nc_infotocap() to include non-mandatory padding when
translating to termcap.
+ modify _nc_read_termcap_entry(), passing a flag in the case where
getcap is used, to reduce interactive warning messages.
+ add a check in start_color() to limit color-pairs to 256 when
extended colors are not supported (patch by David Benjamin).
+ modify setcchar to omit no-longer-needed OR'ing of color pair in
the SetAttr() macro (patch by David Benjamin).
+ add kich1 to sun terminfo entry (Yuri Pankov)
+ use bold rather than reverse for smso in sun-color terminfo entry
(Yuri Pankov).
+ improve generation of termcap using tic/infocmp -C option, e.g.,
to correspond with 4.2BSD (prompted by discussion with Yuri Pankov
regarding Schilling's test program):
+ translate %02 and %03 to %2 and %3 respectively.
+ suppress string capabilities which use %s, not supported by tgoto
+ use \040 rather than \s
+ expand null characters as \200 rather than \0
+ modify configure script to support shared libraries for DragonFlyBSD.
+ replace an assert() in _nc_Free_Argument() with a regular null
pointer check (report/analysis by Franjo Ivancic).
+ modify configure --enable-pc-files option to take into account the
PKG_CONFIG_PATH variable (report by Frederic L W Meunier).
+ add/use xterm+tmux chunk from xterm #271 -TD
+ resync xterm-new entry from xterm #271 -TD
+ add E3 extended capability to linux-basic (Miroslav Lichvar)
+ add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
+ add SI/SO change to linux2.6 entry (Debian #515609) -TD
+ fix inconsistent tabset path in pcmw (Todd C. Miller).
+ remove a backslash which continued comment, obscuring altos3
definition with OpenBSD toolset (Nicholas Marriott).
+ add workaround from xterm #271 changes to ensure that compiler flags
are not used in the $CC variable.
+ improve support for shared libraries, tested with AIX 5.3, 6.1 and
7.1 with both gcc 4.2.4 and cc.
+ modify configure checks for AIX to include release 7.x
+ add loader flags/libraries to libtool options so that dynamic loading
works properly, adapted from ncurses-5.7-ldflags-with-libtool.patch
at gentoo prefix repository (patch by Michael Haubenwallner).
+ move include of nc_termios.h out of term_entry.h, since the latter
is installed, e.g., for tack while the former is not (report by
Sven Joachim).
+ improve cleanup() function in lib_tstp.c, using _exit() rather than
exit() and checking for SIGTERM rather than SIGQUIT (prompted by
comments forwarded by Nicholas Marriott).
+ reduce name pollution from term.h, moving fallback #define's for
tcgetattr(), etc., to new private header nc_termios.h (report by
Sergio NNX).
+ two minor fixes for tracing (patch by Vassili Courzakis).
+ improve trace initialization by starting it in use_env() and
+ review old email, add details for some changelog entries.
+ update minix entry to minix 3.2 (Thomas Cort).
+ fix a strict compiler warning in change to wattr_get (cf: 20110528).
+ fixes for MirBSD port:
+ set default prefix to /usr.
+ add support for shared libraries in configure script.
+ use S_ISREG and S_ISDIR consistently, with fallback definitions.
+ add a few more checks based on ncurses/link_test.
+ modify to handle sp-funcs renaming of NCURSES_OUTC type.
+ add case to CF_SHARED_OPTS for Interix (patch by Markus Duft).
+ used ncurses/link_test to check for behavior when the terminal has
not been initialized and when an application passes null pointers
to the library. Added checks to cover this (prompted by Redhat
+ modify to make its main() function call each function
with zero parameters, to help find inconsistent checking for null
pointers, etc.
+ fix warnings from clang 2.7 "--analyze"
+ compiler-warning fixes in panel and progs.
+ modify CF_PKG_CONFIG macro, from changes to tin -TD
+ modify CF_CURSES_FUNCS configure macro, used in test directory
configure script:
+ work around (non-optimizer) bug in gcc 4.2.1 which caused
test-expression to be omitted from executable.
+ force the linker to see a link-time expression of a symbol, to
help work around weak-symbol issues.
+ update discussion of script in INSTALL; normally the
script is used automatically via the configured makefiles. However
there are still occasions when it might be used directly by packagers
(report by Gunter Schaffler).
+ modify misc/ to omit the "-L" option from the
"--libs" output if the library directory is /usr/lib.
+ change order of tests for curses.h versus ncurses.h headers in the
configure scripts for Ada95 and test-directories, to look for
ncurses.h, from fixes to tin -TD
+ modify ncurses/tinfo/access.c to account for Tandem's root uid
(report by Joachim Schmitz).
+ modify rules in Ada95/src/ to ensure that the PIC option
is not used when building a static library (report by Nicolas
+ Ada95 build-fix for big-endian architectures such as sparc. This
undoes one of the fixes from 20110319, which added an "Unused" member
to representation clauses, replacing that with pragmas to suppress
warnings about unused bits (patch by Nicolas Boulenguez).
+ add check in test/configure for use_window, use_screen.
+ add configure-checks for getopt's variables, which may be declared
as different types on some Unix systems.
+ add check in test/configure for some legacy curses types of the
function pointer passed to tputs().
+ modify init_pair() to accept -1's for color value after
assume_default_colors() has been called (Debian #337095).
+ modify test/background.c, adding commmand-line options to demonstrate
assume_default_colors() and use_default_colors().
+ modify configure script/source-code to only define _POSIX_SOURCE if
the checks for sigaction and/or termios fail, and if _POSIX_C_SOURCE
and _XOPEN_SOURCE are undefined (report by Valentin Ochs).
+ update config.guess, config.sub
+ fixes to build c++ binding with clang 3.0 (patch by Alexander
+ add check for unctrl.h in test/configure, to work around breakage in
some ncurses packages.
+ add "--disable-widec" option to test/configure script.
+ add "--with-curses-colr" and "--with-curses-5lib" options to the
test/configure script to address testing with very old machines.
20110404 5.9 release for upload to
+ various build-fixes for the rpm/dpkg scripts.
+ add "--enable-rpath-link" option to Ada95/configure, to allow
packages to suppress the rpath feature which is normally used for
the in-tree build of sample programs.
+ corrected definition of libdir variable in Ada95/src/,
needed for rpm script.
+ add "--with-shared" option to Ada95/configure script, to allow
making the C-language parts of the binding use appropriate compiler
options if building a shared library with gnat.
> portability fixes for Ada95 binding:
+ add configure check to ensure that SIGINT works with gnat. This is
needed for the "rain" sample program. If SIGINT does not work, omit
that sample program.
+ correct typo in check of $PKG_CONFIG variable in Ada95/configure
+ add ncurses_compat.c, to supply functions used in the Ada95 binding
which were added in 5.7 and later.
+ modify sed expression in CF_NCURSES_ADDON to eliminate a dependency
upon GNU sed.
+ add special check in Ada95/configure script for ncurses6 reentrant
+ regen Ada html documentation.
+ build-fix for Ada shared libraries versus the varargs workaround.
+ add rpm and dpkg scripts for Ada95 and test directories, for test
+ update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and
+ add configure check to determine if gnat's project feature supports
libraries, i.e., collections of .ali files.
+ make all dereferences in Ada95 samples explicit.
+ fix typo in comment in lib_add_wch.c (patch by Petr Pavlu).
+ add configure check for, ifdef's for math.h which is in a separate
package on Solaris and potentially not installed (report by Petr
> fixes for Ada95 binding (Nicolas Boulenguez):
+ improve type-checking in Ada95 by eliminating a few warning-suppress
+ suppress unreferenced warnings.
+ make all dereferences in binding explicit.
+ regen Ada html documentation.
+ change order of -I options from ncurses*-config script when the
--disable-overwrite option was used, so that the subdirectory include
is listed first.
+ modify the scripts to add a MANIFEST and NEWS file.
+ modify configure script to provide value for HTML_DIR in
Ada95/gen/, which depends on whether the Ada95 binding is
distributed separately (report by Nicolas Boulenguez).
+ modify configure script to add "-g" and/or "-O3" to ADAFLAGS if the
CFLAGS for the build has these options.
+ amend change from 20070324, to not add 1 to the result of getmaxx
and getmaxy in the Ada binding (report by Nicolas Boulenguez for
thread in comp.lang.ada).
+ build-fix Ada95/samples for gnat 4.5
+ spelling fixes for Ada95/samples/explain.txt
> fixes for Ada95 binding (Nicolas Boulenguez):
+ add item in Trace_Attribute_Set corresponding to TRACE_ATTRS.
+ add workaround for binding to set_field_type(), which uses varargs.
The original binding from 990220 relied on the prevalent
implementation of varargs which did not support or need va_copy().
+ add dependency on gen/ needed for *
+ add Library_Options to library.gpr
+ add Languages to library.gpr, for gprbuild
+ revert changes to limit-checks from 20110122 (Debian #616711).
> minor type-cleanup of Ada95 binding (Nicolas Boulenguez):
+ corrected a minor sign error in a field of Low_Level_Field_Type, to
conform to form.h.
+ replaced C_Int by Curses_Bool as return type for some callbacks, see
+ modify samples/sample-explain.adb to provide explicit message when
explain.txt is not found.
+ improve makefiles for Ada95 tree (patch by Nicolas Boulenguez).
+ fix an off-by-one error in _nc_slk_initialize() from 20100605 fixes
for compiler warnings (report by Nicolas Boulenguez).
+ modify Ada95/gen/gen.c to declare unused bits in generated layouts,
needed to compile when chtype is 64-bits using gnat 4.4.5
20110226 5.8 release for upload to
+ update release notes, for 5.8.
+ regenerated html manpages.
+ change open() in _nc_read_file_entry() to fopen() for consistency
with write_file().
+ modify misc/ to create parent directory, in case this is
a new install of hashed database.
+ fix typo in Ada95/mk-1st.awk which causes error with original awk.
+ configure script rpath fixes from xterm #269.
+ workaround for cygwin's non-functional features.h, to force ncurses'
configure script to define _XOPEN_SOURCE_EXTENDED when building
wide-character configuration.
+ build-fix in for OS/2 EMX install
+ add cons25-debian entry (patch by Brian M Carlson, Debian #607662).
+ regenerated html manpages.
+ use _tracef() in show_where() function of tic, to work correctly with
special case of trace configuration.
+ add xterm-utf8 entry as a demo of the U8 feature -TD
+ add U8 feature to denote entries for terminal emulators which do not
support VT100 SI/SO when processing UTF-8 encoding -TD
+ improve the NCURSES_NO_UTF8_ACS feature by adding a check for an
extended terminfo capability U8 (prompted by mailing list
+ start documenting interface changes for upcoming 5.8 release.
+ correct limit-checks in derwin().
+ correct limit-checks in newwin(), to ensure that windows have nonzero
size (report by Garrett Cooper).
+ fix a missing "weak" declaration for pthread_kill (patch by Nicholas
+ improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted
by discussion with Kevin Martin).
+ modify Ada95/configure script to make the --with-curses-dir option
work without requiring the --with-ncurses option.
+ modify test programs to allow them to be built with NetBSD curses.
+ document thick- and double-line symbols in curs_add_wch.3x manpage.
+ document WACS_xxx constants in curs_add_wch.3x manpage.
+ fix some warnings for clang 2.6 "--analyze"
+ modify Ada95 makefiles to make html-documentation with the project
file configuration if that is used.
+ update config.guess, config.sub
+ regenerated html manpages.
+ minor fixes to enable lint when trace is not enabled, e.g., with
clang --analyze.
+ fix typo in man/default_colors.3x (patch by Tim van der Molen).
+ update ncurses/llib-lncurses*
+ fix remaining strict compiler warnings in ncurses library ABI=5,
except those dealing with function pointers, etc.
+ modify nc_tparm.h, adding guards against repeated inclusion, and
allowing TPARM_ARG to be overridden.
+ fix some strict compiler warnings in ncurses library.
+ suppress ncv in screen entry, allowing underline (patch by Alejandro
R Sedeno).
+ also suppress ncv in konsole-base -TD
+ fixes in wins_nwstr() and related functions to ensure that special
characters, i.e., control characters are handled properly with the
wide-character configuration.
+ correct a comparison in wins_nwstr() (Redhat #661506).
+ correct help-messages in some of the test-programs, which still
referred to quitting with 'q'.
+ add special case to _nc_infotocap() to recognize the setaf/setab
strings from xterm+256color and xterm+88color, and provide a reduced
version which works with termcap.
+ remove obsolete emacs "Local Variables" section from documentation
(request by Sven Joachim).
+ update doc/html/index.html to include NCURSES-Programming-HOWTO.html
(report by Sven Joachim).
+ modify test/configure and test/ to handle this special
case of building within a build-tree (Debian #34182):
mkdir -p build && cd build && ../test/configure && make
+ miscellaneous build-fixes for Ada95 and test-directories when built
+ use VPATH in makefiles to simplify out-of-tree builds (Debian #34182).
+ fix typo in rmso for tek4106 entry -Goran Weinholt
+ improve checks in test/configure for X libraries, from xterm #267
+ modify test/configure to allow it to use the build-tree's libraries
e.g., when using that to configure the test-programs without the
rpath feature (request by Sven Joachim).
+ repurpose "gnome" terminfo entries as "vte", retaining "gnome" items
for compatibility, but generally deprecating those since the VTE
library is what actually defines the behavior of "gnome", etc.,
since 2003 -TD
+ compiler warning fixes for test programs.
+ various build-fixes for test-programs with pdcurses.
+ updated configure checks for X packages in test/configure from xterm
#267 changes.
+ add configure check to gnatmake, to accommodate cygwin.
+ correct list of sub-directories needed in Ada95 tree for building as
a separate package.
+ modify scripts in test-directory to improve builds as a separate
+ correct parsing of relative tab-stops in tabs program (report by
Philip Ganchev).
+ adjust configure script so that "t" is not added to library suffix
when weak-symbols are used, allowing the pthread configuration to
more closely match the non-thread naming (report by Werner Fink).
+ modify configure check for tic program, used for fallbacks, to a
warning if not found. This makes it simpler to use additonal
scripts to bootstrap the fallbacks code using tic from the build
tree (report by Werner Fink).
+ fix several places in configure script using ${variable-value} form.
+ modify configure macro CF_LDFLAGS_STATIC to accommodate some loaders
which do not support selectively linking against static libraries
(report by John P. Hartmann)
+ fix an unescaped dash in man/tset.1 (report by Sven Joachim).
+ correct comparison used for setting 16-colors in linux-16color
entry (Novell #644831) -TD
+ improve linux-16color entry, using "dim" for color-8 which makes it
gray rather than black like color-0 -TD
+ drop misc/ncu-indent and misc/jpf-indent; they are provided by an
external package "cindent".
+ improve linkages in html manpages, adding references to the newer
pages, e.g., *_variables, curs_sp_funcs, curs_threads.
+ add checks in tic for inconsistent cursor-movement controls, and for
inconsistent printer-controls.
+ fill in no-parameter forms of cursor-movement where a parameterized
form is available -TD
+ fill in missing cursor controls where the form of the controls is
+ fix inconsistent punctuation in form_variables manpage (patch by
Sven Joachim).
+ add parameterized cursor-controls to linux-basic (report by Dae) -TD
> patch by Juergen Pfeifer:
+ document how to build 32-bit libraries in README.MinGW
+ fixes to filename computation in
+ use POSIX locale in rather than en_US (report by Sven
+ add a check in to obtain the size of a pointer to
distinguish between 32-bit and 64-bit hosts. The result is stored
in mingw_arch
+ add "XT" capability to entries for terminals that support both
xterm-style mouse- and title-controls, for "screen" which
special-cases TERM beginning with "xterm" or "rxvt" -TD
> patch by Juergen Pfeifer:
+ use 64-Bit MinGW toolchain (recommended package from TDM, see
+ support pthreads when using the TDM MinGW toolchain
+ regenerated html manpages.
+ minor fixes for symlinks to curs_legacy.3x and curs_slk.3x manpages.
+ add manpage for sp-funcs.
+ add sp-funcs to test/, for documentation aids.
+ add manpages for summarizing public variables of curses-, terminfo-
and form-libraries.
+ minor fixes to manpages for consistency (patch by Jason McIntyre).
+ modify tic's -I/-C dump to reformat acsc strings into canonical form
(sorted, unique mapping) (cf: 971004).
+ add configure check for pthread_kill(), needed for some old
+ add configure option --without-tests, to suppress building test
programs (request by Frederic L W Meunier).
+ modify nsterm, xnuppc and tek4115 to make sgr/sgr0 consistent -TD
+ add check in terminfo source-reader to provide more informative
message when someone attempts to run tic on a compiled terminal
description (prompted by Debian #593920).
+ note in infotocap and captoinfo manpages that they read terminal
descriptions from text-files (Debian #593920).
+ improve acsc string for vt52, show arrow keys (patch by Benjamin
+ document in manpages that "mv" functions first use wmove() to check
the window pointer and whether the position lies within the window
(suggested by Poul-Henning Kamp).
+ fixes to curs_color.3x, curs_kernel.3x and wresize.3x manpages (patch
by Tim van der Molen).
+ modify configure script to transform library names for tic- and
tinfo-libraries so that those build properly with Mac OS X shared
library configuration.
+ modify configure script to ensure that it removes conftest.dSYM
directory leftover on checks with Mac OS X.
+ modify configure script to cleanup after check for symbolic links.
+ correct a typo in mk-1st.awk (patch by Gabriele Balducci)
(cf: 20100724)
+ improve configure checks for location of tic and infocmp programs
used for installing database and for generating fallback data,
e.g., for cross-compiling.
+ add Markus Kuhn's wcwidth function for compiling MinGW
+ add special case to CF_REGEX for cross-compiling to MinGW target.
+ modify initialization check for win32con driver to eliminate need for
special case for TERM "unknown", using terminal database if available
(prompted by discussion with Roumen Petrov).
+ for MinGW port, ensure that terminal driver is setup if tgetent()
is called (patch by Roumen Petrov).
+ document tabs "-0" and "-8" options in manpage.
+ fix Debian "lintian" issues with manpages reported in
+ add a check in tic for missing set_tab if clear_all_tabs given.
+ improve use of symbolic links in makefiles by using "-f" option if
it is supported, to eliminate temporary removal of the target
(prompted by
+ minor improvement to test/ncurses.c, reset color pairs in 'd' test
after exit from 'm' main-menu command.
+ improved ncu-indent, from mawk changes, allows more than one of
+ add hard-reset for rs2 to wsvt25 to help ensure that reset ends
the alternate character set (patch by Nicholas Marriott)
+ remove and related configure/Makefile chunks, since the
Ada95 binding is now installed using rules in Ada95/src.
+ continue integrating changes to use gnatmake project files in Ada95
+ add/use configure check to turn on project rules for Ada95/src.
+ revert the vfork change from 20100130, since it does not work.
+ continue integrating changes to use gnatmake project files in Ada95
+ old gnatmake (3.15) does not produce libraries using project-file;
work around by adding script to generate alternate makefile.
+ continue integrating changes to use gnatmake project files in Ada95
+ add configure --with-ada-sharedlib option, for the test_make rule.
+ move Ada95-related logic into aclocal.m4, since additional checks
will be needed to distinguish old/new implementations of gnat.
+ start integrating changes to use gnatmake project files in Ada95 tree
+ add test_make / test_clean / test_install rules in Ada95/src
+ change install-path for adainclude directory to /usr/share/ada (was
+ update Ada95/configure.
+ add mlterm+256color entry, for mlterm 3.0.0 -TD
+ modify test/configure to use macros to ensure consistent order
of updating LIBS variable.
+ change search order of options for Solaris in CF_SHARED_OPTS, to
work with 64-bit compiles.
+ correct quoting of assignment in CF_SHARED_OPTS case for aix
(cf: 20081227)
+ regenerated html documentation.
+ modify test/configure to support pkg-config for checking X libraries
used by PDCurses.
+ add/use configure macro CF_ADD_LIB to force consistency of
assignments to $LIBS, etc.
+ fix configure script for combining --with-pthread
and --enable-weak-symbols options.
+ correct cross-compiling configure check for CF_MKSTEMP macro, by
adding a check cache variable set by AC_CHECK_FUNC (report by
Pierre Labastie).
+ simplify include-dependencies of make_hash and make_keys, to reduce
the need for setting BUILD_CPPFLAGS in cross-compiling when the
build- and target-machines differ.
+ repair broken-linker configuration by restoring a definition of SP
variable to curses.priv.h, and adjusting for cases where sp-funcs
are used.
+ improve configure macro CF_AR_FLAGS, allowing ARFLAGS environment
variable to override (prompted by report by Pablo Cazallas).
+ add configure option --enable-pthreads-eintr to control whether the
new EINTR feature is enabled.
+ modify logic in pthread configuration to allow EINTR to interrupt
a read operation in wgetch() (Novell #540571, patch by Werner Fink).
+ drop, use "mkdir -p".
+ add configure option --disable-libtool-version, to use the
"-version-number" feature which was added in libtool 1.5 (report by
Peter Haering). The default value for the option uses the newer
feature, which makes libraries generated using libtool compatible
with the standard builds of ncurses.
+ updated test/configure to match configure script macros.
+ fixes for configure script from lynx changes:
+ improve CF_FIND_LINKAGE logic for the case where a function is
found in predefined libraries.
+ revert part of change to CF_HEADER (cf: 20100424)
+ correct limit-check in wredrawln, accounting for begy/begx values
(patch by David Benjamin).
+ fix most compiler warnings from clang.
+ amend build-fix for OpenSolaris, to ensure that a system header is
included in curses.h before testing feature symbols, since they
may be defined by that route.
+ fix some strict compiler warnings in ncurses library.
+ modify configure macro CF_HEADER_PATH to not look for variations in
the predefined include directories.
+ improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS to work
with gcc 4.x's c89 alias, which gives warning messages for cases
where older versions would produce an error.
+ modify _nc_capcmp() to work with cancelled strings.
+ correct translation of "^" in _nc_infotocap(), used to transform
terminfo to termcap strings
+ add configure --disable-rpath-hack, to allow disabling the feature
which adds rpath options for libraries in unusual places.
+ improve CF_RPATH_HACK_2 by checking if the rpath option for a given
directory was already added.
+ improve CF_RPATH_HACK_2 by using ldd to provide a standard list of
directories (which will be ignored).
+ improve win_driver.c handling of mouse:
+ discard motion events
+ avoid calling _nc_timed_wait when there is a mouse event
+ handle 4th and "rightmost" buttons.
+ quote substitutions in CF_RPATH_HACK_2 configure macro, needed for
cases where there are embedded blanks in the rpath option.
+ add configure check for exctags vs ctags, to work around pkgsrc.
+ simplify logic in _nc_get_screensize() to make it easier to see how
environment variables may override system- and terminfo-values
(prompted by discussion with Igor Bujna).
+ make debug-traces for COLOR_PAIR and PAIR_NUMBER less verbose.
+ improve handling of color-pairs embedded in attributes for the
extended-colors configuration.
+ modify to build link_test with sp-funcs.
+ build-fixes for OpenSolaris aka Solaris 11, for wide-character
configuration as well as for rpath feature in *-config scripts.
+ refactor CF_SHARED_OPTS configure macro, making CF_RPATH_HACK more
+ improve configure CF_REGEX, similar fixes.
+ improve configure CF_FIND_LINKAGE, adding add check between system
(default) and explicit paths, where we can find the entrypoint in the
given library.
+ add check if Gpm_Open() returns a -2, e.g., for "xterm". This is
normally suppressed but can be overridden using $NCURSES_GPM_TERMS.
Ensure that Gpm_Close() is called in this case.
+ rename atari and st52 terminfo entries to atari-old, st52-old, use
newer entries from FreeMiNT by Guido Flohr (from patch/report by Alan
+ modify install-rule for manpages so that *-config manpages will
install when building with --srcdir (report by Sven Joachim).
+ modify CF_DISABLE_LEAKS configure macro so that the --enable-leaks
option is not the same as --disable-leaks (GenToo #305889).
+ modify #define's for build-compiler to suppress cchar_t symbol from
compile of make_hash and make_keys, improving cross-compilation of
ncursesw (report by Bernhard Rosenkraenzer).
+ modify CF_MAN_PAGES configure macro to replace all occurrences of
TPUT in tput.1's manpage (Debian #573597, report/analysis by Anders
+ generate manpages for the *-config scripts, adapted from help2man
(suggested by Sven Joachim).
+ use va_copy() in _nc_printf_string() to avoid conflicting use of
va_list value in _nc_printf_length() (report by Wim Lewis).
+ add Ada95/configure script, to use in tar-file created by
+ fix typo in wresize.3x (patch by Tim van der Molen).
+ modify screen-bce.XXX entries to exclude ech, since screen's color
model does not clear with color for that feature -TD
+ add scripts to Ada95 and test subdirectories to help with
making those separately distributable.
+ build-fix for static libraries without dlsym (Debian #556378).
+ fix a syntax error in man/form_field_opts.3x (patch by Ingo
+ add several screen-bce.XXX entries -TD
+ update mrxvt terminfo entry -TD
+ modify win_driver.c to support mouse single-clicks.
+ correct name for termlib in ncurses*-config, e.g., if it is renamed
to provide a single file for ncurses/ncursesw libraries (patch by
Miroslav Lichvar).
+ use vfork in test/ditto.c if available (request by Mike Frysinger).
+ miscellaneous cleanup of manpages.
+ fix typo in curs_bkgd.3x (patch by Tim van der Molen).
+ build-fix for --srcdir (patch by Miroslav Lichvar).
+ for term-driver configuration, ensure that the driver pointer is
initialized in setupterm so that terminfo/termcap programs work.
+ amend fix for Debian #542031 to ensure that wattrset() returns only
OK or ERR, rather than the attribute value (report by Miroslav
+ reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making
_nc_screen_of() compatible between normal/wide libraries again (patch
by Miroslav Lichvar)
+ review/fix include-dependencies in modules files (report by Miroslav
+ modify win_driver.c to initialize acs_map for win32 console, so
that line-drawing works.
+ modify win_driver.c to initialize TERMINAL struct so that programs
such as test/lrtest.c and test/ncurses.c which test string
capabilities can run.
+ modify term-driver modules to eliminate forward-reference
+ modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS
consistently to add new -D's while removing duplicates.
+ modify a few configure macros to consistently put new options
before older in the list.
+ add tiparm(), based on review of X/Open Curses Issue 7.
+ minor documentation cleanup.
+ update config.guess, config.sub from
(caveat - its maintainer put 2010 copyright date on files dated 2009)
+ minor improvement to tic's checking of similar SGR's to allow for the
most common case of SGR 0.
+ modify getmouse() to act as its documentation implied, returning on
each call the preceding event until none are left. When no more
events remain, it will return ERR.
+ change order of lookup in progs/tput.c, looking for terminfo data
first. This fixes a confusion between termcap "sg" and terminfo
"sgr" or "sgr0", originally from 990123 changes, but exposed by
20091114 fixes for hashing. With this change, only "dl" and "ed" are
ambiguous (Mandriva #56272).
+ add bterm terminfo entry, based on bogl 0.1.18 -TD
+ minor fix to rxvt+pcfkeys terminfo entry -TD
+ build-fixes for Ada95 tree for gnat 4.4 "style".
+ remove old check in mvderwin() which prevented moving a derived
window whose origin happened to coincide with its parent's origin
(report by Katarina Machalkova).
+ improve test/ncurses.c to put mouse droppings in the proper window.
+ update minix terminfo entry -TD
+ add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
+ correct transfer of multicolumn characters in multirow
field_buffer(), which stopped at the end of the first row due to
filling of unused entries in a cchar_t array with nulls.
+ updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
+ modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character
+ use strdup() in set_menu_mark(), restore .marklen struct member on
+ eliminate clause 3 from the UCB copyrights in read_termcap.c and
tset.c per
(patch by Nicholas Marriott).
+ replace a malloc in tic.c with strdup, checking for failure (patch by
Nicholas Marriott).
+ update config.guess, config.sub from
+ correct layout of working window used to extract data in
wide-character configured by set_field_buffer (patch by Rafael
Garrido Fernandez)
+ improve some limit-checks related to filename length in reading and
writing terminfo entries.
+ ensure that filename is always filled in when attempting to read
a terminfo entry, so that infocmp can report the filename (patch
by Nicholas Marriott).
+ modify mk-1st.awk to allow tinfo library to be built when term-driver
is enabled.
+ add error-check to configure script to ensure that sp-funcs is
enabled if term-driver is, since some internal interfaces rely upon
+ fix case where progs/tput is used while sp-funcs is configure; this
requires save/restore of out-character function from _nc_prescreen
rather than the SCREEN structure (report by Charles Wilson).
+ fix typo in man/curs_trace.3x which caused incorrect symbolic links
+ improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
+ updated man/curs_trace.3x
+ limit hashing for termcap-names to 2-characters (Ubuntu #481740).
+ change a variable name in lib_newwin.c to make it clearer which
value is being freed on error (patch by Nicholas Marriott).
+ improve test/ncurses.c color-cycling test by reusing attribute-
and color-cycling logic from the video-attributes screen.
+ add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form
library which help make it compatible with interop applications
(patch by Juergen Pfeifer).
+ add configure option --enable-interop, for integrating changes
for generic/interop support to form-library by Juergen Pfeifer
+ modify use of $CC environment variable which is defined by X/Open
as a curses feature, to ignore it if it is not a single character
(prompted by discussion with Benjamin C W Sittler).
+ add START_TRACE in slk_init
+ fix a regression in _nc_ripoffline which made test/ncurses.c not show
soft-keys, broken in 20090927 merging.
+ change initialization of "hidden" flag for soft-keys from true to
false, broken in 20090704 merging (Ubuntu #464274).
+ update nsterm entries (patch by Benjamin C W Sittler, prompted by
discussion with Fabian Groffen in GenToo #206201).
+ add test/xterm-256color.dat
+ quiet some pedantic gcc warnings.
+ modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
SIGWINCH, and discard that value, to avoid confusing application
(patch by Eygene Ryabinkin, FreeBSD #136223).
+ modify handling of $PKG_CONFIG_LIBDIR to use only the first item in
a possibly colon-separated list (Debian #550716).
+ supply a null-terminator to buffer in _nc_viswibuf().
+ fix a sign-extension bug in unget_wch() (report by Mike Gran).
+ minor fixes to error-returns in default function for tputs, as well
as in lib_screen.c
+ add WACS_xxx definitions to wide-character configuration for thick-
and double-lines (discussion with Slava Zanko).
+ remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
+ add ccc and initc capabilities to xterm-16color -TD
> patch by Benjamin C W Sittler:
+ add linux-16color
+ correct initc capability of linux-c-nc end-of-range
+ similar change for dg+ccc and dgunix+ccc
+ move leak-checking for comp_captab.c into _nc_leaks_tinfo() since
that module since 20090711 is in libtinfo.
+ add configure option --enable-term-driver, to allow compiling with
terminal-driver. That is used in MinGW port, and (being somewhat
more complicated) is an experimental alternative to the conventional
termlib internals. Currently, it requires the sp-funcs feature to
be enabled.
+ completed integrating "sp-funcs" by Juergen Pfeifer in ncurses
library (some work remains for forms library).
+ document return code from define_key (report by Mike Gran).
+ make some symbolic links in the terminfo directory-tree shorter
(patch by Daniel Jacobowitz, forwarded by Sven Joachim).).
+ fix some groff warnings in terminfo.5, etc., from recent Debian
+ change ncv and op capabilities in sun-color terminfo entry to match
Sun's entry for this (report by Laszlo Peter).
+ improve interix smso terminfo capability by using reverse rather than
bold (report by Kristof Zelechovski).
+ add some test programs (and make these use the same special keys
by sharing linedata.h functions):
+ correct internal _nc_insert_ch() to use _nc_insert_wch() when
inserting wide characters, since the wins_wch() function that it used
did not update the cursor position (report by Ciprian Craciun).
+ fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not
+ add null-pointer checks to other opaque-functions.
+ add is_pad() and is_subwin() functions for opaque access to WINDOW
(discussion with Mark Dickinson).
+ correct merge to lib_newterm.c, which broke when sp-funcs was
+ build-fix for building outside source-tree (report by Sven Joachim).
+ fix Debian lintian warning for man/tabs.1 by making section number
agree with file-suffix (report by Sven Joachim).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on
amd64 (Debian #542031).
+ fix typo in curs_mouse.3x (Debian #429198).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ correct use of terminfo capabilities for initializing soft-keys,
broken in 20090510 merging.
+ modify wgetch() to ensure it checks SIGWINCH when it gets an error
in non-blocking mode (patch by Clemens Ladisch).
+ use PATH_SEPARATOR symbol when substituting into, to
help with builds on non-Unix platforms such as OS/2 EMX.
+ modify scripting for misc/ to test configure script's
$cross_compiling variable directly rather than comparing host/build
compiler names (prompted by comment in GenToo #249363).
+ fix configure script option --with-database, which was coded as an
enable-type switch.
+ build-fixes for --srcdir (report by Frederic L W Meunier).
+ separate _nc_find_entry() and _nc_find_type_entry() from
implementation details of hash function.
+ add tabs.1 to man/man_db.renames
+ modify lib_addch.c to compensate for removal of wide-character test
from unctrl() in 20090704 (Debian #539735).
+ improve discussion in INSTALL for use of system's tic/infocmp for
cross-compiling and building fallbacks.
+ modify test/demo_termcap.c to correspond better to options in
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ fix logic for 'V' in test/ncurses.c tests f/F.
+ correct logic in tigetnum(), which caused tput program to treat all
string capabilities as numeric (report by Rajeev V Pillai,
cf: 20090711).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ fix a null-pointer check in _nc_format_slks() in lib_slk.c, from
20090704 changes.
+ modify _nc_find_type_entry() to use hashing.
+ make CCHARW_MAX value configurable, noting that changing this would
change the size of cchar_t, and would be ABI-incompatible.
+ modify test-programs, e.g,. test/view.c, to address subtle
differences between Tru64/Solaris and HPUX/AIX getcchar() return
+ modify length returned by getcchar() to count the trailing null
which is documented in X/Open (cf: 20020427).
+ fixes for test programs to build/work on HPUX and AIX, etc.
+ improve performance of tigetstr, etc., by using hashing code from tic.
+ minor fixes for memory-leak checking.
+ add test/demo_terminfo, for comparison with demo_termcap
+ remove wide-character checks from unctrl() (patch by Clemens Ladisch).
+ revise wadd_wch() and wecho_wchar() to eliminate dependency on
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ update llib-lncurses[wt] to use sp-funcs.
+ various code-fixes to build/work with --disable-macros configure
+ add several new files from Juergen Pfeifer which will be used when
integration of "sp-funcs" is complete. This includes a port to
+ move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to
make includes of term.h without curses.h work (report by "Nix").
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ fix a regression in lib_tputs.c, from ongoing merges.
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ fix an infinite recursion when adding a legacy-coding 8-bit value
using insch() (report by Clemens Ladisch).
+ free home-terminfo string in del_curterm() (patch by Dan Weber).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ work around antique BSD game's manipulation of stdscr, etc., versus
SCREEN's copy of the pointer (Debian #528411).
+ add a cast to wattrset macro to avoid compiler warning when comparing
its result against ERR (adapted from patch by Matt Kraii, Debian
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ add vwmterm terminfo entry (patch by Bryan Christ).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ build fix for _nc_free_and_exit() change in 20090418 (report by
Christian Ebert).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
This change finishes merging for menu and panel libraries, does
part of the form library.
+ suppress configure check for static/dynamic linker flags for gcc on
Darwin (report by Nelson Beebe).
+ extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
function key definitions from emx-base for consistency -TD
+ correct missing final 'p' in pfkey capability of ansi.sys-old (report
by Kalle Olavi Niemitalo).
+ improve test/ncurses.c 'F' test, show combining characters in color.
+ quiet a false report by cppcheck in c++/ by eliminating
a temporary variable.
+ use _nc_doalloc() rather than realloc() in a few places in ncurses
library to avoid leak in out-of-memory condition (reports by William
Egert and Martin Ettl based on cppcheck tool).
+ add --with-ncurses-wrap-prefix option to test/configure (discussion
with Charles Wilson).
+ use ncurses*-config scripts if available for test/configure.
+ update test/aclocal.m4 and test/configure
> patches by Charles Wilson:
+ modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
version numbers (e.g. which include alphabetic chars, as well as
digits, after the final '.').
+ improve use of -no-undefined option for libtool by setting an
intermediate variable LT_UNDEF in the configure script, and then
using that in the libtool link-commands.
+ fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
from 20090321 changes.
+ improve mk-1st.awk script by writing separate cases for the
LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
termlib) is to be linked.
+ modify to allow broken-linker configurations, not just
enable-reentrant, to set public wrap prefix.
+ add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
build with tic and term libraries (patch by Charles Wilson).
+ add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
(report by Charles Wilson).
+ fix definition for c++/'s SHLIB_LIST, which did not list
the form, menu or panel libraries (patch by Charles Wilson).
+ add configure option --with-wrap-prefix to allow setting the prefix
for functions used to wrap global variables to something other than
"_nc_" (discussion with Charles Wilson).
+ modify scripts to generate ncurses*-config and pc-files to add
dependency for tinfo library (patch by Charles Wilson).
+ improve comparison of program-names when checking for linked flavors
such as "reset" by ignoring the executable suffix (reports by Charles
Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
+ suppress configure check for static/dynamic linker flags for gcc on
Solaris 10, since gcc is confused by absence of static libc, and
does not switch back to dynamic mode before finishing the libraries
(reports by Joel Bertrand, Alan Pae).
+ minor fixes to Intel compiler warning checks in configure script.
+ modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
+ modify set_curterm() to make broken-linker configuration work with
changes from 20090228 (report by Charles Wilson).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ modify declaration of cur_term when broken-linker is used, but
enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
+ continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
+ add configure script --enable-sp-funcs to enable the new set of
extended functions.
+ start integrating patches by Juergen Pfeifer:
+ add extended functions which specify the SCREEN pointer for several
curses functions which use the global SP (these are incomplete;
some internals work is needed to complete these).
+ add special cases to configure script for MinGW port.
+ update several configure macros from lynx changes
+ append (not prepend) to CFLAGS/CPPFLAGS
+ change variable from PATHSEP to PATH_SEPARATOR
+ improve install-rules for pc-files (patch by Miroslav Lichvar).
+ make it work with $DESTDIR
+ create the pkg-config library directory if needed.
+ modify init_pair() to allow caller to create extra color pairs beyond
the color_pairs limit, which use default colors (request by Emanuele
+ add misc/terminfo.tmp and misc/*.pc to "sources" rule.
+ fix typo "==" where "=" is needed in and files (Debian #512161).
+ add -shared option to MK_SHARED_LIB when -Bsharable is used, for
*BSD's, without which "main" might be one of the shared library's
dependencies (report/analysis by Ken Dickey).
+ modify waddch_literal(), updating line-pointer after a multicolumn
character is found to not fit on the current row, and wrapping is
done. Since the line-pointer was not updated, the wrapped
multicolumn character was written to the beginning of the current row
(cf: 20041023, reported by "Nick" regarding problem with ncmpc
+ add screen.Eterm terminfo entry (GenToo #124887) -TD
+ modify adacurses-config to look for ".ali" files in the adalib
+ correct install for Ada95, which omitted libAdaCurses.a used in
+ change install for adacurses-config to provide additional flavors
such as adacursesw-config, for ncursesw (GenToo #167849).
+ remove undeveloped feature in for setting
prefix variable.
+ recent change to did not take into account the
--disable-overwrite option, which sets $includedir to the
subdirectory and using just that for a -I option does not work - fix
(report by Frederic L W Meunier).
+ modify to eliminate a dependency on rpath when
deciding whether to add $LIBS to --libs output; that should be shown
for the ncurses and tinfo libraries without taking rpath into
+ fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
used in static libraries (report by Marty Jack).
+ add a configure-time check to pick a suitable value for
CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).
+ add configure --with-pkg-config and --enable-pc-files options, along
with misc/ which can be used to generate ".pc" files
for pkg-config (request by Jan Engelhardt).
+ use $includedir symbol in misc/, add --includedir
+ change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a
configure check to detect whether a "-" is needed before "ar"
+ update config.guess, config.sub from
+ modify mk-1st.awk to work with extra categories for tinfo library.
+ modify configure script to allow building shared libraries with gcc
on AIX 5 or 6 (adapted from patch by Lital Natan).
+ modify to omit the opaque-functions from lib_gen.o when
--disable-ext-funcs is used.
+ add test/clip_printw.c to illustrate how to use printw without
+ modify ncurses 'F' test to demo wborder_set() with colored lines.
+ modify ncurses 'f' test to demo wborder() with colored lines.
+ add check for failure to open hashed-database needed for db4.6
(GenToo #245370).
+ corrected --without-manpages option; previous change only suppressed
the auxiliary rules and
+ add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
GenToo #250454).
+ fixes from NetBSD port at
patch-ac (build-fix for DragonFly)
patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
+ improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
+ correct title string for keybound manpage (patch by Frederic Culot,
OpenBSD documentation/6019),
+ move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
work for progs/clear, progs/tabs, etc.
+ correct buffer-size after internal resizing of wide-character
set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
+ add "-i" option to test/filter.c to tell it to use initscr() rather
than newterm(), to investigate report on comp.unix.programmer that
ncurses would clear the screen in that case (it does not - the issue
was xterm's alternate screen feature).
+ add check in mouse-driver to disable connection if GPM returns a
zero, indicating that the connection is closed (Debian #506717,
adapted from patch by Samuel Thibault).
+ improve a workaround in adding wide-characters, when a control
character is found. The library (cf: 20040207) uses unctrl() to
obtain a printable version of the control character, but was not
passing color or video attributes.
+ improve test/ncurses.c 'a' test, using unctrl() more consistently to
display meta-characters.
+ turn on _XOPEN_CURSES definition in curses.h
+ add eterm-color entry (report by Vincent Lefevre) -TD
+ correct use of key_name() in test/ncurses.c 'A' test, which only
displays wide-characters, not key-codes since 20070612 (report by
Ricardo Cantu).
+ change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
Ada95 (patch by Juergen Pfeifer).
+ document in TO-DO an issue with Cygwin's package for GNAT (report
by Mike Dennison).
+ improve error-checking of command-line options in "tabs" program.
+ change several terminfo entries to make consistent use of ANSI
clear-all-tabs -TD
+ add "tabs" program (prompted by Debian #502260).
+ add configure --without-manpages option (request by Mike Frysinger).
20081102 5.7 release for upload to
+ add a manpage to discuss memory leaks.
+ add support for shared libraries for QNX (other than libtool, which
does not work well on that platform).
+ build-fix for QNX C++ binding.
+ build-fixes for OS/2 EMX.
+ modify form library to accept control characters such as newline
in set_field_buffer(), which is compatible with Solaris (report by
Nit Khair).
+ modify configure script to assume --without-hashed-db when
--disable-database is used.
+ add "-e" option in ncurses/ when generating source-files
to force earlier exit if the build environment fails unexpectedly
(prompted by patch by Adrian Bunk).
+ change configure script to use CF_UTF8_LIB, improved variant of
+ add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
original to teraterm2.3 -TD
+ update "gnome" terminfo to 2.22.3 -TD
+ update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
+ add "aterm" terminfo -TD
+ add "linux2.6.26" terminfo -TD
+ add logic to tic for cancelling strings in user-defined capabilities,
overlooked til now.
+ regenerated html documentation.
+ add -m and -s options to test/keynames.c and test/key_names.c to test
the meta() function with keyname() or key_name(), respectively.
+ correct return value of key_name() on error; it is null.
+ document some unresolved issues for rpath and pthreads in TO-DO.
+ fix a missing prototype for ioctl() on OpenBSD in tset.c
+ add configure option --disable-tic-depends to make explicit whether
tic library depends on ncurses/ncursesw library, amends change from
20080823 (prompted by Debian #501421).
+ some build-fixes for configure --disable-ext-funcs (incomplete, but
works for C/C++ parts).
+ improve configure-check for awks unable to handle large strings, e.g.
AIX 5.1 whose awk silently gives up on large printf's.
+ fix build for --with-dmalloc by workaround for redefinition of
strndup between string.h and dmalloc.h
+ fix build for --disable-sigwinch
+ add environment variable NCURSES_GPM_TERMS to allow override to use
GPM on terminals other than "linux", etc.
+ disable GPM mouse support when $TERM does not happen to contain
"linux", since Gpm_Open() no longer limits its assertion to terminals
that it might handle, e.g., within "screen" in xterm.
+ reset mouse file-descriptor when unloading GPM library (report by
Miroslav Lichvar).
+ fix build for --disable-leaks --enable-widec --with-termlib
> patch by Juergen Pfeifer:
+ use improved initialization for soft-label keys in Ada95 sample code.
+ discard internal symbol _nc_slk_format (unused since 20080112).
+ move call of slk_paint_info() from _nc_slk_initialize() to
slk_intern_refresh(), improving initialization.
+ fix bug in mouse code for GPM from 20080920 changes (reported in
Debian #500103, also Miroslav Lichvar).
+ fix shared-library rules for cygwin with tic- and tinfo-libraries.
+ fix a memory leak when failure to connect to GPM.
+ correct check for notimeout() in wgetch() (report on linux.redhat
newsgroup by FurtiveBertie).
+ add an example warning-suppression file for valgrind,
misc/ncurses.supp (based on example from Reuben Thomas)
+ change shared-library configuration for OpenBSD, make rpath work.
+ build-fixes for using libutf8, e.g., on OpenBSD 3.7
+ corrected fix for --enable-weak-symbols (report by Frederic L W
+ corrected gcc options for building shared libraries on IRIX64.
+ add configure check for awk programs unable to handle big-strings,
use that to improve the default for --enable-big-strings option.
+ makefile-fixes for --enable-weak-symbols (report by Frederic L W
+ update test/configure script.
+ adapt ifdef's from library to make test/view.c build when mbrtowc()
is unavailable, e.g., with HPUX 10.20.
+ add configure check for wcsrtombs, mbsrtowcs, which are used in
test/ncurses.c, and use wcstombs, mbstowcs instead if available,
fixing build of ncursew for HPUX 11.00
+ fixes to make Ada95 demo_panels() example work.
+ modify Ada95 'rain' test program to accept keyboard commands like the
+ modify BeOS-specific ifdef's to build on Haiku (patch by Scott
+ add configure-check to see if the std namespace is legal for cerr
and endl, to fix a build issue with Tru64.
+ consistently use NCURSES_BOOL in lib_gen.c
+ filter #line's from lib_gen.c
+ change delimiter in from '%' to '@', to avoid
substitution by IBM xlc to '#' as part of its extensions to digraphs.
+ update config.guess, config.sub from
(caveat - its maintainer removed support for older Linux systems).
+ modify configure check for pthread library to work with OSF/1 5.1,
which uses #define's to associate its header and library.
+ use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
makes threaded code work on HPUX 11.23
+ fix a bug in demo_menus in freeing menus (cf: 20080804).
+ modify configure script for the case where tic library is used (and
possibly renamed) to remove its dependency upon ncurses/ncursew
library (patch by Dr Werner Fink).
+ correct manpage for menu_fore() which gave wrong default for
the attribute used to display a selected entry (report by Mike Gran).
+ add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
Debian #495815) -TD
+ add configure option --enable-weak-symbols to turn on new feature.
+ add configure-check for availability of weak symbols.
+ modify linkage with pthread library to use weak symbols so that
applications not linked to that library will not use the mutexes,
etc. This relies on gcc, and may be platform-specific (patch by Dr
Werner Fink).
+ add note to INSTALL to document limitation of renaming of tic library
using the --with-ticlib configure option (report by Dr Werner Fink).
+ document (in manpage) why tputs does not detect I/O errors (prompted
by comments by Samuel Thibault).
+ fix remaining warnings from Klocwork report.
+ modify _nc_panelhook() data to account for a permanent memory leak.
+ fix memory leaks in test/demo_menus
+ fix most warnings from Klocwork tool (report by Larry Zhou).
+ modify configure script CF_XOPEN_SOURCE macro to add case for
"dragonfly" from xterm #236 changes.
+ modify configure script --with-hashed-db to let $LIBS override the
search for the db library (prompted by report by Samson Pierre).
+ build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
+ build-fix (reports by Christian Ebert, Funda Wang).
+ compiler-warning fixes for Solaris.
+ use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
make those work properly with the "--enable-ext-mouse" configuration
(cf: 20050205).
+ improve documentation of build-cc options in INSTALL.
+ work-around a bug in gcc 4.2.4 on AIX, which does not pass the
-static/-dynamic flags properly to linker, causing test/bs to
not link.
+ correct some ifdef's needed for the broken-linker configuration.
+ make debugging library's $BAUDRATE feature work for termcap
+ make $NCURSES_NO_PADDING feature work for termcap interface (prompted
by comment on FreeBSD mailing list).
+ add screen.mlterm terminfo entry -TD
+ improve mlterm and mlterm+pcfkeys terminfo entries -TD
+ regenerated html documentation.
+ expand manpage description of parameters for form_driver() and
menu_driver() (prompted by discussion with Adam Spragg).
+ add null-pointer checks for cur_term in baudrate() and
def_shell_mode(), def_prog_mode()
+ fix some memory leaks in delscreen() and wide acs.
+ modify test/ditto.c to illustrate multi-threaded use_screen().
+ change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
+ add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
by Poor Yorick).
+ finish changes to wgetch(), making it switch as needed to the
window's actual screen when calling wrefresh() and wgetnstr(). That
allows wgetch() to get used concurrently in different threads with
some minor restrictions, e.g., the application should not delete a
window which is being used in a wgetch().
+ simplify mutex's, combining the window- and screen-mutex's.
+ modify wgetch() to use the screen which corresponds to its window
parameter rather than relying on SP; some dependent functions still
use SP internally.
+ factor out most use of SP in lib_mouse.c, using parameter.
+ add internal _nc_keyname(), replacing keyname() to associate with a
particular SCREEN rather than the global SP.
+ add internal _nc_unctrl(), replacing unctrl() to associate with a
particular SCREEN rather than the global SP.
+ add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
+ add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
preference to the global _nc_globals.tracechr_buf buffer.
+ modify _nc_keypad() to make it switch temporarily as needed to the
screen which must be updated.
+ wrap cur_term variable to help make _nc_keymap() thread-safe, and
always set the screen's copy of this variable in set_curterm().
+ restore curs_set() state after endwin()/refresh() (report/patch
Miroslav Lichvar)
+ modify configure script to note that --enable-ext-colors and
--enable-ext-mouse are not experimental, but extensions from
the ncurses ABI 5.
+ corrected manpage description of setcchar() (discussion with
Emanuele Giaquinta).
+ fix for adding a non-spacing character at the beginning of a line
(report/patch by Miroslav Lichvar).
+ modify screen.* terminfo entries using new screen+fkeys to fix
overridden keys in screen.rxvt (Debian #478094) -TD
+ modify internal interfaces to reduce wgetch()'s dependency on the
global SP.
+ simplify some loops with macros each_screen(), each_window() and
+ continue modifying test/ditto.c toward making it demonstrate
multithreaded use_screen(), using fifos to pass data between screens.
+ fix typo in form.3x (report by Mike Gran).
+ add screen.rxvt terminfo entry -TD
+ modify tic -f option to format spaces as \s to prevent them from
being lost when that is read back in unformatted strings.
+ improve test/ditto.c, using a "talk"-style layout.
+ change test/ditto.c to use openpty() and xterm.
+ add locks for copywin(), dupwin(), overlap(), overlay() on their
window parameters.
+ add locks for initscr() and newterm() on updates to the SCREEN
+ finish table in curs_thread.3x manpage.
+ begin table in curs_thread.3x manpage describing the scope of data
used by each function (or symbol) for threading analysis.
+ add null-pointer checks to setsyx() and getsyx() (prompted by
discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
python-dev2 mailing list).
+ add null-pointer checks in set_term() and delscreen().
+ move _nc_windows into _nc_globals, since windows can be pads, which
are not associated with a particular screen.
+ change use_screen() to pass the SCREEN* parameter rather than
stdscr to the callback function.
+ force libtool to use tag for 'CC' in case it does not detect this,
e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
(report/patch by Michael Haubenwallner).
+ override OBJEXT to "lo" when building with libtool, to work on
platforms such as AIX where libtool may use a different suffix for
the object files than ".o" (report/patch by Michael Haubenwallner).
+ add configure --with-pthread option, for building with the POSIX
thread library.
+ fill in extended-color pair two more places in wbkgrndset() and
waddch_nosync() (prompted by Sedeno's patch).
+ fill in extended-color pair in _nc_build_wch() to make colors work
for wide-characters using extended-colors (patch by Alejandro R
+ add x/X toggles to ncurses.c C color test to test/demo
wide-characters with extended-colors.
+ add a/A toggles to ncurses.c c/C color tests.
+ modify test/ditto.c to use use_screen().
+ finish modifying test/rain.c to demonstrate threads.
+ start modifying test/rain.c for threading demo.
+ modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
that the 'F' accepts.
+ modify test/worm.c to show trail in reverse-video when other threads
are working concurrently.
+ fix a deadlock from improper nesting of mutexes for windowlist and
+ fixes from 20080223 resolved issue with mutexes; change to use
recursive mutexes to fix memory leak in delwin() as called from
+ fix a size-difference in _nc_globals which caused hanging of mutex
lock/unlock when termlib was built separately.
+ avoid using nanosleep() in threaded configuration since that often
is implemented to suspend the entire process.
+ update test programs to build/work with various UNIX curses for
comparisons. This was to reinvestigate statement in X/Open curses
that insnstr and winsnstr perform wrapping. None of the Unix-branded
implementations do this, as noted in manpage (cf: 20040228).
+ modify _nc_setupscreen() to set the legacy-coding value the same
for both narrow/wide models. It had been set only for wide model,
but is needed to make unctrl() work with locale in the narrow model.
+ improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
using unctrl() to display illegal bytes rather than trying to append
further bytes to make up a valid sequence (reported by Andrey A
+ modify unctrl() to check codes in 128-255 range versus isprint().
If they are not printable, and locale was set, use a "M-" or "~"
+ improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
handling). Now it hangs in napms(), no matter whether nanosleep()
or poll() or select() are used on Linux.
+ fixes to build with --disable-ext-funcs
+ add manpage for use_window and use_screen.
+ add set_tabsize() and set_escdelay() functions.
+ remove recursive-mutex definitions, finish threading demo for worm.c
+ remove a redundant adjustment of lines in resizeterm.c's
adjust_window() which caused occasional misadjustment of stdscr when
softkeys were used.
+ several improvements to terminfo entries based on xterm #230 -TD
+ modify to handle keyname/key_name prototypes, so the
"link_test" builds properly.
+ fix for toe command-line options -u/-U to ensure filename is given.
+ fix allocation-size for command-line parsing in infocmp from 20070728
(report by Miroslav Lichvar)
+ improve resizeterm() by moving ripped-off lines, and repainting the
soft-keys (report by Katarina Machalkova)
+ add clarification in wclear's manpage noting that the screen will be
cleared even if a subwindow is cleared (prompted by Christer Enfors
+ change test/ncurses.c soft-key tests to work with KEY_RESIZE.
+ continue implementing support for threading demo by adding mutex
for delwin().
+ add several functions to C++ binding which wrap C functions that
pass a WINDOW* parameter (request by Chris Lee).
+ add note about configure options needed for Berkeley database to the
+ improve checks for version of Berkeley database libraries.
+ amend fix for rpath to not modify LDFLAGS if the platform has no
applicable transformation (report by Christian Ebert, cf: 20071124).
+ modify configure option --with-hashed-db to accept a parameter which
is the install-prefix of a given Berkeley Database (prompted by
pierre4d2 comments).
+ rewrite wrapper for wcrtomb(), making it work on Solaris. This is
used in the form library to determine the length of the buffer needed
by field_buffer (report by Alfred Fung).
+ remove unneeded window-parameter from C++ binding for wresize (report
by Chris Lee).
+ modify the support for filesystems which do not support mixed-case to
generate 2-character (hexadecimal) codes for the lower-level of the
filesystem terminfo database (request by Michail Vidiassov).
+ add configure option --enable-mixed-case, to allow overriding the
configure script's check if the filesystem supports mixed-case
+ add wresize() to C++ binding (request by Chris Lee).
+ define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
it simpler to tell if the extended functions and/or colors are
+ update memory-leak checks for changes to names.c and codes.c
+ correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
+ continue implementing support for threading demo by adding mutex
for use_window().
+ add mrxvt terminfo entry, add/fix xterm building blocks for modified
cursor keys -TD
+ compile with FreeBSD "contemporary" TTY interface (patch by
Rong-En Fan).
+ modify makefile rules to allow clear, tput and tset to be built
without libtic. The other programs (infocmp, tic and toe) rely on
that library.
+ add/modify null-pointer checks in several functions for SP and/or
the WINDOW* parameter (report by Thorben Krueger).
+ fixes for field_buffer() in formw library (see Redhat #310071,
patches by Miroslav Lichvar).
+ improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
+ update/improve mlterm and rxvt terminfo entries, e.g., for
the modified cursor- and keypad-keys -TD
+ add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
changes the CharEq() macro to an inline function to allow comparing
cchar_t struct's without comparing gaps in a possibly unpacked
memory layout (report by Miroslav Lichvar).