1 -------------------------------------------------------------------------------
2 -- Copyright 2018-2020,2021 Thomas E. Dickey --
3 -- Copyright 1998-2017,2018 Free Software Foundation, Inc. --
5 -- Permission is hereby granted, free of charge, to any person obtaining a --
6 -- copy of this software and associated documentation files (the --
7 -- "Software"), to deal in the Software without restriction, including --
8 -- without limitation the rights to use, copy, modify, merge, publish, --
9 -- distribute, distribute with modifications, sublicense, and/or sell copies --
10 -- of the Software, and to permit persons to whom the Software is furnished --
11 -- to do so, subject to the following conditions: --
13 -- The above copyright notice and this permission notice shall be included --
14 -- in all copies or substantial portions of the Software. --
16 -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
17 -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
18 -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN --
19 -- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
20 -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
21 -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE --
22 -- USE OR OTHER DEALINGS IN THE SOFTWARE. --
24 -- Except as contained in this notice, the name(s) of the above copyright --
25 -- holders shall not be used in advertising or otherwise to promote the --
26 -- sale, use or other dealings in this Software without prior written --
28 -------------------------------------------------------------------------------
29 -- $Id: NEWS,v 1.3730 2021/10/18 22:51:28 tom Exp $
30 -------------------------------------------------------------------------------
32 This is a log of changes that ncurses has gone through since Zeyd started
33 working with Pavel Curtis' original work, pcurses, in 1992.
35 Changes through 1.9.9e are recorded by Zeyd M Ben-Halim.
36 Changes since 1.9.9e are recorded by Thomas E Dickey.
38 Contributors include those who have provided patches (even small ones), as well
39 as those who provide useful information (bug reports, analyses). Changes with
40 no cited author are the work of Thomas E Dickey (TD).
42 A few contributors may be cited in this file by their initials.
43 Each accounts for half of one percent or more of the changes since 1.9.9e.
44 See the AUTHORS file for the corresponding full names.
46 Changes through 1.9.9e did not credit all contributions;
47 it is not possible to add this information.
50 + check for screen size-change in scr_init() and scr_restore(), in case
51 a screen dump does not match the current screen dimensions (report by
55 + amend change for pkg-config to account for "none" being returned in
56 the libdir-path result rather than "no" (report by Gabriele Balducci).
59 + build-fix for pmake with libtool.
60 + improve make-tar.sh scripts, adding COPYING to tar file, and clean up
62 + add link for "reset6" manpage in test-package ncurses6-doc
63 + revise configure option --with-pkg-config-libdir, using the actual
64 search path from pkg-config or pkgconf using the output from --debug
65 (report by Pascal Pignard).
66 + freeze ABI in ".map" files.
69 + implement "+m" option in tabs program.
70 + fill in some details for infoton -TD
71 + fix spelling/consistency in several descriptions -TD
72 + use vt420+lrmm in vt420 -TD
73 + modify save_tty_settings() to avoid opening /dev/tty for cases other
74 than reset/init, e.g., for clear.
75 + modify output of "toe -as" to show first description found rather
77 + improve tic checks for number of parameters of smglp, smgrp, smgtp,
78 and smgbp (cf: 20020525).
79 + correct off-by-one comparison in last_char(), which did not allow
80 special case of ":" in a terminfo description field (cf: 20120407).
81 + remove check in tic that assumes that none or both parameterized and
82 non-parameterized margin-setting capabilities are present
86 + use return-value from vsnprintf to reallocate as needed to allow for
87 buffers larger than the screen size (report by "_RuRo_").
88 + modify tset "-q" option to refrain from modifying terminal modes, to
89 match the documentation.
90 + add section on margins to terminfo.5, adapted from X/Open Curses.
91 + make tput/tset warning messages consistently using alias names when
92 those are used, rather than the underlying program's name.
93 + improve tput usage message for aliases such as clear, by eliminating
94 tput-specific portions.
95 + add a check in toe to ensure that a "termcap file" is text rather
97 + further build-fixes for OpenBSD 6.9, whose header files differ from
101 + add kbeg to xterm+keypad to accommodate termcap applications -TD
102 + add smglp and smgrp to vt420+lrmm, to provide useful data for the
104 + build-fix for gcc 3.4.3 with Solaris10, which does not allow forward
105 reference of anonymous struct typedef.
106 + modify tput to allow multiple commands per line.
107 + minor fixes for tset manpage.
110 + adjust ifdef in test_opaque.c to fix build with ncurses 5.7
111 + add testing note for xterm-{hp|sco|sun} -TD
112 + corrected description for ansi.sys-old -TD
113 + add xterm+nopcfkeys, to fill in keys for xterm-hp, xterm-sun -TD
114 + use hp+arrows in a few places -TD
115 + use hp+pfk-cr in a few places -TD
118 + correct logic in filtering of redefinitions (report by Sven Joachim,
122 + modify linux3.0 entry to reflect default mapping of shift-tab by
123 kbd 1.14 (report by Jan Engelhardt) -TD
124 + add historical note to tput, curses-terminfo and curses-color
125 manpages based on source-code for SVr2, SVr3 and SVr4.
126 + minor grammatical fixes for "it's" vs "its" (report by Nick Black).
127 + amend fix for --disable-root-environ (report by Arnav Singh).
128 + build-fix for compiling link_test
129 + drop symbols GCC_PRINTF and GCC_SCANF from curses.h.in, to simplify
130 use (Debian #993179).
133 + correct reversed check for --disable-root-environ (report/analysis
134 by Arnav Singh, cf: 20210626).
135 + apply gcc format attribute to prototypes which use a va_list
136 parameter rather than a "..." variable-length parameter list
137 (prompted by discussion in a tmux pull-request).
138 + modify configure scripts to filter out redefinitions of _XOPEN_SOURCE,
139 e.g., for NetBSD which generally supports 500, but 600 is needed for
141 + improve documentation for tparm and static/dynamic variables.
142 + improve typography in terminfo.5 (patch by Branden Robinson).
145 + improve tparm implementation of %P and %g, more closely matching
147 + move internals of TERMINAL structure to new header term.priv.h
148 + add "check" rule for ncurses/Makefile
149 + corrected tsl capability for terminator -TD
150 + add check in tic to report instances where tparm would detect an
151 error in an expression (cf: 20201010).
152 + correct a few places where SP->_pair_limit was used rather than
153 SP->_pair_alloc (cf: 20170812).
154 + fix missing "%d" for setaf/setab code 8-15 in xterm+direct16 (report
155 by Florian Weimer) -TD
156 + fix some documentation errata from OpenBSD changes.
160 + add workaround for broken pcre2 package in Debian 10, from xterm #369.
163 + ignore "--dynamic-linker" option in generated pkg/config files,
164 adapted from "distr1" patch.
165 + add CF_SHARED_OPTS case for Haiku, from patch in haikuports.
168 + add extensions in xterm+tmux and ecma+strikeout to ms-terminal,
169 but cancel the non-working Cr and Ms capabilities -TD
170 + add foot and foot-direct -TD
173 + add workaround for Windows Terminal's problems with CR/LF mapping to
174 ms-terminal (patch by Juergen Pfeifer).
175 + review/update current Windows Terminal vs ms-terminal -TD
178 + correct typo in "vip" comments (report by Nick Black), reviewed this
179 against Glink manual -TD
180 + fill in some missing pieces for pccons, to make it comparable to the
182 + modify mk-1st.awk to account for extra-suffix configure option
183 (report by Juergen Pfeifer).
184 + change default for --disable-wattr-macros option to help packagers
185 who reuse wide ncursesw header file with non-wide ncurses library.
186 + build-fix for test/test_opaque.c, for configurations without opaque
190 + improve history section for tset manpage based on the 1BSD tarball,
191 which preceded BSD's SCCS checkins by more than three years.
192 + improve CF_XOPEN_CURSES macro used in test/configure (report by Urs
194 + further improvement of libtool configuration, adding a dependency of
195 the install.tic rule, etc., on the library in the build-tree.
199 + amend libtool configuration to add dependency for install.tic, etc.,
200 in ncurses/Makefile on the lower-level libraries.
201 + modify configure script to support ".PHONY" make program feature.
204 + add configure option --disable-root-access, which tells ncurses to
205 disallow most file-opens by setuid processes.
206 + use default colors in pccon "op" -TD
207 + correct rmacs/smacs in aaa+dec, aaa+rv -TD
208 + add hpterm-color2 and hp98550-color (Martin Trusler)
209 + regenerate man-html documentation.
212 + improve configure-macro used for dependencies of --disable-leaks such
214 + trim trailing blanks from files
217 + fixes for scan-build, valgrind build/testing.
218 + update config.guess
221 + add a summary of ncurses-specific preprocessor symbols to curses.h
222 (prompted by discussion with Peter Farley, Bill Gray).
225 + regenerate configure scripts with autoconf 2.52.20210509 to eliminate
226 an unnecessary warning in config.log (report by Miroslav Lichvar).
227 + add a note in manual page to explain ungetch vs unget_wch (prompted
228 by discussion with Peter Farley).
229 + add sp-funcs for erasewchar, killwchar.
230 + modify wgetnstr, wgetn_wstr to improve compatibility with SVr4 curses
231 in its treatment of interrupt and quit characters (prompted by
232 report/testcase by Bill Gray)
233 + update config.guess, config.sub
236 + improve manual pages for wgetnstr, newwin (prompted by
237 report/testcase by Bill Gray).
240 + modify tputs' error check to allow it to be used without first
241 calling tgetent or setupterm, noting that terminfo initialization
242 is required for supporting the terminfo delay feature (report by
244 + fix several warnings from clang --analyze
245 + add null-pointer check in comp_parse.c, when a "use=" clause refers
246 to a nonexisting terminal description (report/patch by Miroslav
247 Lichvar, cf: 20210227).
250 + add a special case in the configure script to work around one of the
251 build-time breakages reported for OpenBSD 6 here:
252 https://www.mail-archive.com/bugs@openbsd.org/msg13200.html
253 There is no workaround for the other issue, a broken linker spec.
254 + modify configure check for libtool to prevent accidental use of an
255 OpenBSD program which uses the same name.
256 + update config.guess, config.sub
259 + avoid using broken system macros for snprintf which interfere with
260 _nc_SLIMIT's conditionally adding a parameter when the string-hacks
261 configure option is enabled.
262 + add a "all::" rule before the new "check" rule in test/Makefile.in
265 + improve CF_LINK_FUNCS by ensuring that the source-file is closed
266 before linking to the target.
267 + add "check" rules for headers in c++, progs and test-directories.
268 + build-fix for termsort module when configured with termcap (reports
269 by Rajeev V Pillai, Rudi Heitbaum).
272 + extend --disable-pkg-ldflags option to also control whether $LDFLAGS
273 from the build is provided in -config and .pc files (Debian #986764).
274 + fix some cppcheck warnings, mostly style, in ncurses and c++
275 libraries and progs directory.
276 + fix off-by-one limit for tput's processing command-line arguments
277 (patch by Hadrien Lacour).
280 + fix some cppcheck warnings, mostly style, in ncurses library and
282 + improve description of BSD-style padding in curs_termcap.3x
283 + improved CF_C11_NORETURN macro, from byacc changes.
284 + fix "--enable-leak" in CF_DISABLE_LEAKS to allow turning
285 leak-checking off later in a set of options.
286 + relax modification-time comparison in CF_LINK_FUNCS to allow it to
287 accept link() function with NFS filesystems which change the mtime
288 on the link target, e.g., several BSD systems.
289 + call delay_output_sp to handle BSD-style padding when tputs_sp is
290 called, whether directly or internally, to ensure that the SCREEN
291 pointer is passed correctly (reports by Henric Jungheim, Juraj
295 + build-fixes for Solaris10 /bin/sh
296 + fix some cppcheck warnings, mostly style, in ncurses test-programs,
297 form and menu libraries.
300 + add configure option --enable-stdnoreturn, making the _Noreturn
301 keyword optional to ease transition (prompted by report by
305 + improve parameter-checking in tput by forcing it to analyze any
306 extended string capability, e.g., as used in the Cs and Ms
307 capabilities of the tmux description (report by Brad Town,
309 + remove an incorrect free in the fallback (non-checking) version of
310 _nc_free_and_exit (report by Miroslav Lichvar).
311 + correct use-ordering in some xterm-direct flavors -TD
312 + add hterm, hterm-256color (Mike Frysinger)
313 + if the build-time compiler accepts c11's _Noreturn keyword, use that
314 rather than gcc's attribute.
315 + change configure-check for gcc's noreturn attribute to assume it is
316 a prefix rather than suffix, matching c11's _Noreturn convention.
317 + add "lint" rule to c++/Makefile, e.g., with cppcheck.
320 + improve configure CF_LD_SEARCHPATH macro used for ncurses*-config and
321 ".pc" files, from dialog changes.
322 + reduce dependency of math-library in test programs.
323 + minor fixes for test_tparm.c (cf: 20210306)
324 + mention "ncurses" prefix in curses_version() manpage (report by
328 + improved test/test_tparm.c, by limiting the tests to capabilities
329 that might have parameters or padding, and combined with tputs test.
330 + improve discussion of padding versus tparm and tputs in
332 + update portability note for FreeBSD in man/tput.1
335 + modify tic/infocmp to eliminate unnecessary "\" to escape ":" in
337 + add check in tic for duplicate "use=" clauses.
340 + improve tic warning when oc/op do not mention SGR 39/49 for xterm
342 + revert change to lib_addch.c in waddch_literal() from 20210130, since
343 the followup fix in PutCharLR() actually corrects the problem while
344 this change causes too-early filling/wrapping (report by Johannes
346 + add/use vt220+pcedit and vt220+vtedit -TD
347 + add scrt/securecrt and absolute -TD
348 + add nel to xterm-new, though supported since X11R5 -TD
349 + add/use xterm+nofkeys -TD
350 + move use of ecma+italics from xterm-basic to xterm+nofkeys -TD
353 + add test/back_ground.c, to exercise the wide-character background
355 + add a check in _nc_build_wch() in case the background character is a
356 wide-character, rather than a new part of a multibyte character.
357 + improve tracemunch's coverage of form/menu/panel libraries.
358 + improve tracemunch's checking/reporting the type for the first
359 parameter, e.g., "WINDOW*" rather than "#1".
362 + provide for wide-characters as background character in wbkgrnd
363 (report/testcase by Anton Vidovic)
364 + add name for Fedora's pcre2 to configure check for "--with-pcre2"
365 option, from xterm #363 -TD
366 + modify adjustment in PutCharLR to restore the cursor position before
367 writing to the lower-right corner, rather than decrementing the
368 cursor column, in case it was a double-width character (cf: 20210130).
371 + correct an off-by-one in comparison in waddch_literal() which caused
372 scrolling when a double-cell character would not fit at the lower
373 right corner of the screen (report by Benno Schulenberg).
374 + split-out att610+cvis, vt220+cvis, vt220+cvis8 -TD
375 + add vt220-base, for terminal emulators which generally have not
376 supported att610's blinking cursor control -TD
377 + use vt220+cvis in vt220, etc -TD
378 + use att610+cvis, xterm+tmux and ansi+enq in kitty -TD
379 + use vt220+cvis in st, terminology, termite since they ignore
380 blinking-cursor detail in att610+cvis -TD
383 + modify package/config scripts to provide an explicit -L option for
384 cases when the loader search path has other directories preceding
385 the one in which ncurses is installed (report by Yuri Victorovich).
386 + minor build-fixes in configure script and makefiles to work around
390 + add comment for linux2.6 regarding CONFIG_CONSOLE_TRANSLATIONS
391 (report by Patrick McDermott) -TD
392 + make opts extension for getcchar work as documented for ncurses 6.1,
393 adding "-g" flag to test/demo_new_pair to illustrate.
396 + fix errata in man/ncurses.3x from recent updates.
397 + improve quoting/escaping in configure script, uses some features of
398 autoconf 2.52.20210105
401 + update man/curs_memleaks.3x, to include <term.h> which declares
403 + clarify man/curs_terminfo.3x, to mention why the macro setterm is
404 defined in <curses.h>, and remove it from the list of prototypes
405 (prompted by patch by Graeme McCutcheon).
406 + amend man/curs_terminfo.3x, to note that <curses.h> is required
407 for certain functions, e.g., those using chtype or attr_t for
408 types, as well as mvcur (cf: 20201031).
409 + use parameter-names in prototypes in curs_sp_funcs.3x, for
410 consistency with other manpages.
413 + update terminology entry to 1.8.1 -TD
414 + fix some compiler-warnings which gcc8 reports incorrectly.
417 + suppress hyphenation in generated html for manpages, to address
418 regression in upgrade of groff 1.22.2 to 1.22.3.
419 + fix inconsistent sort-order in see-also sections of manpages (report
423 + improve manual pages for form field-types.
426 + amend build-fixes for gnat 10 to work with certain systems lacking
427 gprbuild (cf: 20200627).
428 + eliminate an additional strlen and wsclen.
429 + eliminate an unnecessary strlen in waddnstr() (suggested by Benjamin
431 + modify inopts manpage, separating the items for nodelay and notimeout
432 (patch by Benno Schulenberg).
433 + correct mlterm3 kf1-kf4 (Debian #975322) -TD
434 + add flash to mlterm3 -TD
437 + add Smulx to alacritty (Christian Duerr).
438 + add rep to PuTTY -TD
439 + add putty+keypad -TD
440 + add another fflush(stdout) in _nc_flush() to handle time-delays in
441 the middle of strings such as flash when the application uses
442 low-level calls rather than curses (cf: 20161217).
443 + modify configure check for c89/c99 aliases of clang to use its
444 -std option instead, because some platforms, in particular macOS,
445 do not provide workable c89/c99 aliases.
448 + fix some compiler-warnings in experimental Windows-10 driver.
449 + add the definitions needed in recent configure-check for clang
450 (report by Steven Pitman).
453 + fix some compiler-warnings in experimental Windows-10 driver.
454 + modify a check for parameters in terminfo capabilities to handle the
455 special case where short extended capability strings were not
456 converted from terminfo to termcap format.
457 + modify CF_MIXEDCASE_FILENAMES macro, adding darwin as special case
458 when cross-compiling (report by Eli Rykoff).
461 + update kitty+common -TD
462 + add putty+screen and putty-screen (suggested by Alexandre Montaron).
463 + explain in ncurses.3x that functions in the tinfo library do not rely
464 upon wide-characters (prompted by discussion with Reuben Thomas).
467 + modify MKterm.h.in so that it is not necessary to include <curses.h>
468 before <term.h> (prompted by discussion with Reuben Thomas).
469 + review/improve synopsis for curs_sp_funcs.3x (prompted by discussion
471 + improve format of output in tic's check_infotocap() function, to
472 ensure that the messages contain only printable text.
473 + modify configure-check for clang to verify that -Qunused-arguments
474 is supported. IBM's xlclang does not support it (report by Steven
478 + provide workaround configure-check for bool when cross-compiling.
479 + fix a potential indexing error in _nc_parse_entry(), seen with
480 Herlim's test data using address-sanitizer.
481 + change a null-pointer check in set_curterm to a valid-string check,
482 needed in to tic's use-resolution when pad_char is cancelled
483 (report/testcase by Robert Sebastian Herlim)
484 + improve tic's -c option to validate the number and type of parameters
485 and compare against expected number/type before deciding which set of
486 parameter-lists to use in tparm calls (report/testcase by Robert
488 + fix a link for tabs.1 manpage in announce.html.in (report by Nick
489 Black), as well as some fixes via linklint.
492 + improve manpage typography.
493 + improve discussion in curs_addch.3x of the use of unctrl to display
494 nonprintable characters.
495 + add a note in terminfo.5 explaining that no-parameter strings such
496 as sgr0 or cnorm should not be used with tparm.
499 + correct sgr in aaa+rv (report by Florian Weimer) -TD
500 + fix some sgr inconsistencies in d230c, ibm6153, ibm6154,
502 + improve tic's check for errors detected in tparm (prompted by
503 discussion with Florian Weimer).
504 + set output-mode to binary in experimental Windows-10 driver (Juergen
508 + remove output-related checks for nl/nonl (report by Leon Winter).
509 + change tmux's kbs to ^? (report by Premysl Eric Janouch)
510 + simplify mlterm initialization with DECSTR -TD
511 + fix a typo in man/curs_terminfo.3 (Reuben Thomas).
512 + add tmux-direct (tmux #2370, Debian #895754)
513 + add user-defined capabilities from mintty to Caps-ncurses, for
514 checking consistency with tic.
517 + correct configure-check for gnurx library.
518 + regenerate llib-* files.
519 + modify tracemunch and the panel library to show readable traces for
520 panel- and user-pointers.
523 + update mlterm3 for 3.9.0 (report by Premysl Eric Janouch) -TD
526 + corrected condition for appending curses.events to the generated
527 curses.h (report by Sven Joachim, Debian #970545).
530 + add configure-check for systre/tre with mingw configuration, to get
531 the library-dependencies as seen in msys2 configuration for mingw64.
532 + build-fixes for the win32-driver configuration.
533 + use more defensive binary mode setting for Win32 (Juergen Pfeifer).
536 + fix regression in setupterm validating non-empty $TERM (report by
540 + merge/adapt in-progress work by Juergen Pfeifer for new version of
542 + correct description of vt330/vt340 (Ross Combs).
545 + build-fix for awk-scripts modified for win32-driver (report by Werner
549 + remove a redundant NCURSES_EXPORT as a build-fix for "Maarten
551 + merge/adapt in-progress work by Juergen Pfeifer for new version of
553 + modify configure script, moving gcc -Werror options to EXTRA_CFLAGS
554 to avoid breaking configure-checks (adapted from ongoing work on
556 > errata for terminfo.src (report by Florian Weimer):
557 + correct icl6404 csr
562 + improve version-number extraction in MKlib_gen.sh
563 + make the test-package for manpages installable by adjusting the
565 + correct an off-by-one loop-limit in convert_strings function
567 + add CF_SHARED_OPTS cases for HPE NonStop systems (Randall S Becker).
568 + modify CF_SHARED_OPTS case for NetBSD to use the same "-shared"
569 option for the non-rpath case as for the rpath case, to allow gcc to
570 provide suitable runtime initialization (report by Rajeev V Pillai).
573 + reduce build-warnings by excluding ncurses-internals from deprecation
575 + mark wgetch-events feature as deprecated.
576 + add definition for $(LIBS) to ncurses/Makefile.in, to simplify builds
577 using the string-hacks option.
578 + prevent KEY_EVENT from appearing in curses.h unless the configure
579 option --enable-wgetch-events is used (report by Werner Fink).
582 + amend tic/infocmp check to allow for the respective tool's absence
583 (report by Steve Wills, cf: 20200808).
584 + improved some of the build-scripts with shellcheck
585 + filter out -MT/-MD/-MTd/-MDd options in script for Visual Studio C++
586 (discussion with "Maarten Anonymous").
589 + improve discussion of the system's tic utility when used as part
590 of cross-compiling (discussion with Keith Marshall).
591 + modify configuration checks for build-time tic/infocmp to use
592 AC_CHECK_TOOL. That can still be overridden by --with-tic-path and
593 --with-infocmp-path when fallbacks are used, but even if not using
594 fallbacks, the improved check may help with cross-compiling
595 (discussion with Keith Marshall).
596 + other build-fixes for Ada95 with MinGW.
597 + modify Ada95 source-generation utility to write to a file given as
598 parameter rather than to the standard output, allowing builds with
602 + remove remaining parts of checks for ISC Unix (cf: 20121006).
603 + add user32.lib to LDFLAGS for Visual Studio C++ configuration
604 (discussion with "Maarten Anonymous").
605 + modify MKkey_defs.sh to hide ncurses' definition of KEY_EVENTS to
606 reduce Visual Studio C++ redefinition warnings.
607 + improve/update checks for external functions in test/configure
610 + set LINK_TESTS in CF_SHARED_OPTS for msvc (patch by
612 + improved workaround for redefinition-warnings for KEY_EVENT.
613 + improve man/term.5 section on legacy storage format (report by
617 + reduce redefinition-warnings for KEY_EVENT when building with Visual
619 + define NCURSES_STATIC when compiling programs to link with static
620 libraries, to work with MinGW vs Visual Studio C++.
621 > additional changes for building with Visual Studio C++ and msys2
622 (reports/patches by "Maarten Anonymous")
623 + modify c++/Makefile.in to set the current directory while compiling
624 the main program, so the linker can find related objects.
625 + several changes to allow the c++/demo program to compile/link.
626 + change an ifdef in test-directory, to use VC++ wide-character funcs.
629 + fix pound-sign mapping in acsc of linux2.6 entry (report by Ingo
631 + additional changes for building with Visual Studio C++ and msys2
632 (reports/patches by "Maarten Anonymous")
633 + build-improvements for Windows 10 and MinGW (patch by Juergen
635 + fix a typo in curs_printw.3x (patch by William Pursell).
636 + fix two errors in infotocap which allowed indexing outside the
637 buffer (report/testcases by Zhang Gan).
638 + update length of strings in infocmp's usage function to restore a
639 trailing null on the longest string (report/testcase by Zhang Gen).
642 + modify version-check with Ada generics to use the same pattern as in
643 the check for supported gnat versions (report by Pascal Pignard).
644 > additional changes for building with Visual Studio C++ and msys2
645 (patches by "Maarten Anonymous"):
646 + adjust headers/declarations to provide for "dllimport" vs "dllexport"
647 declarations when constructing DLLs, to worko with Visual Studio C++.
650 + build-fixes for gnat 10.1.1, whose gnatmake drops integration with
652 + correct buffer-length in test/color_name.h
655 + update list of functions in ncurses.3x
656 + move dlclose() call from lib_mouse.c to delscreen() to avoid a case
657 in the former which could be called from SIGTSTP handler (Debian
661 + add xterm+256color2, xterm+88color2, to deprecate nonstandard usage
662 in xterm+256color, xterm+88color -TD
663 + add shifted Linux console keys in linux+sfkeys entry for
664 screen.linux (report by Alexandre Montaron).
665 + use vt100+enq in screen (report by Alexandre Montaron).
666 + add screen.linux-s alias (suggested by Alexandre Montaron).
669 + correct configure version-check/warnng for g++ to allow for 10.x
670 + re-enable "bel" in konsole-base (report by Nia Huang)
671 + add linux-s entry (patch by Alexandre Montaron).
672 + drop long-obsolete convert_configure.pl
673 + add test/test_tparm.c, for checking tparm changes.
674 + improve parameter-checking for tparm, adding function _nc_tiparm() to
675 handle the most-used case, which accepts only numeric parameters
676 (report/testcase by "puppet-meteor").
677 + use a more conservative estimate of the buffer-size in lib_tparm.c's
678 save_text() and save_number(), in case the sprintf() function
679 passes-through unexpected characters from a format specifier
680 (report/testcase by "puppet-meteor").
681 + add a check for end-of-string in cvtchar to handle a malformed
682 string in infotocap (report/testcase by "puppet-meteor").
685 + update version-check for gnat to allow for gnat 10.x to 99.x
686 + fix an uninitialized variable in lib_mouse.c changes (cf: 20200502)
687 + add a check in EmitRange to guard against repeat_char emitting digits
688 which could be interpreted as BSD-style padding when --enable-bsdpad
689 is configured (report/patch by Hiltjo Posthuma).
690 + add --disable-pkg-ldflags to suppress EXTRA_LDFLAGS from the
691 generated pkg-config and ncurses*-config files, to simplify
692 configuring in the case where rpath is used but the packager wants
693 to hide the feature (report by Michael Stapelberg).
694 > fixes for building with Visual Studio C++ and msys2 (patches by
695 "Maarten Anonymous"):
696 + modify CF_SHARED_OPTS to generate a script which translates linker
697 options into Visual Studio's dialect.
698 + omit parentheses around function-names in generated lib_gen.c to
699 work around a Visual Studio C++ limitation.
702 + add notes on termcap.h header in curs_termcap.3x
703 + update notes on vscode / xterm.js -TD
706 + add "-r" option to the dots test-programs, to help with scripting
707 a performance comparison.
708 + build-fix test/move_field.c for NetBSD curses, whose form headers
709 use different names than SVr4 or ncurses.
712 + add details on the change to Linux SGR 21 in 2018 -TD
713 + add xterm-direct16 and xterm-direct256 -TD
714 + modify lib_mouse.c to check for out-of-range button numbers, convert
715 those to position reports.
718 + use vt100+fnkeys in putty -TD
719 + fix a typo in tput.1; "columns" should be "cols".
722 + improve tracemunch logic for "RUN" compaction.
723 + fix a special case in wresize() where copying the old text did not
724 check if the last cell on a row was the beginning of a fullwidth
725 character (adapted from patch by Benno Schulenberg).
726 + use vt52+keypad in xterm-vt52, from xterm #354 -TD
727 + improve see-also section of user_caps.5
730 + fix find_pair(), overlooked when refactoring for _nc_reserve_pairs()
731 (report/testcase by Brad Town, cf: 20170812).
732 + add a trailing null for magic-string in putwin, flagged by gcc 10
733 + update check for gcc version versus gnat to work with gcc 10.x
736 + modify -fvisibility check to work with g++
737 > fixes for building with Visual Studio C++ and msys2 (patches by
738 "Maarten Anonymous"):
739 + add configure option and check for gcc -fvisibility=hidden feature
740 + define NCURSES_NOMACROS in lib_gen.c to work around Visual Studio
741 C++ preprocessor limitations.
742 + modify some of the configure-macros, as well as mk-1st.awk to work
743 with Visual Studio C++ default filenaming.
746 + correct length of buffer copied in dup_field().
747 + remove "$(srcdir)/" from path of library.gpr, needed for out-of-tree
748 builds of Ada95 (patch by Adam Van Ymeren).
751 + improve configure-checks to reduce warnings about unused variables.
752 + improve description of error-returns in waddch and waddnstr manual
753 pages (prompted by patch by Benno Schulenberg).
754 + add test/move_field.c to demonstrate move_field(), and a stub for
755 a corresponding demo of dup_field().
758 + add history note to curs_scanw.3x for <stdarg.h> and <varargs.h>
759 + add history note to curs_printw.3x for <stdarg.h> and <varargs.h>
760 + add portability note to ncurses.3x regarding <stdarg.h>
763 + update copyright notices in test-packages.
764 + modify tracemunch to guard against errors in its known_p1 table.
765 + add several --with-xxx-libname options, to help with pkgsrc (prompted
766 by discussion with Thomas Klausner).
769 + modify wbkgd() and wbkgrnd() to avoid storing a null in the
770 background character, because it may be used in cases where the
771 corresponding 0x80 is not treated as a null (report by Marc Rechte,
775 + modify CF_NCURSES_CONFIG to work around xcode's c99 "-W" option,
776 which conflicts with conventional use for passing linker options.
777 > fixes for building with Visual Studio C++ and msys2 (patches by
778 "Maarten Anonymous"):
779 + check for pcre2posix.h instead of pcre2-posix.h
780 + add case in CF_SHARED_OPTS for msys2 + msvc
781 + add fallback definition for STDIN_FILENO in progs.priv.h
782 + modify win_driver.c to use _alloca() rather than gcc's variable
783 length array feature.
784 + add NCURSES_IMPEXP to ncurses wrapped-variable declarations
785 + remove NCURSES_IMPEXP from class variables in c++/cursslk.h
786 + remove fallback prototype for exit() from c++/etip.h.in
787 + use configured check for <sys/time.h> in a couple of places
788 + conditionally include winsock.h in ncurses/win32con/gettimeofday.c,
789 because Visual Studio needs this for the timestruct declaration.
790 + adjust syntax in a couple of files using the NCURSES_API symbol.
793 + expanded note in ncurses.3x regarding automatically-included headers
794 + improve vt50h and vt52 based on DECScope manual -TD
795 + add/use vt52+keypad and vt52-basic -TD
796 + check/workaround for line-too-long in Ada95 generate utility when
797 building out-of-tree.
798 + improve/update HEADER_DEPS in */Makefile.in
799 + add "check" rule to include/Makefile, to demonstrate that the headers
800 include all of the required headers for the types used.
803 + improve manual page for panel library, extending the portability
804 section as well as documenting error-returns.
805 + show tic's version when installing terminal database in run_tic.sh
806 + correct check for gcc vs other compilers used in ncurses 6.0, from
807 FreeBSD patch by Kyle Evans (cf: 20150725).
808 + add notes for 6.2 to INSTALL.
810 20200212 6.2 release for upload to ftp.gnu.org
811 + update release notes
812 + minor build-fixes, mostly to test-package scripts
815 + modify check for sizeof(wchar_t) to ensure it gives useful result
816 when cross-compiling.
817 + drop assumption in configure script that Cygwin's linker is broken.
818 + define NCURSES_BROKEN_LINKER if the broken-linker feature is used,
819 to simplify configure-checks for ncurses-examples.
822 + reassert copyright on ncurses, per discussion in ncurses FAQ:
823 https://invisible-island.net/ncurses/ncurses.faq.html#relicensed
826 + modify comparison in make_hash.c to correct a special case in
827 collision handling for Caps-hpux11
828 + add testing utility report_hashing to check hash-tables used for
829 terminfo and termcap names.
830 + fix a missing prototype for _nc_free_and_exit().
831 + update a few comments about tack 1.07
832 + use an awk script to split too-long pathnames used in Ada95 sample
833 programs for explain.txt
836 + expanded description of XM in user_caps.5
837 + improve xm example for xterm+x11mouse, xterm+sm+1006 -TD
838 + add history section to curs_slk.3x and curs_terminfo.3x manpages.
839 + update alacritty entries for 0.4.0 (prompted by patch by
841 + correct spelling errors found with codespell.
842 + fix for test/configure, from xterm #352.
845 + improve configure macros which check for the X11/Intrinsic.h header,
846 to accommodate recent MacOS changes.
847 + suppress gcc's -Winline warning; it has not been useful for some time
848 + update config.guess, config.sub
851 + modify a couple of macros in aclocal.m4 to allow autoconf 2.69 to
852 "work", to help illustrate discussion in
853 https://invisible-island.net/autoconf/my-autoconf.html
854 + fix some warnings from autoheader-252
857 + in gen-pkgconfig.in, move the RPATH_LIST and PRIVATE_LIBS assignments
858 past the various prefix/libdir assignments, to allow for using those
859 symbols, e.g., as done via CF_SHARED_OPTS.
860 + improve ncurses*-config and pc-files by filtering out linker-specs.
861 + modify test-package to more closely match Fedora's configuration
862 for PIE/PIC feature and debug-packages.
865 + correct pathname used in Ada95 sample programs for explain.txt, to
866 work with test-packages.
867 + improve tracemunch:
868 + keep track of TERMINAL* values
869 + if tracing was first turned on after initialization, attempt to
870 show distinct screen, window and terminal names anyway.
871 + ensure that GCC_NORETURN is defined in term.h, because the prototype
872 for exit_terminfo() uses it (report by Werner Fink).
875 + add exit_curses() and exit_terminfo() to replace internal symbols for
879 + fix a few warnings for test-package builds
880 + add curses_trace(), to replace trace().
883 + add portability section to curs_getcchar manpage (prompted by
884 discussion with Nick Black).
885 + improve portability discussion of ACS characters in curs_addch
887 + improve typography for double-quotes in manpages.
890 + fix typo for MinGW rpm test-package.
891 + workaround in rpm specs for NFS problems in Fedora 31.
894 + modify ncurses/Makefile.in to fix a case where Debian/testing changes
895 to the ld --as-needed configuration broke ncurses-examples test
897 + drop library-dependency on psapi for MinGW port, since win_driver.c
898 defines PSAPI_VERSION to 2, making it use GetProcessImageFileName
899 from kernel32.dll (prompted by patch by Simon Sobish, cf: 20140503).
902 + add warning-check in tic for terminals with parm_dch vs parm_ich.
903 + drop ich1 from rxvt-basic, Eterm and mlterm to improve compatibility
904 with old non-curses programs -TD
905 + reviewed st 0.8.2, updated some details -TD
906 + use ansi+rep several places -TD
907 + corrected tic's check for ich1 (report by Sebastian J. Bronner,
911 + check parameter of set_escdelay, return ERR if negative.
912 + check parameter of set_tabsize, return ERR if not greater than zero
913 (report/patch by Anthony Sottile).
914 + revise CF_ADD_LIBS macro to prepend rather than append libraries.
915 + add "xterm-mono" to help packagers (report by Sven Joachim) -TD
918 + add a note in man/curs_add_wch.3x about Unicode terminology for the
919 line-drawing characters (report by Nick Black).
920 + improve comment in lib_tgoto.c regarding the use of \200 where a
921 \0 would be intended by the caller (report by "64 bit", cf: 20000923).
922 + modify linux-16color to accommodate Linux console driver change in
923 early 2018 (report by Dino Petrucci).
926 + modify make_hash to not require --disable-leaks, to simplify building
927 with address-sanitizer.
928 + modify tic to exit if it cannot remove a conflicting name, because
929 treating that as a partial success can cause an infinite loop in
930 use-resolution (report/testcase by Hongxu Chen, cf: 20111001).
933 + improve buffer-checks in captoinfo.c, for some cases when the
934 input string is shorter than expected.
935 > fix two errata in tic (report/testcases by Hongxu Chen):
936 + check for missing character after backslash in write_it
937 + check for missing characters after "%>" when converting from termcap
941 + amend recent changes to ncurses*-config and pc-files to filter out
942 Debian linker-flags (report by Sven Joachim, cf: 20150516).
943 + clarify relationship between tic, infocmp and captoinfo in manpage.
944 + check for invalid hashcode in _nc_find_type_entry and
946 > fix several errata in tic (reports/testcases by "zjuchenyuan"):
947 + check for invalid hashcode in _nc_find_entry.
948 + check for missing character after backslash in fmt_entry
949 + check for acsc with odd length in dump_entry in check for one-one
950 mapping (cf: 20060415);
951 + check length when converting from old AIX box_chars_1 capability,
952 overlooked in changes to eliminate strcpy (cf: 20001007).
955 + modify the ncurse*-config and pc-files to more closely match for the
959 + amend the ncurses*-config and pc-files to take into account the rpath
960 hack which differed between those files.
961 + improve -L option filtering in ncurses*-config
962 + improve recovery from error when reading command-character in
963 test/ncurses.c, showing the relevant error message and not exiting on
967 + add a note in resizeterm manpage about top-level windows which touch
968 the screen's borders.
969 + modify configure-checks for gnat to identify each of the tools path
973 + build-fixes for Ada95 configure-script and corresponding test package
976 + add --with-ada-libname option and modify Ada95 configuration to
977 allow renaming the "AdaCurses" library (prompted by proposed changes
979 + modify configure script to distinguish gcc from icc and clang when
980 the --enable-warnings option is not used, to avoid unnecessary
981 warnings about unrecognized inline options (report by Sven Joachim).
984 + build-fixes for configuration using --program-suffix with Ada95,
985 noticed with MacOS but applicable to other platforms without
989 + fix some cppcheck warnings, mostly style, in ncurses test-programs.
992 + amend 20181208 changes for wbkgd() and wbkgrnd(), fixing a few
993 details where it still differed from SVr4.
994 + fix some cppcheck warnings, mostly style, in ncurses test-programs.
997 + fix a few more coverity warnings.
1000 + improve loop limits in _nc_scroll_window() to handle a case where
1001 the scrolled data is a pad which is taller than the window (patch
1003 + amend the change to screen, because tmux relies upon that entry
1004 and does not support that feature (Debian #933572) -TD
1005 + updated ms-terminal entry & notes -TD
1006 + updated kitty entry & notes -TD
1007 + updated alacritty+common entry & notes -TD
1008 + use xterm+sl-twm for consistency -TD
1011 + fix a few more coverity warnings.
1012 + more documentation updates based on tctest.
1015 + fix a few coverity warnings.
1016 + documentation updates based on tctest.
1019 + fix a few warnings for gcc 4.x
1020 + add some portability/historical details to the tic, toe and infocmp
1022 + correct fix for broken link from terminfo(5) to tabs(1) manpage
1023 (report by Sven Joachim).
1026 + change reset's behavior for margins to simply clear soft-margins if
1027 possible, rather than clearing and then setting them according to the
1028 terminal's width (suggested by Thomas Wolff).
1029 + correct order of one wbkgd versus start_color call in test/padview.c
1033 + improve comments for recent changes, add alias xterm.js -TD
1036 + add --with-tic-path and --with-infocmp-path to work around problems
1037 building fallback source using pre-6.0 tic/infocmp.
1038 + add a check in tic for paired indn/rin
1039 + correct a buffer-limit in write_entry.c for systems that use caseless
1041 + add ms-terminal -TD
1042 + add vscode, vscode-direct -TD
1045 + improve the tabs.1 manual page to distinguish the PWB/Unix and 7th
1046 Edition versions of the tabs utility.
1047 + add configure check for getenv() to work around implementation shown
1048 in Emscripten #6766, use that to optionally suppress START_TRACE
1049 macro, whose call to getenv() may not work properly (report by Ilya
1051 + modify initialization functions to avoid relying upon persistent
1052 data for the result from getenv().
1053 + update config.guess, config.sub
1056 + expand the portability section of the man/tabs.1 manual page.
1057 + regenerate HTML manpages.
1060 + add mintty, mintty-direct (adapted from patch by Thomas Wolff).
1061 Some of the suggested user-defined capabilities are commented-out,
1062 to allow builds with ncurses 5.9 and 6.0
1063 + add Smol/Rmol for tmux, vte-2018 (patch by Nicholas Marriott).
1064 + add rs1 to konsole, mlterm -TD
1065 + modify _nc_merge_entry() to make a copy of the data which it merges,
1066 to avoid modifying the source-data when aligning extended names.
1069 + modify an internal call to vid_puts to pass extended color pairs
1070 e.g., from tty_update.c and lib_mvcur.c (report by Niegodziwy Beru).
1071 + improve manual page description of init_tabs capability and TABSIZE
1075 + modify reset_cmd.c to allow for tabstops at intervals other than 8
1076 (report by Vincent Huisman).
1079 + update xterm-new to xterm patch #345 -TD
1080 + add/use xterm+keypad in xterm-new (report by Alain D D Williams) -TD
1081 + update terminator entry -TD
1082 + remove hard-tabs from ti703 (report by Robert Clausecker)
1083 + mention meml/memu/box1 in user_caps manual page.
1084 + mention user_caps.5 in tic and infocmp manual pages.
1087 + fix a spurious blank line seen with "infocmp -1fx xterm+x11mouse"
1088 + add checks in repair_subwindows() to keep the current position and
1089 scroll-margins inside the resized subwindow.
1090 + add a limit check in newline_forces_scroll() for the case where the
1091 row is inside scroll-margins, but not at the end (report by Toshio
1092 Kuratomi, cf: 20170729).
1093 + corrected a warning message in tic for extended capabilities versus
1094 number of parameters.
1097 + improve workaround for Solaris wcwidth versus line-drawing characters
1098 (report by Pavel Stehule).
1099 + add special case in tic to validate RGB string-capability extension.
1100 + corrected string/parameter-field for RGB in Caps-ncurses.
1103 + corrected problem in terminfo load/realignment which prevented
1104 infocmp from comparing extended capabilities with the same name
1105 but different types.
1108 + improve ifdef's for TABSIZE variable, to help with AIX/HPUX ports.
1111 + check for TABSIZE variable in test/configure script.
1112 + used test/test_arrays.c to improve Caps.aix1 and Caps.hpux11
1113 + corrected filtering of comments in MKparametrized.sh
1114 + reduce duplication across Caps* files by moving some parts which do
1115 not depend on order into Caps-ncurses.
1118 + modify MKcaptab.sh, MKkey_defs.sh, and MKhashsize.sh to handle
1119 split-up Caps-files.
1120 + build-fixes if extended-functions are disabled.
1123 + add "screen5", to mention italics (report by Stefan Assmann)
1124 + modify description of xterm+x11hilite to eliminate unused p5 -TD
1125 + add configure script checks to help with a port to Ultrix 3.1
1126 (report by Dennis Grevenstein).
1127 + check if "b" binary feature of fopen works
1128 + check for missing feature of locale.h
1129 + add fallback for strstr() in test-programs
1130 + add fallback for STDOUT_FILENO in test-programs
1131 + update config.guess, config.sub
1134 + move macro for is_linetouched() inside NCURSES_NOMACROS ifndef.
1135 + corrected prototypes in several manpages using script to extract
1136 those in compilable form.
1137 + use _nc_copy_termtype2() rather than direct assignment in setupterm,
1138 in case it is called repeatedly using fallback terminfo descriptions
1139 (report/patch by Werner Fink).
1142 + regenerate llib-* files.
1143 + modify tic to also use new function for user-defined capability info.
1144 + modify _nc_parse_entry() to check if a user-defined capability has
1145 an unexpected type; ignore it in that case.
1146 + fix a special case of link-anchors in generated Ada html files.
1147 + use newer rel=author tag in generated html rather than rev=made,
1148 which did not become accepted.
1151 + in-progress changes to add parameter-checking for common user-defined
1152 capabilities in tic.
1153 + update MKcodes.awk and MKnames.awk to ignore the new "userdef"
1154 data in Caps-ncurses (cf: 20190302).
1157 + corrected some of the undocumented terminfo names in Caps.hpux11
1158 + add "Caps-ncurses" file to help with checking inconsistencies in some
1159 user-defined capabilities.
1160 + amend check for repeat_char to handle a case where setlocale() was
1161 called after initscr() (report by "Ampera").
1164 + fix typo in adds200 -TD
1165 + add tic check for consistent alternate character set capabilities.
1166 + improve check in mvcur() to decide whether to use hard-tabs, using
1167 xt, tbc and hts as clues.
1168 + replace check in reset command for obsolete "pt" capability using
1169 tbc and hts capabilities as clues (report by Nicolas Marriott).
1172 + improve manual page description of TABSIZE.
1173 + add test/demo_tabs program.
1176 + add check in tic to provide warnings for mismatched number of
1177 parameters in the documented user-capability extensions.
1180 + modify rpm test-package ".spec" file to work around naming conflict
1181 with Redhat's package for ncurses6.
1182 + modify no-leaks code in test/picsmap to avoid non-standard tdestroy.
1183 + amend change to configure script which altered the top-level makefile
1184 to avoid attempting to install the terminfo database when it was not
1185 configured, to allow for installing the ".pc" files which are also
1186 in the misc directory (report by Steve Wills).
1189 + change some "%define" statements in test-packages for RPMs to
1190 "%global" to work around changes in rpm 4.14 from recent Redhat.
1191 + fixes for O_INPUT_FIELD extension (patch by Leon Winter).
1192 + eliminate fixed buffer-size when reading $TERMCAP variable.
1193 + correct logic in read_entry.c which prevented $TERMCAP variable from
1194 being interpreted as a fallback to terminfo entry (prompted by
1195 Savannah #54556, cf: 20110924).
1198 + add a check in test/configure to work around non-ncurses termcap.h
1200 + corrected flag for "seq" method of db 1.8.5 interface, needed by toe
1201 on some of the BSDs.
1202 + updated "string-hacks" feature.
1203 + minor improvements to manpage typography.
1204 + corrected conditionally-compiled limit on color pairs (report by
1206 + add -x option to test/pair_content, test/color_content for testing
1207 init_extended_pair, extended_pair_content, init_extended_color,
1208 extended_color_content
1209 + add -p option to test/pair_content, test/color_content to show the
1210 return values from the tested functions.
1211 + improve manual page curs_color.3x discussion of error returns and
1213 + add O_INPUT_FIELD extension to form library (patch by Leon Winter).
1214 + override/suppress --enable-db-install if --disable-database configure
1216 + change a too-large terminal entry in tic from a fatal error to a
1217 warning (prompted by discussion with Gabriele Balducci).
1220 + fix typo in term(5), improve explanation of format (report by Otto
1222 + add nsterm-direct -TD
1223 + use SGR 1006 mouse for konsole-base -TD
1224 + use SGR 1006 mouse for putty -TD
1225 + add ti703/ti707, ti703-w/ti707-w (Robert Clausecker)
1228 + add dummy "check" rule in top-level and test-Makefile to simply
1229 building test-packages for Arch.
1230 + modify configure script to avoid conflict with a non-POSIX feature
1231 that enables all parts of the system headers by default. Some
1232 packagers have come to rely upon this behavior (FreeBSD #234049).
1233 + update config.guess, config.sub
1236 + improve man/curs_mouse.3x with regard to xterm
1237 + modify tracemunch to accept filename parameters in addition to use
1239 + minor optimization to reduce calls to _nc_reserve_pairs (prompted by
1240 discussion with Bryan Christ).
1241 + add test/pair_content.c and test/color_content.c
1242 + modify infocmp to omit filtering of "OTxx" names which are used for
1243 obsolete capabilities, when the output is sorted by long-names.
1244 Doing this helps when making a table of the short/long capability
1248 + several fixes for gcc8 strict compiler warnings.
1249 + fix a typo in comments (Aaron Gyes).
1250 + add nsterm-build309 to replace nsterm-256color, assigning the latter
1251 as an alias of nsterm, to make mouse work with nsterm-256color -TD
1252 + base gnome-256color entry on "gnome", not "vte", for consistency -TD
1253 + updates for configure macros from work on tin and xterm:
1254 + CF_GNU_SOURCE, allow for Cygwin's newlib when checking for the
1255 _DEFAULT_SOURCE symbol.
1256 + CF_VA_COPY, add fallback check if neither va_copy/__va_copy is
1257 supported, to try copying the pointers for va_list, or as an array.
1258 Also add another fallback check, for __builtin_va_copy(), which
1259 could be used with AIX xlc in c89 mode.
1262 + modify wbkgd() and wbkgrnd() to improve compatibility with SVr4
1263 curses, changing the way the window rendition is updated when the
1264 background character is modified (report by Valery Ushakov).
1267 + add midnightbsd to CF_XOPEN_SOURCE macro (patch by Urs Jansen).
1268 + add "@" command to test/ncurses F-test, to allow rapid jump to
1269 different character pages.
1270 + update config.guess, config.sub from
1271 http://git.savannah.gnu.org/cgit/config.git
1274 + build-fix (reports by Chih-Hsuan Yen, Sven Joachim).
1277 + check --with-fallbacks option to ensure there is a value, and add
1278 the fallback information to top-level Makefile summary.
1279 + add some traces in initialization to show whether a fallback entry is
1281 + build-fix for test/movewindow with ncurses-examples on Solaris.
1282 + add "-l" option to test/background, to dump screen contents in a form
1283 that lets different curses implementations be compared.
1284 + modify the initialization checks for mouse so that the xterm+sm+1006
1285 block will work with terminal descriptions not mentioning xterm
1286 (report by Tomas Janousek).
1289 + ignore the hex/b64 $TERMINFO in toe's listing.
1290 + correct a status-check in _nc_read_tic_entry() so that if reading
1291 a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to
1292 the compiled-in search list.
1295 + several workarounds to ensure proper C compiler used in parts of
1297 + update config.guess, config.sub from
1298 http://git.savannah.gnu.org/cgit/config.git
1301 + add OpenGL clients alacritty and kitty -TD
1302 + add Smulx for tmux, vte-2018 -Nicholas Marriott
1305 + ignore $TERMINFO as a default value in configure script if it came
1306 from the infocmp -Q option.
1307 + allow value for --with-versioned-syms to be a relative pathname
1308 + add a couple of broken-linker symbols to the list of versioned
1309 symbols to help with link-time optimization versus weak symbols.
1310 + apply shift/control/alt logic when decoding xterm's 1006 mode to
1311 wheel-mouse events (Redhat #1610681).
1314 + amend change from 20180818, which undid a fix for the $INSTALL value
1315 to make it an absolute path.
1318 + improve a configure check to work with newer optimizers (report by
1319 Denis Pronin, Gentoo #606142).
1320 + fix typo in tput.c (Sven Joachim, cf: 20180825).
1323 + fix typo in tvi955 -TD
1324 + corrected acsc for regent60 -TD
1325 + add alias n7900 -TD
1326 + corrected acsc for tvi950 -TD
1327 + remove bogus kf0 from tvi950 -TD
1328 + added function-key definitions to agree with Televideo 950 manual -TD
1329 + add bel to tvi950 -TD
1330 + add shifted function-keys to regent60 -TD
1331 + renumber regent40 function-keys to match manual -TD
1332 + add cd (clr_eos) to adds200 -TD
1335 + build-fix: remove a _tracef call which was used for debugging (report
1339 + ignore interrupted system-call in test/ncurses's command-line, e.g.,
1340 if the terminal were resized.
1341 + add shift/control/alt logic for decoding xterm's 1006 mode (Redhat
1342 #1610681, cf: 20141011).
1343 + modify rpm test-packages to not use --disable-relink with Redhat,
1344 since Fedora 28's tools do not work with that feature.
1347 + document --with-pcre2 configure option in INSTALL.
1348 + improve workaround for special case in PutAttrChar() where a cell is
1349 marked as alternate-character set, to handle a case where the
1350 character in the cell does not correspond to any of the ASCII
1351 fallbacks (report by Leon Winter, cf: 20180505).
1352 + amend change to form library which attempted to avoid unnecessary
1353 update of cursor position in non-public fields, to simply disable
1354 output in this case (patch by Leon Winter, cf: 20180414).
1355 + improve check for LINE_MAX runtime limit, to accommodate broken
1356 implementations of sysconf().
1359 + improve manual page for wgetnstr, giving background for the length
1361 + define a limit for wgetnstr, wgetn_wstr when length is negative or
1363 + update configure script to autoconf 2.52.20180819 (Debian #887390).
1366 + add a section to tput manual page clarifying how it determines the
1367 terminal size (prompted by discussion with Grant Jenks).
1368 + add "--disable-relink" to rpm test-packages, for consistency with the
1370 + split spec-file into ncurses6.spec and ncursest6.spec to work around
1371 toolset breakage in Fedora 28.
1372 + drop mention of "--disable-touching", which was not in the final
1376 + build-fix for PDCurses with ncurses-examples.
1377 + improved CF_CC_ENV_FLAGS.
1378 + modify configure scripts to reduce relinking/ranlib during library
1379 install (Debian #903790):
1380 + use "install -p" when available, to avoid need for ranlib of
1382 + modify scripts which use "--disable-relink" to add a 1-second
1383 sleep to work around tools which use whole-second timestamps, e.g.,
1384 in utime() rather than the actual file system resolution.
1387 + improve logic for clear with E3 extension, in case the terminal
1388 scrolls content onto its saved-lines before actually clearing
1389 the display, by clearing the saved-lines after clearing the
1390 display (report/patch by Nicholas Marriott).
1393 + improve documentation regarding feature-test macros in curses.h
1394 + improve documentation regarding the virtual and physical screens.
1395 + formatting fixes for manpages, regenerate man-html documentation.
1398 + build-fixes for gcc8.
1399 + corrected acsc for wy50 -TD
1400 + add wy50 and wy60 shifted function-keys as kF1 to kF16 -TD
1401 + remove ansi+rep mis-added to interix in 2018-02-23 -TD
1404 + add enum, regex examples to test/demo_forms
1405 + add configure check for pcre-posix library to help with MinGW port.
1408 + build-fixes for gcc8.
1409 + correct order of WINDOW._ttytype versus WINDOW._windowlist in
1411 + fix a case where tiparm could return null if the format-string was
1412 empty (Debian #902630).
1415 + add acsc string to vi200 (Nibby Nebbulous)
1416 add right/down-arrow to vi200's acsc -TD
1417 + add "x" to tput's getopt string so that "tput -x clear" works
1418 (Nicholas Marriott).
1419 + minor fixes prompted by anonymous report on stack overflow:
1420 + correct order of checks in _nc_get_locale(), for systems lacking
1422 + add "#error" in a few places to flag unsupported configurations
1425 + use _WIN32/_WIN64 in preference to __MINGW32__/__MINGW64__ symbols
1426 to simplify building with MSVC, since the former are defined in both
1427 compiler configurations (report by Ali Abdulkadir).
1428 + further improvements to configure-checks from work on dialog, i.e.,
1429 updated CF_ADD_INCDIR, CF_FIND_LINKAGE, CF_GCC_WARNINGS,
1430 CF_GNU_SOURCE, CF_LARGEFILE, CF_POSIX_C_SOURCE, CF_SIZECHANGE, and
1431 CF_TRY_XOPEN_SOURCE.
1432 + update config.guess, config.sub from
1433 http://git.savannah.gnu.org/cgit/config.git
1436 + build-fix for ncurses-examples related to gcc8-fixes (cf: 20180526).
1437 + reduce use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE
1438 combines with _XOPEN_SOURCE (Debian #900987).
1439 + change target configure level for _XOPEN_SOURCE to 600 to address
1440 use of vsscanf and setenv.
1441 + improved configure-checks CF_SIZECHANGE and CF_STRUCT_TERMIOS from
1445 + modify generated ncurses*config and ncurses.pc, ncursesw.pc, etc.,
1446 to list helper libraries such as gpm for static linking (Debian
1448 + marked vwprintw and vwscanw as deprecated; recommend using vw_printw
1449 and vw_scanw, respectively.
1452 + add RPM test-package "ncursest-examples".
1453 + modified RPM test-package to work with Mageia6.
1456 + add note in curs_util.3x about unctrl.h
1457 + review/improve header files to ensure that those include necessary
1458 files except for the previously-documented cases (report by Isaac
1460 + improved test-package scripts, adapted from byacc 1.9 20180525.
1461 + fix some gcc8 warnings seen in Redhat package build, but
1462 work around bug in gcc8 compiler warnings in comp_parse.c
1465 + formatting fixes for manpages, regenerate man-html documentation.
1466 + trim spurious whitespace from tmux in 2018-02-24 changes;
1467 fix some inconsistencies in/between tmux- and iterm2-entries for SGR
1468 (report by C Anthony Risinger)
1469 + improve iterm2 using some xterm features which it has adapted -TD
1470 + add check in pair_content() to handle the case where caller asks
1471 for an uninitialized pair (Debian #898658).
1474 + remove trailing ';' from GCC_DEPRECATED definition.
1475 + repair a change from 20110730 which left an error-check/warning dead.
1476 + fix several minor Coverity warnings.
1479 + add deprecation warnings for internal functions called by older
1481 + fix a special case in PutAttrChar() where a cell is marked as
1482 alternate-character set, but the terminal does not actually support
1483 the given graphic character. This would happen in an older terminal
1484 such as vt52, which lacks most line-drawing capability.
1485 + use configure --with-config-suffix option to work around filename
1486 conflict with Debian packages versus test-packages.
1487 + update tracemunch to work with perl 5.26.2, which changed the rules
1488 for escaping regular expressions.
1491 + document new form-extension O_EDGE_INSERT_STAY (report by Leon
1493 + correct error-returns listed in manual pages for a few form functions
1494 (report by Leon Winter).
1495 + add a check in form-library for null-pointer dereference:
1496 unfocus_current_field (form);
1497 form_driver (form, REQ_VALIDATION);
1498 (patch by Leon Winter).
1501 + modify form library to optionally delay cursor movement on a field
1502 edge/boundary (patch by Leon Winter).
1503 + modify form library to avoid unnecessary update of cursor position in
1504 non-public fields (patch by Leon Winter).
1505 + remove unused _nc_import_termtype2() function.
1506 + also add/improve null-pointer checks in other places
1507 + add a null-pointer check in _nc_parse_entry to handle an error when
1508 a use-name is invalid syntax (report by Chung-Yi Lin).
1511 + clarify in manual pages that vwprintw and vwscanw are obsolete,
1512 not part of X/Open Curses since 2007.
1513 + use "const" in some prototypes rather than NCURSES_CONST where X/Open
1514 Curses was updated to do this, e.g., wscanw, newterm, the terminfo
1515 interface. Also use "const" for consistency in the termcap
1516 interface, which was withdrawn by X/Open Curses in Issue 5 (2007).
1517 As of Issue 7, X/Open Curses still lacks "const" for certain return
1518 values, e.g., keyname().
1521 + improve terminfo write/read by modifying the fourth item of the
1522 extended header to denote the number of valid strings in the extended
1523 string table (prompted by a comment in unibilium's sources).
1526 + amend Scaled256() macro in test/picsmap.c to cover the full range
1527 0..1000 (report by Roger Pau Monne).
1528 + add some checks in tracemunch for undefined variables.
1529 + trim some redundant capabilities from st-0.7 -TD
1530 + trim unnecessary setf/setb from interix -TD
1533 + fix a check in infotocap which may not have detected a problem when
1535 + add a check in tic for the case where setf/setb are given using
1536 different strings, but provide identical results to setaf/setab.
1537 + further improve fix for terminfo.5 (patch by Kir Kolyshkin).
1538 + reorder loop-limit checks in winsnstr() in case the string has no
1539 terminating null and only the number of characters is used (patch
1543 + modify TurnOn/TurnOff macros in lib_vidattr.c and lib_vid_attr.c to
1544 avoid expansion of "CUR" in trace.
1545 + improve a few lintian warnings in test-packages.
1546 + modify lib_setup to avoid calling pthread_self() without first
1547 verifying that the address is valid, i.e., for weak symbols
1548 (report/patch by Werner Fink).
1549 + modify generated terminfo.5 to not use "expand" and related width
1550 on the last column of tables, making layout on wide terminals look
1551 better (adapted from patch by Kir Kolyshkin).
1552 + add a category to report_offsets, e.g., "w" for wide-character, "t"
1553 for threads to make the report more readable. Reorganized the
1554 structures reported to make the categories more apparent.
1555 + simplify some ifdef's for extended-colors.
1556 + add NCURSES_GLOBALS and NCURSES_PRESCREEN to report_offsets, to show
1557 how similar the different tinfo configurations are.
1560 + modify _nc_resolve_uses2() to detect incompatible types when merging
1561 a "use=" clause of extended capabilities. The problem was seen in a
1562 defective terminfo integrated from simpleterm sources in 20171111,
1563 compounded by repair in 20180121.
1564 + correct Ss/Ms interchange in st-0.7 entry (tmux #1264) -TD
1565 + fix remaining flash capabilities with trailing mandatory delays -TD
1566 + correct cut/paste in NEWS (report by Sven Joachim).
1569 + remove incorrect free() from 20170617 changes (report by David Macek).
1570 + correct type for "U8" in user_caps.5; it is a number not boolean.
1571 + add a null-pointer check in safe_sprintf.c (report by Steven Noonan).
1572 + improve fix for Debian #882620 by reusing limit2 variable (report by
1573 Julien Cristau, Sven Joachim).
1576 + modify misc/Makefile.in to install/uninstall explicit list in case
1577 the build-directory happens to have no ".pc" files when an uninstall
1578 is performed (report by Jeffrey Walton).
1579 + deprecate safe-sprintf, since the vsnprintf function, which does what
1580 was needed, was standardized long ago.
1581 + add several development/experimental options to development packages.
1582 + minor reordering of options in configure script to make the threaded
1583 and reentrant options distinct from the other extensions which are
1587 + minor fixes to test/*.h to make them idempotent.
1588 + add/use test/parse_rgb.h to show how the "RGB" capability works.
1589 + add a clarification in user_caps.5 regarding "RGB" capability.
1590 + add extended_slk_color{,_sp} symbols to the appropriate
1591 package/*.{map,sym} files (report by Sven Joachim, cf: 20170401).
1594 + update "VERSION" file, used in shared-library naming.
1596 20180127 6.1 release for upload to ftp.gnu.org
1599 + updated release notes
1600 + amend a warning message from tic which should have flagged misuse
1601 of "XT" capability in "screen" terminal description.
1603 + trim "XT" from screen entry, add comments to explain why it was
1605 + modify iterm to use xterm+sl-twm building block -TD
1606 + mark konsole-420pc, konsole-vt100, konsole-xf3x obsolete reflecting
1607 konsole's removal in 2008 -TD
1608 + expanded the history section of konsole to explain its flawed
1609 imitation of xterm's keyboard -TD
1610 + use xterm+x11mouse in screen.* entries because screen does not yet
1611 support xterm's 1006 mode -TD
1612 + add nsterm-build400 for macOS 10.13 -TD
1613 + add ansi+idc1, use that in ansi+idc adding dch for consistency -TD
1614 + update vte to vte-2017 -TD
1615 + add ecma+strikeout to vte-2017 -TD
1616 + add iterm2-direct -TD
1617 + updated teraterm, added teraterm-256color -TD
1618 + add mlterm-direct -TD
1619 + add descriptions for ANSI building-blocks -TD
1621 20180121 pre-release
1623 + add xterm+noalt, xterm+titlestack, xterm+alt1049, xterm+alt+title
1624 blocks from xterm #331 -TD
1625 + add xterm+direct, xterm+indirect, xterm-direct entries from xterm
1627 + modify xterm+256color and xterm+256setaf to use correct number of
1628 color pairs, for ncurses 6.1 -TD
1629 + add rs1 capability to xterm-256color -TD
1630 + modify xterm-r5, xterm-r6 and xterm-xf86-v32 to use xterm+kbs to
1631 match xterm #272, reflecting packager's changes -TD
1632 + remove "boolean" Se, Ss from st-0.7 -TD
1633 + add konsole-direct and st-direct -TD
1634 + remove unsupported "Tc" capability from st-0.7; use st-direct if
1635 direct-colors are wanted -TD
1636 + add vte-direct -TD
1637 + add XT, hpa, indn, and vpa to screen, and invis, E3 to tmux (patch by
1639 + use xterm+sm+1006 in xterm-new, vte-2014 -TD
1640 + use xterm+x11mouse in iterm, iterm2, mlterm3 because xterm's 1006
1641 mode does not work with those programs. konsole is debatable -TD
1642 + add "termite" entry (report by Markus Pfeiffer) -TD
1643 > merge branch begun April 2, 2017 which provides these features:
1644 + support read/write new binary-format for terminfo which stores
1645 numeric capabilities as a signed 32-bit integer. The test programs
1646 such as picsmap, ncurses were created or updated during 2017 to use
1648 + the new format is written by the wide-character configuration of
1649 tic when it finds a numeric capability larger than 32767.
1650 + other applications such as infocmp built with the wide-character
1651 ncurses library work as expected.
1652 + applications built with the "narrow" (8-bit) configuration will
1653 read the new format, but will limit those extended values to 32767.
1654 + in either wide/narrow configuration, the structure defined in
1655 term.h still uses signed 16-bit values.
1656 + because it is incompatible with the legacy (mid-1980s) binary format,
1657 a new magic value is provided for the "file" program.
1658 + the term.5 manual page is updated to describe this new format.
1659 + the limit on file-size for compiled terminfo is increased in the
1660 wide-character configuration to 32768.
1663 + build-fix in picsmap.c for stdint.h existence.
1664 + add --disable-stripping option to configure scripts.
1665 + modify ncurses-examples to install test-scripts in the data directory.
1666 + work around tool-breakage in Debian 9 and later by invoking
1667 gprconfig to specify the C compiler to be used by gnatmake,
1668 and conditionally suppressing Library_Options line for static
1670 + bump the compat level for test-packages to 7, i.e., Debian 5.
1673 + fixes for writing extended color pairs in putwin.
1674 + modify test/savescreen.c to add test patterns that exercise 88-,
1676 + modify configure option --with-build-cc, adding clang, c89 and c99
1677 as possible default values.
1678 + modify ncurses-examples configure script to use pkg-config for the
1679 extra form/menu/panel libraries, to be more consistent with the
1680 handling of the curses/ncurses library.
1681 + modify test-packages for mingw to supply "pc" files.
1682 + modify gen-pkgconfig.in to list -lpthread as a private library when
1683 configured to access it via weak symbols.
1684 + simplify gen-pkgconfig.in, adding -ltinfo without the special linker
1685 checks because some versions of the linker simply hard-code the
1687 + update URLs for ncurses website to use https.
1688 + modify CF_CURSES_LIBS to fill in $cf_nculib_root in case the
1689 ncurses-examples are built with a system ncurses that lacks the
1690 standard "curses" symbolic link, as done by SuSE. The symbol is
1691 needed to make a followup check for the pthread library work, and
1692 would be set properly using the options "--with-screen", etc.
1693 + generate misc/*.pc with "all" rule, as done for "sources" rule
1694 (report by Jeffrey Walton).
1697 + build-fix for ncurses-examples with Fedora27, adding check for
1698 reset_color_pairs() -- not yet in Fedora's package.
1699 + consistently add $CFLAGS to $MK_SHARED_LIB symbol in configure
1700 script when the latter happens to use the C compiler rather than
1701 directly using the loader (report by Jeffrey Walton).
1702 + set ABI for upcoming 6.1 release in "*.map" files. While there are
1703 some remaining internals to apply, no ABI-related changes are
1705 + add configure --with-config-suffix option to work around filename
1706 conflict with Redhat packages versus test-packages.
1709 + modify ncurses-examples to quiet const-warnings when building with
1711 + modify toe to not exit if unable to read a terminal description,
1712 e.g., if there is a permission problem.
1713 + minor fix for progs/toe.c, using _nc_free_termtype2.
1714 + assign 0 to pointer in _nc_tgetent_leak() after freeing it. Also
1715 avoid reusing pointer from previous successful call to tgetent
1716 if the latest call is unsuccessful (patch by Michael Schroeder,
1718 + minor fix for test/tracemunch, initialize $awaiting variable.
1721 + repair template in test/package/ncurses-examples.spec (cf: 20171111).
1722 + improve tic's warning about the number of parameters tparm might use
1723 for u1-u9 by making a special case for u6.
1724 + improve curs_attr.3x discussion of color pairs.
1727 + modify misc/ncurses-config.in to make output with --includedir
1728 consistent with --cflags, i.e., when --disable-overwrite option was
1729 configured the output should show the subdirectory where headers
1731 + modify MKlib_gen.sh to suppress macros when calling an "implemented"
1732 function in link_test.c
1733 + updated ftp-url used in test-packages, etc.
1734 + modify order of -pie/-shared options in configure script in case
1735 LDFLAGS uses "-pie", working around a defect or limitation in the GNU
1736 linker (prompted by patch by Yogesh Prasad, forwarded by Jay Shah).
1737 + add entry in man_db.renames for user_caps.5
1740 + modify MKlib_gen.sh to avoid tracing result from getstr/getnstr
1742 + add "-a" aspect-ratio option to picsmap.
1743 + add configure check for default path of rgb.txt, used in picsmap.
1744 + modify _nc_write_entry() to truncate too-long filename (report by
1745 Hosein Askari, Debian #882620).
1746 + build-fix for ncurses-examples with NetBSD curses:
1747 + it lacks the use_env() function.
1748 + it lacks libpanel; a recent change used the wrong ifdef symbol.
1749 + add a macro for is_linetouched() and adjust the function's return
1750 value to make it possible for most applications to check for an
1751 error-return (report by Midolikawa H).
1752 + additional manpage cleanup.
1753 + update config.guess, config.sub from
1754 http://git.savannah.gnu.org/cgit/config.git
1757 + add a note to curs_addch.3x on portability.
1758 + add a note to curs_pad.3x on the origin and portability of pads.
1759 + improve manpage description of getattrs (report by Midolikawa H).
1760 + improve manpage macros (prompted by discussion in Debian #880551.
1761 + reviewed test-programs using KEY_RESIZE, made fixes to test/worm.c
1762 + add a "-d" option to picsmap for default-colors.
1763 + modify old terminology entry and a few other terminal emulators to
1765 + correct sgr string for tmux, which used screen's "standout" code
1766 rather than the standard code (patch by Roman Kagan)
1767 + correct sgr/sgr0 strings in a few other cases reported by tic, making
1768 those correspond to the non-sgr settings where they differ, but
1769 otherwise use ECMA-48 consistently:
1770 jaixterm, aixterm, att5420_2, att4424, att500, decansi, d410-7b,
1771 dm80, hpterm, emu-220, hp2, iTerm2.app, mterm-ansi, ncrvt100an,
1772 st-0.7, vi603, vwmterm -TD
1773 + build-fix for diagnostics warning in lib_mouse.c for pre-5.0 versions
1774 of gcc which did not recognize the diagnostic "push" pragma (patch by
1778 + add "op" to xterm+256setaf -TD
1779 + reviewed terminology 1.0.0 -TD
1780 + reviewed st 0.7 -TD
1781 + suppress debug-package for ncurses-examples rpm build.
1784 + check for interrupt in color-pair initialization of dots_curses.c,
1786 + add z/Z zoom feature to test/ncurses.c C/c screens.
1787 + add '<' and '>' commands to test/ncurses.c S/s screens, to better
1788 test off-by-ones in the overlap/copywin functions.
1791 + improve man/curs_inwstr.3x, correct end-logic for lib_inwstr.c
1792 (report by Midolikawa H).
1793 + fix typo in a few places for "improvements" (patch by Sven Joachim).
1794 + clear the other half of a double-width character on which a line
1795 drawing character is drawn.
1796 + make test/ncurses.c "s" test easier to understand which subtests are
1797 available; add a "S" wide-character overlap test-screen.
1798 + modify test/ncurses.c C/c tests to allow for extended color pairs.
1799 + add endwin() call in error-returns from test/ncurses.c omitted in
1800 recent redesign of its menu (cf: 20170923).
1801 + improve install of hashed-db by removing the ".db" file as done for
1802 directory-tree terminal databases.
1803 + repair a few overlooked items in include/ncurses_defs from recent
1804 port/refactoring of test-programs (cf: 20170909).
1805 + add test/padview.c, to compare pads with direct updates in view.c
1808 + modify test/view.c to expand tabs using the ncurses library rather
1809 than in the test-program.
1810 + remove very old SIGWINCH example in test/view.c, just use KEY_RESIZE.
1811 + add -T, -e, -f -m options to "dots" test-programs.
1812 + fix a few typos in usage-messages for test-programs.
1815 + minor cleanup to test/view.c:
1816 + eliminate "-n" option by simply reading the whole file.
1817 + implement page up/down commands.
1818 + add check in tput for init/reset operands to ensure those use a
1820 + improve manual pages which discuss chtype, cchar_t types and the
1821 attribute values which can be stored in those types.
1822 + correct array-index when parsing "-T" command-line option in tabs
1824 + modify demo_new_pair.c to pass extended pairs to setcchar().
1825 + add test/dots_xcurses.c to illustrate a different approach used for
1826 extended colors which can be contrasted with dots_curses.c.
1827 + add a check in tic to note when a description uses non-mandatory
1828 delays without xon_xoff. This is not an error, but some descriptions
1829 for a terminal emulator may use the combination incorrectly.
1832 + modify "-T" option of clear and tput to call use_tioctl() to obtain
1833 the operating system's notion of the screensize if possible.
1834 + review/repair some exit-codes for tput, making usage-message exit
1835 with 2 rather than 1, and a failure to open terminal 4+errno.
1836 + amend check in tput, tabs and clear to allow those to use the
1837 database-only features in cron if a -T option gives a suitable
1838 terminal name (report by Lauri Tirkkonen).
1839 + correct an ifdef in test/ncurses.c for systems with soft-keys but
1841 + regenerate man-html documentation.
1844 + fix a symbol conflict that made ncurses.c C/c menu not work with
1845 Solaris xpg4 curses.
1846 + add refresh() call to dots_mvcur.c, needed to use mvcur() with
1847 Solaris xpg4 curses after calling newterm().
1848 + minor fixes for configure script from work on ncurses-examples and
1850 + improve animation in test/xmas.c by adding a time-delay in blinkit().
1851 + modify several test programs to reflect that ncurses honors existing
1852 signal handlers in initscr(), while other implementations do not.
1853 + modify bs.c to make it easier to quit.
1854 + change ncurses-examples to use attr_t vs chtype to follow X/Open
1855 documentation more closely since Solaris xpg4-curses uses different
1856 values for WA_xxx vs A_xxx that rely on attr_t being an unsigned
1857 short. Tru64 aka OSF1, HPUX, AIX did as ncurses does, equating the
1861 + modify menu for test/ncurses.c to fit on 24-line screen.
1862 + build-fix for configure --with-caps=uwin
1863 + add options to test_arrays.c, for selecting termcap vs terminfo, etc.
1866 + minor fix to test/filter.c to avoid clearing the command in one case.
1867 + modify filter() to discard clr_eos if back_color_erase is set.
1870 + improve wide-character implementation of myADDNSTR() in frm_driver.c,
1871 which was inconsistent with the normal implementation.
1872 + save/restore cursor position in Undo_Justification(), matching
1873 behavior of Buffer_To_Window() (report by Leon Winter).
1874 + modify test/knight to provide the "slow" solution for small screens
1875 using "R", noting that Warnsdorf's method is easily done with "a".
1876 + modify several test-programs which call use_default_colors() to
1877 consistently do this only if "-d" option is given.
1878 + additional changes to test with non-standard variants of curses:
1879 + modify a loop limit in firework.c to work around absence of limit
1880 checks in some libraries.
1881 + fill the last row of a window with "?" in firstlast if waddch does
1882 not return ERR on the lower-right corner.
1883 + add checks in test/configure for some functions not in 4.3BSD curses.
1884 + fix a regression in test/configure (cf: 20170826).
1887 + amend change for endwin-state for better consistency with the older
1888 logic (report/patch by Jeb Rosen, cf: 20170722).
1889 + modify check in fmt_entry() to handle a cancelled reset string
1890 (Debian #873746). Make similar fixes in other parts of dump_entry.c
1894 + fix a bug in repeat_char logic (cf: 20170729, report by Chris Clayton).
1897 + fixes for "iterm2" (report by Leonardo Brondani Schenkel) -TD
1898 + corrected a warning from tic about keys which are the same, to skip
1899 over missing/cancelled values.
1900 + add check in tic for unnecessary use of "2" to denote a shifted
1902 + improve checks in trim_sgr0, comp_parse.c and parse_entry.c, for
1903 cancelled string capabilities.
1904 + add check in _nc_parse_entry() for invalid entry name, setting the
1905 name to "invalid" to avoid problems storing entries.
1906 + add/improve checks in tic's parser to address invalid input
1907 + add a check in comp_scan.c to handle the special case where a
1908 nontext file ending with a NUL rather than newline is given to tic
1909 as input (Redhat #1484274).
1910 + allow for cancelled capabilities in _nc_save_str (Redhat #1484276).
1911 + add validity checks for "use=" target in _nc_parse_entry (Redhat
1913 + check for invalid strings in postprocess_termcap (Redhat #1484285)
1914 + reset secondary pointers on EOF in next_char() (Redhat #1484287).
1915 + guard _nc_safe_strcpy() and _nc_safe_strcat() against calls using
1916 cancelled strings (Redhat #1484291).
1917 + correct typo in curs_memleaks.3x (Sven Joachim).
1918 + improve test/configure checks for some curses variants not based on
1920 + add options for test/configure to disable checks for form, menu and
1924 + update "iterm" entry -TD
1925 + add "iterm2" entry (report by Leonardo Brondani Schenkel) -TD
1926 + regenerate llib-* files.
1927 + regenerate HTML manpages.
1928 + improve picsmap test-program:
1929 + reduce memory used for tsearch
1930 + add report in log file showing cumulative color coverage.
1931 + add -x option to clear/tput to make the E3 extension optional
1933 + add options -T and -V to clear command for compatibility with tput.
1934 + add usage message to clear command (Debian #371855).
1935 + improve usage messages for tset and tput.
1936 + minor fixes to "RGB" extension and reset_color_pairs().
1939 + improve description of -R option in infocmp manual page (report by
1941 + add reset_color_pairs() function.
1942 + add user_caps.5 manual page to document the terminfo extensions used
1944 + improve build scripts, using SIGQUIT vs SIGTRAP; add other configure
1945 script fixes from work on xterm, lynx and tack.
1946 + modify install-rule for ncurses-examples to put the data files in
1947 /usr/share/ncurses-examples
1948 + improve tracemunch, by changing address-parameters of add_wch(),
1949 color_content() and pair_content() to dummy parameters.
1950 + minor optimization to _nc_change_pair, to return quickly when the
1951 current screen is marked for clearing.
1952 + in-progress changes to improve performance of test/picsmap.c for
1953 loading image files.
1954 + modify allocation for SCREEN's color-pair table to start small, grow
1955 on demand up to the existing limit.
1956 + add "RGB" extension capability for direct-color support, use this to
1957 improve color_content().
1958 + improve picsmap test-program:
1959 + if no palette file is needed, attempt to load one based on $TERM,
1960 checking first in the current directory, then by adding ".dat"
1961 suffix, and finally in the data-directory, e.g.,
1962 /usr/share/ncurses-examples
1963 + add "-l" option for logging
1964 + add "-d" option for debugging
1965 + add "-s" option for stepping automatically through list of images,
1967 + use tsearch to improve time for loading color table for images.
1968 + update config.guess, config.sub from
1969 http://git.savannah.gnu.org/cgit/config.git
1972 + update interix entry using tack and SFU on Windows 7 Ultimate -TD
1973 + use ^? for kdch1 in interix (reported by Jonathan de Boyne Pollard)
1974 + add "rep" to xterm-new, available since 1997/01/26 -TD
1975 + move SGR 24 and 27 from vte-2014 to vte-2012 (request by Alain
1977 + add a check in newline_forces_scroll() in case a program moves the
1978 cursor outside scrolling margins (report by Robert King).
1979 + improve _nc_tparm_analyze, using that to extend the checks made by
1980 tic for reporting inconsistencies between the expected number of
1981 parameters for a capability and the actual.
1982 + amend handling of repeat_char capability in EmitRange (adapted from
1983 report/patch by Dick Wesseling):
1984 + translate the character to the alternate character set when the
1985 alternate character set is enabled.
1986 + do not use repeat_char for characters past 255.
1987 + document "_nc_free_tinfo" in manual page, because it could be used in
1988 tack for memory-leak checking.
1989 + add "--without-tack" configure option to refine "--with-progs"
1990 configure option. Normally tack is no longer built in-tree, but
1991 a few packagers combine it during the build. If term_entry.h is
1992 installed, there is no advantage to in-tree builds.
1993 + adjust configure-script to define HAVE_CURSES_DATA_BOOLNAMES symbol
1994 needed for tack 1.08 when built in-tree. Rather than relying upon
1995 internal "_nc_" functions, tack now uses the boolean, number and
1996 string capability name-arrays provided by ncurses and SVr4 Unix
1997 curses. It still uses term_entry.h for the definitions of the
1998 extended capability arrays.
1999 + add an overlooked null-pointer check in mvcur changes from 20170722
2002 + improve test-packages for ncurses-examples and AdaCurses for lintian
2003 + modify logic for endwin-state to be able to detect the case where
2004 the screen was never initialized, using that to trigger a flush of
2005 ncurses' buffer for mvcur, e.g., in test/dots_mvcur.c for the
2006 term-driver configuration.
2007 + add dependency upon ncurses_cfg.h to a few other internal header
2008 files to allow each to be compiled separately.
2009 + add dependency upon ncurses_cfg.h to tic's header-files; any program
2010 using tic-library will have to supply this file. Legacy tack
2011 versions supply this file; ongoing tack development has dropped the
2012 dependency upon tic-library and new releases will not be affected.
2015 + modify command-line parameters for "convert" used in picsmap to work
2016 with ImageMagick 6.8 and newer.
2017 + fix build-problem with tack and ABI-5 (Debian #868328).
2018 + repair termcap-format from tic/infocmp broken in 20170701 fixes
2020 + reformat terminfo.src with 20170513 updates.
2021 + improve test-packages to address lintian warnings.
2024 + add a note to tic manual page about -W versus -f options.
2025 + correct a limit-check in fixes from 20170701 (report by Sven Joachim).
2028 + modify update_getenv() in db_iterator.c to ensure that environment
2029 variables which are not initially set will be checked later if an
2030 application happens to set them (patch by Guillaume Maudoux).
2031 + remove initialization-check for calling napms() in the term-driver
2032 configuration; none is needed.
2033 + add help-screen to test/test_getstr.c and test/test_get_wstr.c
2034 + improve compatibility between different configurations of new_prescr,
2035 fixing a case with threaded code and term-driver where c++/demo did
2036 not work (cf: 20160213).
2037 + the fixes for Redhat #1464685 obscured a problem subsequently
2038 reported in Redhat #1464687; the given test-case was no longer
2039 reproducible. Testing without the fixes for the earlier reports
2040 showed a problem with buffer overflow in dump_entry.c, which is
2041 addressed by reducing the use of a fixed-size buffer.
2042 + add/improve checks in tic's parser to address invalid input
2043 (Redhat #1464684, #1464685, #1464686, #1464691).
2044 + alloc_entry.c, add a check for a null-pointer.
2045 + parse_entry.c, add several checks for valid pointers as well as
2046 one check to ensure that a single character on a line is not
2047 treated as the 2-character termcap short-name.
2048 + fix a memory leak in delscreen() (report by Bai Junq).
2049 + improve tracemunch, showing thread identifiers as names.
2050 + fix a use-after-free in NCursesMenu::~NCursesMenu()
2051 + further amend incorrect calls for memory-leaks from 20170617 changes
2052 (report by Allen Hewes).
2055 + modify c++/etip.h.in to accommodate deprecation of throw() and
2056 throws() in c++17 (prompted by patch by Romain Geissler).
2057 + remove some incorrect calls for memory-leaks from 20170617 changes
2058 (report by Allen Hewes).
2059 + add test-programs for termattrs and term_attrs.
2060 + modify _nc_outc_wrapper to use the standard output if the screen was
2061 not initialized, rather than returning an error.
2062 + improve checks for low-level terminfo functions when the terminal
2063 has not been initialized (Redhat #1345963).
2064 + modify make_hash to allow building with address-sanitizer,
2065 assuming that --disable-leaks is configured.
2066 + amend changes for number_format() in 20170506 to avoid undefined
2067 behavior when shifting (patch by Emanuele Giaquinta).
2070 + fill in some places where TERMTYPE2 vs TERMTYPE was not used
2071 (report by Allen Hewes).
2072 + use ExitTerminfo() internally in error-exits for ncurses' setupterm
2073 to help with leak checking.
2074 + use ExitProgram() in error-exit from initscr() to help with leak
2076 + review test-programs, adding checks for cases where the terminal
2077 cannot be initialized.
2080 + add option "-xp" to picsmap.c, to use init_extended_pair().
2081 + make simple performance fixes for picsmap.c
2082 + improve aspect ratio of images read from "convert" in picsmap.c
2085 + add option to picsmap to use color-palette files, e.g., for mapping
2087 + move the data in SCREEN used for the alloc_pair() function to the
2088 end, to restore compatibility between ncurses/ncursesw libtinfo
2089 (report/patch by Miroslav Lichvar).
2090 + add build-time utility "report_offsets" to help show when the various
2091 configurations of tinfo library are compatible or not.
2094 + improved test/picsmap.c:
2095 + lookup named colors for xpm files in rgb.txt
2096 + accept blanks in color-keys for xpm files.
2097 + if neither xbm/xpm work, try "convert", which may be available.
2100 + modify test/picsmap.c to read xpm files.
2101 + modify package/debian/* to create documentation packages, so the
2102 related files can be checked with lintian.
2103 + fix some typos in manpages (report/patch by Sven Joachim).
2106 + add test/picsmap.c to fill in some testing issues not met by dots.
2107 The initial version reads X bitmap (".xbm") files.
2108 + repair logic which forces a repaint where a color-pair's content is
2109 changed (cf: 20170311).
2110 + improve tracemunch, showing screenXX pointers as names.
2113 + modify tic/infocmp display of numeric values to use hexadecimal when
2114 they are "close" to a power of two, making the result more readable.
2115 + improve discussion of portability in curs_mouse.3x
2116 + change line-length for generated html/manpages to 78 columns from 65.
2117 + improve discussion of line-drawing characters in curs_add_wch.3x
2118 (prompted by discussion with Lorinczy Zsigmond).
2119 + cleanup formatting of hackguide.html and ncurses-intro.html
2120 + add examples for WACS_D_PLUS and WACS_T_PLUS to test/ncurses.c
2123 + corrected a case where $with_gpm was set to "maybe" after CF_WITH_GPM,
2124 overlooked in 20160528 fixes (report by Alexandre Bury).
2125 + improve a couple of test-program's help-messages.
2126 + corrected loop in rain.c from 20170415 changes.
2127 + modify winnstr and winchnstr to return error if the output pointer is
2128 null, as well as adding a null pointer check of the window pointer
2129 for better compatibility with other implementations.
2130 + improve discussion of NetBSD curses in scr_dump.5
2131 + modify LIMIT_TYPED macro in new_pair.h to avoid changing sign of the
2132 value to be limited (reports by Darby Payne, Rob Boudreau).
2133 + update config.guess, config.sub from
2134 http://git.savannah.gnu.org/cgit/config.git
2137 + build-fix for termcap-configuration (report by Chi-Hsuan Yen).
2138 + improve terminfo manual page discussion of control- and graphics-
2140 + remove tic warning about "^?" in string capabilities, which was
2141 marked as an extension (cf: 20000610, 20110820); however all Unix
2142 implementations support this and X/Open Curses does not address it.
2143 On the other hand, termcap never did support this feature.
2144 + correct missing comma-separator between string capabilities in
2145 icl6402 and m2-nam -TD
2146 + restore rmir/smir in ansi+idc to better match original ansiterm+idc,
2147 add alias ansiterm (report by Robert King).
2148 + amend an old check for ambiguous use of "ma" in terminfo versus
2149 a termcap use, if the capability is cancelled to treat it as number.
2150 + correct a case in _nc_captoinfo() which read "%%" and emitted "%".
2151 + modify sscanf calls in _nc_infotocap() for patterns "%{number}%+%c"
2152 and "%'char'%+%c" to check that the final character is really 'c',
2153 avoiding a case in icl6404 which cannot be converted to termcap.
2154 + in _nc_infotocap(), add a check to ensure that terminfo "^?" is not
2155 written to termcap, because the BSDs did not implement that.
2156 + in _nc_tic_expand() and _nc_infotocap(), improve string-length check
2157 when deciding whether to use "^X" or "\xxx" format for control
2158 characters, to make the output of tic/infocmp more predictable.
2159 + limit termcap "%d" width to 2 digits on input, and use "%2" in
2160 preference to "%02" on output.
2161 + correct terminfo/termcap conversion of "%02" and "%03" into "%2" and
2162 "%3"; the result repeated the last character.
2163 + add man/scr_dump.5 to document screen-dump format.
2166 + modify several test programs to use new popup_msgs, adapted from
2167 help-screen used in test/edit_field.c
2168 + drop two symbols obsoleted in 2004: _nc_check_termtype, and
2170 + fix some old copyright dates (cf: 20031025).
2171 + build-fixes for test/savescreen.c to work with AIX and HPUX.
2172 + minor fix to configure script, adding a backslash/continuation.
2173 + extend TERMINAL structure for ABI 6 to store numbers internally as
2174 integers rather than short, by adding new data for this purpose.
2175 + more fixes for minor memory-leaks in test-programs.
2178 + change logic in wins_nwstr() to avoid addressing data past the output
2180 + correct a call to setcchar() in Data_Entry_w() from 20131207 changes.
2181 + fix minor memory-leaks in test-programs.
2182 + further improve ifdef in term_entry.h for internal definitions not
2186 + minor fixes for vt100+4bsd, e.g., delay in sgr for consistency -TD
2187 + add smso for env230, to match sgr -TD
2188 + remove p7/protect from sgr in fbterm -TD
2189 + drop setf/setb from fbterm; setaf/setab are enough -TD
2190 + make xterm-pcolor sgr consistent with other capabilities -TD
2191 + add rmxx/smxx ECMA-48 strikeout extension to tmux and xterm-basic
2192 (discussion with Nicholas Marriott)
2193 + add test-programs sp_tinfo and extended_color
2194 + modify no-leaks code for lib_cur_term.c to account for the tgetent()
2196 + modify setupterm() to save original tty-modes so that erasechar()
2197 works as expected. Also modify _nc_setupscreen() to avoid redundant
2198 calls to get original tty-modes.
2199 + modify set_curterm() to update ttytype[] data used by longname().
2200 + modify wattr_set() and wattr_get() to return ERR if win-parameter is
2201 null, as documented.
2202 + improve cast used for null-pointer checks in header macros, to
2203 reduce compiler warnings.
2204 + modify several functions, using the reserved "opts" parameter to pass
2205 color- and pair-values larger than 16-bits:
2206 + getcchar(), setcchar(), slk_attr_set(), vid_puts(), wattr_get(),
2207 wattr_set(), wchgat(), wcolor_set().
2208 + Other functions call these with the corresponding altered behavior,
2209 including chgat(), mvchgat(), mvwchgat(), slk_color_on(),
2210 slk_color_off(), vid_attr().
2211 + add new functions for manipulating color- and pair-values larger
2212 than 16-bits. These are extended_color_content(),
2213 extended_pair_content(), extended_slk_color(), init_extended_color(),
2214 init_extended_pair(), and the corresponding sp-funcs.
2217 + fix a memory leak in the window-list when creating multiple screens
2218 (reports by Andres Martinelli, Debian #783486).
2219 + reviewed calls from link_test.c, added a few more null-pointer
2221 + add a null-pointer check in ungetmouse, in case mousemask was not
2222 called (report by "Kau").
2223 + updated curs_sp_funcs.3x for new functions.
2226 + change TERMINAL structure in term.h to make it opaque. Some
2227 applications misuse its members, e.g., directly modifying it
2228 rather than using def_prog_mode().
2229 + modify utility headers such as tic.h to make it clearer which are
2230 externals that are used by tack.
2231 + improve curs_slk.3x in particular its discussion of portability.
2232 + fix cut/paste in legacy_encoding.3x
2233 + add prototype for find_pair() to new_pair.3x (report by Branden
2235 + fix a couple of broken links in generated man-html documentation.
2236 + regenerate man-html documentation.
2239 + modify vt100 rs2 string to reset vt52 mode and scrolling regions
2240 (report/analysis by Robert King) -TD
2241 + add vt100+4bsd building block, use that for older terminals rather
2242 than "vt100" which is now mostly used as a building block for
2243 terminal emulators -TD
2244 + correct a few spelling errors in terminfo.src comments -TD
2246 + fix a typo in ncurses.c test_attr legend (patch by Petr Vanek).
2247 + changed internal colorpair_t to a struct, eliminating an internal
2248 8-bit limit on colors
2249 + add ncurses/new_pair.h
2250 + add ncurses/base/new_pair.c with alloc_pair(), find_pair() and
2251 free_pair() functions
2252 + add test/demo_new_pair.c
2255 + improve terminfo manual description of terminfo syntax.
2256 + clarify the use of wint_t vs wchar_t in curs_get_wstr.3x
2257 + improve description of endwin() in manual.
2258 + modify setcchar() and getcchar() to treat negative color-pair as an
2260 + fix a typo in include/hashed_db.h (Andre Sa).
2263 + fixes for CF_CC_ENV_FLAGS (report by Ross Burton).
2266 + fix several formatting issues with manual pages.
2267 + correct read of terminfo entry in which all strings are absent or
2268 explicitly cancelled. Before this fix, the result was that all were
2269 treated as only absent.
2270 + modify infocmp to suppress mixture of absent/cancelled capabilities
2271 that would only show as "NULL, NULL", unless the -q option is used,
2272 e.g., to show "-, @" or "@, -".
2275 + build-fixes for PGI compilers (report by Adam J. Stewart)
2276 + accept whitespace in sed expression for generating expanded.c
2277 + modify configure check that g++ compiler warnings are not used.
2278 + add configure check for -fPIC option needed for shared libraries.
2279 + let configure --disable-ext-funcs override the default for the
2280 --enable-sp-funcs option.
2281 + mark some structs in form/menu/panel libraries as potentially opaque
2282 without modifying API/ABI.
2283 + add configure option --enable-opaque-curses for ncurses library and
2284 similar options for the other libraries.
2287 + trim newlines, tabs and escaped newlines from terminfo "paths" passed
2289 + ignore zero-length files in db-iterator; these are useful for
2290 instance to suppress "$HOME/.terminfo" when not wanted.
2291 + amended "b64:" encoder to work with the terminfo reader.
2292 + modify terminfo reader to accept "b64:" format using RFC-3548 in
2293 as well as RFC-4648 url/filename-safe format.
2294 + modify terminfo reader to accept "hex:" format as generated by
2295 "infocmp -0qQ1" (cf: 20150905).
2296 + adjust authors comment to reflect drop below 1% for SV.
2299 + minor comment-fixes to help automate links to bug-urls -TD
2300 + add dvtm, dvtm-256color -TD
2301 + add settings corresponding to xterm-keys option to tmux entry to
2302 reflect upcoming change to make that option "on" by default
2303 (patch by Nicholas Marriott).
2304 + uncancel Ms in tmux entry (Harry Gindi, Nicholas Marriott).
2305 + add dumb-emacs-ansi -TD
2308 + improve discussion of early history of tput program.
2309 + incorporate A_COLOR mask into COLOR_PAIR(), in case user application
2310 provides an out-of-range pair number (report by Elijah Stone).
2311 + clarify description in tput manual page regarding support for
2312 termcap names (prompted by FreeBSD #214709).
2313 + remove a restriction in tput's support for termcap names which
2314 omitted capabilities normally not shown in termcap translations
2316 + modify configure script for clang as used on FreeBSD, to work around
2317 clang's differences in exit codes vs gcc.
2320 + improve discussion of early history of tset/reset programs.
2321 + clarify in manual pages that the optional verbose option level is
2322 available only when ncurses is configured for tracing.
2323 + amend change from 20161231 to avoid writing traces to the standard
2324 error after initializing the trace feature using the environment
2328 + amend changes for tput to reset tty modes to "sane" if the program
2329 is run as "reset", like tset. Likewise, ensure that tset sends
2330 either reset- or init-strings.
2331 + improve manual page descriptions of tput init/reset and tset/reset,
2332 to make it easier to see how they are similar and different.
2333 + move a static result from key_name() to _nc_globals
2334 + modify _nc_get_screensize to allow for use_env() and use_tioctl()
2335 state to be per-screen when sp-funcs are configured, better matching
2336 the behavior when using the term-driver configuration.
2337 + improve cross-references in manual pages for often used functions
2338 + move SCREEN field for use_tioctl() data before the ncursesw fields,
2339 and limit that to the sp-funcs configuration to improve termlib
2340 compatibility (cf: 20120714).
2341 + correct order of initialization for traces in use_env() and
2342 use_tioctl() versus first trace calls.
2345 + fix errata for ncurses-howto (report by Damien Ruscoe).
2346 + fix a few places in configure/build scripts where DESTDIR and rpath
2347 were combined (report by Thomas Klausner).
2348 + merge current st description (report by Harry Gindi) -TD
2349 + modify flash capability for linux and wyse entries to put the delay
2350 between the reverse/normal escapes rather than after -TD
2351 + modify program tabs to pass the actual tty file descriptor to
2352 setupterm rather than the standard output, making padding work
2354 + explain in clear's manual page that it writes to stdout.
2355 + add special case for verbose debugging traces of command-line
2356 utilities which write to stderr (cf: 20161126).
2357 + remove a trace with literal escapes from skip_DECSCNM(), added in
2359 + update config.guess, config.sub from
2360 http://git.savannah.gnu.org/cgit/config.git
2363 + correct parameters for copywin call in _nc_Synchronize_Attributes()
2364 (patch by Leon Winter).
2365 + improve color-handling section in terminfo manual page (prompted by
2366 patch by Mihail Konev).
2367 + modify programs clear, tput and tset to pass the actual tty file
2368 descriptor to setupterm rather than the standard output, making
2372 + add tput-colorcube demo script.
2373 + add -r and -s options to tput-initc demo, to match usage in xterm.
2374 + flush the standard output in _nc_flush for the case where SP is zero,
2375 e.g., when called via putp. This fixes a scenario where "tput flash"
2376 did not work after changes in 20130112.
2379 + add configure script option --disable-wattr-macros for use in cases
2380 where one wants to use the same headers for ncurses5/ncurses6
2381 development, by suppressing the wattr* macros which differ due to
2382 the introduction of extended colors (prompted by comments in
2383 Debian #230990, Redhat #1270534).
2384 + add test/tput-initc to demonstrate tput used to initialize palette
2386 + modify test/xterm*.dat to use the newer color4/color12 values.
2389 + improve discussion of field validation in form_driver.3x manual page.
2390 + update curs_trace.3x manual page.
2393 + modify linux-16color to not mask dim, standout or reverse with the
2395 + add 0.1sec mandatory delay to flash capabilities using the VT100
2396 reverse-video control -TD
2397 + omit selection of ISO-8859-1 for G0 in enacs capability from linux2.6
2398 entry, to avoid conflict with the user-defined mapping. The reset
2399 feature will use ISO-8859-1 in any case (Mikulas Patocka).
2400 + improve check in tic for delays by also warning about beep/flash
2401 when a delay is not embedded, or if those use the VT100 reverse
2402 video escape without using a delay.
2403 + minor fix for syntax-check of delays from 20161119 changes.
2404 + modify trace() to avoid overwriting existing file (report by Maor
2408 + add check in tic for some syntax errors of delays, as well as use of
2409 proportional delays for non-line capabilities.
2410 + document history of the clear program and the E3 extension, prompted
2411 by various discussions including
2412 http://unix.stackexchange.com/questions/87469/clearing-the-old-scrollback-buffer
2415 + improve -W option in tic/infocmp:
2416 + correct order of size-adjustments in wrapped lines
2417 + if -f option splits line, do not further split it with -W
2418 + begin a new line when adding "use=" after a wrapped line
2421 + fix typo in man/terminfo.tail (Alain Williams).
2422 + correct program-name in adacurses6-config.1 manual page.
2425 + add new function "unfocus_current_field" (Leon Winter)
2428 + modify tset -w (and tput reset) to update the program's copy of the
2429 screensize if it was already set in the system, to improve tabstop
2430 setting which relies upon knowing the actual screensize.
2431 + add functionality of tset -w to tput, like the "-c" feature this is
2432 not optional in tput.
2433 + add "clear" as a possible link/alias to tput.
2434 + improve tput's check for being called as "init" or "reset" to allow
2435 for transformed names.
2436 + split-out the "clear" function from progs/clear.c, share with
2437 tput to get the same behavior, e.g., the E3 extension.
2440 + amend internal use of tputs to consistently use the number of lines
2441 affected, e.g., for insert/delete character operations. While
2442 merging terminfo source early in 1995, several descriptions used the
2443 "*" proportional delay for these operations, prompting a change in
2445 + regenerate llib-* files.
2446 + regenerate HTML manpages.
2447 + fix several formatting issues with manual pages.
2450 + adjust size in infocmp/tic to work with strlcpy.
2451 + fix configure script to record when strlcat is found on OpenBSD.
2452 + build-fix for "recent" OpenBSD vs baudrate.
2455 + add -W option to tic/infocmp to force long strings to wrap. This is
2456 in addition to the -w option which attempts to fit capabilities into
2457 a given line-length.
2458 + add linux-m1 minitel entries (patch by Alexandre Montaron).
2459 + correct rs2 string for vt100-nam -TD
2462 + modify _nc_tic_expand to escape comma if it immediately follows a
2463 percent sign, to work with minitel change.
2464 + updated minitel and viewdata descriptions (Alexandre Montaron).
2467 + build-fix for gnat6, which unhelpfully attempts to compile C files.
2468 + fix typo in 20160910 changes (Debian #837892, patch by Sven Joachim).
2471 + trim dead code ifdef'd with HIDE_EINTR since 970830 (discussion with
2473 + trim some obsolete/incorrect wording about EINTR from wgetch manual
2474 page (patch by Leon Winter).
2475 + really correct 20100515 change (patch by Rich Coe).
2476 + add "--enable-string-hacks" option to test/configure
2477 + completed string-hacks for "sprintf", etc., including test-programs.
2478 + make "--enable-string-hacks" work with Debian by checking for the
2479 "bsd" library and its associated "<bsd/string.h>" header.
2482 + correct 20100515 change for weak signals versus sigprocmask (report
2484 + modify misc/Makefile.in to work around OpenBSD "make" which unlike
2485 all other versions of "make" does not recognize continuation lines
2487 + amend the last change to CF_C_ENV_FLAGS to move only the
2488 preprocessor, optimization and warning flags to CPPFLAGS and CFLAGS,
2489 leaving the residue in CC. That happens to work for gcc's various
2490 "model" options, but may require tuning for other compilers (report
2494 + add "v" menu entry to test/ncurses.c to show baudrate and other
2496 + add "newer" baudrate symbols from Linux and FreeBSD to progs/tset.c,
2498 + modify CF_XOPEN_SOURCE macro:
2499 + add "uclinux" to case for "linux" (patch by Yann E. Morin)
2500 + modify _GNU_SOURCE for cygwin headers, tested with cygwin 2.3, 2.5
2501 (patch by Corinna Vinschen, from changes to tin).
2502 + improve CF_CC_ENV_FLAGS macro to allow for compiler wrappers such
2503 as "ccache" (report by Enrico Scholz).
2504 + update config.guess, config.sub from
2505 http://git.savannah.gnu.org/cgit/config.git
2508 + update tput manual page to reflect changes to manipulate terminal
2509 modes by sharing functions with tset.
2510 + add the terminal-mode parts of "reset" (aka tset) to the "tput reset"
2511 command, making the two almost the same except for window-size.
2512 + adapt logic used in dialog "--keep-tite" option for test/filter.c as
2513 "-a" option. When set, test/filter attempts to suppress the
2515 + correct a typo in interix entry -TD
2518 + add a dependency upon generated-sources in Ada95/src/Makefile.in to
2519 handle a case of "configure && make install".
2520 + trim trailing blanks from include/Caps*, to work around a problem
2521 in sed (Debian #818067).
2524 + improve CF_GNU_SOURCE configure macro to optionally define
2525 _DEFAULT_SOURCE work around a nuisance in recent glibc releases.
2526 + move the terminfo-specific parts of tput's "reset" function into
2527 the shared reset_cmd.c, making the two forms of reset use the same
2529 + split-out the terminal initialization functions from tset as
2530 progs/reset_cmd.c, as part of changes to merge the reset-feature
2534 + change tset's initialization to allow it to get settings from the
2535 standard input as well as /dev/tty, to be more effective when
2536 output or error are redirected.
2537 + improve discussion of history and portability for tset/reset/tput
2541 + improve error message from tset/reset when both stderr/stdout are
2542 redirected to a file or pipe.
2543 + improve organization of curs_attr.3x, curs_color.3x
2546 + work around Debian's antique/unmaintained version of mawk when
2548 + improve test/list_keys.c, showing ncurses's convention of modifiers
2549 for special keys, based on xterm.
2552 + improve test/list_keys.c, using $TERM if no parameters are given.
2555 + build-fixes for ncurses "test_progs" rule.
2556 + amend change to CF_CC_ENV_FLAGS in 20160521 to make multilib build
2557 work (report by Sven Joachim).
2560 + build-fixes for ncurses-examples with NetBSD curses.
2561 + improve test/list_keys.c, fixing column-widths and sorting the list
2562 to make it more readable.
2565 + revise fix for Debian #805618 (report by Vlado Potisk, cf: 20151128).
2566 + modify test/ncurses.c a/A screens to make exiting on an escape
2567 character depend on the start of keypad and timeout modes, to allow
2568 better testing of function-keys.
2569 + modify rs1 for xterm-16color, xterm-88color and xterm-256color to
2570 reset palette using "oc" string as in linux -TD
2571 + use ANSI reply for u8 in xterm-new, to reflect vt220-style responses
2572 that could be returned -TD
2573 + added a few capabilities fixed in recent vte -TD
2576 + correct logic for -f option in test/demo_terminfo.c
2577 + add test/list_keys.c
2580 + further workaround for PIE/PIC breakage which causes gpm to not link.
2581 + fix most cppcheck warnings, mostly style, in ncurses library.
2584 + improved manual page description of tset/reset versus window-size.
2585 + fixes to work with a slightly broken compiler configuration which
2586 cannot compile "Hello World!" without adding compiler options
2587 (report by Ola x Nilsson):
2588 + pass appropriate compiler options to the CF_PROG_CC_C_O macro.
2589 + when separating compiler and options in CF_CC_ENV_FLAGS, ensure
2590 that all options are split-off into CFLAGS or CPPFLAGS
2591 + restore some -I options removed in 20140726 because they appeared
2592 to be redundant. In fact, they are needed for a compiler that
2593 cannot combine -c and -o options.
2596 + regenerate HTML manpages.
2597 + improve manual pages for wgetch and wget_wch to point out that they
2598 might return values without names in curses.h (Debian #822426).
2599 + make linux3.0 entry the default linux entry (Debian #823658) -TD
2600 + modify linux2.6 entry to improve line-drawing so that the linux3.0
2601 entry can be used in non-UTF-8 mode -TD
2602 + document return value of use_extended_names (report by Mike Gran).
2605 + amend change to _nc_do_color to restore the early return for the
2606 special case used in _nc_screen_wrap (report by Dick Streefland,
2608 + modify test/ncurses.c:
2609 + check return-value of putwin
2610 + correct ifdef which made the 'g' test's legend not reflect changes
2611 to keypad- and scroll-modes.
2612 + correct return-value of extended putwin (report by Mike Gran).
2615 + modify test/ncurses.c 'd' edit-color menu to optionally read xterm
2616 color palette directly from terminal, as well as handling KEY_RESIZE
2617 and screen-repainting with control/L and control/R.
2618 + add 'oc' capability to xterm+256color, allowing palette reset for
2622 + add workaround in configure script for inept transition to PIE vs
2623 PIC builds documented in
2624 https://fedoraproject.org/wiki/Changes/Harden_All_Packages
2625 + add "reset" to list of programs whose names might change in manpages
2626 due to program-transformation configure options.
2627 + drop long-obsolete "-n" option from tset.
2630 + modify test/blue.c to use Unicode values for card-glyphs when
2631 available, as well as improving the check for CP437 and CP850.
2634 + regenerate HTML manpages.
2635 + improve manual pages for utilities with respect to POSIX versus
2639 + regenerate HTML manpages.
2640 + improve test/demo_menus.c, allowing mouse-click on the menu-headers
2641 to switch the active menu. This requires a new extension option
2642 O_MOUSE_MENU to tell the menu driver to put mouse events which do not
2643 apply to the active menu back into the queue so that the application
2644 can handle the event.
2647 + improve description of tgoto parameters (report by Steffen Nurpmeso).
2648 + amend workaround for Solaris line-drawing to restore a special case
2649 that maps Unicode line-drawing characters into the acsc string for
2650 non-Unicode locales (Debian #816888).
2653 + modified test/filter.c to illustrate an alternative to getnstr, that
2654 polls for input while updating a clock on the right margin as well
2655 as responding to window size-changes.
2658 + omit a redefinition of "inline" when traces are enabled, since this
2659 does not work with gcc 5.3.x MinGW cross-compiling (cf: 20150912).
2662 + modify test/configure script to check for pthread dependency of
2663 ncursest or ncursestw library when building ncurses examples, e.g.,
2664 in case weak symbols are used.
2665 + modify configure macro for shared-library rules to use -Wl,-rpath
2666 rather than -rpath to work around a bug in scons (FreeBSD #178732,
2668 + double-width multibyte characters were not counted properly in
2669 winsnstr and wins_nwstr (report/example by Eric Pruitt).
2670 + update config.guess, config.sub from
2671 http://git.savannah.gnu.org/cgit/config.git
2674 + amend fix for _nc_ripoffline from 20091031 to make test/ditto.c work
2675 in threaded configuration.
2676 + move _nc_tracebits, _tracedump and _tracemouse to curses.priv.h,
2677 since they are not part of the suggested ABI6.
2680 + define WIN32_LEAN_AND_MEAN for MinGW port, making builds faster.
2681 + modify test/ditto.c to allow $XTERM_PROG environment variable to
2682 override "xterm" as the name of the program to run in the threaded
2686 + improve formatting of man/curs_refresh.3x and man/tset.1 manpages
2687 + regenerate HTML manpages using newer man2html to eliminate some
2688 unwanted blank lines.
2691 + ifdef'd header-file definition of mouse_trafo() with NCURSES_NOMACROS
2692 (report by Corey Minyard).
2693 + fix some strict compiler-warnings in traces.
2696 + tidy up comments about hardcoded 256color palette (report by
2697 Leonardo Brondani Schenkel) -TD
2698 + add putty-noapp entry, and amend putty entry to use application mode
2699 for better consistency with xterm (report by Leonardo Brondani
2701 + modify _nc_viscbuf2() and _tracecchar_t2() to trace wide-characters
2702 as a whole rather than their multibyte equivalents.
2703 + minor fix in wadd_wchnstr() to ensure that each cell has nonzero
2705 + move PUTC_INIT calls next to wcrtomb calls, to avoid carry-over of
2706 error status when processing Unicode values which are not mapped.
2709 + modify ncurses c/C color test-screens to take advantage of wide
2710 screens, reducing the number of lines used for 88- and 256-colors.
2711 + minor refinement to check versus ncv to ignore two parameters of
2712 SGR 38 and 48 when those come from color-capabilities.
2715 + add check in tic for use of bold, etc., video attributes in the
2716 color capabilities, accounting whether the feature is listed in ncv.
2717 + add check in tic for conflict between ritm, rmso, rmul versus sgr0.
2720 + add a paragraph to curs_getch.3x discussing key naming (discussion
2721 with James Crippen).
2722 + amend workaround for Solaris vs line-drawing to take the configure
2724 + add a configure check for wcwidth() versus the ncurses line-drawing
2725 characters, to use in special-casing systems such as Solaris.
2728 + improve CF_XOPEN_CURSES macro used in test/configure, to define as
2729 needed NCURSES_WIDECHAR for platforms where _XOPEN_SOURCE_EXTENDED
2730 does not work. Also modified the test program to ensure that if
2731 building with ncurses, that the cchar_t type is checked, since that
2732 normally is since 20111030 ifdef'd depending on this test.
2733 + improve 20121222 workaround for broken acs, letting Solaris "work"
2734 in spite of its misconfigured wcwidth which marks all of the line
2735 drawing characters as double-width.
2738 + update form_cursor.3x, form_post.3x, menu_attributes.3x to list
2739 function names in NAME section (patch by Jason McIntyre).
2740 + minor fixes to manpage NAME/SYNOPSIS sections to consistently use
2741 rule that either all functions which are prototyped in SYNOPSIS are
2742 listed in the NAME section, or the manual-page name is the sole item
2743 listed in the NAME section. The latter is used to reduce clutter,
2744 e.g., for the top-level library manual pages as well as for certain
2745 feature-pages such as SP-funcs and threading (prompted by patches by
2749 + add option to preserve leading whitespace in form fields (patch by
2751 + add missing assignment in lib_getch.c to make notimeout() work
2753 + add 't' toggle for notimeout() function in test/ncurses.c a/A screens
2754 + add viewdata terminal description (Alexandre Montaron).
2755 + fix a case in tic/infocmp for formatting capabilities where a
2756 backslash at the end of a string was mishandled.
2757 + fix some typos in curs_inopts.3x (Benno Schulenberg).
2760 + fix some inconsistencies in the pccon* entries -TD
2761 + add bold to pccon+sgr+acs and pccon-base (Tati Chevron).
2762 + add keys f12-f124 to pccon+keys (Tati Chevron).
2763 + add test/test_sgr.c program to exercise all combinations of sgr.
2766 + modify tset's assignment to TERM in its output to reflect the name by
2767 which the terminal description is found, rather than the primary
2768 name. That was an unnecessary part from the initial conversion of
2769 tset from termcap to terminfo. The termcap program in 4.3BSD did
2770 this to avoid using the short 2-character name (report by Rich
2772 + minor fix to configure script to ensure that rules for resulting.map
2773 are only generated when needed (cf: 20151101).
2774 + modify configure script to handle the case where tic-library is
2775 renamed, but the --with-debug option is used by itself without
2776 normal or shared libraries (prompted by comment in Debian #803482).
2779 + amend change for pkg-config which allows build of pc-files when no
2780 valid pkg-config library directory was configured to suppress the
2781 actual install if it is not overridden to a valid directory at
2782 install time (cf: 20150822).
2783 + modify editing script which generates resulting.map to work with the
2784 clang configuration on recent FreeBSD, which gives an error on an
2785 empty "local" section.
2786 + fix a spurious "(Part)" message in test/ncurses.c b/B tests due
2787 to incorrect attribute-masking.
2790 + modify MKexpanded.sh to update the expansion of a temporary filename
2791 to "expanded.c", for use in trace statements.
2792 + modify layout of b/B tests in test/ncurses.c to allow for additional
2793 annotation on the right margin; some terminals with partial support
2794 did not display well.
2795 + fix typo in curs_attr.3x (patch by Sven Joachim).
2796 + fix typo in INSTALL (patch by Tomas Cech).
2797 + improve configure check for setting WILDCARD_SYMS variable; on ppc64
2798 the variable is in the Data section rather than Text (patch by Michel
2799 Normand, Novell #946048).
2800 + using configure option "--without-fallbacks" incorrectly caused
2801 FALLBACK_LIST to be set to "no" (patch by Tomas Cech).
2802 + updated minitel entries to fix kel problem with emacs, and add
2803 minitel1b-nb (Alexandre Montaron).
2804 + reviewed/updated nsterm entry Terminal.app in OSX -TD
2805 + replace some dead URLs in comments with equivalents from the
2806 Internet Archive -TD
2807 + update config.guess, config.sub from
2808 http://git.savannah.gnu.org/cgit/config.git
2811 + modify ncurses/Makefile.in to sort keys.list in POSIX locale
2812 (Debian #801864, patch by Esa Peuha).
2813 + remove an early-return from _nc_do_color, which can interfere with
2814 data needed by bkgd when ncurses is configured with extended colors
2815 (patch by Denis Tikhomirov).
2816 > fixes for OS/2 (patches by KO Myung-Hun)
2817 + use button instead of kbuf[0] in EMX-specific part of lib_mouse.c
2818 + support building with libtool on OS/2
2819 + use stdc++ on OS/2 kLIBC
2820 + clear cf_XOPEN_SOURCE on OS/2
2823 + add configure check for openpty to test/configure script, for ditto.
2824 + minor fixes to test/view.c in investigating Debian #790847.
2825 + update autoconf patch to 2.52.20150926, incorporates a fix for Cdk.
2826 + add workaround for breakage of POSIX makefiles by recent binutils
2828 + improve check for working poll() by using posix_openpt() as a
2829 fallback in case there is no valid terminal on the standard input
2830 (prompted by discussion on bug-ncurses mailing list, Debian #676461).
2833 + change makefile rule for removing resulting.map to distclean rather
2835 + add /lib/terminfo to terminfo-dirs in ".deb" test-package.
2836 + add note on portability of resizeterm and wresize to manual pages.
2839 + clarify in resizeterm.3x how KEY_RESIZE is pushed onto the input
2841 + clarify in curs_getch.3x that the keypad mode affects ability to
2842 read KEY_MOUSE codes, but does not affect KEY_RESIZE.
2843 + add overlooked build-fix needed with Cygwin for separate Ada95
2844 configure script, cf: 20150606 (report by Nicolas Boulenguez)
2847 + fixes for configure/build using clang on OSX (prompted by report by
2849 + do not redefine "inline" in ncurses_cfg.h; this was originally to
2850 solve a problem with gcc/g++, but is aggravated by clang's misuse
2851 of symbols to pretend it is gcc.
2852 + add braces to configure script to prevent unwanted add of
2853 "-lstdc++" to the CXXLIBS symbol.
2854 + improve/update test-program used for checking existence of stdc++
2856 + if $CXXLIBS is set, the linkage test uses that in addition to $LIBS
2859 + add note in curs_addch.3x about line-drawing when it depends upon
2861 + add tic -q option for consistency with infocmp, use it to suppress
2862 all comments from the "tic -I" output.
2863 + modify infocmp -q option to suppress the "Reconstructed from"
2865 + add infocmp/tic -Q option, which allows one to dump the compiled
2866 form of the terminal entry, in hexadecimal or base64.
2869 + sort options in usage message for infocmp, to make it simpler to
2871 + update usage message for tic, adding "-0" option.
2872 + documented differences in ESCDELAY versus AIX's implementation.
2873 + fix some compiler warnings from ports.
2874 + modify --with-pkg-config-libdir option to make it possible to install
2875 ".pc" files even if pkg-config is not found (adapted from patch by
2879 + disallow "no" as a possible value for "--with-shlib-version" option,
2880 overlooked in cleanup-changes for 20000708 (report by Tommy Alex).
2881 + update release notes in INSTALL.
2882 + regenerate llib-* files to help with review for release notes.
2885 + workaround for Debian #65617, which was fixed in mawk's upstream
2886 releases in 2009 (report by Sven Joachim). See
2887 https://invisible-island.net/mawk/CHANGES.html#t20090727
2889 20150808 6.0 release for upload to ftp.gnu.org
2892 + build-fix for Ada95 on older platforms without stdint.h
2893 + build-fix for Solaris, whose /bin/sh and /usr/bin/sed are non-POSIX.
2894 + update release announcement, summarizing more than 800 changes across
2895 more than 200 snapshots.
2896 + minor fixes to manpages, etc., to simplify linking from announcement
2900 + updated llib-* files.
2901 + build-fixes for ncurses library "test_progs" rule.
2902 + use alternate workaround for gcc 5.x feature (adapted from patch by
2904 + add status line to tmux via xterm+sl (patch by Nicholas Marriott).
2905 + fixes for st 0.5 from testing with tack -TD
2906 + review/improve several manual pages to break up wall-of-text:
2907 curs_add_wch.3x, curs_attr.3x, curs_bkgd.3x, curs_bkgrnd.3x,
2908 curs_getcchar.3x, curs_getch.3x, curs_kernel.3x, curs_mouse.3x,
2909 curs_outopts.3x, curs_overlay.3x, curs_pad.3x, curs_termattrs.3x
2910 curs_trace.3x, and curs_window.3x
2913 + correct an old logic error for %A and %O in tparm (report by "zreed").
2914 + improve documentation for signal handlers by adding section in the
2915 curs_initscr.3x page.
2916 + modify logic in make_keys.c to not assume anything about the size
2917 of strnames and strfnames variables, since those may be functions
2918 in the thread- or broken-linker configurations (problem found by
2920 + modify test/configure script to check for pthreads configuration,
2921 e.g., ncursestw library.
2924 + modify scripts to build/use test-packages for the pthreads
2925 configuration of ncurses6.
2926 + add references to ttytype and termcap symbols in demo_terminfo.c and
2927 demo_termcap.c to ensure that when building ncursest.map, etc., that
2928 the corresponding names such as _nc_ttytype are added to the list of
2929 versioned symbols (report by Werner Fink)
2930 + fix regression from 20150704 (report/patch by Werner Fink).
2933 + fix a few problems reported by Coverity.
2934 + fix comparison against "/usr/include" in misc/gen-pkgconfig.in
2935 (report by Daiki Ueno, Debian #790548, cf: 20141213).
2938 + modify configure script to remove deprecated ABI 5 symbols when
2940 + add symbols _nc_Default_Field, _nc_Default_Form, _nc_has_mouse to
2941 map-files, but marked as deprecated so that they can easily be
2942 suppressed from ABI 6 builds (Debian #788610).
2943 + comment-out "screen.xterm" entry, and inherit screen.xterm-256color
2944 from xterm-new (report by Richard Birkett) -TD
2945 + modify read_entry.c to set the error-return to -1 if no terminal
2946 databases were found, as documented for setupterm.
2947 + add test_setupterm.c to demonstrate normal/error returns from the
2948 setupterm and restartterm functions.
2949 + amend cleanup change from 20110813 which removed redundant definition
2950 of ret_error, etc., from tinfo_driver.c, to account for the fact that
2951 it should return a bool rather than int (report/analysis by Johannes
2955 + fix overflow warning for OSX with lib_baudrate.c (cf: 20010630).
2956 + modify script used to generate map/sym files to mark 5.9.20150530 as
2957 the last "5.9" version, and regenerated the files. That makes the
2958 files not use ".current" for the post-5.9 symbols. This also
2959 corrects the label for _nc_sigprocmask used in when weak symbols are
2960 configured for the ncursest/ncursestw libraries (prompted by
2961 discussion with Sven Joachim).
2962 + fix typo in NEWS (report by Sven Joachim).
2964 20150606 pre-release
2965 + make ABI 6 the default by updates to dist.mk and VERSION, with the
2966 intention that the existing ABI 5 should build as before using the
2967 "--with-abi-version=5" option.
2968 + regenerate ada- and man-html documentation.
2969 + minor fixes to color- and util-manpages.
2970 + fix a regression in Ada95/gen/Makefile.in, to handle special case of
2971 Cygwin, which uses the broken-linker feature.
2972 + amend fix for CF_NCURSES_CONFIG used in test/configure to assume that
2973 ncurses package scripts work when present for cross-compiling, as the
2974 lessor of two evils (cf: 20150530).
2975 + add check in configure script to disallow conflicting options
2976 "--with-termlib" and "--enable-term-driver".
2977 + move defaults for "--disable-lp64" and "--with-versioned-syms" into
2978 CF_ABI_DEFAULTS macro.
2981 + change private type for Event_Mask in Ada95 binding to work when
2982 mmask_t is set to 32-bits.
2983 + remove spurious "%;" from st entry (report by Daniel Pitts) -TD
2984 + add vte-2014, update vte to use that -TD
2985 + modify tic and infocmp to "move" a diagnostic for tparm strings that
2986 have a syntax error to tic's "-c" option (report by Daniel Pitts).
2987 + fix two problems with configure script macros (Debian #786436,
2988 cf: 20150425, cf: 20100529).
2991 + add 'P' menu item to test/ncurses.c, to show pad in color.
2992 + improve discussion in curs_color.3x about color rendering (prompted
2993 by comment on Stack Overflow forum):
2994 + remove screen-bce.mlterm, since mlterm does not do "bce" -TD
2995 + add several screen.XXX entries to support the respective variations
2997 + add putty+fnkeys* building-block entries -TD
2998 + add smkx/rmkx to capabilities analyzed with infocmp "-i" option.
3001 + amend change to ".pc" files to only use the extra loader flags which
3002 may have rpath options (report by Sven Joachim, cf: 20150502).
3003 + change versioning for dpkg's in test-packages for Ada95 and
3004 ncurses-examples for consistency with Debian, to work with package
3006 + regenerate html manpages.
3007 + clarify handling of carriage return in waddch manual page; it was
3008 discussed only in the portability section (prompted by comment on
3009 Stack Overflow forum):
3012 + add test-packages for cross-compiling ncurses-examples using the
3013 MinGW test-packages. These are only the Debian packages; RPM later.
3014 + cleanup format of debian/copyright files
3015 + add pc-files to the MinGW cross-compiling test-packages.
3016 + correct a couple of places in gen-pkgconfig.in to handle renaming of
3020 + modify the configure script to allow different default values
3021 for ABI 5 versus ABI 6.
3022 + add wgetch-events to test-packages.
3023 + add a note on how to build ncurses-examples to test/README.
3024 + fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
3026 + remove unnecessary ';' from E3 capabilities -TD
3027 + add tmux entry, derived from screen (patch by Nicholas Marriott).
3028 + split-out recent change to nsterm-bce as nsterm-build326, and add
3029 nsterm-build342 to reflect changes with successive releases of OSX
3030 (discussion with Leonardo B Schenkel)
3031 + add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
3033 + add sample "magic" file, to document ext-putwin.
3034 + modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
3035 generated ".pc" file when ld option "--as-needed" is used, or when
3036 ncurses and tinfo are installed without using rpath (prompted by
3037 discussion with Sylvain Bertrand).
3038 + modify test-package for ncurses6 to omit rpath feature when installed
3040 + add OSX's "*.dSYM" to clean-rules in makefiles.
3041 + make extra-suffix work for OSX configuration, e.g., for shared
3043 + modify Ada95/configure script to work with pkg-config
3044 + move test-package for ncurses6 to /usr, since filename-conflicts have
3046 + corrected build rules for Ada95/gen/generate; it does not depend on
3047 the ncurses library aside from headers.
3048 + reviewed man pages, fixed a few other spelling errors.
3049 + fix a typo in curs_util.3x (Sven Joachim).
3050 + use extra-suffix in some overlooked shared library dependencies
3051 found by 20150425 changes for test-packages.
3052 + update config.guess, config.sub from
3053 http://git.savannah.gnu.org/cgit/config.git
3056 + expanded description of tgetstr's area pointer in manual page
3057 (report by Todd M Lewis).
3058 + in-progress changes to modify test-packages to use ncursesw6 rather
3059 than ncursesw, with updated configure scripts.
3060 + modify CF_NCURSES_CONFIG in Ada95- and test-configure scripts to
3061 check for ".pc" files via pkg-config, but add a linkage check since
3062 frequently pkg-config configurations are broken.
3063 + modify misc/gen-pkgconfig.in to include EXTRA_LDFLAGS, e.g., for the
3065 + add 'dim' capability to screen entry (report by Leonardo B Schenkel)
3066 + add several key definitions to nsterm-bce to match preconfigured
3067 keys, e.g., with OSX 10.9 and 10.10 (report by Leonardo B Schenkel)
3068 + fix repeated "extra-suffix" in ncurses-config.in (cf: 20150418).
3069 + improve term_variables manual page, adding section on the terminfo
3070 long-name symbols which are defined in the term.h header.
3071 + fix bug in lib_tracebits.c introduced in const-fixes (cf: 20150404).
3074 + avoid a blank line in output from tabs program by ending it with
3075 a carriage return as done in FreeBSD (patch by James Clarke).
3076 + build-fix for the "--enable-ext-putwin" feature when not using
3077 wide characters (report by Werner Fink).
3078 + modify autoconf macros to use scripting improvement from xterm.
3079 + add -brtl option to compiler options on AIX 5-7, needed to link
3080 with the shared libraries.
3081 + add --with-extra-suffix option to help with installing nonconflicting
3082 ncurses6 packages, e.g., avoiding header- and library-conflicts.
3083 NOTE: as a side-effect, this renames
3084 adacurses-config to adacurses5-config and
3085 adacursesw-config to adacursesw5-config
3086 + modify debian/rules test package to suffix programs with "6".
3087 + clarify in curs_inopts.3x that window-specific settings do not
3088 inherit into new windows.
3091 + improve description of start_color() in the manual.
3092 + modify several files in ncurses- and progs-directories to allow
3093 const data used in internal tables to be put by the linker into the
3094 readonly text segment.
3097 + correct cut/paste error for "--enable-ext-putwin" that made it the
3098 same as "--enable-ext-colors" (report by Roumen Petrov)
3101 + add "-f" option to test/savescreen.c to help with testing/debugging
3102 the extended putwin/getwin.
3103 + add logic for writing/reading combining characters in the extended
3105 + add "--enable-ext-putwin" configure option to turn on the extended
3109 + in-progress changes to provide an extended version of putwin and
3110 getwin which will be capable of reading screen-dumps between the
3111 wide/normal ncurses configurations. These are text files, except
3112 for a magic code at the beginning:
3113 0 string \210\210 Screen-dump (ncurses)
3116 + document limitations of getwin in manual page (prompted by discussion
3118 + extend test/savescreen.c to demonstrate that color pair values
3119 and graphic characters can be restored using getwin.
3122 + modify win_driver.c to eliminate the constructor, to make it more
3123 usable in an application which may/may not need the console window
3124 (report by Grady Martin).
3127 + capture define's related to -D_XOPEN_SOURCE from the configure check
3128 and add those to the *-config and *.pc files, to simplify use for
3129 the wide-character libraries.
3130 + modify ncurses.spec to accommodate Fedora21's location of pkg-config
3132 + correct sense of "--disable-lib-suffixes" configure option (report
3133 by Nicolas Boos, cf: 20140426).
3136 + regenerate html manpages using improved man2html from work on xterm.
3137 + regenerated ".map" and ".sym" files using improved script, accounting
3138 for the "--enable-weak-symbols" configure option (report by Werner
3142 + regenerated ".map" and ".sym" files using improved script, showing
3143 the combinations of configure options used at each stage.
3146 + add configure check to determine if "local: _*;" can be used in the
3147 ".map" files to selectively omit symbols beginning with "_". On at
3148 least recent FreeBSD, the wildcard applies to all "_" symbols.
3149 + remove obsolete/conflicting rule for ncurses.map from
3150 ncurses/Makefile.in (cf: 20130706).
3153 + improve description in INSTALL of the --with-versioned-syms option.
3154 + add combination of --with-hashed-db and --with-ticlib to
3155 configurations for ".map" files (report by Werner Fink).
3158 + add a step to generating ".map" files, to declare any remaining
3159 symbols beginning with "_" as local, at the last version node.
3160 + improve configure checks for pkg-config, addressing a variant found
3162 + modify win_driver.c to provide characters for special keys, like
3163 ansi.sys, when keypad mode is off, rather than returning nothing at
3164 all (discussion with Eli Zaretskii).
3165 + add "broken_linker" and "hashed-db" configure options to combinations
3166 use for generating the ".map" and ".sym" files.
3167 + avoid using "ld" directly when creating shared library, to simplify
3168 cross-compiles. Also drop "-Bsharable" option from shared-library
3169 rules for FreeBSD and DragonFly (FreeBSD #196592).
3170 + fix a memory leak in form library Free_RegularExpression_Type()
3171 (report by Pavel Balaev).
3174 + modify_nc_flush() to retry if interrupted (patch by Stian Skjelstad).
3175 + change map files to make _nc_freeall a global, since it may be used
3176 via the Ada95 binding when checking for memory leaks.
3177 + improve sed script used in 20141220 to account for wide-, threaded-
3178 variations in ABI 6.
3181 + regenerate ".map" files, using step overlooked in 20141213 to use
3182 the same patch-dates across each file to match ncurses.map (report by
3186 + fix an incorrect variable assignment in 20141220 changes (report by
3190 + updated Ada95/configure with macro changes from 20141213
3191 + tie configure options --with-abi-version and --with-versioned-syms
3192 together, so that ABI 6 libraries have distinct symbol versions from
3193 the ABI 5 libraries.
3194 + replace obsolete/nonworking link to man2html with current one,
3195 regenerate html-manpages.
3198 + modify misc/gen-pkgconfig.in to add -I option for include-directory
3199 when using both --prefix and --disable-overwrite (report by Misty
3201 + add configure option --with-pc-suffix to allow minor renaming of
3202 ".pc" files and the corresponding library. Use this in the test
3203 package for ncurses6.
3204 + modify configure script so that if pkg-config is not installed, it
3205 is still possible to install ".pc" files (report by Misty De Meo).
3206 + updated ".sym" files, removing symbols which are marked as "local"
3207 in the corresponding ".map" files.
3208 + updated ".map" files to reflect move of comp_captab and comp_hash
3209 from tic-library to tinfo-library in 20090711 (report by Sven
3213 + updated ".map" files so that each symbol that may be shared across
3214 the different library configurations has the same label. Some
3215 review is needed to ensure these are really compatible.
3216 + modify MKlib_gen.sh to work around change in development version of
3217 gcc introduced here:
3218 https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
3219 https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00236.html
3220 (reports by Marcus Shawcroft, Maohui Lei).
3221 + improved configure macro CF_SUBDIR_PATH, from lynx changes.
3224 + improved ".map" files by generating them with a script that builds
3225 ncurses with several related configurations and merges the results.
3226 A further refinement is planned, to make the tic- and tinfo-library
3227 symbols use the same versions across each of the four configurations
3228 which are represented (reports by Sven Joachim, Werner Fink).
3231 + improve description of limits for color values and color pairs in
3232 curs_color.3x (prompted by patch by Tim van der Molen).
3233 + add VERSION file, using first field in that to record the ABI version
3234 used for configure --with-libtool --disable-libtool-version
3235 + add configure options for applying the ".map" and ".sym" files to
3236 the ncurses, form, menu and panel libraries.
3237 + add ".map" and ".sym" files to show exported symbols, e.g., for
3241 + improve strict compiler-warnings by adding a cast in TRACE_RETURN
3242 and making a new TRACE_RETURN1 macro for cases where the cast does
3246 + in-progress changes to integrate the win32 console driver with the
3247 msys2 configuration.
3250 + reviewed terminology 0.6.1, add function key definitions. None of
3251 the vt100-compatibility issues were improved -TD
3252 + improve infocmp conversion of extended capabilities to termcap by
3253 correcting the limit check against parametrized[], as well as filling
3254 in a check if the string happens to have parameters, e.g., "xm"
3256 + add check for zero/negative dimensions for resizeterm and resize_term
3257 (report by Mike Gran).
3260 + add experimental support for xterm's 1005 mouse mode, to use in a
3261 demonstration of its limitations.
3262 + add experimental support for "%u" format to terminfo.
3263 + modify test/ncurses.c to also show position reports in 'a' test.
3264 + minor formatting fixes to _nc_trace_mmask_t, make this function
3265 exported to help with debugging mouse changes.
3266 + improve behavior of wheel-mice for xterm protocol, noting that there
3267 are only button-presses for buttons "4" and "5", so there is no need
3268 to wait to combine events into double-clicks (report/analysis by
3270 + provide examples xterm-1005 and xterm-1006 terminfo entries -TD
3271 + implement decoder for xterm SGR 1006 mouse mode.
3274 + implement curs_set in win_driver.c
3275 + implement flash in win_driver.c
3276 + fix an infinite loop in win_driver.c if the command-window loses
3278 + improve the non-buffered mode, i.e., NCURSES_CONSOLE2, of
3279 win_driver.c by temporarily changing the buffer-size to match the
3280 window-size to eliminate the scrollback. Also enforce a minimum
3281 screen-size of 24x80 in the non-buffered mode.
3282 + modify generated misc/Makefile to suppress install.data from the
3283 dependencies if the --disable-db-install option is used, compensating
3284 for the top-level makefile changes used to add ncurses*-config in the
3285 20140920 changes (report by Steven Honeyman).
3288 + add ncurses*-config to bin-directory of sample package-scripts.
3289 + add check to ensure that getopt is available; this is a problem in
3290 some older cross-compiler environments.
3291 + expanded on the description of --disable-overwrite in INSTALL
3292 (prompted by reports by Joakim Tjernlund, Thomas Klausner).
3293 See Gentoo #522586 and NetBSD #49200 for examples.
3294 which relates to the clarified guidelines.
3295 + remove special logic from CF_INCLUDE_DIRS which adds the directory
3296 for the --includedir from the build (report by Joakim Tjernlund).
3297 + add case for Unixware to CF_XOPEN_SOURCE, from lynx changes.
3298 + update config.sub from
3299 http://git.savannah.gnu.org/cgit/config.git
3302 + add a configure check to ignore some of the plethora of non-working
3303 C++ cross-compilers.
3304 + build-fixes for Ada95 with gnat 4.9
3307 + build-fix and other improvements for port of ncurses-examples to
3309 + minor compiler-warning fixes.
3312 + modify test/demo_termcap.c and test/demo_terminfo.c to make their
3313 options more directly comparable, and add "-i" option to specify
3314 a terminal description filename to parse for names to lookup.
3317 + fix special case where double-width character overwrites a single-
3318 width character in the first column (report by Egmont Koblinger,
3322 + fix colors in ncurses 'b' test which did not work after changing
3323 it to put the test-strings in subwindows (cf: 20140705).
3324 + merge redundant SEE-ALSO sections in form and menu manpages.
3327 + modify declarations for user-data pointers in C++ binding to use
3328 reinterpret_cast to facilitate converting typed pointers to void*
3329 in user's application (patch by Adam Jiang).
3330 + regenerated html manpages.
3331 + add note regarding cause and effect for TERM in ncurses manpage,
3332 having noted clueless verbiage in Terminal.app's "help" file
3333 which reverses cause/effect.
3334 + remove special fallback definition for NCURSES_ATTR_T, since macros
3335 have resolved type-mismatches using casts (cf: 970412).
3336 + fixes for win_driver.c:
3337 + handle repainting on endwin/refresh combination.
3342 + minor portability fixes for MinGW:
3343 + ensure WINVER is defined in makefiles rather than using headers
3344 + add check for gnatprep "-T" option
3345 + work around bug introduced by gcc 4.8.1 in MinGW which breaks
3347 http://stackoverflow.com/questions/20877689/gcc-4-8-1-minggw-d-option-does-not-work-as-usual
3348 + fix most compiler warnings for Cygwin ncurses-examples.
3349 + restore "redundant" -I options in test/Makefile.in, since they are
3350 typically needed when building the derived ncurses-examples package
3354 + eliminate some redundant -I options used for building libraries, and
3355 ensure that ${srcdir} is added to the include-options (prompted by
3356 discussion with Paul Gilmartin).
3357 + modify configure script to work with Minix3.2
3358 + add form library extension O_DYNAMIC_JUSTIFY option which can be
3359 used to override the different treatment of justification for static
3360 versus dynamic fields (adapted from patch by Leon Winter).
3361 + add a null pointer check in test/edit_field.c (report/analysis by
3362 Leon Winter, cf: 20130608).
3365 + make workarounds for compiling test-programs with NetBSD curses.
3366 + improve configure macro CF_ADD_LIBS, to eliminate repeated -l/-L
3367 options, from xterm changes.
3370 + correct Charable() macro check for A_ALTCHARSET in wide-characters.
3371 + build-fix for position-debug code in tty_update.c, to work with or
3375 + add w/W toggle to ncurses.c 'B' test, to demonstrate permutation of
3376 video-attributes and colors with double-width character strings.
3379 + correct check in win_driver.c for saving screen contents, e.g., when
3380 NCURSES_CONSOLE2 is set (cf: 20140503).
3381 + reorganize b/B menu items in ncurses.c, putting the test-strings into
3382 subwindows. This is needed for a planned change to use Unicode
3383 fullwidth characters in the test-screens.
3384 + correct update to form status for _NEWTOP, broken by fixes for
3385 compiler warnings (patch by Leon Winter, cf: 20120616).
3388 + change shared-library suffix for AIX 5 and 6 to ".so", avoiding
3389 conflict with the static library (report by Ben Lentz).
3390 + document RPATH_LIST in INSTALLATION file, as part of workarounds for
3391 upgrading an ncurses library using the "--with-shared" option.
3392 + modify test/ncurses.c c/C tests to cycle through subsets of the
3393 total number of colors, to better illustrate 8/16/88/256-colors by
3394 providing directly comparable screens.
3395 + add test/dots_curses.c, for comparison with the low-level examples.
3398 + fix dereference before null check found by Coverity in tic.c
3400 + fix sign-extension bug in read_entry.c which prevented "toe" from
3401 reading empty "screen+italics" entry.
3402 + modify sgr for screen.xterm-new to support dim capability -TD
3403 + add dim capability to nsterm+7 -TD
3404 + cancel dim capability for iterm -TD
3405 + add dim, invis capabilities to vte-2012 -TD
3406 + add sitm/ritm to konsole-base and mlterm3 -TD
3409 > fix regression in screen terminfo entries (reports by Christian
3410 Ebert, Gabriele Balducci) -TD
3411 + revert the change to screen; see notes for why this did not work -TD
3412 + cancel sitm/ritm for entries which extend "screen", to work around
3413 screen's hardcoded behavior for SGR 3 -TD
3416 + separate masking for sgr in vidputs from sitm/ritm, which do not
3417 overlap with sgr functionality.
3418 + remove unneeded -i option from adacurses-config; put -a in the -I
3419 option for consistency (patch by Pascal Pignard).
3420 + update xterm-new terminfo entry to xterm patch #305 -TD
3421 + change format of test-scripts for Debian Ada95 and ncurses-examples
3422 packages to quilted to work around Debian #700177 (cf: 20130907).
3423 + build fix for form_driver_w.c as part of ncurses-examples package for
3424 older ncurses than 20131207.
3425 + add Hello World example to adacurses-config manpage.
3426 + remove unused --enable-pc-files option from Ada95/configure.
3427 + add --disable-gnat-projects option for testing.
3428 + revert changes to Ada95 project-files configuration (cf: 20140524).
3429 + corrected usage message in adacurses-config.
3432 + fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
3433 environment variable.
3434 + improve discussion of input-echoing in curs_getch.3x
3435 + clarify discussion in curs_addch.3x of wrapping.
3436 + modify parametrized.h to make fln non-padded.
3437 + correct several entries which had termcap-style padding used in
3438 terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
3439 + correct syntax for padding in some entries: dg211, h19 -TD
3440 + correct ti924-8 which had confused padding versus octal escapes -TD
3441 + correct padding in sbi entry -TD