1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. --
4 -- Permission is hereby granted, free of charge, to any person obtaining a --
5 -- copy of this software and associated documentation files (the --
6 -- "Software"), to deal in the Software without restriction, including --
7 -- without limitation the rights to use, copy, modify, merge, publish, --
8 -- distribute, distribute with modifications, sublicense, and/or sell copies --
9 -- of the Software, and to permit persons to whom the Software is furnished --
10 -- to do so, subject to the following conditions: --
12 -- The above copyright notice and this permission notice shall be included --
13 -- in all copies or substantial portions of the Software. --
15 -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
16 -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
17 -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN --
18 -- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
19 -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
20 -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE --
21 -- USE OR OTHER DEALINGS IN THE SOFTWARE. --
23 -- Except as contained in this notice, the name(s) of the above copyright --
24 -- holders shall not be used in advertising or otherwise to promote the --
25 -- sale, use or other dealings in this Software without prior written --
27 -------------------------------------------------------------------------------
28 -- $Id: NEWS,v 1.1688 2011/04/16 16:38:35 tom Exp $
29 -------------------------------------------------------------------------------
31 This is a log of changes that ncurses has gone through since Zeyd started
32 working with Pavel Curtis' original work, pcurses, in 1992.
34 Changes through 1.9.9e are recorded by Zeyd M Ben-Halim.
35 Changes since 1.9.9e are recorded by Thomas E Dickey.
37 Contributors include those who have provided patches (even small ones), as well
38 as those who provide useful information (bug reports, analyses). Changes with
39 no cited author are the work of Thomas E Dickey (TD).
41 A few contributors are given in this file by their initials.
42 They each account for one percent or more of the changes since 1.9.9e.
43 See the AUTHORS file for the corresponding full names.
45 Changes through 1.9.9e did not credit all contributions;
46 it is not possible to add this information.
49 + modify configure script/source-code to only define _POSIX_SOURCE if
50 the checks for sigaction and/or termios fail, and if _POSIX_C_SOURCE
51 and _XOPEN_SOURCE are undefined (report by Valentin Ochs).
52 + update config.guess, config.sub
55 + fixes to build c++ binding with clang 3.0 (patch by Alexander
57 + add check for unctrl.h in test/configure, to work around breakage in
58 some ncurses packages.
59 + add "--disable-widec" option to test/configure script.
60 + add "--with-curses-colr" and "--with-curses-5lib" options to the
61 test/configure script to address testing with very old machines.
63 20110404 5.9 release for upload to ftp.gnu.org
66 + various build-fixes for the rpm/dpkg scripts.
67 + add "--enable-rpath-link" option to Ada95/configure, to allow
68 packages to suppress the rpath feature which is normally used for
69 the in-tree build of sample programs.
70 + corrected definition of libdir variable in Ada95/src/Makefile.in,
71 needed for rpm script.
72 + add "--with-shared" option to Ada95/configure script, to allow
73 making the C-language parts of the binding use appropriate compiler
74 options if building a shared library with gnat.
77 > portability fixes for Ada95 binding:
78 + add configure check to ensure that SIGINT works with gnat. This is
79 needed for the "rain" sample program. If SIGINT does not work, omit
81 + correct typo in check of $PKG_CONFIG variable in Ada95/configure
82 + add ncurses_compat.c, to supply functions used in the Ada95 binding
83 which were added in 5.7 and later.
84 + modify sed expression in CF_NCURSES_ADDON to eliminate a dependency
88 + add special check in Ada95/configure script for ncurses6 reentrant
90 + regen Ada html documentation.
91 + build-fix for Ada shared libraries versus the varargs workaround.
92 + add rpm and dpkg scripts for Ada95 and test directories, for test
94 + update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and
96 + add configure check to determine if gnat's project feature supports
97 libraries, i.e., collections of .ali files.
98 + make all dereferences in Ada95 samples explicit.
99 + fix typo in comment in lib_add_wch.c (patch by Petr Pavlu).
100 + add configure check for, ifdef's for math.h which is in a separate
101 package on Solaris and potentially not installed (report by Petr
103 > fixes for Ada95 binding (Nicolas Boulenguez):
104 + improve type-checking in Ada95 by eliminating a few warning-suppress
106 + suppress unreferenced warnings.
107 + make all dereferences in binding explicit.
110 + regen Ada html documentation.
111 + change order of -I options from ncurses*-config script when the
112 --disable-overwrite option was used, so that the subdirectory include
114 + modify the make-tar.sh scripts to add a MANIFEST and NEWS file.
115 + modify configure script to provide value for HTML_DIR in
116 Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is
117 distributed separately (report by Nicolas Boulenguez).
118 + modify configure script to add -g and/or -O3 to ADAFLAGS if the
119 CFLAGS for the build has these options.
120 + amend change from 20070324, to not add 1 to the result of getmaxx
121 and getmaxy in the Ada binding (report by Nicolas Boulenguez for
122 thread in comp.lang.ada).
123 + build-fix Ada95/samples for gnat 4.5
124 + spelling fixes for Ada95/samples/explain.txt
125 > fixes for Ada95 binding (Nicolas Boulenguez):
126 + add item in Trace_Attribute_Set corresponding to TRACE_ATTRS.
127 + add workaround for binding to set_field_type(), which uses varargs.
128 The original binding from 990220 relied on the prevalent
129 implementation of varargs which did not support or need va_copy().
130 + add dependency on gen/Makefile.in needed for *-panels.ads
131 + add Library_Options to library.gpr
132 + add Languages to library.gpr, for gprbuild
135 + revert changes to limit-checks from 20110122 (Debian #616711).
136 > minor type-cleanup of Ada95 binding (Nicolas Boulenguez):
137 + corrected a minor sign error in a field of Low_Level_Field_Type, to
139 + replaced C_Int by Curses_Bool as return type for some callbacks, see
141 + modify samples/sample-explain.adb to provide explicit message when
142 explain.txt is not found.
145 + improve makefiles for Ada95 tree (patch by Nicolas Boulenguez).
146 + fix an off-by-one error in _nc_slk_initialize() from 20100605 fixes
147 for compiler warnings (report by Nicolas Boulenguez).
148 + modify Ada95/gen/gen.c to declare unused bits in generated layouts,
149 needed to compile when chtype is 64-bits using gnat 4.4.5
151 20110226 5.8 release for upload to ftp.gnu.org
154 + update release notes, for 5.8.
155 + regenerated html manpages.
156 + change open() in _nc_read_file_entry() to fopen() for consistency
158 + modify misc/run_tic.in to create parent directory, in case this is
159 a new install of hashed database.
160 + fix typo in Ada95/mk-1st.awk which causes error with original awk.
163 + configure script rpath fixes from xterm #269.
164 + workaround for cygwin's non-functional features.h, to force ncurses'
165 configure script to define _XOPEN_SOURCE_EXTENDED when building
166 wide-character configuration.
167 + build-fix in run_tic.sh for OS/2 EMX install
168 + add cons25-debian entry (patch by Brian M Carlson, Debian #607662).
171 + regenerated html manpages.
172 + use _tracef() in show_where() function of tic, to work correctly with
173 special case of trace configuration.
176 + add xterm-utf8 entry as a demo of the U8 feature -TD
177 + add U8 feature to denote entries for terminal emulators which do not
178 support VT100 SI/SO when processing UTF-8 encoding -TD
179 + improve the NCURSES_NO_UTF8_ACS feature by adding a check for an
180 extended terminfo capability U8 (prompted by mailing list
184 + start documenting interface changes for upcoming 5.8 release.
185 + correct limit-checks in derwin().
186 + correct limit-checks in newwin(), to ensure that windows have nonzero
187 size (report by Garrett Cooper).
188 + fix a missing "weak" declaration for pthread_kill (patch by Nicholas
190 + improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted
191 by discussion with Kevin Martin).
194 + modify Ada95/configure script to make the --with-curses-dir option
195 work without requiring the --with-ncurses option.
196 + modify test programs to allow them to be built with NetBSD curses.
197 + document thick- and double-line symbols in curs_add_wch.3x manpage.
198 + document WACS_xxx constants in curs_add_wch.3x manpage.
199 + fix some warnings for clang 2.6 "--analyze"
200 + modify Ada95 makefiles to make html-documentation with the project
201 file configuration if that is used.
202 + update config.guess, config.sub
205 + regenerated html manpages.
206 + minor fixes to enable lint when trace is not enabled, e.g., with
208 + fix typo in man/default_colors.3x (patch by Tim van der Molen).
209 + update ncurses/llib-lncurses*
212 + fix remaining strict compiler warnings in ncurses library ABI=5,
213 except those dealing with function pointers, etc.
216 + modify nc_tparm.h, adding guards against repeated inclusion, and
217 allowing TPARM_ARG to be overridden.
218 + fix some strict compiler warnings in ncurses library.
221 + suppress ncv in screen entry, allowing underline (patch by Alejandro
223 + also suppress ncv in konsole-base -TD
224 + fixes in wins_nwstr() and related functions to ensure that special
225 characters, i.e., control characters are handled properly with the
226 wide-character configuration.
227 + correct a comparison in wins_nwstr() (Redhat #661506).
228 + correct help-messages in some of the test-programs, which still
229 referred to quitting with 'q'.
232 + add special case to _nc_infotocap() to recognize the setaf/setab
233 strings from xterm+256color and xterm+88color, and provide a reduced
234 version which works with termcap.
235 + remove obsolete emacs "Local Variables" section from documentation
236 (request by Sven Joachim).
237 + update doc/html/index.html to include NCURSES-Programming-HOWTO.html
238 (report by Sven Joachim).
241 + modify test/configure and test/Makefile.in to handle this special
242 case of building within a build-tree (Debian #34182):
243 mkdir -p build && cd build && ../test/configure && make
246 + miscellaneous build-fixes for Ada95 and test-directories when built
248 + use VPATH in makefiles to simplify out-of-tree builds (Debian #34182).
249 + fix typo in rmso for tek4106 entry -Goran Weinholt
252 + improve checks in test/configure for X libraries, from xterm #267
254 + modify test/configure to allow it to use the build-tree's libraries
255 e.g., when using that to configure the test-programs without the
256 rpath feature (request by Sven Joachim).
257 + repurpose "gnome" terminfo entries as "vte", retaining "gnome" items
258 for compatibility, but generally deprecating those since the VTE
259 library is what actually defines the behavior of "gnome", etc.,
263 + compiler warning fixes for test programs.
264 + various build-fixes for test-programs with pdcurses.
265 + updated configure checks for X packages in test/configure from xterm
267 + add configure check to gnatmake, to accommodate cygwin.
270 + correct list of sub-directories needed in Ada95 tree for building as
272 + modify scripts in test-directory to improve builds as a separate
276 + correct parsing of relative tab-stops in tabs program (report by
278 + adjust configure script so that "t" is not added to library suffix
279 when weak-symbols are used, allowing the pthread configuration to
280 more closely match the non-thread naming (report by Werner Fink).
281 + modify configure check for tic program, used for fallbacks, to a
282 warning if not found. This makes it simpler to use additonal
283 scripts to bootstrap the fallbacks code using tic from the build
284 tree (report by Werner Fink).
285 + fix several places in configure script using ${variable-value} form.
286 + modify configure macro CF_LDFLAGS_STATIC to accommodate some loaders
287 which do not support selectively linking against static libraries
288 (report by John P. Hartmann)
289 + fix an unescaped dash in man/tset.1 (report by Sven Joachim).
292 + correct comparison used for setting 16-colors in linux-16color
293 entry (Novell #644831) -TD
294 + improve linux-16color entry, using "dim" for color-8 which makes it
295 gray rather than black like color-0 -TD
296 + drop misc/ncu-indent and misc/jpf-indent; they are provided by an
297 external package "cindent".
300 + improve linkages in html manpages, adding references to the newer
301 pages, e.g., *_variables, curs_sp_funcs, curs_threads.
302 + add checks in tic for inconsistent cursor-movement controls, and for
303 inconsistent printer-controls.
304 + fill in no-parameter forms of cursor-movement where a parameterized
305 form is available -TD
306 + fill in missing cursor controls where the form of the controls is
308 + fix inconsistent punctuation in form_variables manpage (patch by
310 + add parameterized cursor-controls to linux-basic (report by Dae) -TD
311 > patch by Juergen Pfeifer:
312 + document how to build 32-bit libraries in README.MinGW
313 + fixes to filename computation in mk-dlls.sh.in
314 + use POSIX locale in mk-dlls.sh.in rather than en_US (report by Sven
316 + add a check in mk-dlls.sh.in to obtain the size of a pointer to
317 distinguish between 32-bit and 64-bit hosts. The result is stored
321 + add "XT" capability to entries for terminals that support both
322 xterm-style mouse- and title-controls, for "screen" which
323 special-cases TERM beginning with "xterm" or "rxvt" -TD
324 > patch by Juergen Pfeifer:
325 + use 64-Bit MinGW toolchain (recommended package from TDM, see
327 + support pthreads when using the TDM MinGW toolchain
330 + regenerated html manpages.
331 + minor fixes for symlinks to curs_legacy.3x and curs_slk.3x manpages.
332 + add manpage for sp-funcs.
333 + add sp-funcs to test/listused.sh, for documentation aids.
336 + add manpages for summarizing public variables of curses-, terminfo-
338 + minor fixes to manpages for consistency (patch by Jason McIntyre).
339 + modify tic's -I/-C dump to reformat acsc strings into canonical form
340 (sorted, unique mapping) (cf: 971004).
341 + add configure check for pthread_kill(), needed for some old
345 + add configure option --without-tests, to suppress building test
346 programs (request by Frederic L W Meunier).
349 + modify nsterm, xnuppc and tek4115 to make sgr/sgr0 consistent -TD
350 + add check in terminfo source-reader to provide more informative
351 message when someone attempts to run tic on a compiled terminal
352 description (prompted by Debian #593920).
353 + note in infotocap and captoinfo manpages that they read terminal
354 descriptions from text-files (Debian #593920).
355 + improve acsc string for vt52, show arrow keys (patch by Benjamin
359 + document in manpages that "mv" functions first use wmove() to check
360 the window pointer and whether the position lies within the window
361 (suggested by Poul-Henning Kamp).
362 + fixes to curs_color.3x, curs_kernel.3x and wresize.3x manpages (patch
363 by Tim van der Molen).
364 + modify configure script to transform library names for tic- and
365 tinfo-libraries so that those build properly with Mac OS X shared
366 library configuration.
367 + modify configure script to ensure that it removes conftest.dSYM
368 directory leftover on checks with Mac OS X.
369 + modify configure script to cleanup after check for symbolic links.
372 + correct a typo in mk-1st.awk (patch by Gabriele Balducci)
374 + improve configure checks for location of tic and infocmp programs
375 used for installing database and for generating fallback data,
376 e.g., for cross-compiling.
377 + add Markus Kuhn's wcwidth function for compiling MinGW
378 + add special case to CF_REGEX for cross-compiling to MinGW target.
381 + modify initialization check for win32con driver to eliminate need for
382 special case for TERM "unknown", using terminal database if available
383 (prompted by discussion with Roumen Petrov).
384 + for MinGW port, ensure that terminal driver is setup if tgetent()
385 is called (patch by Roumen Petrov).
386 + document tabs "-0" and "-8" options in manpage.
387 + fix Debian "lintian" issues with manpages reported in
388 http://lintian.debian.org/full/csmall@debian.org.html#ncurses
391 + add a check in tic for missing set_tab if clear_all_tabs given.
392 + improve use of symbolic links in makefiles by using "-f" option if
393 it is supported, to eliminate temporary removal of the target
394 (prompted by http://www.t2-project.org/packages/ncurses.html)
395 + minor improvement to test/ncurses.c, reset color pairs in 'd' test
396 after exit from 'm' main-menu command.
397 + improved ncu-indent, from mawk changes, allows more than one of
398 GCC_NORETURN, GCC_PRINTFLIKE and GCC_SCANFLIKE on a single line.
401 + add hard-reset for rs2 to wsvt25 to help ensure that reset ends
402 the alternate character set (patch by Nicholas Marriott)
403 + remove tar-copy.sh and related configure/Makefile chunks, since the
404 Ada95 binding is now installed using rules in Ada95/src.
407 + continue integrating changes to use gnatmake project files in Ada95
408 + add/use configure check to turn on project rules for Ada95/src.
409 + revert the vfork change from 20100130, since it does not work.
412 + continue integrating changes to use gnatmake project files in Ada95
413 + old gnatmake (3.15) does not produce libraries using project-file;
414 work around by adding script to generate alternate makefile.
417 + continue integrating changes to use gnatmake project files in Ada95
418 + add configure --with-ada-sharedlib option, for the test_make rule.
419 + move Ada95-related logic into aclocal.m4, since additional checks
420 will be needed to distinguish old/new implementations of gnat.
423 + start integrating changes to use gnatmake project files in Ada95 tree
424 + add test_make / test_clean / test_install rules in Ada95/src
425 + change install-path for adainclude directory to /usr/share/ada (was
427 + update Ada95/configure.
428 + add mlterm+256color entry, for mlterm 3.0.0 -TD
429 + modify test/configure to use macros to ensure consistent order
430 of updating LIBS variable.
433 + change search order of options for Solaris in CF_SHARED_OPTS, to
434 work with 64-bit compiles.
435 + correct quoting of assignment in CF_SHARED_OPTS case for aix
439 + regenerated html documentation.
440 + modify test/configure to support pkg-config for checking X libraries
442 + add/use configure macro CF_ADD_LIB to force consistency of
443 assignments to $LIBS, etc.
444 + fix configure script for combining --with-pthread
445 and --enable-weak-symbols options.
448 + correct cross-compiling configure check for CF_MKSTEMP macro, by
449 adding a check cache variable set by AC_CHECK_FUNC (report by
451 + simplify include-dependencies of make_hash and make_keys, to reduce
452 the need for setting BUILD_CPPFLAGS in cross-compiling when the
453 build- and target-machines differ.
454 + repair broken-linker configuration by restoring a definition of SP
455 variable to curses.priv.h, and adjusting for cases where sp-funcs
457 + improve configure macro CF_AR_FLAGS, allowing ARFLAGS environment
458 variable to override (prompted by report by Pablo Cazallas).
461 + add configure option --enable-pthreads-eintr to control whether the
462 new EINTR feature is enabled.
463 + modify logic in pthread configuration to allow EINTR to interrupt
464 a read operation in wgetch() (Novell #540571, patch by Werner Fink).
465 + drop mkdirs.sh, use "mkdir -p".
466 + add configure option --disable-libtool-version, to use the
467 "-version-number" feature which was added in libtool 1.5 (report by
468 Peter Haering). The default value for the option uses the newer
469 feature, which makes libraries generated using libtool compatible
470 with the standard builds of ncurses.
471 + updated test/configure to match configure script macros.
472 + fixes for configure script from lynx changes:
473 + improve CF_FIND_LINKAGE logic for the case where a function is
474 found in predefined libraries.
475 + revert part of change to CF_HEADER (cf: 20100424)
478 + correct limit-check in wredrawln, accounting for begy/begx values
479 (patch by David Benjamin).
480 + fix most compiler warnings from clang.
481 + amend build-fix for OpenSolaris, to ensure that a system header is
482 included in curses.h before testing feature symbols, since they
483 may be defined by that route.
486 + fix some strict compiler warnings in ncurses library.
487 + modify configure macro CF_HEADER_PATH to not look for variations in
488 the predefined include directories.
489 + improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS to work
490 with gcc 4.x's c89 alias, which gives warning messages for cases
491 where older versions would produce an error.
494 + modify _nc_capcmp() to work with cancelled strings.
495 + correct translation of "^" in _nc_infotocap(), used to transform
496 terminfo to termcap strings
497 + add configure --disable-rpath-hack, to allow disabling the feature
498 which adds rpath options for libraries in unusual places.
499 + improve CF_RPATH_HACK_2 by checking if the rpath option for a given
500 directory was already added.
501 + improve CF_RPATH_HACK_2 by using ldd to provide a standard list of
502 directories (which will be ignored).
505 + improve win_driver.c handling of mouse:
506 + discard motion events
507 + avoid calling _nc_timed_wait when there is a mouse event
508 + handle 4th and "rightmost" buttons.
509 + quote substitutions in CF_RPATH_HACK_2 configure macro, needed for
510 cases where there are embedded blanks in the rpath option.
513 + add configure check for exctags vs ctags, to work around pkgsrc.
514 + simplify logic in _nc_get_screensize() to make it easier to see how
515 environment variables may override system- and terminfo-values
516 (prompted by discussion with Igor Bujna).
517 + make debug-traces for COLOR_PAIR and PAIR_NUMBER less verbose.
518 + improve handling of color-pairs embedded in attributes for the
519 extended-colors configuration.
520 + modify MKlib_gen.sh to build link_test with sp-funcs.
521 + build-fixes for OpenSolaris aka Solaris 11, for wide-character
522 configuration as well as for rpath feature in *-config scripts.
525 + refactor CF_SHARED_OPTS configure macro, making CF_RPATH_HACK more
527 + improve configure CF_REGEX, similar fixes.
528 + improve configure CF_FIND_LINKAGE, adding add check between system
529 (default) and explicit paths, where we can find the entrypoint in the
531 + add check if Gpm_Open() returns a -2, e.g., for "xterm". This is
532 normally suppressed but can be overridden using $NCURSES_GPM_TERMS.
533 Ensure that Gpm_Close() is called in this case.
536 + rename atari and st52 terminfo entries to atari-old, st52-old, use
537 newer entries from FreeMiNT by Guido Flohr (from patch/report by Alan
541 + modify install-rule for manpages so that *-config manpages will
542 install when building with --srcdir (report by Sven Joachim).
543 + modify CF_DISABLE_LEAKS configure macro so that the --enable-leaks
544 option is not the same as --disable-leaks (GenToo #305889).
545 + modify #define's for build-compiler to suppress cchar_t symbol from
546 compile of make_hash and make_keys, improving cross-compilation of
547 ncursesw (report by Bernhard Rosenkraenzer).
548 + modify CF_MAN_PAGES configure macro to replace all occurrences of
549 TPUT in tput.1's manpage (Debian #573597, report/analysis by Anders
553 + generate manpages for the *-config scripts, adapted from help2man
554 (suggested by Sven Joachim).
555 + use va_copy() in _nc_printf_string() to avoid conflicting use of
556 va_list value in _nc_printf_length() (report by Wim Lewis).
559 + add Ada95/configure script, to use in tar-file created by
561 + fix typo in wresize.3x (patch by Tim van der Molen).
562 + modify screen-bce.XXX entries to exclude ech, since screen's color
563 model does not clear with color for that feature -TD
566 + add make-tar.sh scripts to Ada95 and test subdirectories to help with
567 making those separately distributable.
568 + build-fix for static libraries without dlsym (Debian #556378).
569 + fix a syntax error in man/form_field_opts.3x (patch by Ingo
573 + add several screen-bce.XXX entries -TD
576 + update mrxvt terminfo entry -TD
577 + modify win_driver.c to support mouse single-clicks.
578 + correct name for termlib in ncurses*-config, e.g., if it is renamed
579 to provide a single file for ncurses/ncursesw libraries (patch by
583 + use vfork in test/ditto.c if available (request by Mike Frysinger).
584 + miscellaneous cleanup of manpages.
585 + fix typo in curs_bkgd.3x (patch by Tim van der Molen).
586 + build-fix for --srcdir (patch by Miroslav Lichvar).
589 + for term-driver configuration, ensure that the driver pointer is
590 initialized in setupterm so that terminfo/termcap programs work.
591 + amend fix for Debian #542031 to ensure that wattrset() returns only
592 OK or ERR, rather than the attribute value (report by Miroslav
594 + reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making
595 _nc_screen_of() compatible between normal/wide libraries again (patch
597 + review/fix include-dependencies in modules files (report by Miroslav
601 + modify win_driver.c to initialize acs_map for win32 console, so
602 that line-drawing works.
603 + modify win_driver.c to initialize TERMINAL struct so that programs
604 such as test/lrtest.c and test/ncurses.c which test string
605 capabilities can run.
606 + modify term-driver modules to eliminate forward-reference
610 + modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS
611 consistently to add new -D's while removing duplicates.
612 + modify a few configure macros to consistently put new options
613 before older in the list.
614 + add tiparm(), based on review of X/Open Curses Issue 7.
615 + minor documentation cleanup.
616 + update config.guess, config.sub from
617 http://savannah.gnu.org/projects/config
618 (caveat - its maintainer put 2010 copyright date on files dated 2009)
621 + minor improvement to tic's checking of similar SGR's to allow for the
622 most common case of SGR 0.
623 + modify getmouse() to act as its documentation implied, returning on
624 each call the preceding event until none are left. When no more
625 events remain, it will return ERR.
628 + change order of lookup in progs/tput.c, looking for terminfo data
629 first. This fixes a confusion between termcap "sg" and terminfo
630 "sgr" or "sgr0", originally from 990123 changes, but exposed by
631 20091114 fixes for hashing. With this change, only "dl" and "ed" are
632 ambiguous (Mandriva #56272).
635 + add bterm terminfo entry, based on bogl 0.1.18 -TD
636 + minor fix to rxvt+pcfkeys terminfo entry -TD
637 + build-fixes for Ada95 tree for gnat 4.4 "style".
640 + remove old check in mvderwin() which prevented moving a derived
641 window whose origin happened to coincide with its parent's origin
642 (report by Katarina Machalkova).
643 + improve test/ncurses.c to put mouse droppings in the proper window.
644 + update minix terminfo entry -TD
645 + add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
648 + correct transfer of multicolumn characters in multirow
649 field_buffer(), which stopped at the end of the first row due to
650 filling of unused entries in a cchar_t array with nulls.
651 + updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
652 + modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character
654 + use strdup() in set_menu_mark(), restore .marklen struct member on
656 + eliminate clause 3 from the UCB copyrights in read_termcap.c and
658 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
659 (patch by Nicholas Marriott).
660 + replace a malloc in tic.c with strdup, checking for failure (patch by
662 + update config.guess, config.sub from
663 http://savannah.gnu.org/projects/config
666 + correct layout of working window used to extract data in
667 wide-character configured by set_field_buffer (patch by Rafael
669 + improve some limit-checks related to filename length in reading and
670 writing terminfo entries.
671 + ensure that filename is always filled in when attempting to read
672 a terminfo entry, so that infocmp can report the filename (patch
673 by Nicholas Marriott).
676 + modify mk-1st.awk to allow tinfo library to be built when term-driver
678 + add error-check to configure script to ensure that sp-funcs is
679 enabled if term-driver is, since some internal interfaces rely upon
683 + fix case where progs/tput is used while sp-funcs is configure; this
684 requires save/restore of out-character function from _nc_prescreen
685 rather than the SCREEN structure (report by Charles Wilson).
686 + fix typo in man/curs_trace.3x which caused incorrect symbolic links
687 + improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
691 + updated man/curs_trace.3x
692 + limit hashing for termcap-names to 2-characters (Ubuntu #481740).
693 + change a variable name in lib_newwin.c to make it clearer which
694 value is being freed on error (patch by Nicholas Marriott).
697 + improve test/ncurses.c color-cycling test by reusing attribute-
698 and color-cycling logic from the video-attributes screen.
699 + add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form
700 library which help make it compatible with interop applications
701 (patch by Juergen Pfeifer).
702 + add configure option --enable-interop, for integrating changes
703 for generic/interop support to form-library by Juergen Pfeifer
706 + modify use of $CC environment variable which is defined by X/Open
707 as a curses feature, to ignore it if it is not a single character
708 (prompted by discussion with Benjamin C W Sittler).
709 + add START_TRACE in slk_init
710 + fix a regression in _nc_ripoffline which made test/ncurses.c not show
711 soft-keys, broken in 20090927 merging.
712 + change initialization of "hidden" flag for soft-keys from true to
713 false, broken in 20090704 merging (Ubuntu #464274).
714 + update nsterm entries (patch by Benjamin C W Sittler, prompted by
715 discussion with Fabian Groffen in GenToo #206201).
716 + add test/xterm-256color.dat
719 + quiet some pedantic gcc warnings.
720 + modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
721 SIGWINCH, and discard that value, to avoid confusing application
722 (patch by Eygene Ryabinkin, FreeBSD bin/136223).
725 + modify handling of $PKG_CONFIG_LIBDIR to use only the first item in
726 a possibly colon-separated list (Debian #550716).
729 + supply a null-terminator to buffer in _nc_viswibuf().
730 + fix a sign-extension bug in unget_wch() (report by Mike Gran).
731 + minor fixes to error-returns in default function for tputs, as well
735 + add WACS_xxx definitions to wide-character configuration for thick-
736 and double-lines (discussion with Slava Zanko).
737 + remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
738 + add ccc and initc capabilities to xterm-16color -TD
739 > patch by Benjamin C W Sittler:
741 + correct initc capability of linux-c-nc end-of-range
742 + similar change for dg+ccc and dgunix+ccc
745 + move leak-checking for comp_captab.c into _nc_leaks_tinfo() since
746 that module since 20090711 is in libtinfo.
747 + add configure option --enable-term-driver, to allow compiling with
748 terminal-driver. That is used in MinGW port, and (being somewhat
749 more complicated) is an experimental alternative to the conventional
750 termlib internals. Currently, it requires the sp-funcs feature to
752 + completed integrating "sp-funcs" by Juergen Pfeifer in ncurses
753 library (some work remains for forms library).
756 + document return code from define_key (report by Mike Gran).
757 + make some symbolic links in the terminfo directory-tree shorter
758 (patch by Daniel Jacobowitz, forwarded by Sven Joachim).).
759 + fix some groff warnings in terminfo.5, etc., from recent Debian
761 + change ncv and op capabilities in sun-color terminfo entry to match
762 Sun's entry for this (report by Laszlo Peter).
763 + improve interix smso terminfo capability by using reverse rather than
764 bold (report by Kristof Zelechovski).
767 + add some test programs (and make these use the same special keys
768 by sharing linedata.h functions):
772 test/test_add_wchstr.c
773 + correct internal _nc_insert_ch() to use _nc_insert_wch() when
774 inserting wide characters, since the wins_wch() function that it used
775 did not update the cursor position (report by Ciprian Craciun).
778 + fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not
780 + add null-pointer checks to other opaque-functions.
781 + add is_pad() and is_subwin() functions for opaque access to WINDOW
782 (discussion with Mark Dickinson).
783 + correct merge to lib_newterm.c, which broke when sp-funcs was
787 + build-fix for building outside source-tree (report by Sven Joachim).
788 + fix Debian lintian warning for man/tabs.1 by making section number
789 agree with file-suffix (report by Sven Joachim).
790 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
793 + workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on
794 amd64 (Debian #542031).
795 + fix typo in curs_mouse.3x (Debian #429198).
798 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
801 + correct use of terminfo capabilities for initializing soft-keys,
802 broken in 20090509 merging.
803 + modify wgetch() to ensure it checks SIGWINCH when it gets an error
804 in non-blocking mode (patch by Clemens Ladisch).
805 + use PATH_SEPARATOR symbol when substituting into run_tic.sh, to
806 help with builds on non-Unix platforms such as OS/2 EMX.
807 + modify scripting for misc/run_tic.sh to test configure script's
808 $cross_compiling variable directly rather than comparing host/build
809 compiler names (prompted by comment in GenToo #249363).
810 + fix configure script option --with-database, which was coded as an
812 + build-fixes for --srcdir (report by Frederic L W Meunier).
815 + separate _nc_find_entry() and _nc_find_type_entry() from
816 implementation details of hash function.
819 + add tabs.1 to man/man_db.renames
820 + modify lib_addch.c to compensate for removal of wide-character test
821 from unctrl() in 20090704 (Debian #539735).
824 + improve discussion in INSTALL for use of system's tic/infocmp for
825 cross-compiling and building fallbacks.
826 + modify test/demo_termcap.c to correspond better to options in
828 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
829 + fix logic for 'V' in test/ncurses.c tests f/F.
832 + correct logic in tigetnum(), which caused tput program to treat all
833 string capabilities as numeric (report by Rajeev V Pillai,
837 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
840 + fix a null-pointer check in _nc_format_slks() in lib_slk.c, from
842 + modify _nc_find_type_entry() to use hashing.
843 + make CCHARW_MAX value configurable, noting that changing this would
844 change the size of cchar_t, and would be ABI-incompatible.
845 + modify test-programs, e.g,. test/view.c, to address subtle
846 differences between Tru64/Solaris and HPUX/AIX getcchar() return
848 + modify length returned by getcchar() to count the trailing null
849 which is documented in X/Open (cf: 20020427).
850 + fixes for test programs to build/work on HPUX and AIX, etc.
853 + improve performance of tigetstr, etc., by using hashing code from tic.
854 + minor fixes for memory-leak checking.
855 + add test/demo_terminfo, for comparison with demo_termcap
858 + remove wide-character checks from unctrl() (patch by Clemens Ladisch).
859 + revise wadd_wch() and wecho_wchar() to eliminate dependency on
861 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
864 + update llib-lncurses[wt] to use sp-funcs.
865 + various code-fixes to build/work with --disable-macros configure
867 + add several new files from Juergen Pfeifer which will be used when
868 integration of "sp-funcs" is complete. This includes a port to
872 + move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to
873 make includes of term.h without curses.h work (report by "Nix").
874 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
877 + fix a regression in lib_tputs.c, from ongoing merges.
880 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
883 + fix an infinite recursion when adding a legacy-coding 8-bit value
884 using insch() (report by Clemens Ladisch).
885 + free home-terminfo string in del_curterm() (patch by Dan Weber).
886 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
889 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
892 + work around antique BSD game's manipulation of stdscr, etc., versus
893 SCREEN's copy of the pointer (Debian #528411).
894 + add a cast to wattrset macro to avoid compiler warning when comparing
895 its result against ERR (adapted from patch by Matt Kraii, Debian
899 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
902 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
903 + add vwmterm terminfo entry (patch by Bryan Christ).
906 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
909 + build fix for _nc_free_and_exit() change in 20090418 (report by
913 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
916 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
917 This change finishes merging for menu and panel libraries, does
918 part of the form library.
921 + suppress configure check for static/dynamic linker flags for gcc on
922 Darwin (report by Nelson Beebe).
925 + extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
926 function key definitions from emx-base for consistency -TD
927 + correct missing final 'p' in pfkey capability of ansi.sys-old (report
928 by Kalle Olavi Niemitalo).
929 + improve test/ncurses.c 'F' test, show combining characters in color.
930 + quiet a false report by cppcheck in c++/cursesw.cc by eliminating
931 a temporary variable.
932 + use _nc_doalloc() rather than realloc() in a few places in ncurses
933 library to avoid leak in out-of-memory condition (reports by William
934 Egert and Martin Ettl based on cppcheck tool).
935 + add --with-ncurses-wrap-prefix option to test/configure (discussion
936 with Charles Wilson).
937 + use ncurses*-config scripts if available for test/configure.
938 + update test/aclocal.m4 and test/configure
939 > patches by Charles Wilson:
940 + modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
941 version numbers (e.g. which include alphabetic chars, as well as
942 digits, after the final '.').
943 + improve use of -no-undefined option for libtool by setting an
944 intermediate variable LT_UNDEF in the configure script, and then
945 using that in the libtool link-commands.
946 + fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
947 from 2009031 changes.
948 + improve mk-1st.awk script by writing separate cases for the
949 LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
950 termlib) is to be linked.
951 + modify configure.in to allow broken-linker configurations, not just
952 enable-reentrant, to set public wrap prefix.
955 + add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
956 build with tic and term libraries (patch by Charles Wilson).
957 + add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
958 (report by Charles Wilson).
959 + fix definition for c++/Makefile.in's SHLIB_LIST, which did not list
960 the form, menu or panel libraries (patch by Charles Wilson).
961 + add configure option --with-wrap-prefix to allow setting the prefix
962 for functions used to wrap global variables to something other than
963 "_nc_" (discussion with Charles Wilson).
966 + modify scripts to generate ncurses*-config and pc-files to add
967 dependency for tinfo library (patch by Charles Wilson).
968 + improve comparison of program-names when checking for linked flavors
969 such as "reset" by ignoring the executable suffix (reports by Charles
970 Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
972 + suppress configure check for static/dynamic linker flags for gcc on
973 Solaris 10, since gcc is confused by absence of static libc, and
974 does not switch back to dynamic mode before finishing the libraries
975 (reports by Joel Bertrand, Alan Pae).
976 + minor fixes to Intel compiler warning checks in configure script.
977 + modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
978 + modify set_curterm() to make broken-linker configuration work with
979 changes from 20090228 (report by Charles Wilson).
982 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
983 + modify declaration of cur_term when broken-linker is used, but
984 enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
987 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
990 + add configure script --enable-sp-funcs to enable the new set of
992 + start integrating patches by Juergen Pfeifer:
993 + add extended functions which specify the SCREEN pointer for several
994 curses functions which use the global SP (these are incomplete;
995 some internals work is needed to complete these).
996 + add special cases to configure script for MinGW port.
999 + update several configure macros from lynx changes
1000 + append (not prepend) to CFLAGS/CPPFLAGS
1001 + change variable from PATHSEP to PATH_SEPARATOR
1002 + improve install-rules for pc-files (patch by Miroslav Lichvar).
1003 + make it work with $DESTDIR
1004 + create the pkg-config library directory if needed.
1007 + modify init_pair() to allow caller to create extra color pairs beyond
1008 the color_pairs limit, which use default colors (request by Emanuele
1010 + add misc/terminfo.tmp and misc/*.pc to "sources" rule.
1011 + fix typo "==" where "=" is needed in ncurses-config.in and
1012 gen-pkgconfig.in files (Debian #512161).
1015 + add -shared option to MK_SHARED_LIB when -Bsharable is used, for
1016 *BSD's, without which "main" might be one of the shared library's
1017 dependencies (report/analysis by Ken Dickey).
1018 + modify waddch_literal(), updating line-pointer after a multicolumn
1019 character is found to not fit on the current row, and wrapping is
1020 done. Since the line-pointer was not updated, the wrapped
1021 multicolumn character was written to the beginning of the current row
1022 (cf: 20041023, reported by "Nick" regarding problem with ncmpc
1023 http://musicpd.org/mantis/bug_view_page.php?bug_id=1930).
1026 + add screen.Eterm terminfo entry (GenToo #124887) -TD
1027 + modify adacurses-config to look for ".ali" files in the adalib
1029 + correct install for Ada95, which omitted libAdaCurses.a used in
1031 + change install for adacurses-config to provide additional flavors
1032 such as adacursesw-config, for ncursesw (GenToo #167849).
1035 + remove undeveloped feature in ncurses-config.in for setting
1037 + recent change to ncurses-config.in did not take into account the
1038 --disable-overwrite option, which sets $includedir to the
1039 subdirectory and using just that for a -I option does not work - fix
1040 (report by Frederic L W Meunier).
1043 + modify gen-pkgconfig.in to eliminate a dependency on rpath when
1044 deciding whether to add $LIBS to --libs output; that should be shown
1045 for the ncurses and tinfo libraries without taking rpath into
1047 + fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
1048 used in static libraries (report by Marty Jack).
1051 + add a configure-time check to pick a suitable value for
1052 CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).
1053 + add configure --with-pkg-config and --enable-pc-files options, along
1054 with misc/gen-pkgconfig.in which can be used to generate ".pc" files
1055 for pkg-config (request by Jan Engelhardt).
1056 + use $includedir symbol in misc/ncurses-config.in, add --includedir
1058 + change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a
1059 configure check to detect whether a "-" is needed before "ar"
1061 + update config.guess, config.sub from
1062 http://savannah.gnu.org/projects/config
1065 + modify mk-1st.awk to work with extra categories for tinfo library.
1066 + modify configure script to allow building shared libraries with gcc
1067 on AIX 5 or 6 (adapted from patch by Lital Natan).
1070 + modify to omit the opaque-functions from lib_gen.o when
1071 --disable-ext-funcs is used.
1072 + add test/clip_printw.c to illustrate how to use printw without
1074 + modify ncurses 'F' test to demo wborder_set() with colored lines.
1075 + modify ncurses 'f' test to demo wborder() with colored lines.
1078 + add check for failure to open hashed-database needed for db4.6
1080 + corrected --without-manpages option; previous change only suppressed
1081 the auxiliary rules install.man and uninstall.man
1082 + add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
1084 + fixes from NetBSD port at
1085 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
1086 patch-ac (build-fix for DragonFly)
1087 patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
1088 + improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
1089 by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
1091 + correct title string for keybound manpage (patch by Frederic Culot,
1092 OpenBSD documentation/6019),
1095 + move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
1096 work for progs/clear, progs/tabs, etc.
1097 + correct buffer-size after internal resizing of wide-character
1098 set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
1099 + add "-i" option to test/filter.c to tell it to use initscr() rather
1100 than newterm(), to investigate report on comp.unix.programmer that
1101 ncurses would clear the screen in that case (it does not - the issue
1102 was xterm's alternate screen feature).
1103 + add check in mouse-driver to disable connection if GPM returns a
1104 zero, indicating that the connection is closed (Debian #506717,
1105 adapted from patch by Samuel Thibault).
1108 + improve a workaround in adding wide-characters, when a control
1109 character is found. The library (cf: 20040207) uses unctrl() to
1110 obtain a printable version of the control character, but was not
1111 passing color or video attributes.
1112 + improve test/ncurses.c 'a' test, using unctrl() more consistently to
1113 display meta-characters.
1114 + turn on _XOPEN_CURSES definition in curses.h
1115 + add eterm-color entry (report by Vincent Lefevre) -TD
1116 + correct use of key_name() in test/ncurses.c 'A' test, which only
1117 displays wide-characters, not key-codes since 20070612 (report by
1121 + change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
1122 Ada95 (patch by Juergen Pfeifer).
1123 + document in TO-DO an issue with Cygwin's package for GNAT (report
1125 + improve error-checking of command-line options in "tabs" program.
1128 + change several terminfo entries to make consistent use of ANSI
1130 + add "tabs" program (prompted by Debian #502260).
1131 + add configure --without-manpages option (request by Mike Frysinger).
1133 20081102 5.7 release for upload to ftp.gnu.org
1136 + add a manpage to discuss memory leaks.
1137 + add support for shared libraries for QNX (other than libtool, which
1138 does not work well on that platform).
1139 + build-fix for QNX C++ binding.
1142 + build-fixes for OS/2 EMX.
1143 + modify form library to accept control characters such as newline
1144 in set_field_buffer(), which is compatible with Solaris (report by
1146 + modify configure script to assume --without-hashed-db when
1147 --disable-database is used.
1148 + add "-e" option in ncurses/Makefile.in when generating source-files
1149 to force earlier exit if the build environment fails unexpectedly
1150 (prompted by patch by Adrian Bunk).
1151 + change configure script to use CF_UTF8_LIB, improved variant of
1155 + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
1156 original to teraterm2.3 -TD
1157 + update "gnome" terminfo to 2.22.3 -TD
1158 + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
1159 + add "aterm" terminfo -TD
1160 + add "linux2.6.26" terminfo -TD
1161 + add logic to tic for cancelling strings in user-defined capabilities,
1165 + regenerated html documentation.
1166 + add -m and -s options to test/keynames.c and test/key_names.c to test
1167 the meta() function with keyname() or key_name(), respectively.
1168 + correct return value of key_name() on error; it is null.
1169 + document some unresolved issues for rpath and pthreads in TO-DO.
1170 + fix a missing prototype for ioctl() on OpenBSD in tset.c
1171 + add configure option --disable-tic-depends to make explicit whether
1172 tic library depends on ncurses/ncursesw library, amends change from
1173 20080823 (prompted by Debian #501421).
1176 + some build-fixes for configure --disable-ext-funcs (incomplete, but
1177 works for C/C++ parts).
1178 + improve configure-check for awks unable to handle large strings, e.g.
1179 AIX 5.1 whose awk silently gives up on large printf's.
1182 + fix build for --with-dmalloc by workaround for redefinition of
1183 strndup between string.h and dmalloc.h
1184 + fix build for --disable-sigwinch
1185 + add environment variable NCURSES_GPM_TERMS to allow override to use
1186 GPM on terminals other than "linux", etc.
1187 + disable GPM mouse support when $TERM does not happen to contain
1188 "linux", since Gpm_Open() no longer limits its assertion to terminals
1189 that it might handle, e.g., within "screen" in xterm.
1190 + reset mouse file-descriptor when unloading GPM library (report by
1192 + fix build for --disable-leaks --enable-widec --with-termlib
1193 > patch by Juergen Pfeifer:
1194 + use improved initialization for soft-label keys in Ada95 sample code.
1195 + discard internal symbol _nc_slk_format (unused since 20080112).
1196 + move call of slk_paint_info() from _nc_slk_initialize() to
1197 slk_intern_refresh(), improving initialization.
1200 + fix bug in mouse code for GPM from 20080920 changes (reported in
1201 Debian #500103, also Miroslav Lichvar).
1204 + fix shared-library rules for cygwin with tic- and tinfo-libraries.
1205 + fix a memory leak when failure to connect to GPM.
1206 + correct check for notimeout() in wgetch() (report on linux.redhat
1207 newsgroup by FurtiveBertie).
1208 + add an example warning-suppression file for valgrind,
1209 misc/ncurses.supp (based on example from Reuben Thomas)
1212 + change shared-library configuration for OpenBSD, make rpath work.
1213 + build-fixes for using libutf8, e.g., on OpenBSD 3.7
1216 + corrected fix for --enable-weak-symbols (report by Frederic L W
1220 + corrected gcc options for building shared libraries on IRIX64.
1221 + add configure check for awk programs unable to handle big-strings,
1222 use that to improve the default for --enable-big-strings option.
1223 + makefile-fixes for --enable-weak-symbols (report by Frederic L W
1225 + update test/configure script.
1226 + adapt ifdef's from library to make test/view.c build when mbrtowc()
1227 is unavailable, e.g., with HPUX 10.20.
1228 + add configure check for wcsrtombs, mbsrtowcs, which are used in
1229 test/ncurses.c, and use wcstombs, mbstowcs instead if available,
1230 fixing build of ncursew for HPUX 11.00
1233 + fixes to make Ada95 demo_panels() example work.
1234 + modify Ada95 'rain' test program to accept keyboard commands like the
1236 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott
1238 + add configure-check to see if the std namespace is legal for cerr
1239 and endl, to fix a build issue with Tru64.
1240 + consistently use NCURSES_BOOL in lib_gen.c
1241 + filter #line's from lib_gen.c
1242 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
1243 substitution by IBM xlc to '#' as part of its extensions to digraphs.
1244 + update config.guess, config.sub from
1245 http://savannah.gnu.org/projects/config
1246 (caveat - its maintainer removed support for older Linux systems).
1249 + modify configure check for pthread library to work with OSF/1 5.1,
1250 which uses #define's to associate its header and library.
1251 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
1252 makes threaded code work on HPUX 11.23
1253 + fix a bug in demo_menus in freeing menus (cf: 20080804).
1254 + modify configure script for the case where tic library is used (and
1255 possibly renamed) to remove its dependency upon ncurses/ncursew
1256 library (patch by Dr Werner Fink).
1257 + correct manpage for menu_fore() which gave wrong default for
1258 the attribute used to display a selected entry (report by Mike Gran).
1259 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
1263 + add configure option --enable-weak-symbols to turn on new feature.
1264 + add configure-check for availability of weak symbols.
1265 + modify linkage with pthread library to use weak symbols so that
1266 applications not linked to that library will not use the mutexes,
1267 etc. This relies on gcc, and may be platform-specific (patch by Dr
1269 + add note to INSTALL to document limitation of renaming of tic library
1270 using the --with-ticlib configure option (report by Dr Werner Fink).
1271 + document (in manpage) why tputs does not detect I/O errors (prompted
1272 by comments by Samuel Thibault).
1273 + fix remaining warnings from Klocwork report.
1276 + modify _nc_panelhook() data to account for a permanent memory leak.
1277 + fix memory leaks in test/demo_menus
1278 + fix most warnings from Klocwork tool (report by Larry Zhou).
1279 + modify configure script CF_XOPEN_SOURCE macro to add case for
1280 "dragonfly" from xterm #236 changes.
1281 + modify configure script --with-hashed-db to let $LIBS override the
1282 search for the db library (prompted by report by Samson Pierre).
1285 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
1289 + build-fix (reports by Christian Ebert, Funda Wang).
1292 + compiler-warning fixes for Solaris.
1295 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
1296 make those work properly with the "--enable-ext-mouse" configuration
1298 + improve documentation of build-cc options in INSTALL.
1299 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the
1300 -static/-dynamic flags properly to linker, causing test/bs to
1304 + correct some ifdef's needed for the broken-linker configuration.
1305 + make debugging library's $BAUDRATE feature work for termcap
1307 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted
1308 by comment on FreeBSD mailing list).
1309 + add screen.mlterm terminfo entry -TD
1310 + improve mlterm and mlterm+pcfkeys terminfo entries -TD
1313 + regenerated html documentation.
1314 + expand manpage description of parameters for form_driver() and
1315 menu_driver() (prompted by discussion with Adam Spragg).
1316 + add null-pointer checks for cur_term in baudrate() and
1317 def_shell_mode(), def_prog_mode()
1318 + fix some memory leaks in delscreen() and wide acs.
1321 + modify test/ditto.c to illustrate multi-threaded use_screen().
1322 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
1323 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
1327 + finish changes to wgetch(), making it switch as needed to the
1328 window's actual screen when calling wrefresh() and wgetnstr(). That
1329 allows wgetch() to get used concurrently in different threads with
1330 some minor restrictions, e.g., the application should not delete a
1331 window which is being used in a wgetch().
1332 + simplify mutex's, combining the window- and screen-mutex's.
1335 + modify wgetch() to use the screen which corresponds to its window
1336 parameter rather than relying on SP; some dependent functions still
1338 + factor out most use of SP in lib_mouse.c, using parameter.
1339 + add internal _nc_keyname(), replacing keyname() to associate with a
1340 particular SCREEN rather than the global SP.
1341 + add internal _nc_unctrl(), replacing unctrl() to associate with a
1342 particular SCREEN rather than the global SP.
1343 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
1344 its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
1345 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
1346 preference to the global _nc_globals.tracechr_buf buffer.
1349 + modify _nc_keypad() to make it switch temporarily as needed to the
1350 screen which must be updated.
1351 + wrap cur_term variable to help make _nc_keymap() thread-safe, and
1352 always set the screen's copy of this variable in set_curterm().
1353 + restore curs_set() state after endwin()/refresh() (report/patch
1357 + modify configure script to note that --enable-ext-colors and
1358 --enable-ext-mouse are not experimental, but extensions from
1360 + corrected manpage description of setcchar() (discussion with
1361 Emanuele Giaquinta).
1362 + fix for adding a non-spacing character at the beginning of a line
1363 (report/patch by Miroslav Lichvar).
1366 + modify screen.* terminfo entries using new screen+fkeys to fix
1367 overridden keys in screen.rxvt (Debian #478094) -TD
1368 + modify internal interfaces to reduce wgetch()'s dependency on the
1370 + simplify some loops with macros each_screen(), each_window() and
1374 + continue modifying test/ditto.c toward making it demonstrate
1375 multithreaded use_screen(), using fifos to pass data between screens.
1376 + fix typo in form.3x (report by Mike Gran).
1379 + add screen.rxvt terminfo entry -TD
1380 + modify tic -f option to format spaces as \s to prevent them from
1381 being lost when that is read back in unformatted strings.
1382 + improve test/ditto.c, using a "talk"-style layout.
1385 + change test/ditto.c to use openpty() and xterm.
1386 + add locks for copywin(), dupwin(), overlap(), overlay() on their
1388 + add locks for initscr() and newterm() on updates to the SCREEN
1390 + finish table in curs_thread.3x manpage.
1393 + begin table in curs_thread.3x manpage describing the scope of data
1394 used by each function (or symbol) for threading analysis.
1395 + add null-pointer checks to setsyx() and getsyx() (prompted by
1396 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
1397 python-dev2 mailing list).
1400 + add null-pointer checks in set_term() and delscreen().
1401 + move _nc_windows into _nc_globals, since windows can be pads, which
1402 are not associated with a particular screen.
1403 + change use_screen() to pass the SCREEN* parameter rather than
1404 stdscr to the callback function.
1405 + force libtool to use tag for 'CC' in case it does not detect this,
1406 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
1407 (report/patch by Michael Haubenwallner).
1408 + override OBJEXT to "lo" when building with libtool, to work on
1409 platforms such as AIX where libtool may use a different suffix for
1410 the object files than ".o" (report/patch by Michael Haubenwallner).
1411 + add configure --with-pthread option, for building with the POSIX
1415 + fill in extended-color pair two more places in wbkgrndset() and
1416 waddch_nosync() (prompted by Sedeno's patch).
1417 + fill in extended-color pair in _nc_build_wch() to make colors work
1418 for wide-characters using extended-colors (patch by Alejandro R
1420 + add x/X toggles to ncurses.c C color test to test/demo
1421 wide-characters with extended-colors.
1422 + add a/A toggles to ncurses.c c/C color tests.
1423 + modify test/ditto.c to use use_screen().
1424 + finish modifying test/rain.c to demonstrate threads.
1427 + start modifying test/rain.c for threading demo.
1428 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
1429 that the 'F' accepts.
1430 + modify test/worm.c to show trail in reverse-video when other threads
1431 are working concurrently.
1432 + fix a deadlock from improper nesting of mutexes for windowlist and
1436 + fixes from 20080223 resolved issue with mutexes; change to use
1437 recursive mutexes to fix memory leak in delwin() as called from
1438 _nc_free_and_exit().
1441 + fix a size-difference in _nc_globals which caused hanging of mutex
1442 lock/unlock when termlib was built separately.
1445 + avoid using nanosleep() in threaded configuration since that often
1446 is implemented to suspend the entire process.
1449 + update test programs to build/work with various UNIX curses for
1450 comparisons. This was to reinvestigate statement in X/Open curses
1451 that insnstr and winsnstr perform wrapping. None of the Unix-branded
1452 implementations do this, as noted in manpage (cf: 20040228).
1455 + modify _nc_setupscreen() to set the legacy-coding value the same
1456 for both narrow/wide models. It had been set only for wide model,
1457 but is needed to make unctrl() work with locale in the narrow model.
1458 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
1459 using unctrl() to display illegal bytes rather than trying to append
1460 further bytes to make up a valid sequence (reported by Andrey A
1462 + modify unctrl() to check codes in 128-255 range versus isprint().
1463 If they are not printable, and locale was set, use a "M-" or "~"
1467 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
1468 handling). Now it hangs in napms(), no matter whether nanosleep()
1469 or poll() or select() are used on Linux.
1472 + fixes to build with --disable-ext-funcs
1473 + add manpage for use_window and use_screen.
1474 + add set_tabsize() and set_escdelay() functions.
1477 + remove recursive-mutex definitions, finish threading demo for worm.c
1478 + remove a redundant adjustment of lines in resizeterm.c's
1479 adjust_window() which caused occasional misadjustment of stdscr when
1483 + several improvements to terminfo entries based on xterm #230 -TD
1484 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
1485 "link_test" builds properly.
1486 + fix for toe command-line options -u/-U to ensure filename is given.
1487 + fix allocation-size for command-line parsing in infocmp from 20070728
1488 (report by Miroslav Lichvar)
1489 + improve resizeterm() by moving ripped-off lines, and repainting the
1490 soft-keys (report by Katarina Machalkova)
1491 + add clarification in wclear's manpage noting that the screen will be
1492 cleared even if a subwindow is cleared (prompted by Christer Enfors
1494 + change test/ncurses.c soft-key tests to work with KEY_RESIZE.
1497 + continue implementing support for threading demo by adding mutex
1501 + add several functions to C++ binding which wrap C functions that
1502 pass a WINDOW* parameter (request by Chris Lee).
1505 + add note about configure options needed for Berkeley database to the
1507 + improve checks for version of Berkeley database libraries.
1508 + amend fix for rpath to not modify LDFLAGS if the platform has no
1509 applicable transformation (report by Christian Ebert, cf: 20071124).
1512 + modify configure option --with-hashed-db to accept a parameter which
1513 is the install-prefix of a given Berkeley Database (prompted by
1514 pierre4d2 comments).
1515 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is
1516 used in the form library to determine the length of the buffer needed
1517 by field_buffer (report by Alfred Fung).
1518 + remove unneeded window-parameter from C++ binding for wresize (report
1522 + modify the support for filesystems which do not support mixed-case to
1523 generate 2-character (hexadecimal) codes for the lower-level of the
1524 filesystem terminfo database (request by Michail Vidiassov).
1525 + add configure option --enable-mixed-case, to allow overriding the
1526 configure script's check if the filesystem supports mixed-case
1528 + add wresize() to C++ binding (request by Chris Lee).
1529 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
1530 it simpler to tell if the extended functions and/or colors are
1534 + update memory-leak checks for changes to names.c and codes.c
1535 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
1538 + continue implementing support for threading demo by adding mutex
1540 + add mrxvt terminfo entry, add/fix xterm building blocks for modified
1542 + compile with FreeBSD "contemporary" TTY interface (patch by
1546 + modify makefile rules to allow clear, tput and tset to be built
1547 without libtic. The other programs (infocmp, tic and toe) rely on
1549 + add/modify null-pointer checks in several functions for SP and/or
1550 the WINDOW* parameter (report by Thorben Krueger).
1551 + fixes for field_buffer() in formw library (see Redhat Bugzilla
1552 #310071, patches by Miroslav Lichvar).
1553 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
1555 + update/improve mlterm and rxvt terminfo entries, e.g., for
1556 the modified cursor- and keypad-keys -TD
1559 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
1560 changes the CharEq() macro to an inline function to allow comparing
1561 cchar_t struct's without comparing gaps in a possibly unpacked
1562 memory layout (report by Miroslav Lichvar).
1565 + add new functions to lib_trace.c to setup mutex's for the _tracef()
1566 calls within the ncurses library.
1567 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into
1569 + start modifying test/worm.c to provide threading demo (incomplete).
1570 + separated ifdef's for some BSD-related symbols in tset.c, to make
1571 it compile on LynxOS (report by Greg Gemmer).
1573 + modify Ada95/gen/Makefile to use shlib script, to simplify building
1574 shared-library configuration on platforms lacking rpath support.
1575 + build-fix for Ada95/src/Makefile to reflect changed dependency for
1576 the terminal-interface-curses-aux.adb file which is now generated.
1577 + restructuring test/worm.c, for use_window() example.
1580 + add use_window() and use_screen() functions, to develop into support
1581 for threaded library (incomplete).
1582 + fix typos in man/curs_opaque.3x which kept the install script from
1583 creating symbolic links to two aliases created in 20070818 (report by
1587 + remove a spurious newline from output of html.m4, which caused links
1588 for Ada95 html to be incorrect for the files generated using m4.
1589 + start investigating mutex's for SCREEN manipulation (incomplete).
1590 + minor cleanup of codes.c/names.c for --enable-const
1591 + expand/revise "Routine and Argument Names" section of ncurses manpage
1592 to address report by David Givens in newsgroup discussion.
1593 + fix interaction between --without-progs/--with-termcap configure
1594 options (report by Michail Vidiassov).
1595 + fix typo in "--disable-relink" option (report by Michail Vidiassov).
1598 + fix a sign-extension bug in infocmp's repair_acsc() function
1600 + fix old configure script bug which prevented "--disable-warnings"
1601 option from working (patch by Mike Frysinger).
1604 + add 9term terminal description (request by Juhapekka Tolvanen) -TD
1605 + modify comp_hash.c's string output to avoid misinterpreting a null
1606 "\0" followed by a digit.
1607 + modify MKnames.awk and MKcodes.awk to support big-strings.
1608 This only applies to the cases (broken linker, reentrant) where
1609 the corresponding arrays are accessed via wrapper functions.
1610 + split MKnames.awk into two scripts, eliminating the shell redirection
1611 which complicated the make process and also the bogus timestamp file
1612 which was introduced to fix "make -j".
1613 + add test/test_opaque.c, test/test_arrays.c
1614 + add wgetscrreg() and wgetparent() for applications that may need it
1615 when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
1618 + amend treatment of infocmp "-r" option to retain the 1023-byte limit
1619 unless "-T" is given (cf: 981017).
1620 + modify comp_captab.c generation to use big-strings.
1621 + make _nc_capalias_table and _nc_infoalias_table private accessed via
1622 _nc_get_alias_table() since the tables are used only within the tic
1624 + modify configure script to skip Intel compiler in CF_C_INLINE.
1625 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
1626 _nc_get_hash_table() since the tables are used only within the tic
1630 + make _nc_capalias_table and _nc_infoalias_table private, accessed via
1631 _nc_get_alias_table() since they are used only by parse_entry.c
1632 + make _nc_key_names private since it is used only by lib_keyname.c
1633 + add --disable-big-strings configure option to control whether
1634 unctrl.c is generated using the big-string optimization - which may
1635 use strings longer than supported by a given compiler.
1636 + reduce relocation tables for tic, infocmp by changing type of
1637 internal hash tables to short, and make those private symbols.
1638 + eliminate large fixed arrays from progs/infocmp.c
1641 + change winnstr() to stop at the end of the line (cf: 970315).
1642 + add test/test_get_wstr.c
1643 + add test/test_getstr.c
1644 + add test/test_inwstr.c
1645 + add test/test_instr.c
1648 + restore a call to obtain screen-size in _nc_setupterm(), which
1649 is used in tput and other non-screen applications via setupterm()
1650 (Debian #433357, reported by Florent Bayle, Christian Ohm,
1654 + add test/savescreen.c test-program
1655 + add check to trace-file open, if the given name is a directory, add
1656 ".log" to the name and try again.
1657 + add konsole-256color entry -TD
1658 + add extra gcc warning options from xterm.
1659 + minor fixes for ncurses/hashmap test-program.
1660 + modify configure script to quiet c++ build with libtool when the
1661 --disable-echo option is used.
1662 + modify configure script to disable ada95 if libtool is selected,
1663 writing a warning message (addresses FreeBSD ports/114493).
1664 + update config.guess, config.sub
1667 + add continuous-move "M" to demo_panels to help test refresh changes.
1668 + improve fix for refresh of window on top of multi-column characters,
1669 taking into account some split characters on left/right window
1673 + add "widec" row to _tracedump() output to help diagnose remaining
1674 problems with multi-column characters.
1675 + partial fix for refresh of window on top of multi-column characters
1676 which are partly overwritten (report by Sadrul H Chowdhury).
1677 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
1678 multi-column extension bits are passed there.
1679 + add setlocale() call to demo_panels.c, needed for wide-characters.
1680 + add some output flags to _nc_trace_ttymode to help diagnose a bug
1681 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
1684 + add test/demo_panels.c
1685 + implement opaque version of setsyx() and getsyx().
1688 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
1690 + split-out key_name() from MKkeyname.awk since it now depends upon
1691 wunctrl() which is not in libtinfo (report by Rong-En Fan).
1694 + add test/key_name.c
1695 + add stdscr cases to test/inchs.c and test/inch_wide.c
1696 + update test/configure
1697 + correct formatting of DEL (0x7f) in _nc_vischar().
1698 + null-terminate result of wunctrl().
1699 + add null-pointer check in key_name() (report by Andreas Krennmair,
1703 + adapt mouse-handling code from menu library in form-library
1704 (discussion with Clive Nicolson).
1705 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
1706 illustrate how to use mvcur().
1707 + modify wide-character flavor of SetAttr() to preserve the
1708 WidecExt() value stored in the .attr field, e.g., in case it
1709 is overwritten by chgat (report by Aleksi Torhamo).
1710 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
1711 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
1714 + modify keyname() to use "^X" form only if meta() has been called, or
1715 if keyname() is called without initializing curses, e.g., via
1716 initscr() or newterm() (prompted by LinuxBase #1604).
1717 + document some portability issues in man/curs_util.3x
1718 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
1719 broken by moving that data into SCREEN (cf: 20061230).
1722 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
1723 problem reported by Sadrul H Chowdhury with repainting parts of
1725 + modify slk_init() so that if there are preceding calls to
1726 ripoffline(), those affect the available lines for soft-keys (adapted
1727 from patch by Clive Nicolson).
1728 + document some portability issues in man/curs_getyx.3x
1731 + fix a bug in Ada95/samples/ncurses which caused a variable to
1732 become uninitialized in the "b" test.
1733 + fix Ada95/gen/Makefile.in adahtml rule to account for recent
1734 movement of files, fix a few incorrect manpage references in the
1736 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
1738 + correct some functions in Ada95 binding which were using return value
1739 from C where none was returned: idcok(), immedok() and wtimeout().
1740 + amend recent changes for Ada95 binding to make it build with
1741 Cygwin's linker, e.g., with configure options
1742 --enable-broken-linker --with-ticlib
1745 + add a configure check for gcc's options for inlining, use that to
1746 quiet a warning message where gcc's default behavior changed from
1748 + improve warning message when checking if GPM is linked to curses
1749 library by not warning if its use of "wgetch" is via a weak symbol.
1750 + add loader options when building with static libraries to ensure that
1751 an installed shared library for ncurses does not conflict. This is
1752 reported as problem with Tru64, but could affect other platforms
1753 (report Martin Mokrejs, analysis by Tim Mooney).
1754 + fix build on cygwin after recent ticlib/termlib changes, i.e.,
1755 + adjust TINFO_SUFFIX value to work with cygwin's dll naming
1756 + revert a change from 20070303 which commented out dependency of
1757 SHLIB_LIST in form/menu/panel/c++ libraries.
1758 + fix initialization of ripoff stack pointer (cf: 20070421).
1761 + move most static variables into structures _nc_globals and
1762 _nc_prescreen, to simplify storage.
1763 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
1764 type for data manipulated by signal handlers (prompted by comments
1765 in mailing.openbsd.bugs newsgroup).
1766 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
1767 to the libtool create- and link-operations.
1770 + fix whitespace in curs_opaque.3x which caused a spurious ';' in
1771 the installed aliases (report by Peter Santoro).
1772 + fix configure script to not try to generate adacurses-config when
1773 Ada95 tree is not built.
1776 + add man/curs_legacy.3x, man/curs_opaque.3x
1777 + fix acs_map binding for Ada95 when --enable-reentrant is used.
1778 + add adacurses-config to the Ada95 install, based on version from
1779 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
1780 comment on comp.lang.ada newsgroup).
1781 + fix includes in c++ binding to build with Intel compiler
1783 + update install rule in Ada95 to use mkdirs.sh
1784 > other fixes prompted by inspection for Coverity report:
1785 + modify ifdef's for c++ binding to use try/catch/throw statements
1786 + add a null-pointer check in tack/ansi.c request_cfss()
1787 + fix a memory leak in ncurses/base/wresize.c
1788 + corrected check for valid memu/meml capabilities in
1789 progs/dump_entry.c when handling V_HPUX case.
1790 > fixes based on Coverity report:
1791 + remove dead code in test/bs.c
1792 + remove dead code in test/demo_defkey.c
1793 + remove an unused assignment in progs/infocmp.c
1794 + fix a limit check in tack/ansi.c tools_charset()
1795 + fix tack/ansi.c tools_status() to perform the VT320/VT420
1796 tests in request_cfss(). The function had exited too soon.
1797 + fix a memory leak in tic.c's make_namelist()
1798 + fix a couple of places in tack/output.c which did not check for EOF.
1799 + fix a loop-condition in test/bs.c
1800 + add index checks in lib_color.c for color palettes
1801 + add index checks in progs/dump_entry.c for version_filter() handling
1803 + fix a possible null-pointer dereference in copywin()
1804 + fix a possible null-pointer dereference in waddchnstr()
1805 + add a null-pointer check in _nc_expand_try()
1806 + add a null-pointer check in tic.c's make_namelist()
1807 + add a null-pointer check in _nc_expand_try()
1808 + add null-pointer checks in test/cardfile.c
1809 + fix a double-free in ncurses/tinfo/trim_sgr0.c
1810 + fix a double-free in ncurses/base/wresize.c
1811 + add try/catch block to c++/cursesmain.cc
1814 + modify Ada95 binding to build with --enable-reentrant by wrapping
1815 global variables (bug: acs_map does not yet work).
1816 + modify Ada95 binding to use the new access-functions, allowing it
1817 to build/run when NCURSES_OPAQUE is set.
1818 + add access-functions and macros to return properties of the WINDOW
1819 structure, e.g., when NCURSES_OPAQUE is set.
1820 + improved install-sh's quoting.
1821 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
1825 + eliminate part of the direct use of WINDOW data from Ada95 interface.
1826 + fix substitutions for termlib filename to make configure option
1827 --enable-reentrant work with --with-termlib.
1828 + change a constructor for NCursesWindow to allow compiling with
1829 NCURSES_OPAQUE set, since we cannot pass a reference to
1833 + ignore --with-chtype=unsigned since unsigned is always added to
1834 the type in curses.h; do the same for --with-mmask-t.
1835 + change warning regarding --enable-ext-colors and wide-character
1836 in the configure script to an error.
1837 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
1838 such as Darwin's libtool program (report by Michail Vidiassov)
1839 + modify edit_man.sh to allow for multiple substitutions per line.
1840 + set locale in misc/ncurses-config.in since it uses a range
1841 + change permissions libncurses++.a install (report by Michail
1843 + corrected length of temporary buffer in wide-character version
1844 of set_field_buffer() (related to report by Bryan Christ).
1847 + fix mk-1st.awk script install_shlib() function, broken in 20070224
1848 changes for cygwin (report by Michail Vidiassov).
1851 + increase size of array in _nc_visbuf2n() to make "tic -v" work
1852 properly in its similar_sgr() function (report/analysis by Peter
1854 + add --enable-reentrant configure option for ongoing changes to
1855 implement a reentrant version of ncurses:
1856 + libraries are suffixed with "t"
1857 + wrap several global variables (curscr, newscr, stdscr, ttytype,
1858 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
1859 functions returning values stored in SCREEN or cur_term.
1860 + move some initialization (LINES, COLS) from lib_setup.c,
1861 i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
1864 + regenerated html documentation.
1865 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
1866 opaque in selected configurations.
1867 + move the chunk in lib_acs.c which resets acs capabilities when
1868 running on a terminal whose locale interferes with those into
1869 _nc_setupscreen(), so the libtinfo/libtinfow files can be made
1870 identical (requested by Miroslav Lichvar).
1871 + do not use configure variable SHLIB_LIBS for building libraries
1872 outside the ncurses directory, since that symbol is customized
1873 only for that directory, and using it introduces an unneeded
1874 dependency on libdl (requested by Miroslav Lichvar).
1875 + modify mk-1st.awk so the generated makefile rules for linking or
1876 installing shared libraries do not first remove the library, in
1877 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
1879 + revised section "Using NCURSES under XTERM" in ncurses-intro.html
1880 (prompted by newsgroup comment by Nick Guenther).
1883 + change internal return codes of _nc_wgetch() to check for cases
1884 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
1885 ungetch'd, and read by wget_wch().
1886 + fix static-library build broken in 20070217 changes to remove "-ldl"
1887 (report by Miroslav Lichvar).
1888 + change makefile/scripts for cygwin to allow building termlib.
1889 + use Form_Hook in manpages to match form.h
1890 + use Menu_Hook in manpages, as well as a few places in menu.h
1891 + correct form- and menu-manpages to use specific Field_Options,
1892 Menu_Options and Item_Options types.
1893 + correct prototype for _tracechar() in manpage (cf: 20011229).
1894 + correct prototype for wunctrl() in manpage.
1897 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
1899 + modify relinking of shared libraries to apply only when rpath is
1900 enabled, and add --disable-relink option which can be used to
1901 disable the feature altogether (reports by Michail Vidiassov,
1903 + fix --with-termlib option for wide-character configuration, stripping
1904 the "w" suffix in one place (report by Miroslav Lichvar).
1905 + remove "-ldl" from some library lists to reduce dependencies in
1906 programs (report by Miroslav Lichvar).
1907 + correct description of --enable-signed-char in configure --help
1908 (report by Michail Vidiassov).
1909 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
1910 which matches an earlier change to CF_SHARED_OPTS, from xterm #224
1912 + remove "${DESTDIR}" from -install_name option used for linking
1913 shared libraries on Darwin (report by Michail Vidiassov).
1916 + add test/inchs.c, test/inch_wide.c, to test win_wchnstr().
1917 + remove libdl from library list for termlib (report by Miroslav
1919 + fix configure.in to allow --without-progs --with-termlib (patch by
1921 + modify win_wchnstr() to ensure that only a base cell is returned
1922 for each multi-column character (prompted by report by Wei Kong
1923 regarding change in mvwin_wch() cf: 20041023).
1926 + modify fix_wchnstr() in form library to strip attributes (and color)
1927 from the cchar_t array (field cells) read from a field's window.
1928 Otherwise, when copying the field cells back to the window, the
1929 associated color overrides the field's background color (report by
1931 + improve tracing for form library, showing created forms, fields, etc.
1932 + ignore --enable-rpath configure option if --with-shared was omitted.
1933 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
1934 to allow leak-checking when both tic- and tinfo-libraries are built.
1935 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
1936 no longer relies on it.
1937 + disallow combining configure script options --with-ticlib and
1938 --enable-termcap (report by Rong-En Fan).
1939 + remove tack from ncurses tree.
1942 + fix typo in configure script that broke --with-termlib option
1943 (report by Rong-En Fan).
1946 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
1947 to tgetent() (report by Rong-en Fan).
1948 + update tack/HISTORY and tack/README to tell how to build it after
1949 it is removed from the ncurses tree.
1950 + fix configure check for libtool's version to trim blank lines
1951 (report by sci-fi@hush.ai).
1952 + review/eliminate other original-file artifacts in cursesw.cc, making
1953 its license consistent with ncurses.
1954 + use ncurses vw_scanw() rather than reading into a fixed buffer in
1955 the c++ binding for scanw() methods (prompted by report by Nuno Dias).
1956 + eliminate fixed-buffer vsprintf() calls in c++ binding.
1959 + add _nc_leaks_tic() to separate leak-checking of tic library from
1960 term/ncurses libraries, and thereby eliminate a library dependency.
1961 + fix test/mk-test.awk to ignore blank lines.
1962 + correct paths in include/headers, for --srcdir (patch by Miroslav
1966 + add a break-statement in misc/shlib to ensure that it exits on the
1967 _first_ matched directory (report by Paul Novak).
1968 + add tack/configure, which can be used to build tack outside the
1970 + add --with-ticlib option, to build/install the tic-support functions
1971 in a separate library (suggested by Miroslav Lichvar).
1974 + change MKunctrl.awk to reduce relocation table for unctrl.o
1975 + change MKkeyname.awk to reduce relocation table for keyname.o
1976 (patch by Miroslav Lichvar).
1979 + modify configure check for libtool's version to trim blank lines
1980 (report by sci-fi@hush.ai).
1981 + modify some modules to allow them to be reentrant if _REENTRANT is
1982 defined: lib_baudrate.c, resizeterm.c (local data only)
1983 + eliminate static data from some modules: add_tries.c, hardscroll.c,
1984 lib_ttyflags.c, lib_twait.c
1985 + improve manpage install to add aliases for the transformed program
1986 names, e.g., from --program-prefix.
1987 + used linklint to verify links in the HTML documentation, made fixes
1988 to manpages as needed.
1989 + fix a typo in curs_mouse.3x (report by William McBrine).
1990 + fix install-rule for ncurses5-config to make the bin-directory.
1993 + modify configure script to omit the tic (terminfo compiler) support
1994 from ncurses library if --without-progs option is given.
1995 + modify install rule for ncurses5-config to do this via "install.libs"
1996 + modify shared-library rules to allow FreeBSD 3.x to use rpath.
1997 + update config.guess, config.sub
1999 20061217 5.6 release for upload to ftp.gnu.org
2002 + add ifdef's for <wctype.h> for HPUX, which has the corresponding
2003 definitions in <wchar.h>.
2004 + revert the va_copy() change from 20061202, since it was neither
2005 correct nor portable.
2006 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
2008 + ignore wide-acs line-drawing characters that wcwidth() claims are
2009 not one-column. This is a workaround for Solaris' broken locale
2013 + modify configure --with-gpm option to allow it to accept a parameter,
2014 i.e., the name of the dynamic GPM library to load via dlopen()
2015 (requested by Bryan Henderson).
2016 + add configure option --with-valgrind, changes from vile.
2017 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
2018 'return' in preference to 'exit()'.
2021 + change default for --with-develop back to "no".
2022 + add XTABS to tracing of TTY bits.
2023 + updated autoconf patch to ifdef-out the misfeature which declares
2024 exit() for configure tests. This fixes a redefinition warning on
2026 + use ${CC} rather than ${LD} in shared library rules for IRIX64,
2027 Solaris to help ensure that initialization sections are provided for
2028 extra linkage requirements, e.g., of C++ applications (prompted by
2029 comment by Casper Dik in newsgroup).
2030 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
2031 from the autoconf predefined symbol. There was no conflict,
2032 since "$target" was used only in the generated edit_man.sh file,
2033 but SuSE's rpm package contains a patch.
2036 + update man/term.5 to reflect extended terminfo support and hashed
2037 database configuration.
2038 + updates for test/configure script.
2039 + adapted from SuSE rpm package:
2040 + remove long-obsolete workaround for broken-linker which declared
2042 + improve error recovery in PUTC() macro when wcrtomb() does not
2043 return usable results for an 8-bit character.
2044 + patches from rpm package (SuSE):
2045 + use va_copy() in extra varargs manipulation for tracing version
2047 + use a va_list rather than a null in _nc_freeall()'s call to
2048 _nc_printf_string().
2049 + add some see-also references in manpages to show related
2050 wide-character functions (suggested by Claus Fischer).
2053 + add a check in lib_color.c to ensure caller does not increase COLORS
2054 above max_colors, which is used as an array index (discussion with
2056 + add ifdef's allowing ncurses to be built with tparm() using either
2057 varargs (the existing status), or using a fixed-parameter list (to
2061 + fix redrawing of windows other than stdscr using wredrawln() by
2062 touching the corresponding rows in curscr (discussion with Dan
2065 + add test/echochar.c
2066 + review/cleanup manpage descriptions of error-returns for form- and
2067 menu-libraries (prompted by FreeBSD docs/46196).
2070 + add AUTHORS file -TD
2071 + omit the -D options from output of the new config script --cflags
2072 option (suggested by Ralf S Engelschall).
2073 + make NCURSES_INLINE unconditionally defined in curses.h
2076 + revert change to accommodate bash 3.2, since that breaks other
2077 platforms, e.g., Solaris.
2078 + minor fixes to NEWS file to simplify scripting to obtain list of
2080 + improve some shared-library configure scripting for Linux, FreeBSD
2081 and NetBSD to make "--with-shlib-version" work.
2082 + change configure-script rules for FreeBSD shared libraries to allow
2083 for rpath support in versions past 3.
2084 + use $(DESTDIR) in makefile rules for installing/uninstalling the
2085 package config script (reports/patches by Christian Wiese,
2086 Ralf S Engelschall).
2087 + fix a warning in the configure script for NetBSD 2.0, working around
2088 spurious blanks embedded in its ${MAKEFLAGS} symbol.
2089 + change test/Makefile to simplify installing test programs in a
2090 different directory when --enable-rpath is used.
2093 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
2094 + add/install a package config script, e.g., "ncurses5-config" or
2095 "ncursesw5-config", according to configuration options.
2098 + add several GNU Screen terminfo variations with 16- and 256-colors,
2099 and status line (Alain Bench).
2100 + change the way shared libraries (other than libtool) are installed.
2101 Rather than copying the build-tree's libraries, link the shared
2102 objects into the install directory. This makes the --with-rpath
2103 option work except with $(DESTDIR) (cf: 20000930).
2106 + fix ifdef in c++/internal.h for QNX 6.1
2107 + test-compiled with (old) egcs-1.1.2, modified configure script to
2108 not unset the $CXX and related variables which would prevent this.
2109 + fix a few terminfo.src typos exposed by improvments to "-f" option.
2110 + improve infocmp/tic "-f" option formatting.
2113 + make --disable-largefile option work (report by Thomas M Ott).
2114 + updated html documentation.
2115 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
2116 + minor improvements to rxvt+pcfkeys -TD
2119 + move static data from lib_mouse.c into SCREEN struct.
2120 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
2121 (report by Michail Vidiassov).
2122 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
2123 option (from lynx changes) -TD
2124 + adapt AC_PROG_EGREP check, noting that this is likely to be another
2125 place aggravated by POSIXLY_CORRECT.
2126 + modify configure check for awk to ensure that it is found (prompted
2127 by report by Christopher Parker).
2131 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
2132 + remove invis capability from klone+sgr, mainly used by linux entry,
2133 since it does not really do this -TD
2136 + correct logic in wadd_wch() and wecho_wch(), which did not guard
2137 against passing the multi-column attribute into a call on waddch(),
2138 e.g., using data returned by win_wch() (cf: 20041023)
2139 (report by Sadrul H Chowdhury).
2142 + fix kterm's acsc string -TD
2143 + fix for change to tic/infocmp in 20060819 to ensure no blank is
2144 embedded into a termcap description.
2145 + workaround for 20050806 ifdef's change to allow visbuf.c to compile
2146 when using --with-termlib --with-trace options.
2147 + improve tgetstr() by making the return value point into the user's
2148 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
2150 + correct libraries needed for foldkeys (report by Stanislav Ievlev)
2153 + add terminfo entries for xfce terminal (xfce) and multi gnome
2155 + add test/foldkeys.c
2158 + modify tic and infocmp to avoid writing trailing blanks on terminfo
2159 source output (Debian #378783).
2160 + modify configure script to ensure that if the C compiler is used
2161 rather than the loader in making shared libraries, the $(CFLAGS)
2162 variable is also used (Redhat Bugzilla #199369).
2163 + port hashed-db code to db2 and db3.
2164 + fix a bug in tgetent() from 20060625 and 20060715 changes
2165 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
2168 + updated xterm function-keys terminfo to match xterm #216 -TD
2169 + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
2170 e.g., the db 1.8.5 interface).
2173 + modify toe to access termcap data, e.g., via cgetent() functions,
2174 or as a text file if those are not available.
2175 + use _nc_basename() in tset to improve $SHELL check for csh/sh.
2176 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
2177 can access termcap data when the terminfo database is disabled.
2180 + widen the test for xterm kmous a little to allow for other strings
2181 than \E[M, e.g., for xterm-sco functionality in xterm.
2182 + update xterm-related terminfo entries to match xterm patch #216 -TD
2183 + update config.guess, config.sub
2186 + fix for install-rule in Ada95 to add terminal_interface.ads
2187 and terminal_interface.ali (anonymous posting in comp.lang.ada).
2188 + correction to manpage for getcchar() (report by William McBrine).
2190 + modify wchgat() to mark updated cells as changed so a refresh will
2191 repaint those cells (comments by Sadrul H Chowdhury and William
2193 + split up dependency of names.c and codes.c in ncurses/Makefile to
2194 work with parallel make (report/analysis by Joseph S Myers).
2195 + suppress a warning message (which is ignored) for systems without
2196 an ldconfig program (patch by Justin Hibbits).
2197 + modify configure script --disable-symlinks option to allow one to
2198 disable symlink() in tic even when link() does not work (report by
2200 + modify MKfallback.sh to use tic -x when constructing fallback tables
2201 to allow extended capabilities to be retrieved from a fallback entry.
2202 + improve leak-checking logic in tgetent() from 20060625 to ensure that
2203 it does not free the current screen (report by Miroslav Lichvar).
2206 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
2207 + correct _nc_free_entries() and related functions used for memory leak
2211 + revert a minor change for magic-cookie support from 20060513, which
2212 caused unexpected reset of attributes, e.g., when resizing test/view
2214 + note in clear manpage that the program ignores command-line
2215 parameters (prompted by Debian #371855).
2216 + fixes to make lib_gen.c build properly with changes to the configure
2217 --disable-macros option and NCURSES_NOMACROS (cf: 20060527)
2218 + update/correct several terminfo entries -TD
2219 + add some notes regarding copyright to terminfo.src -TD
2222 + fixes to build Ada95 binding with gnat-4.1.0
2223 + modify read_termtype() so the term_names data is always allocated as
2224 part of the str_table, a better fix for a memory leak (cf: 20030809).
2225 + reduce memory leaks in repeated calls to tgetent() by remembering the
2226 last TERMINAL* value allocated to hold the corresponding data and
2227 freeing that if the tgetent() result buffer is the same as the
2228 previous call (report by "Matt" for FreeBSD gnu/98975).
2229 + modify tack to test extended capability function-key strings.
2230 + improved gnome terminfo entry (GenToo #122566).
2231 + improved xterm-256color terminfo entry (patch by Alain Bench).
2234 + fix two small memory leaks related to repeated tgetent() calls
2235 with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
2236 + add --enable-signed-char to simplify Debian package.
2237 + reduce name-pollution in term.h by removing #define's for HAVE_xxx
2239 + correct typo in curs_terminfo.3x (Debian #369168).
2242 + enable the mouse in test/movewindow.c
2243 + improve a limit-check in frm_def.c (John Heasley).
2244 + minor copyright fixes.
2245 + change configure script to produce test/Makefile from data file.
2248 + add a configure option --enable-wgetch-events to enable
2249 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
2250 lib_twait.c (report by Bernd Jendrissek).
2251 + remove include/nomacros.h from build, since the ifdef for
2252 NCURSES_NOMACROS makes that obsolete.
2253 + add entrypoints for some functions which were only provided as macros
2254 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(),
2255 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
2257 + provide ifdef for NCURSES_NOMACROS which suppresses most macro
2258 definitions from curses.h, i.e., where a macro is defined to override
2259 a function to improve performance. Allowing a developer to suppress
2260 these definitions can simplify some application (discussion with
2262 + improve description of memu/meml in terminfo manpage.
2265 + if msgr is false, reset video attributes when doing an automargin
2266 wrap to the next line. This makes the ncurses 'k' test work properly
2268 + correct caching of keyname(), which was using only half of its table.
2269 + minor fixes to memory-leak checking.
2270 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
2271 arrays, making ACS_LEN less visible to applications (suggested by
2273 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
2274 _screen_acs_map will have the same offset in both ncurses/ncursesw,
2275 making the corresponding tinfo/tinfow libraries binary-compatible
2276 (cf: 20041016, report by Stanislav Ievlev).
2279 + improve debug-tracing for EmitRange().
2280 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS
2281 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
2282 suppression of the related hard-tabs and xmc-glitch features.
2283 + add ncurses version number to top-level manpages, e.g., ncurses, tic,
2284 infocmp, terminfo as well as form, menu, panel.
2285 + update config.guess, config.sub
2286 + modify ncurses.c to work around a bug in NetBSD 3.0 curses
2287 (field_buffer returning null for a valid field). The 'r' test
2288 appears to not work with that configuration since the new_fieldtype()
2289 function is broken in that implementation.
2292 + add hpterm-color terminfo entry -TD
2293 + fixes to compile test-programs with HPUX 11.23
2296 + add copyright notices to files other than those that are generated,
2297 data or adapted from pdcurses (reports by William McBrine, David
2299 + improve rendering on hpterm by not resetting attributes at the end
2300 of doupdate() if the terminal has the magic-cookie feature (report
2302 + add 256color variants of terminfo entries for programs which are
2303 reported to implement this feature -TD
2306 + fix typo in change to NewChar() macro from 20060311 changes, which
2307 broke tab-expansion (report by Frederic L W Meunier).
2310 + document -U option of tic and infocmp.
2311 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
2312 due to size limit, e.g., converting to termcap format. Also
2313 suppress them if the output format does not contain acsc and it
2314 was not VT100-like, i.e., a one-one mapping (Novell #163715).
2315 + add configure check to ensure that SIGWINCH is defined on platforms
2316 such as OS X which exclude that when _XOPEN_SOURCE, etc., are
2317 defined (report by Nicholas Cole)
2320 + modify write_object() to not write coincidental extensions of an
2321 entry made due to it being referenced in a use= clause (report by
2323 + another fix for infocmp -i option, which did not ensure that some
2324 escape sequences had comparable prefixes (report by Alain Bench).
2327 + improve discussion of init/reset in terminfo and tput manpages
2328 (report by Alain Bench).
2329 + use is3 string for a fallback of rs3 in the reset program; it was
2330 using is2 (report by Alain Bench).
2331 + correct logic for infocmp -i option, which did not account for
2332 multiple digits in a parameter (cf: 20040828) (report by Alain
2334 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
2335 option work after 20060114 changes (report by Arkadiusz Miskiewicz).
2336 + add copyright notices to test-programs as needed (report by William
2340 + modify ncurses.c 'F' test to combine the wide-characters with color
2341 and/or video attributes.
2342 + modify test/ncurses to use CTL/Q or ESC consistently for exiting
2343 a test-screen (some commands used 'x' or 'q').
2346 + fix an off-by-one in the scrolling-region change (cf_ 20060311).
2349 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
2350 a null character is found (report by Igor Bogomazov).
2351 + modify progs/Makefile.in to make "tput init" work properly with
2352 cygwin, i.e., do not pass a ".exe" in the reference string used
2353 in check_aliases (report by Samuel Thibault).
2354 + add some checks to ensure current position is within scrolling
2355 region before scrolling on a new line (report by Dan Gookin).
2356 + change some NewChar() usage to static variables to work around
2357 stack garbage introduced when cchar_t is not packed (Redhat #182024).
2360 + workarounds to build test/movewindow with PDcurses 2.7.
2361 + fix for nsterm-16color entry (patch by Alain Bench).
2362 + correct a typo in infocmp manpage (Debian #354281).
2365 + add nsterm-16color entry -TD
2366 + updated mlterm terminfo entry -TD
2367 + remove 970913 feature for copying subwindows as they are moved in
2368 mvwin() (discussion with Bryan Christ).
2369 + modify test/demo_menus.c to demonstrate moving a menu (both the
2370 window and subwindow) using shifted cursor-keys.
2371 + start implementing recursive mvwin() in movewindow.c (incomplete).
2372 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
2373 for movewindow.c (report by William McBrine).
2374 + add help-message to test/movewindow.c
2377 + add test/movewindow.c, to test mvderwin().
2378 + fix ncurses soft-key test so color changes are shown immediately
2379 rather than delayed.
2380 + modify ncurses soft-key test to hide the keys when exiting the test
2382 + fixes to build test programs with PDCurses 2.7, e.g., its headers
2383 rely on autoconf symbols, and it declares stubs for nonfunctional
2384 terminfo and termcap entrypoints.
2387 + improved test/configure to build test/ncurses on HPUX 11 using the
2389 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
2390 benefit of developers who do not read INSTALL.
2393 + correct form library Window_To_Buffer() change (cf: 20040516), which
2394 should ignore the video attributes (report by Ricardo Cantu).
2397 + minor fixes to xmc-glitch experimental code:
2398 + suppress line-drawing
2399 + implement max_attributes
2401 + minor fixes for the database iterator.
2402 + fix some buffer limits in c++ demo (comment by Falk Hueffner in
2406 + add toe -a option, to show all databases. This uses new private
2407 interfaces in the ncurses library for iterating through the list of
2409 + fix toe from 20000909 changes which made it not look at
2411 + make toe's -v option parameter optional as per manpage.
2412 + improve SIGWINCH handling by postponing its effect during newterm(),
2413 etc., when allocating screens.
2416 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use
2417 this in test/filter.c
2418 + fix an error in filter() modification which caused some applications
2422 + check if filter() was called when getting the screensize. Keep it
2423 at 1 if so (based on Redhat #174498).
2424 + add extension nofilter().
2425 + refined the workaround for ACS mapping.
2426 + make ifdef's consistent in curses.h for the extended colors so the
2427 header file can be used for the normal curses library. The header
2428 file installed for extended colors is a variation of the
2429 wide-character configuration (report by Frederic L W Meunier).
2432 + add a workaround to ACS mapping to allow applications such as
2433 test/blue.c to use the "PC ROM" characters by masking them with
2434 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
2435 of legacy coding (report by Michael Deutschmann).
2436 + add a null-pointer check in the wide-character version of
2437 calculate_actual_width() (report by Victor Julien).
2438 + improve test/ncurses 'd' (color-edit) test by allowing the RGB
2439 values to be set independently (patch by William McBrine).
2440 + modify test/configure script to allow building test programs with
2442 + modified test programs to allow some to work with NetBSD curses.
2443 Several do not because NetBSD curses implements a subset of X/Open
2444 curses, and also lacks much of SVr4 additions. But it's enough for
2446 + update config.guess and config.sub
2449 + use BSD-specific fix for return-value from cgetent() from CVS where
2450 an unknown terminal type would be reportd as "database not found".
2451 + make tgetent() return code more readable using new symbols
2453 + remove references to non-existent "tctest" program.
2454 + remove TESTPROGS from progs/Makefile.in (it was referring to code
2455 that was never built in that directory).
2456 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
2459 + add use_legacy_coding() function to support lynx's font-switching
2461 + fix formatting in curs_termcap.3x (report by Mike Frysinger).
2462 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
2466 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
2467 overwrite() and copywin() with different combinations of colors and
2468 attributes (including background color) to make it easy to see the
2469 effect of the different functions.
2470 + corrections to menu/m_global.c for wide-characters (report by
2474 + add configure option --without-dlsym, allowing developers to
2475 configure GPM support without using dlsym() (discussion with Michael
2477 + fix wins_nwstr(), which did not handle single-column non-8bit codes
2481 + move prototypes for wide-character trace functions from curses.tail
2482 to curses.wide to avoid accidental reference to those if
2483 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
2485 + add/use NCURSES_INLINE definition.
2486 + change some internal functions to use int/unsigned rather than the
2490 + remove a redundant check in lib_color.c (Debian #335655).
2491 + use ld's -search_paths_first option on Darwin to work around odd
2492 search rules on that platform (report by Christian Gennerat, analysis
2494 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
2495 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
2496 + fix several bugs in test/bs.c (patch by Stephen Lindholm).
2499 + other minor fixes to cygwin based on tack -TD
2500 + correct smacs in cygwin (Debian #338234, report by Baurzhan
2501 Ismagulov, who noted that it was fixed in Cygwin).
2504 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
2505 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
2506 since those record the state of multicolumn characters (Debian
2508 + modify werase to clear multicolumn characters that extend into
2509 a derived window (Debian #316663).
2512 + move assignment from environment variable ESCDELAY from initscr()
2513 down to newterm() so the environment variable affects timeouts for
2514 terminals opened with newterm() as well.
2515 + fix a memory leak in keyname().
2516 + add test/demo_altkeys.c
2517 + modify test/demo_defkey.c to exit from loop via 'q' to allow
2518 leak-checking, as well as fix a buffer size in winnstr() call.
2521 + correct order of use-clauses in rxvt-basic entry which made codes for
2522 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
2523 + suppress configure check for gnatmake if Ada95/Makefile.in is not
2525 + correct a typo in configure --with-bool option for the case where
2526 --without-cxx is used (report by Daniel Jacobowitz).
2527 + add a note to INSTALL's discussion of --with-normal, pointing out
2528 that one may wish to use --without-gpm to ensure a completely
2529 static link (prompted by report by Felix von Leitner).
2531 20051010 5.5 release for upload to ftp.gnu.org
2534 + document in demo_forms.c some portability issues.
2537 + document side-effect of werase() which sets the cursor position.
2538 + save/restore the current position in form field editing to make
2542 + correct header dependencies in progs, allowing parallel make (report
2543 by Daniel Jacobowitz).
2544 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
2545 the configure check for --with-build-cc (report by Daniel Jacobowitz).
2546 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
2548 + update config.guess and config.sub from
2549 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
2552 + modify sed expression which computes path for /usr/lib/terminfo
2553 symbolic link in install to ensure that it does not change unexpected
2554 levels of the path (Gentoo #42336).
2555 + modify default for --disable-lp64 configure option to reduce impact
2556 on existing 64-bit builds. Enabling the _LP64 option may change the
2557 size of chtype and mmask_t. However, for ABI 6, it is enabled by
2558 default (report by Mike Frysinger).
2559 + add configure script check for --enable-ext-mouse, bump ABI to 6 by
2560 default if it is used.
2561 + improve configure script logic for bumping ABI to omit this if the
2562 --with-abi-version option was used.
2563 + update address for Free Software Foundation in tack's source.
2564 + correct wins_wch(), which was not marking the filler-cells of
2565 multi-column characters (cf: 20041023).
2568 + modify mouse initialization to ensure that Gpm_Open() is called only
2569 once. Otherwise GPM gets confused in its initialization of signal
2570 handlers (Debian #326709).
2573 + modify logic for backspacing in a multiline form field to ensure that
2574 it works even when the preceding line is full (report by Frank van
2576 + remove comment about BUGS section of ncurses manpage (Debian #325481)
2579 + document some workarounds for shared and libtool library
2580 configurations in INSTALL (see --with-shared and --with-libtool).
2581 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
2582 cross-compilers which emit the platform name in their version
2584 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
2585 (report by Frank van Vugt).
2588 + start updating documentation for upcoming 5.5 release.
2589 + fix to make libtool and libtinfo work together again (cf: 20050122).
2590 + fixes to allow building traces into libtinfo
2591 + add debug trace to tic that shows if/how ncurses will write to the
2592 lower corner of a terminal's screen.
2593 + update llib-l* files.
2596 + modify initializers in c++ binding to build with old versions of g++.
2597 + improve special case for 20050115 repainting fix, ensuring that if
2598 the first changed cell is not a character that the range to be
2599 repainted is adjusted to start at a character's beginning (Debian
2603 + fixes to build on QNX 6.1
2604 + improve configure script checks for Intel 9.0 compiler.
2605 + remove #include's for libc.h (obsolete).
2606 + adjust ifdef's in curses.priv.h so that when cross-compiling to
2607 produce comp_hash and make_keys, no dependency on wchar.h is needed.
2608 That simplifies the build-cppflags (report by Frank van Vugt).
2609 + move modules related to key-binding into libtinfo to fix linkage
2610 problem caused by 20050430 changes to MKkeyname.sh (report by
2611 Konstantin Andreev).
2614 + updates/fixes for configure script macros from vile -TD
2615 + make prism9's sgr string agree with the rest of the terminfo -TD
2616 + make vt220's sgr0 string consistent with sgr string, do this for
2617 several related cases -TD
2618 + improve translation to termcap by filtering the 'me' (sgr0) strings
2619 as in the runtime call to tgetent() (prompted by a discussion with
2621 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
2622 resets line-drawing.
2625 + fix special cases for trimming sgr0 for hurd and vt220 (Debian
2627 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
2628 allow it to be used by tic to provide information about the runtime
2629 changes that would be made to sgr0 for termcap applications.
2630 + modify make_sed.sh to make the group-name in the NAME section of
2631 form/menu library manpage agree with the TITLE string when renaming
2632 is done for Debian (Debian #78866).
2635 + modify parameter type in c++ binding for insch() and mvwinsch() to
2636 be consistent with underlying ncurses library (was char, is chtype).
2637 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
2639 + improve configure check for nanosleep(), checking that it works since
2640 some older systems such as AIX 4.3 have a nonworking version.
2643 + update config.guess and config.sub from
2644 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
2645 + modify misc/shlib to work in test-directory.
2646 + suppress $suffix in misc/run_tic.sh when cross-compiling. This
2647 allows cross-compiles to use the host's tic program to handle the
2648 "make install.data" step.
2649 + improve description of $LINES and $COLUMNS variables in manpages
2650 (prompted by report by Dave Ulrick).
2651 + improve description of cross-compiling in INSTALL
2652 + add NCURSES-Programming-HOWTO.html by Pradeep Padala
2653 (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
2654 + modify configure script to obtain soname for GPM library (discussion
2655 with Daniel Jacobowitz).
2656 + modify configure script so that --with-chtype option will still
2657 compute the unsigned literals suffix for constants in curses.h
2658 (report by Daniel Jacobowitz:
2659 + patches from Daniel Jacobowitz:
2660 + the man_db.renames entry for tack.1 was backwards.
2661 + tack.1 had some 1m's that should have been 1M's.
2662 + the section for curs_inwstr.3 was wrong.
2665 + correction to --with-chtype option (report by Daniel Jacobowitz).
2668 + move build-time edit_man.sh and edit_man.sed scripts to top directory
2669 to simplify reusing them for renaming tack's manpage (prompted by a
2670 review of Debian package).
2671 + revert minor optimization from 20041030 (Debian #313609).
2672 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
2673 1.5.10 and 1.5.18 (all work except as noted previously for the c++
2674 install using libtool 1.5.0):
2675 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
2677 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
2678 + add configure options --with-chtype and --with-mmask-t, to allow
2679 overriding of the non-LP64 model's use of the corresponding types.
2680 + revise test for size of chtype (and mmask_t), which always returned
2681 "long" due to an uninitialized variable (report by Daniel Jacobowitz).
2684 + change _tracef's that used "%p" format for va_list values to ignore
2685 that, since on some platforms those are not pointers.
2686 + fixes for long-formats in printf's due to largefile support.
2689 + fixes for termcap support:
2690 + reset pointer to _nc_curr_token.tk_name when the input stream is
2691 closed, which could point to free memory (cf: 20030215).
2692 + delink TERMTYPE data which is used by the termcap reader, so that
2693 extended names data will be freed consistently.
2694 + free pointer to TERMTYPE data in _nc_free_termtype() rather than
2696 + add some entrypoints for freeing permanently allocated data via
2697 _nc_freeall() when NO_LEAKS is defined.
2698 + amend 20041030 change to _nc_do_color to ensure that optimization is
2699 applied only when the terminal supports back_color_erase (bce).
2702 + add sun-color terminfo entry -TD
2703 + correct a missing assignment in c++ binding's method
2704 NCursesPanel::UserPointer() from 20050409 changes.
2705 + improve configure check for large-files, adding check for dirent64
2707 + minor change to configure script to improve linker options for the
2711 + document error conditions for ncurses library functions (report by
2713 + regenerated html documentation for ada binding.
2714 see ftp://invisible-island.net/ncurses/patches/gnathtml
2717 + regenerated html documentation for manpages.
2718 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
2719 ncurses/Makefile (Gentoo #89772).
2720 + modify c++/demo.cc to build with g++ -fno-implicit-templates option
2721 (patch by Mike Frysinger).
2722 + modify tic to filter out long extended names when translating to
2723 termcap format. Only two characters are permissible for termcap
2727 + modify terminfo entries xterm-new and rxvt to add strings for
2728 shift-, control-cursor keys.
2729 + workaround to allow c++ binding to compile with g++ 2.95.3, which
2730 has a broken implementation of static_cast<> (patch by Jeff Chua).
2731 + modify initialization of key lookup table so that if an extended
2732 capability (tic -x) string is defined, and its name begins with 'k',
2733 it will automatically be treated as a key.
2734 + modify test/keynames.c to allow for the possibility of extended
2735 key names, e.g., via define_key(), or via "tic -x".
2736 + add test/demo_termcap.c to show the contents of given entry via the
2740 + minor fixes for vt100/vt52 entries -TD
2741 + add configure option --enable-largefile
2742 + corrected libraries used to build Ada95/gen/gen, found in testing
2746 + update config.guess, config.sub
2747 + modify configure script check for _XOPEN_SOURCE, disable that on
2748 Darwin whose header files have problems (patch by Chris Zubrzycki).
2749 + modify form library Is_Printable_String() to use iswprint() rather
2750 than wcwidth() for determining if a character is printable. The
2751 latter caused it to reject menu items containing non-spacing
2753 + modify ncurses test program's F-test to handle non-spacing characters
2754 by combining them with a reverse-video blank.
2755 + review/fix several gcc -Wconversion warnings.
2758 + correct an off-by-one error in m_driver() for mouse-clicks used to
2759 position the mouse to a particular item.
2760 + implement test/demo_menus.c
2761 + add some checks in lib_mouse to ensure SP is set.
2762 + modify C++ binding to make 20050403 changes work with the configure
2763 --enable-const option.
2766 + modify start_color() to return ERR if it cannot allocate memory.
2767 + address g++ compiler warnings in C++ binding by adding explicit
2768 member initialization, assignment operators and copy constructors.
2769 Most of the changes simply preserve the existing semantics of the
2770 binding, which can leak memory, etc., but by making these features
2771 visible, it provides a framework for improving the binding.
2772 + improve C++ binding using static_cast, etc.
2773 + modify configure script --enable-warnings to add options to g++ to
2774 correspond to the gcc --enable-warnings.
2775 + modify C++ binding to use some C internal functions to make it
2776 compile properly on Solaris (and other platforms).
2779 + amend change from 20050320 to limit it to configurations with a
2781 + fix a bug introduced in 20050320 which broke the translation of
2782 nonprinting characters to uparrow form (report by Takahashi Tamotsu).
2785 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
2786 chtype and mmask_t, but add configure option --disable-lp64 in case
2787 anyone used that configuration.
2788 + update misc/shlib script to account for Mac OS X (report by Michail
2790 + correct comparison for wrapping multibyte characters in
2791 waddch_literal() (report by Takahashi Tamotsu).
2794 + add -c and -w options to tset to allow user to suppress ncurses'
2795 resizing of the terminal emulator window in the special case where it
2796 is not able to detect the true size (report by Win Delvaux, Debian
2798 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
2799 codes 128-159 as part of multibyte characters (report by Wang
2800 WenRui, Debian #300512).
2803 + modify ncurses.c 'd' test to make it work with 88-color
2804 configuration, i.e., by implementing scrolling.
2805 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
2809 + change tracemunch to use strict checking.
2810 + modify ncurses.c 'p' test to test line-drawing within a pad.
2811 + implement environment variable NCURSES_NO_UTF8_ACS to support
2812 miscellaneous terminal emulators which ignore alternate character
2813 set escape sequences when in UTF-8 mode.
2816 + change NCursesWindow::err_handler() to a virtual function (request by
2818 + modify fty_int.c and fty_num.c to handle wide characters (report by
2820 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
2821 and wide characters inconsistently (report by Wolfgang Gutjahr).
2822 + update llib-* files to reflect internal interface additions/changes.
2825 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
2827 + add aixterm-16color terminfo entry -TD
2828 + modified xterm-new terminfo entry to work with tgetent() changes -TD
2829 + extended changes in tgetent() from 20040710 to allow the substring of
2830 sgr0 which matches rmacs to be at the beginning of the sgr0 string
2831 (request by Thomas Wolff). Wolff says the visual effect in
2832 combination with pre-20040710 ncurses is improved.
2833 + fix off-by-one in winnstr() call which caused form field validation
2834 of multibyte characters to ignore the last character in a field.
2835 + correct logic in winsch() for inserting multibyte strings; the code
2836 would clear cells after the insertion rather than push them to the
2837 right (cf: 20040228).
2838 + fix an inconsistency in Check_Alpha_Field() between normal and wide
2839 character logic (report by Wolfgang Gutjahr).
2842 + fix a bug in editing wide-characters in form library: deleting a
2843 nonwide character modified the previous wide-character.
2844 + update manpage to describe NCURSES_MOUSE_VERSION 2.
2845 + correct manpage description of mouseinterval() (Debian #280687).
2846 + add a note to default_colors.3x explaining why this extension was
2847 added (Debian #295083).
2848 + add traces to panel library.
2851 + improve editing of wide-characters in form library: left/right
2852 cursor movement, and single-character deletions work properly.
2853 + disable GPM mouse support when $TERM happens to be prefixed with
2854 "xterm". Gpm_Open() would otherwise assert that it can deal with
2855 mouse events in this case.
2856 + modify GPM mouse support so it closes the server connection when
2857 the caller disables the mouse (report by Stanislav Ievlev).
2860 + add traces for callback functions in form library.
2861 + add experimental configure option --enable-ext-mouse, which defines
2862 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
2863 support wheel mice, which may transmit buttons 4 and 5. This works
2864 with xterm and similar X terminal emulators (prompted by question by
2865 Andreas Henningsson, this is also related to Debian #230990).
2866 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
2867 avoid redefinition warnings on cygwin.
2870 + merge remaining development changes for extended colors (mostly
2871 complete, does not appear to break other configurations).
2872 + add xterm-88color.dat (part of extended colors testing).
2873 + improve _tracedump() handling of color pairs past 96.
2874 + modify return-value from start_color() to return OK if colors have
2875 already been started.
2876 + modify curs_color.3x list error conditions for init_pair(),
2877 pair_content() and color_content().
2878 + modify pair_content() to return -1 for consistency with init_pair()
2879 if it corresponds to the default-color.
2880 + change internal representation of default-color to allow application
2881 to use color number 255. This does not affect the total number of
2882 color pairs which are allowed.
2883 + add a top-level tags rule.
2886 + add a null-pointer check in wgetch() in case it is called without
2887 first calling initscr().
2888 + add some null-pointer checks for SP, which is not set by libtinfo.
2889 + modify misc/shlib to ensure that absolute pathnames are used.
2890 + modify test/Makefile.in, etc., to link test programs only against the
2891 libraries needed, e.g., omit form/menu/panel library for the ones
2892 that are curses-specific.
2893 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
2894 libtinfo.so and libtinfow.so have the same ABI. The reason for this
2895 is that the corresponding data which belongs to the upper-level
2896 ncurses library has a different size in each model (report by
2900 + minor fixes to allow test-compiles with g++.
2901 + correct column value shown in tic's warnings, which did not account
2902 for leading whitespace.
2903 + add a check in _nc_trans_string() for improperly ended strings, i.e.,
2904 where a following line begins in column 1.
2905 + modify _nc_save_str() to return a null pointer on buffer overflow.
2906 + improve repainting while scrolling wide-character data (Eungkyu Song).
2909 + merge some development changes to extend color capabilities.
2912 + merge some development changes to extend color capabilities.
2913 + fix manpage typo (FreeBSD report docs/75544).
2914 + update config.guess, config.sub
2915 > patches for configure script (Albert Chin-A-Young):
2916 + improved fix to make mbstate_t recognized on HPUX 11i (cf:
2917 20030705), making vsscanf() prototype visible on IRIX64. Tested for
2918 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
2919 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
2920 + print the result of the --disable-home-terminfo option.
2921 + use -rpath when compiling with SGI C compiler.
2924 + add trace calls to remaining public functions in form and menu
2926 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
2927 + fix typo in test/ncurses.c 'c' test from 20041218.
2930 + revise test/ncurses.c 'c' color test to improve use for xterm-88color
2931 and xterm-256color, added 'C' test using the wide-character color_set
2932 and attr_set functions.
2935 + modify configure script to work with Intel compiler.
2936 + fix an limit-check in wadd_wchnstr() which caused labels in the
2937 forms-demo to be one character short.
2938 + fix typo in curs_addchstr.3x (Jared Yanovich).
2939 + add trace calls to most functions in form and menu libraries.
2940 + update working-position for adding wide-characters when window is
2941 scrolled (prompted by related report by Eungkyu Song).
2944 + replace some references on Linux to wcrtomb() which use it to obtain
2945 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
2946 broken in glibc (see Debian #284260).
2947 + corrected length-computation in wide-character support for
2949 + some fixes to frm_driver.c to allow it to accept multibyte input.
2950 + modify configure script to work with Intel 8.0 compiler.
2953 + amend change to setupterm() in 20030405 which would reuse the value
2954 of cur_term if the same output was selected. This now reuses it only
2955 when setupterm() is called from tgetent(), which has no notion of
2956 separate SCREENs. Note that tgetent() must be called after initscr()
2957 or newterm() to use this feature (Redhat Bugzilla #140326).
2958 + add a check in CF_BUILD_CC macro to ensure that developer has given
2959 the --with-build-cc option when cross-compiling (report by Alexandre
2961 + improved configure script checks for _XOPEN_SOURCE and
2962 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
2964 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
2965 for consistency (comment by Dan Nelson).
2968 + update wsvt25 terminfo entry -TD
2969 + modify test/ins_wide.c to test all flavors of ins_wstr().
2970 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
2971 which consists of multi-column characters, since this function
2972 constructs them (cf: 20041023).
2973 + modify winnstr() to return multibyte character strings for the
2974 wide-character configuration.
2977 + fixes to make slk_set() and slk_wset() accept and store multibyte
2978 or multicolumn characters.
2981 + improve color optimization a little by making _nc_do_color() check
2982 if the old/new pairs are equivalent to the default pair 0.
2983 + modify assume_default_colors() to not require that
2984 use_default_colors() be called first.
2987 + modify term_attrs() to use termattrs(), add the extended attributes
2988 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
2989 + add logic in waddch_literal() to clear orphaned cells when one
2990 multi-column character partly overwrites another.
2991 + improved logic for clearing cells when a multi-column character
2992 must be wrapped to a new line.
2993 + revise storage of cells for multi-column characters to correct a
2994 problem with repainting. In the old scheme, it was possible for
2995 doupdate() to decide that only part of a multi-column character
2996 should be repainted since the filler cells stored only an attribute
2997 to denote them as fillers, rather than the character value and the
3001 + minor fixes for traces.
3002 + add SP->_screen_acs_map[], used to ensure that mapping of missing
3003 line-drawing characters is handled properly. For example, ACS_DARROW
3004 is absent from xterm-new, and it was coincidentally displayed the
3008 + amend 20021221 workaround for broken acs to reset the sgr, rmacs
3009 and smacs strings as well. Also modify the check for screen's
3010 limitations in that area to allow the multi-character shift-in
3011 and shift-out which seem to work.
3012 + change GPM initialization, using dl library to load it dynamically
3013 at runtime (Debian #110586).
3016 + correct logic for color pair in setcchar() and getcchar() (patch by
3017 Marcin 'Qrczak' Kowalczyk).
3018 + add t/T commands to ncurses b/B tests to allow a different color to
3019 be tested for the attrset part of the test than is used in the
3023 + fix to make setcchar() to work when its wchar_t* parameter is
3024 pointing to a string which contains more data than can be converted.
3025 + modify wget_wstr() and example in ncurses.c to work if wchar_t and
3026 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
3029 + remove check in wget_wch() added to fix an infinite loop, appears to
3030 have been working around a transitory glibc bug, and interferes
3031 with normal operation (report by Marcin 'Qrczak' Kowalczyk).
3032 + correct wadd_wch() and wecho_wch(), which did not pass the rendition
3033 information (report by Marcin 'Qrczak' Kowalczyk).
3034 + fix aclocal.m4 so that the wide-character version of ncurses gets
3035 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
3036 (adapted from patch by James J Ramsey).
3037 + change configure script for --with-caps option to indicate that it
3038 is no longer experimental.
3039 + change configure script to reflect the fact that --enable-widec has
3040 not been "experimental" since 5.3 (report by Bruno Lustosa).
3043 + add 'B' test to ncurses.c, to exercise some wide-character functions.
3046 + modify infocmp -i option to match 8-bit controls against its table
3047 entries, e.g., so it can analyze the xterm-8bit entry.
3048 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
3049 + correct translation of "%%" in terminfo format to termcap, e.g.,
3050 using "tic -C" (Redhat Bugzilla #130921).
3051 + modified configure script CF_XOPEN_SOURCE macro to ensure that if
3052 it defines _POSIX_C_SOURCE, that it defines it to a specific value
3053 (comp.os.stratus newsgroup comment).
3056 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
3057 fatal, and gnat does not follow the guidelines for pragmas).
3058 However that did find a coding error in Assume_Default_Colors().
3059 + modify several terminfo entries to ensure xterm mouse and cursor
3060 visibility are reset in rs2 string: hurd, putty, gnome,
3061 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The
3062 xterm entries are left alone - old ones for compatibility, and the
3063 new ones do not require this change. -TD
3066 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
3067 and window managers (Debian #265631).
3068 > terminfo updates -TD
3069 + remove dch/dch1 from rxvt because they are implemented inconsistently
3070 with the common usage of bce/ech
3071 + remove khome from vt220 (vt220's have no home key)
3075 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
3076 combinations of video attributes so that for instance bold and
3077 underline can be tested. This made the legend too crowded, added
3078 a help window as well.
3079 + modify test/ncurses.c 'b' test to cycle through default colors if
3080 the -d option is set.
3081 + update putty terminfo entry (Robert de Bath).
3084 + modify test/cardfile.c to allow it to read more data than can be
3086 + correct logic in resizeterm.c which kept it from processing all
3087 levels of window hierarchy (reports by Folkert van Heusden,
3091 + modify "tic -cv" to ignore delays when comparing strings. Also
3092 modify it to ignore a canceled sgr string, e.g., for terminals which
3093 cannot properly combine attributes in one control sequence.
3094 + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
3095 patch by Hans de Goede)
3096 > terminfo updates -TD
3097 + make ncsa-m rmacs/smacs consistent with sgr
3098 + add sgr, rc/sc and ech to syscons entries
3099 + add function-keys to decansi
3100 + add sgr to mterm-ansi
3101 + add sgr, civis, cnorm to emu
3102 + correct/simplify cup in addrinfo
3105 > terminfo updates -TD
3106 + add xterm-pc-fkeys
3107 + review/update gnome and gnome-rh90 entries (prompted by Redhat
3109 + review/update konsole entries
3110 + add sgr, correct sgr0 for kterm and mlterm
3111 + correct tsl string in kterm
3114 + add configure option --without-xterm-new
3117 + add check in wget_wch() for printable bytes that are not part of a
3118 multibyte character.
3119 + modify wadd_wchnstr() to render text using window's background
3121 + improve tic's check to compare sgr and sgr0.
3122 + fix c++ directory's .cc.i rule.
3123 + modify logic in tgetent() which adjusts the termcap "me" string
3124 to work with ISO-2022 string used in xterm-new (cf: 20010908).
3125 + modify tic's check for conflicting function keys to omit that if
3126 converting termcap to termcap format.
3127 + add -U option to tic and infocmp.
3128 + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
3129 > terminfo updates -TD
3130 + minor fixes for emu
3132 + change wyse acsc strings to use 'i' map rather than 'I'
3137 + use tic -x to install terminfo database -TD
3138 + add -x to infocmp's usage message.
3139 + correct field used for comparing O_ROWMAJOR in set_menu_format()
3140 (report/patch by Tony Li).
3141 + fix a missing nul check in set_field_buffer() from 20040508 changes.
3142 > terminfo updates -TD
3143 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
3145 + align with xterm patch #192's use of xterm-new -TD
3146 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
3147 + make xterm-new the default "xterm" entry -TD
3150 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
3151 cross-compiling from a separate directory tree (report/patch by
3153 + modify is_term_resized() to ensure that window sizes are nonzero,
3154 as documented in the manpage (report by Ian Collier).
3155 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
3156 (Debian #249214, report/patch by Jeff Bailey).
3157 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
3158 + update config.guess, config.sub
3159 > terminfo updates -TD
3161 + add xterm-xf86-v44
3162 + modify xterm-new aka xterm-xfree86 to accommodate luit, which
3163 relies on G1 being used via an ISO-2022 escape sequence (report by
3168 + reconsidered winsnstr(), decided after comparing other
3169 implementations that wrapping is an X/Open documentation error.
3170 + modify test/inserts.c to test all flavors of insstr().
3173 + add setlocale() calls to a few test programs which may require it:
3174 demo_forms.c, filter.c, ins_wide.c, inserts.c
3175 + correct a few misspelled function names in ncurses-intro.html (report
3177 + correct internal name of key_defined() manpage, which conflicted with
3181 + correct size of internal pad used for holding wide-character
3182 field_buffer() results.
3183 + modify data_ahead() to work with wide-characters.
3186 + improve description of terminfo if-then-else expressions (suggested
3188 + improve test/ncurses.c 'd' test, allow it to use external file for
3189 initial palette (added xterm-16color.dat and linux-color.dat), and
3190 reset colors to the initial palette when starting/ending the test.
3191 + change limit-check in init_color() to allow r/g/b component to
3192 reach 1000 (cf: 20020928).
3195 + modify form library to use cchar_t's rather than char's in the
3196 wide-character configuration for storing data for field buffers.
3197 + correct logic of win_wchnstr(), which did not work for more than
3201 + replace memset/memcpy usage in form library with for-loops to
3202 simplify changing the datatype of FIELD.buf, part of wide-character
3204 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
3207 + modify menu library to account for actual number of columns used by
3208 multibyte character strings, in the wide-character configuration
3209 (adapted from patch by Philipp Tomsich).
3210 + add "-x" option to infocmp like tic's "-x", for use in "-F"
3211 comparisons. This modifies infocmp to only report extended
3212 capabilities if the -x option is given, making this more consistent
3213 with tic. Some scripts may break, since infocmp previous gave this
3214 information without an option.
3215 + modify termcap-parsing to retain 2-character aliases at the beginning
3216 of an entry if the "-x" option is used in tic.
3219 + minor compiler-warning and test-program fixes.
3222 + modify tic's missing-sgr warning to apply to terminfo only.
3223 + free some memory leaks in tic.
3224 + remove check in post_menu() that prevented menus from extending
3225 beyond the screen (request by Max J. Werner).
3226 + remove check in newwin() that prevents allocating windows
3227 that extend beyond the screen. Solaris curses does this.
3228 + add ifdef in test/color_set.c to allow it to compile with older
3230 + add napms() calls to test/dots.c to make it not be a CPU hog.
3233 + modify unctrl() to return null if its parameter does not correspond
3234 to an unsigned char.
3235 + add some limit-checks to guard isprint(), etc., from being used on
3236 values that do not fit into an unsigned char (report by Sami Farin).
3239 + fix a typo in the _nc_get_locale() change.
3242 + modify _nc_get_locale() to use setlocale() to query the program's
3243 current locale rather than using getenv(). This fixes a case in tin
3244 which relies on legacy treatment of 8-bit characters when the locale
3245 is not initialized (reported by Urs Jansen).
3246 + add sgr string to screen's and rxvt's terminfo entries -TD.
3247 + add a check in tic for terminfo entries having an sgr0 but no sgr
3248 string. This confuses Tru64 and HPUX curses when combined with
3249 color, e.g., making them leave line-drawing characters in odd places.
3250 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
3251 original definitions used in Debian package to fix PowerPC bug before
3252 20030802 (Debian #237629).
3255 + modify PutAttrChar() and PUTC() macro to improve use of
3256 A_ALTCHARSET attribute to prevent line-drawing characters from
3257 being lost in situations where the locale would otherwise treat the
3258 raw data as nonprintable (Debian #227879).
3261 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
3263 + remove ".PP" after ".SH NAME" in a few manpages; this confuses
3264 some apropos script (Debian #237831).
3267 + modify ncurses.c 'r' test so editing commands, like inserted text,
3268 set the field background, and the state of insert/overlay editing
3269 mode is shown in that test.
3270 + change syntax of dummy targets in Ada95 makefiles to work with pmake.
3271 + correct logic in test/ncurses.c 'b' for noncolor terminals which
3272 did not recognize a quit-command (cf: 20030419).
3275 + modify _nc_insert_ch() to allow for its input to be part of a
3277 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states
3278 that this function performs wrapping, unlike all of the other
3279 insert-functions. Currently it does not wrap.
3280 + check for nl_langinfo(CODESET), use it if available (report by
3282 + split-out CF_BUILD_CC macro, actually did this for lynx first.
3283 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
3284 which happened to work with bash, but not with Bourne shell (report
3285 by Marco d'Itri via tin-dev).
3288 + some changes to adapt the form library to wide characters, incomplete
3289 (request by Mike Aubury).
3290 + add symbol to curses.h which can be used to suppress include of
3292 #define NCURSES_ENABLE_STDBOOL_H 0
3294 (discussion on XFree86 mailing list).
3297 + modify configure --with-termlib option to accept a value which sets
3298 the name of the terminfo library. This would allow a packager to
3299 build libtinfow.so renamed to coincide with libtinfo.so (discussion
3300 with Stanislav Ievlev).
3301 + improve documentation of --with-install-prefix, --prefix and
3302 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
3303 + add configure check if the compiler can use -c -o options to rename
3304 its output file, use that to omit the 'cd' command which was used to
3305 ensure object files are created in a separate staging directory
3306 (prompted by comments by Johnny Wezel, Martin Mokrejs).
3308 20040208 5.4 release for upload to ftp.gnu.org
3311 20040207 pre-release
3312 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
3313 and do not count %d if it follows a %p.
3314 + correct an inconsistency between handling of codes in the 128-255
3315 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX
3316 locale, the latter did not show printable results, while the former
3318 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
3319 OS X, which alters "%%" to "% % " (report by Robert Simms, fix
3320 verified by Scott Corscadden).
3322 20040131 pre-release
3323 + modify SCREEN struct to align it between normal/wide curses flavors
3324 to simplify future changes to build a single version of libtinfo
3325 (patch by Stanislav Ievlev).
3326 + document handling of carriage return by addch() in manpage.
3327 + document special features of unctrl() in manpage.
3328 + documented interface changes in INSTALL.
3329 + corrected control-char test in lib_addch.c to account for locale
3330 (Debian #230335, cf: 971206).
3331 + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
3332 + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
3333 + minor configure-script fixes for older ports, e.g., BeOS R4.5.
3335 20040125 pre-release
3336 + amend change to PutAttrChar() from 20030614 which computed the number
3337 of cells for a possibly multi-cell character. The 20030614 change
3338 forced the cell to a blank if the result from wcwidth() was not
3339 greater than zero. However, wcwidth() called for parameters in the
3340 range 128-255 can give this return value. The logic now simply
3341 ensures that the number of cells is greater than zero without
3342 modifying the displayed value.
3344 20040124 pre-release
3345 + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
3346 + modify configure script check for ranlib to use AC_CHECK_TOOL, since
3347 that works better for cross-compiling.
3349 20040117 pre-release
3350 + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
3351 work around core dump in Solaris 8's locale support, e.g., for
3352 zh_CN.GB18030 (report by Saravanan Bellan).
3353 + add includes for <stdarg.h> and <stdio.h> in configure script macro
3354 to make <wchar.h> check work with Tru64 4.0d.
3355 + add terminfo entry for U/Win -TD
3356 + add terminfo entries for SFU aka Interix aka OpenNT (Federico
3358 + modify tput's error messages to prefix them with the program name
3359 (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
3361 + correct a place in tack where exit_standout_mode was used instead of
3362 exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
3363 + modify c++/cursesf.h to use const in the Enumeration_Field method.
3364 + remove an ambiguous (actually redundant) method from c++/cursesf.h
3365 + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
3366 + improve sed script which extracts libtool's version in the
3367 CF_WITH_LIBTOOL macro.
3368 + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
3369 simplify local patch for Albert Chin-A-Young)..
3370 + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
3371 patch by Albert Chin-A-Young)..
3372 + fix a missing substitution in configure.in for "$target" needed for
3374 + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
3375 NetBSD 1.6 conflicts with _XOPEN_SOURCE.
3376 + make check for stdbool.h more specific, to ensure that including it
3377 will actually define/declare bool for the configured compiler.
3378 + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The
3379 intention of that is to #define NCURSES_BOOL as bool when the
3380 compiler declares bool, and to #define bool as NCURSES_BOOL when it
3381 does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
3383 20040110 pre-release
3384 + change minor version to 4, i.e., ncurses 5.4
3385 + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
3387 + simplified ncurses/base/version.c by defining the result from the
3388 configure script rather than using sprintf (suggested by Stanislav
3390 + remove obsolete casts from c++/cursesw.h (reported by Stanislav
3392 + modify configure script so that when configuring for termlib, programs
3393 such as tic are not linked with the upper-level ncurses library
3394 (suggested by Stanislav Ievlev).
3395 + move version.c from ncurses/base to ncurses/tinfo to allow linking
3396 of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
3399 + adjust -D's to build ncursesw on OpenBSD.
3400 + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
3401 + add pecho_wchar().
3402 + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
3403 available) on older platforms.
3406 + add -D's to build ncursew on FreeBSD 5.1.
3407 + modify shared library configuration for FreeBSD 4.x/5.x to add the
3408 soname information (request by Marc Glisse).
3409 + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
3410 for limiting the length of a filename in the terminfo database.
3411 + modify termname() to return the terminal name used by setupterm()
3412 rather than $TERM, without truncating to 14 characters as documented
3413 by X/Open (report by Stanislav Ievlev, cf: 970719).
3414 + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
3417 + add configure option --with-manpage-format=catonly to address
3418 behavior of BSDI, allow install of man+cat files on NetBSD, whose
3419 behavior has diverged by requiring both to be present.
3420 + remove leading blanks from comment-lines in manlinks.sed script to
3421 work with Tru64 4.0d.
3422 + add screen.linux terminfo entry (discussion on mutt-users mailing
3426 + add a check for tic to flag missing backslashes for termcap
3427 continuation lines. ncurses reads the whole entry, but termcap
3428 applications do not.
3429 + add configure option "--with-manpage-aliases" extending
3430 "--with-manpage-aliases" to provide the option of generating ".so"
3431 files rather than symbolic links for manpage aliases.
3432 + add bool definition in include/curses.h.in for configurations with no
3433 usable C++ compiler (cf: 20030607).
3434 + fix pathname of SigAction.h for building with --srcdir (reported by
3438 + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
3439 since that header is used only within ncurses/tty/lib_tstp.c, for
3440 non-POSIX systems (discussion with Stanislav Ievlev).
3441 + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
3442 <inger@altlinux.org>).
3443 + add test/background.c and test/color_set.c
3444 + modify color_set() function to work with color pair 0 (report by
3445 George Andreou <gbandreo@tem.uoc.gr>).
3446 + add configure option --with-trace, since defining TRACE seems too
3447 awkward for some cases.
3448 + remove a call to _nc_free_termtype() from read_termtype(), since the
3449 corresponding buffer contents were already zeroed by a memset (cf:
3451 + improve configure check for _XOPEN_SOURCE and related definitions,
3452 adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
3453 __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
3454 + small fixes to compile on Solaris and IRIX64 using cc.
3455 + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
3459 + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
3460 values (Philippe Blain).
3461 + improve the nanosleep() logic in napms() by checking for EINTR and
3462 restarting (Philippe Blain).
3463 + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
3467 + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
3468 + allow "\|" escape in terminfo; tic should not warn about this.
3469 + save the full pathname of the trace-file the first time it is opened,
3470 to avoid creating it in different directories if the application
3471 opens and closes it while changing its working directory.
3472 + modify configure script to provide a non-empty default for
3476 + add DJGPP to special case of DOS-style drive letters potentially
3477 appearing in TERMCAP environment variable.
3478 + fix some spelling in comments (reports by Jason McIntyre, Jonathon
3480 + update config.guess, config.sub
3483 + fix a memory leak in error-return from setupterm() (report by
3484 Stanislav Ievlev <inger@altlinux.org>).
3485 + use EXEEXT and OBJEXT consistently in makefiles.
3486 + amend fixes for cross-compiling to use separate executable-suffix
3487 BUILD_EXEEXT (cf: 20031018).
3488 + modify MKkey_defs.sh to check for sort utility that does not
3489 recognize key options, e.g., busybox (report by Peter S Mazinger
3491 + fix potential out-of-bounds indexing in _nc_infotocap() (found by
3492 David Krause using some of the new malloc debugging features
3493 under OpenBSD, patch by Ted Unangst).
3494 + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
3495 ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
3498 + update terminfo for xterm-xfree86 -TD
3499 + add check for multiple "tc=" clauses in a termcap to tic.
3500 + check for missing op/oc in tic.
3501 + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
3502 tic to show cancelled capabilities. These functions were ignoring
3503 the state of the target entry, which should be untouched if cancelled.
3504 + correct comment in tack/output.c (Debian #215806).
3505 + add some null-pointer checks to lib_options.c (report by Michael
3507 + regenerated html documentation.
3508 + correction to tar-copy.sh, remove a trap command that resulted in
3509 leaving temporary files (cf: 20030510).
3510 + remove contact/maintainer addresses for Juergen Pfeifer (his request).
3513 + updated test/configure to reflect changes for libtool (cf: 20030830).
3514 + fix several places in tack/pad.c which tested and used the parameter-
3515 and parameterless strings inconsistently, i.e., in pad_rin(),
3516 pad_il(), pad_indn() and pad_dl() (Debian #215805).
3517 + minor fixes for configure script and makefiles to cleanup executables
3518 generated when cross-compiling for DJGPP.
3519 + modify infocmp to omit check for $TERM for operations that do not
3520 require it, e.g., "infocmp -e" used to build fallback list (report by
3524 + add terminfo entries for DJGPP.
3525 + updated note about maintainer in ncurses-intro.html
3528 + update terminfo entries for gnome terminal.
3529 + modify tack to reset colors after each color test, correct a place
3530 where exit_standout_mode was used instead of exit_attribute_mode.
3531 + improve tack's bce test by making it set colors other than black
3533 + plug a potential recursion between napms() and _nc_timed_wait()
3534 (report by Philippe Blain).
3537 + add --with-rel-version option to allow workaround to allow making
3538 libtool on Darwin generate the "same" library names as with the
3539 --with-shared option. The Darwin ld program does not work well
3540 with a zero as the minor-version value (request by Chris Zubrzycki).
3541 + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
3542 + modify tack to allow it to run from fallback terminfo data.
3543 > patch by Philippe Blain:
3544 + improve PutRange() by adjusting call to EmitRange() and corresponding
3545 return-value to not emit unchanged characters on the end of the
3547 + improve a check for changed-attribute by exiting a loop when the
3549 + improve logic in TransformLine(), eliminating a duplicated comparison
3550 in the clr_bol logic.
3553 > patch by Philippe Blain:
3554 + in ncurses/tty/lib_mvcur.c,
3555 move the label 'nonlocal' just before the second gettimeofday() to
3556 be able to compute the diff time when 'goto nonlocal' used.
3557 Rename 'msec' to 'microsec' in the debug-message.
3558 + in ncurses/tty/lib_mvcur.c,
3559 Use _nc_outch() in carriage return/newline movement instead of
3560 putchar() which goes to stdout. Move test for xold>0 out of loop.
3561 + in ncurses/tinfo/setbuf.c,
3562 Set the flag SP->_buffered at the end of operations when all has been
3563 successful (typeMalloc can fail).
3564 + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
3567 + modify configure script to avoid using "head -1", which does not
3568 work if POSIXLY_CORRECT (sic) is set.
3569 + modify run_tic.in to avoid using wrong shared libraries when
3570 cross-compiling (Dan Kegel).
3573 + alter configure script help message to make it clearer that
3574 --with-build-cc does not specify a cross-compiler (suggested by Dan
3575 Kegel <dank@kegel.com>).
3576 + modify configure script to accommodate libtool 1.5, as well as add an
3577 parameter to the "--with-libtool" option which can specify the
3578 pathname of libtool (report by Chris Zubrzycki). We note that
3579 libtool 1.5 has more than one bug in its C++ support, so it is not
3580 able to install libncurses++, for instance, if $DESTDIR or the option
3581 --with-install-prefix is used.
3584 > patch by Philippe Blain:
3585 + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
3586 + make baudrate computation in delay_output() consistent with the
3587 assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
3590 + modify logic in waddch_literal() to take into account zh_TW.Big5
3591 whose multibyte sequences may contain "printable" characters, e.g.,
3592 a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
3593 + improve storage used by _nc_safe_strcpy() by ensuring that the size
3594 is reset based on the initialization call, in case it were called
3595 after other strcpy/strcat calls (report by Philippe Blain).
3596 > patch by Philippe Blain:
3597 + remove an unused ifdef for REAL_ATTR & WANT_CHAR
3598 + correct a place where _cup_cost was used rather than _cuu_cost
3601 + fix a small memory leak in _nc_free_termtype().
3602 + close trace-file if trace() is called with a zero parameter.
3603 + free memory allocated for soft-key strings, in delscreen().
3604 + fix an allocation size in safe_sprintf.c for the "*" format code.
3605 + correct safe_sprintf.c to not return a null pointer if the format
3606 happens to be an empty string. This applies to the "configure
3607 --enable-safe-sprintf" option (Redhat #101486).
3610 + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
3612 > patch by Philippe Blain:
3613 + change padding for change_scroll_region to not be proportional to
3614 the size of the scroll-region.
3615 + correct error-return in _nc_safe_strcat().
3618 + correct limit-checks in _nc_scroll_window() (report and test-case by
3619 Thomas Graf <graf@dms.at> cf: 20011020).
3620 + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
3624 + use clr_eol in preference to blanks for bce terminals, so select and
3625 paste will have fewer trailing blanks, e.g., when using xterm
3626 (request by Vincent Lefevre).
3627 + correct prototype for wunctrl() in manpage.
3628 + add configure --with-abi-version option (discussion with Charles
3630 > cygwin changes from Charles Wilson:
3631 + aclocal.m4: on cygwin, use autodetected prefix for import
3632 and static lib, but use "cyg" for DLL.
3633 + include/ncurses_dll.h: correct the comments to reflect current
3634 status of cygwin/mingw port. Fix compiler warning.
3635 + misc/run_tic.in: ensure that tic.exe can find the uninstalled
3636 DLL, by adding the lib-directory to the PATH variable.
3637 + misc/terminfo.src (nxterm|xterm-color): make xterm-color
3638 primary instead of nxterm, to match XFree86's xterm.terminfo
3639 usage and to prevent circular links.
3640 (rxvt): add additional codes from rxvt.org.
3641 (rxvt-color): new alias
3642 (rxvt-xpm): new alias
3643 (rxvt-cygwin): like rxvt, but with special acsc codes.
3644 (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or
3645 with a "native" MSWin GUI. Each takes different acsc codes,
3646 which are both different from the "normal" rxvt's acsc.
3647 (cygwin): cygwin-in-cmd.exe window. Lots of fixes.
3649 + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
3653 + update config.guess, config.sub
3654 + add triples for configuring shared libraries with the Debian
3655 GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
3658 + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some
3659 platforms have installed g++ along with the native C compiler, which
3660 would not accept gcc warning options.
3661 + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
3662 get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
3663 + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
3664 + correct a sign-extension in wadd_wch() and wecho_wchar() from
3665 20030628 (report by Tomohiro Kubota).
3666 + work around omission of btowc() and wctob() from wide-character
3667 support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
3669 + add portability note to curs_get_wstr.3x (Debian #199957).
3672 + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
3673 respectively, to avoid calling waddch_noecho() with wide-character
3674 data, since that function assumes its input is 8-bit data.
3675 Similarly, modify waddnwstr() to call wadd_wch().
3676 + remove logic from waddnstr() which transformed multibyte character
3677 strings into wide-characters. Rewrite of waddch_literal() from
3678 20030621 assumes its input is raw multibyte data rather than wide
3679 characters (report by Tomohiro Kubota).
3682 + write getyx() and related 2-return macros in terms of getcury(),
3684 + modify waddch_literal() in case an application passes bytes of a
3685 multibyte character directly to waddch(). In this case, waddch()
3686 must reassemble the bytes into a wide-character (report by Tomohiro
3687 Kubota <kubota@debian.org>).
3690 + modify waddch_literal() in case a multibyte value occupies more than
3692 + modify PutAttrChar() to compute the number of character cells that
3693 are used in multibyte values. This fixes a problem displaying
3694 double-width characters (report/test by Mitsuru Chinen
3695 <mchinen@yamato.ibm.com>).
3696 + add a null-pointer check for result of keyname() in _tracechar()
3697 + modify _tracechar() to work around glibc sprintf bug.
3700 + add a call to setlocale() in cursesmain.cc, making demo display
3701 properly in a UTF-8 locale.
3702 + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
3703 by discussion with Gabor Z Papp).
3704 + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
3705 appease -Wchar-subscript with g++ 3.3 (Debian #195732).
3706 + fix a redefinition of $RANLIB in the configure script when libtool
3707 is used, which broke configure on Mac OS X (report by Chris Zubrzycki
3709 + simplify ifdef for bool declaration in curses.h.in (suggested by
3710 Albert Chin-A-Young).
3711 + remove configure script check to allow -Wconversion for older
3712 versions of gcc (suggested by Albert Chin-A-Young).
3715 + regenerated html manpages.
3716 + modify ifdef's in curses.h.in that disabled use of __attribute__()
3717 for g++, since recent versions implement the cases which ncurses uses
3719 + modify _nc_get_token() to handle a case where an entry has no
3720 description, and capabilities begin on the same line as the entry
3722 + fix a typo in ncurses_dll.h reported by gcc 3.3.
3723 + add an entry for key_defined.3x to man_db.renames.
3726 + modify setcchar() to allow converting control characters to complex
3727 characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
3728 + add tkterm entry -TD
3729 + modify parse_entry.c to allow a terminfo entry with a leading
3730 2-character name (report by Don Libes).
3731 + corrected acsc in screen.teraterm, which requires a PC-style mapping.
3732 + fix trace statements in read_entry.c to use lseek() rather than
3734 + fix signed/unsigned warnings from Sun's compiler (gcc should give
3735 these warnings, but it is unpredictable).
3736 + modify configure script to omit -Winline for gcc 3.3, since that
3738 + modify manlinks.sed to add a few functions that were overlooked since
3739 they return function pointers: field_init, field_term, form_init,
3740 form_term, item_init, item_term, menu_init and menu_term.
3743 + prevent recursion in wgetch() via wgetnstr() if the connection cannot
3744 be switched between cooked/raw modes because it is not a TTY (report
3745 by Wolfgang Gutjahr <gutw@knapp.com>).
3746 + change parameter of define_key() and key_defined() to const (prompted
3748 + add a check in test/configure for ncurses extensions, since there
3749 are some older versions, etc., which would not compile with the
3750 current test programs.
3751 + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
3752 convert wchar_t string to multibyte form before printing it.
3753 + corrections to lib_get_wstr.c:
3754 + null-terminate buffer passed to setcchar(), which occasionally
3756 + map special characters such as erase- and kill-characters into
3757 key-codes so those will work as expected even if they are not
3758 mentioned in the terminfo.
3759 + modify PUTC() and Charable() macros to make wide-character line
3760 drawing work for POSIX locale on Linux console (cf: 20021221).
3763 + make typography for program options in manpages consistent (report
3764 by Miloslav Trmac <mitr@volny.cz>).
3765 + correct dependencies in Ada95/src/Makefile.in, so the builds with
3766 "--srcdir" work (report by Warren L Dodge).
3767 + correct missing definition of $(CC) in Ada95/gen/Makefile.in
3768 (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
3769 + fix typos and whitespace in manpages (patch by Jason McIntyre
3770 <jmc@prioris.mini.pw.edu.pl>).
3773 + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
3774 REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
3775 the editing position before making modifications.
3776 + add test/demo_forms and associated test/edit_field.c demos.
3777 + modify test/configure.in to use test/modules for the list of objects
3778 to compile rather than using the list of programs.
3781 + modify logic of acsc to use the original character if no mapping is
3782 defined, noting that Solaris does this.
3783 + modify ncurses 'b' test to avoid using the acs_map[] array since
3784 20021231 changes it to no longer contain information from the acsc
3786 + modify makefile rules in c++, progs, tack and test to ensure that
3787 the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link
3788 command (report by Jose Luis Rico Botella <informatica@serpis.com>).
3789 + modify soft-key initialization to use A_REVERSE if A_STANDOUT would
3790 not be shown when colors are used, i.e., if ncv#1 is set in the
3791 terminfo as is done in "screen".
3794 + add a test for slk_color(), in ncurses.c
3795 + fix some issues reported by valgrind in the slk_set() and slk_wset()
3796 code, from recent rewrite.
3797 + modify ncurses 'E' test to use show previous label via slk_label(),
3799 + modify wide-character versions of NewChar(), NewChar2() macros to
3800 ensure that the whole struct is initialized.
3803 + modify setupterm() to check if the terminfo and terminal-modes have
3804 already been read. This ensures that it does not reinvoke
3805 def_prog_mode() when an application calls more than one function,
3806 such as tgetent() and initscr() (report by Olaf Buddenhagen).
3809 + add 'E' test to ncurses.c, to exercise slk_wset().
3810 + correct handling of carriage-return in wgetn_wstr(), used in demo of
3812 + first draft of slk_wset() function.
3815 + improved warnings in tic when suppressing items to fit in termcap's
3817 + built a list in test/README showing which externals are being used
3818 by either programs in the test-directory or via internal library
3820 + adjust include-options in CF_ETIP_DEFINES to avoid missing
3821 ncurses_dll.h, fixing special definitions that may be needed for
3822 etip.h (reported by Greg Schafer <gschafer@zip.com.au>).
3825 + minor fixes for cardfile.c, to make it write the updated fields to
3826 a file when ^W is given.
3827 + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in
3831 + correct a case in _nc_remove_string(), used by define_key(), to avoid
3832 infinite loop if the given string happens to be a substring of other
3833 strings which are assigned to keys (report by John McCutchan).
3834 + add key_defined() function, to tell which keycode a string is bound
3835 to (discussion with John McCutchan <ttb@tentacle.dhs.org>).
3836 + correct keybound(), which reported definitions in the wrong table,
3837 i.e., the list of definitions which are disabled by keyok().
3838 + modify demo_keydef.c to show the details it changes, and to check
3842 + restructured test/configure script, make it work for libncursesw.
3843 + add description of link_fieldtype() to manpage (report by
3844 L Dee Holtsclaw <dee@sunbeltsoft.com>).
3847 + corrected ifdef's relating to configure check for wchar_t, etc.
3848 + if the output is a socket or other non-tty device, use 1 millisecond
3849 for the cost in mvcur; previously it was 9 milliseconds because the
3850 baudrate was not known.
3851 + in _nc_get_tty_mode(), initialize the TTY buffer on error, since
3852 glibc copies uninitialized data in that case, as noted by valgrind.
3853 + modify tput to use the same parameter analysis as tparm() does, to
3854 provide for user-defined strings, e.g., for xterm title, a
3855 corresponding capability might be
3857 + modify MKlib_gen.sh to avoid passing "#" tokens through the C
3858 preprocessor. This works around Mac OS X's preprocessor, which
3859 insists on adding a blank on each side of the token (report/analysis
3860 by Kevin Murphy <murphy@genome.chop.edu>).
3863 + add configure check for wchar_t and wint_t types, rather than rely
3864 on preprocessor definitions. Also work around for gcc fixinclude
3865 bug which creates a shadow copy of curses.h if it sees these symbols
3866 apparently typedef'd.
3867 + if database is disabled, do not generate run_tic.sh
3868 + minor fixes for memory-leak checking when termcap is read.
3871 + add checking in tic for incomplete line-drawing character mapping.
3872 + updated configure script to reflect fix for AC_PROG_GCC_TRADITIONAL,
3873 which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by
3874 Gerben Wierda <Sherlock@rna.nl>).
3875 + make return value from _nc_printf_string() consistent. Before,
3876 depending on whether --enable-safe-sprintf was used, it might not be
3877 cached for reallocating.
3880 + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c
3881 + correct a potentially-uninitialized value if _read_termtype() does
3882 not read as much data as expected (report by Wolfgang Rohdewald
3884 + correct several places where the aclocal.m4 macros relied on cache
3885 variable names which were incompatible (as usual) between autoconf
3886 2.13 and 2.5x, causing the test for broken-linker to give incorrect
3887 results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser
3888 <te@dbs.uni-hannover.de>).
3889 + do not try to open gpm mouse driver if standard output is not a tty;
3890 the gpm library does not make this check (bug report for dialog
3891 by David Oliveira <davidoliveira@develop.prozone.ws>).
3894 + modified emx.src to correspond more closely to terminfo.src, added
3895 emx-base to the latter -TD
3896 + add configure option for FreeBSD sysmouse, --with-sysmouse, and
3897 implement support for that in lib_mouse.c, lib_getch.c
3900 + revert 20030105 change to can_clear_with(), does not work for the
3901 case where the update is made on cells which are blanks with
3902 attributes, e.g., reverse.
3903 + improve ifdef's to guard against redefinition of wchar_t and wint_t
3904 in curses.h (report by Urs Jansen).
3907 + improve mvcur() by checking if it is safe to move when video
3908 attributes are set (msgr), and if not, reset/restore attributes
3909 within that function rather than doing it separately in the GoTo()
3910 function in tty_update.c (suggested by Philippe Blain).
3911 + add a message in run_tic.in to explain more clearly what does not
3912 work when attempting to create a symbolic link for /usr/lib/terminfo
3913 on OS/2 and other platforms with no symbolic links (report by John
3915 + change several sed scripts to avoid using "\+" since it is not a BRE
3916 (basic regular expression). One instance caused terminfo.5 to be
3917 misformatted on FreeBSD (report by Kazuo Horikawa
3918 <horikawa@FreeBSD.org> (see FreeBSD docs/46709)).
3919 + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins).
3922 + improve description of terminfo operators, especially static/dynamic
3923 variables (comments by Mark I Manning IV <mark4th@earthlink.net>).
3924 + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to
3925 use the predefined TYPE_ALPHA field-type, and by defining a
3926 specialized type for the middle initial/name.
3927 + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature
3929 > patch by Philippe Blain:
3930 + optimize can_clear_with() a little by testing first if the parameter
3931 is indeed a "blank".
3932 + simplify ClrBottom() a little by allowing it to use clr_eos to clear
3933 sections as small as one line.
3934 + improve ClrToEOL() by checking if clr_eos is available before trying
3936 + use tputs() rather than putp() in a few cases in tty_update.c since
3937 the corresponding delays are proportional to the number of lines
3938 affected: repeat_char, clr_eos, change_scroll_region.
3941 + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from
3942 global acs_map[] array; removed the lines that did the copying.
3945 + change some overlooked tputs() calls in scrolling code to use putp()
3946 (report by Philippe Blain).
3947 + modify lib_getch.c to avoid recursion via wgetnstr() when the input
3948 is not a tty and consequently mode-changes do not work (report by
3949 <R.Chamberlin@querix.com>).
3950 + rewrote lib_acs.c to allow PutAttrChar() to decide how to render
3951 alternate-characters, i.e., to work with Linux console and UTF-8
3953 + correct line/column reference in adjust_window(), needed to make
3954 special windows such as curscr track properly when resizing (report
3955 by Lucas Gonze <lgonze@panix.com>).
3956 > patch by Philippe Blain:
3957 + correct the value used for blank in ClrBottom() (broken in 20000708).
3958 + correct an off-by-one in GoTo() parameter in _nc_scrolln().
3961 + change several tputs() calls in scrolling code to use putp(), to
3962 enable padding which may be needed for some terminals (patch by
3964 + use '%' as sed substitute delimiter in run_tic script to avoid
3965 problems with pathname delimiters such as ':' and '@' (report by John
3967 + implement a workaround so that line-drawing works with screen's
3968 crippled UTF-8 support (tested with 3.9.13). This only works with
3969 the wide-character support (--enable-widec); the normal library will
3970 simply suppress line-drawing when running in a UTF-8 locale in screen.
3973 + allow BUILD_CC and related configure script variables to be
3974 overridden from the environment.
3975 + make build-tools variables in ncurses/Makefile.in consistent with
3976 the configure script variables (report by Maciej W Rozycki).
3977 + modify ncurses/modules to allow
3978 configure --disable-leaks --disable-ext-funcs
3979 to build (report by Gary Samuelson).
3980 + fix a few places in configure.in which lacked quotes (report by
3981 Gary Samuelson <gary.samuelson@verizon.com>).
3982 + correct handling of multibyte characters in waddch_literal() which
3983 force wrapping because they are started too late on the line (report
3984 by Sam Varshavchik).
3985 + small fix for CF_GNAT_VERSION to ignore the help-message which
3986 gnatmake adds to its version-message.
3987 > Maciej W Rozycki <macro@ds2.pg.gda.pl>:
3988 + use AC_CHECK_TOOL to get proper values for AR and LD for cross
3990 + use $cross_compiling variable in configure script rather than
3991 comparing $host_alias and $target alias, since "host" is
3992 traditionally misused in autoconf to refer to the target platform.
3993 + change configure --help message to use "build" rather than "host"
3994 when referring to the --with-build-XXX options.
3997 + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for
3998 possible gnat versions such as 3.2 (report by Chris Lingard
3999 <chris@stockwith.co.uk>).
4000 + modify #define's for CKILL and other default control characters in
4001 tset to use the system's default values if they are defined.
4002 + correct interchanged defaults for kill and interrupt characters
4003 in tset, which caused it to report unnecessarily (Debian #171583).
4004 + repair check for missing C++ compiler, which is broken in autoconf
4005 2.5x by hardcoding it to g++ (report by Martin Mokrejs).
4006 + update config.guess, config.sub (2002-11-30)
4007 + modify configure script to skip --with-shared, etc., when the
4008 --with-libtool option is given, since they would be ignored anyway.
4009 + fix to allow "configure --with-libtool --with-termlib" to build.
4010 + modify configure script to show version number of libtool, to help
4011 with bug reports. libtool still gets confused if the installed
4012 ncurses libraries are old, since it ignores the -L options at some
4013 point (tested with libtool 1.3.3 and 1.4.3).
4014 + reorder configure script's updating of $CPPFLAGS and $CFLAGS to
4015 prevent -I options in the user's environment from introducing
4016 conflicts with the build -I options (may be related to reports by
4017 Patrick Ash and George