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.3680 2021/07/03 19:02:51 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 + amend libtool configuration to add dependency for install.tic, etc.,
51 in ncurses/Makefile on the lower-level libraries.
52 + modify configure script to support ".PHONY" make program feature.
55 + add configure option --disable-root-access, which tells ncurses to
56 disallow most file-opens by setuid processes.
57 + use default colors in pccon "op" -TD
58 + correct rmacs/smacs in aaa+dec, aaa+rv -TD
59 + add hpterm-color2 and hp98550-color (Martin Trusler)
60 + regenerate man-html documentation.
63 + improve configure-macro used for dependencies of --disable-leaks such
65 + trim trailing blanks from files
68 + fixes for scan-build, valgrind build/testing.
72 + add a summary of ncurses-specific preprocessor symbols to curses.h
73 (prompted by discussion with Peter Farley, Bill Gray).
76 + regenerate configure scripts with autoconf 2.52.20210509 to eliminate
77 an unnecessary warning in config.log (report by Miroslav Lichvar).
78 + add a note in manual page to explain ungetch vs unget_wch (prompted
79 by discussion with Peter Farley).
80 + add sp-funcs for erasewchar, killwchar.
81 + modify wgetnstr, wgetn_wstr to improve compatibility with SVr4 curses
82 in its treatment of interrupt and quit characters (prompted by
83 report/testcase by Bill Gray)
84 + update config.guess, config.sub
87 + improve manual pages for wgetnstr, newwin (prompted by
88 report/testcase by Bill Gray).
91 + modify tputs' error check to allow it to be used without first
92 calling tgetent or setupterm, noting that terminfo initialization
93 is required for supporting the terminfo delay feature (report by
95 + fix several warnings from clang --analyze
96 + add null-pointer check in comp_parse.c, when a "use=" clause refers
97 to a nonexisting terminal description (report/patch by Miroslav
98 Lichvar, cf: 20210227).
101 + add a special case in the configure script to work around one of the
102 build-time breakages reported for OpenBSD 6 here:
103 https://www.mail-archive.com/bugs@openbsd.org/msg13200.html
104 There is no workaround for the other issue, a broken linker spec.
105 + modify configure check for libtool to prevent accidental use of an
106 OpenBSD program which uses the same name.
107 + update config.guess, config.sub
110 + avoid using broken system macros for snprintf which interfere with
111 _nc_SLIMIT's conditionally adding a parameter when the string-hacks
112 configure option is enabled.
113 + add a "all::" rule before the new "check" rule in test/Makefile.in
116 + improve CF_LINK_FUNCS by ensuring that the source-file is closed
117 before linking to the target.
118 + add "check" rules for headers in c++, progs and test-directories.
119 + build-fix for termsort module when configured with termcap (reports
120 by Rajeev V Pillai, Rudi Heitbaum).
123 + extend --disable-pkg-ldflags option to also control whether $LDFLAGS
124 from the build is provided in -config and .pc files (Debian #986764).
125 + fix some cppcheck warnings, mostly style, in ncurses and c++
126 libraries and progs directory.
127 + fix off-by-one limit for tput's processing command-line arguments
128 (patch by Hadrien Lacour).
131 + fix some cppcheck warnings, mostly style, in ncurses library and
133 + improve description of BSD-style padding in curs_termcap.3x
134 + improved CF_C11_NORETURN macro, from byacc changes.
135 + fix "--enable-leak" in CF_DISABLE_LEAKS to allow turning
136 leak-checking off later in a set of options.
137 + relax modification-time comparison in CF_LINK_FUNCS to allow it to
138 accept link() function with NFS filesystems which change the mtime
139 on the link target, e.g., several BSD systems.
140 + call delay_output_sp to handle BSD-style padding when tputs_sp is
141 called, whether directly or internally, to ensure that the SCREEN
142 pointer is passed correctly (reports by Henric Jungheim, Juraj
146 + build-fixes for Solaris10 /bin/sh
147 + fix some cppcheck warnings, mostly style, in ncurses test-programs,
148 form and menu libraries.
151 + add configure option --enable-stdnoreturn, making the _Noreturn
152 keyword optional to ease transition (prompted by report by
156 + improve parameter-checking in tput by forcing it to analyze any
157 extended string capability, e.g., as used in the Cs and Ms
158 capabilities of the tmux description (report by Brad Town,
160 + remove an incorrect free in the fallback (non-checking) version of
161 _nc_free_and_exit (report by Miroslav Lichvar).
162 + correct use-ordering in some xterm-direct flavors -TD
163 + add hterm, hterm-256color (Mike Frysinger)
164 + if the build-time compiler accepts c11's _Noreturn keyword, use that
165 rather than gcc's attribute.
166 + change configure-check for gcc's noreturn attribute to assume it is
167 a prefix rather than suffix, matching c11's _Noreturn convention.
168 + add "lint" rule to c++/Makefile, e.g., with cppcheck.
171 + improve configure CF_LD_SEARCHPATH macro used for ncurses*-config and
172 ".pc" files, from dialog changes.
173 + reduce dependency of math-library in test programs.
174 + minor fixes for test_tparm.c (cf: 20210306)
175 + mention "ncurses" prefix in curses_version() manpage (report by
179 + improved test/test_tparm.c, by limiting the tests to capabilities
180 that might have parameters or padding, and combined with tputs test.
181 + improve discussion of padding versus tparm and tputs in
183 + update portability note for FreeBSD in man/tput.1
186 + modify tic/infocmp to eliminate unnecessary "\" to escape ":" in
188 + add check in tic for duplicate "use=" clauses.
191 + improve tic warning when oc/op do not mention SGR 39/49 for xterm
193 + revert change to lib_addch.c in waddch_literal() from 20210130, since
194 the followup fix in PutCharLR() actually corrects the problem while
195 this change causes too-early filling/wrapping (report by Johannes
197 + add/use vt220+pcedit and vt220+vtedit -TD
198 + add scrt/securecrt and absolute -TD
199 + add nel to xterm-new, though supported since X11R5 -TD
200 + add/use xterm+nofkeys -TD
201 + move use of ecma+italics from xterm-basic to xterm+nofkeys -TD
204 + add test/back_ground.c, to exercise the wide-character background
206 + add a check in _nc_build_wch() in case the background character is a
207 wide-character, rather than a new part of a multibyte character.
208 + improve tracemunch's coverage of form/menu/panel libraries.
209 + improve tracemunch's checking/reporting the type for the first
210 parameter, e.g., "WINDOW*" rather than "#1".
213 + provide for wide-characters as background character in wbkgrnd
214 (report/testcase by Anton Vidovic)
215 + add name for Fedora's pcre2 to configure check for "--with-pcre2"
216 option, from xterm #363 -TD
217 + modify adjustment in PutCharLR to restore the cursor position before
218 writing to the lower-right corner, rather than decrementing the
219 cursor column, in case it was a double-width character (cf: 20210130).
222 + correct an off-by-one in comparison in waddch_literal() which caused
223 scrolling when a double-cell character would not fit at the lower
224 right corner of the screen (report by Benno Schulenberg).
225 + split-out att610+cvis, vt220+cvis, vt220+cvis8 -TD
226 + add vt220-base, for terminal emulators which generally have not
227 supported att610's blinking cursor control -TD
228 + use vt220+cvis in vt220, etc -TD
229 + use att610+cvis, xterm+tmux and ansi+enq in kitty -TD
230 + use vt220+cvis in st, terminology, termite since they ignore
231 blinking-cursor detail in att610+cvis -TD
234 + modify package/config scripts to provide an explicit -L option for
235 cases when the loader search path has other directories preceding
236 the one in which ncurses is installed (report by Yuri Victorovich).
237 + minor build-fixes in configure script and makefiles to work around
241 + add comment for linux2.6 regarding CONFIG_CONSOLE_TRANSLATIONS
242 (report by Patrick McDermott) -TD
243 + make opts extension for getcchar work as documented for ncurses 6.1,
244 adding "-g" flag to test/demo_new_pair to illustrate.
247 + fix errata in man/ncurses.3x from recent updates.
248 + improve quoting/escaping in configure script, uses some features of
249 autoconf 2.52.20210105
252 + update man/curs_memleaks.3x, to include <term.h> which declares
254 + clarify man/curs_terminfo.3x, to mention why the macro setterm is
255 defined in <curses.h>, and remove it from the list of prototypes
256 (prompted by patch by Graeme McCutcheon).
257 + amend man/curs_terminfo.3x, to note that <curses.h> is required
258 for certain functions, e.g., those using chtype or attr_t for
259 types, as well as mvcur (cf: 20201031).
260 + use parameter-names in prototypes in curs_sp_funcs.3x, for
261 consistency with other manpages.
264 + update terminology entry to 1.8.1 -TD
265 + fix some compiler-warnings which gcc8 reports incorrectly.
268 + suppress hyphenation in generated html for manpages, to address
269 regression in upgrade of groff 1.22.2 to 1.22.3.
270 + fix inconsistent sort-order in see-also sections of manpages (report
274 + improve manual pages for form field-types.
277 + amend build-fixes for gnat 10 to work with certain systems lacking
278 gprbuild (cf: 20200627).
279 + eliminate an additional strlen and wsclen.
280 + eliminate an unnecessary strlen in waddnstr() (suggested by Benjamin
282 + modify inopts manpage, separating the items for nodelay and notimeout
283 (patch by Benno Schulenberg).
284 + correct mlterm3 kf1-kf4 (Debian #975322) -TD
285 + add flash to mlterm3 -TD
288 + add Smulx to alacritty (Christian Duerr).
289 + add rep to PuTTY -TD
290 + add putty+keypad -TD
291 + add another fflush(stdout) in _nc_flush() to handle time-delays in
292 the middle of strings such as flash when the application uses
293 low-level calls rather than curses (cf: 20161217).
294 + modify configure check for c89/c99 aliases of clang to use its
295 -std option instead, because some platforms, in particular macOS,
296 do not provide workable c89/c99 aliases.
299 + fix some compiler-warnings in experimental Windows-10 driver.
300 + add the definitions needed in recent configure-check for clang
301 (report by Steven Pitman).
304 + fix some compiler-warnings in experimental Windows-10 driver.
305 + modify a check for parameters in terminfo capabilities to handle the
306 special case where short extended capability strings were not
307 converted from terminfo to termcap format.
308 + modify CF_MIXEDCASE_FILENAMES macro, adding darwin as special case
309 when cross-compiling (report by Eli Rykoff).
312 + update kitty+common -TD
313 + add putty+screen and putty-screen (suggested by Alexandre Montaron).
314 + explain in ncurses.3x that functions in the tinfo library do not rely
315 upon wide-characters (prompted by discussion with Reuben Thomas).
318 + modify MKterm.h.in so that it is not necessary to include <curses.h>
319 before <term.h> (prompted by discussion with Reuben Thomas).
320 + review/improve synopsis for curs_sp_funcs.3x (prompted by discussion
322 + improve format of output in tic's check_infotocap() function, to
323 ensure that the messages contain only printable text.
324 + modify configure-check for clang to verify that -Qunused-arguments
325 is supported. IBM's xlclang does not support it (report by Steven
329 + provide workaround configure-check for bool when cross-compiling.
330 + fix a potential indexing error in _nc_parse_entry(), seen with
331 Herlim's test data using address-sanitizer.
332 + change a null-pointer check in set_curterm to a valid-string check,
333 needed in to tic's use-resolution when pad_char is cancelled
334 (report/testcase by Robert Sebastian Herlim)
335 + improve tic's -c option to validate the number and type of parameters
336 and compare against expected number/type before deciding which set of
337 parameter-lists to use in tparm calls (report/testcase by Robert
339 + fix a link for tabs.1 manpage in announce.html.in (report by Nick
340 Black), as well as some fixes via linklint.
343 + improve manpage typography.
344 + improve discussion in curs_addch.3x of the use of unctrl to display
345 nonprintable characters.
346 + add a note in terminfo.5 explaining that no-parameter strings such
347 as sgr0 or cnorm should not be used with tparm.
350 + correct sgr in aaa+rv (report by Florian Weimer) -TD
351 + fix some sgr inconsistencies in d230c, ibm6153, ibm6154,
353 + improve tic's check for errors detected in tparm (prompted by
354 discussion with Florian Weimer).
355 + set output-mode to binary in experimental Windows-10 driver (Juergen
359 + remove output-related checks for nl/nonl (report by Leon Winter).
360 + change tmux's kbs to ^? (report by Premysl Eric Janouch)
361 + simplify mlterm initialization with DECSTR -TD
362 + fix a typo in man/curs_terminfo.3 (Reuben Thomas).
363 + add tmux-direct (tmux #2370, Debian #895754)
364 + add user-defined capabilities from mintty to Caps-ncurses, for
365 checking consistency with tic.
368 + correct configure-check for gnurx library.
369 + regenerate llib-* files.
370 + modify tracemunch and the panel library to show readable traces for
371 panel- and user-pointers.
374 + update mlterm3 for 3.9.0 (report by Premysl Eric Janouch) -TD
377 + corrected condition for appending curses.events to the generated
378 curses.h (report by Sven Joachim, Debian #970545).
381 + add configure-check for systre/tre with mingw configuration, to get
382 the library-dependencies as seen in msys2 configuration for mingw64.
383 + build-fixes for the win32-driver configuration.
384 + use more defensive binary mode setting for Win32 (Juergen Pfeifer).
387 + fix regression in setupterm validating non-empty $TERM (report by
391 + merge/adapt in-progress work by Juergen Pfeifer for new version of
393 + correct description of vt330/vt340 (Ross Combs).
396 + build-fix for awk-scripts modified for win32-driver (report by Werner
400 + remove a redundant NCURSES_EXPORT as a build-fix for "Maarten
402 + merge/adapt in-progress work by Juergen Pfeifer for new version of
404 + modify configure script, moving gcc -Werror options to EXTRA_CFLAGS
405 to avoid breaking configure-checks (adapted from ongoing work on
407 > errata for terminfo.src (report by Florian Weimer):
408 + correct icl6404 csr
413 + improve version-number extraction in MKlib_gen.sh
414 + make the test-package for manpages installable by adjusting the
416 + correct an off-by-one loop-limit in convert_strings function
418 + add CF_SHARED_OPTS cases for HPE NonStop systems (Randall S Becker).
419 + modify CF_SHARED_OPTS case for NetBSD to use the same "-shared"
420 option for the non-rpath case as for the rpath case, to allow gcc to
421 provide suitable runtime initialization (report by Rajeev V Pillai).
424 + reduce build-warnings by excluding ncurses-internals from deprecation
426 + mark wgetch-events feature as deprecated.
427 + add definition for $(LIBS) to ncurses/Makefile.in, to simplify builds
428 using the string-hacks option.
429 + prevent KEY_EVENT from appearing in curses.h unless the configure
430 option --enable-wgetch-events is used (report by Werner Fink).
433 + amend tic/infocmp check to allow for the respective tool's absence
434 (report by Steve Wills, cf: 20200808).
435 + improved some of the build-scripts with shellcheck
436 + filter out -MT/-MD/-MTd/-MDd options in script for Visual Studio C++
437 (discussion with "Maarten Anonymous").
440 + improve discussion of the system's tic utility when used as part
441 of cross-compiling (discussion with Keith Marshall).
442 + modify configuration checks for build-time tic/infocmp to use
443 AC_CHECK_TOOL. That can still be overridden by --with-tic-path and
444 --with-infocmp-path when fallbacks are used, but even if not using
445 fallbacks, the improved check may help with cross-compiling
446 (discussion with Keith Marshall).
447 + other build-fixes for Ada95 with MinGW.
448 + modify Ada95 source-generation utility to write to a file given as
449 parameter rather than to the standard output, allowing builds with
453 + remove remaining parts of checks for ISC Unix (cf: 20121006).
454 + add user32.lib to LDFLAGS for Visual Studio C++ configuration
455 (discussion with "Maarten Anonymous").
456 + modify MKkey_defs.sh to hide ncurses' definition of KEY_EVENTS to
457 reduce Visual Studio C++ redefinition warnings.
458 + improve/update checks for external functions in test/configure
461 + set LINK_TESTS in CF_SHARED_OPTS for msvc (patch by
463 + improved workaround for redefinition-warnings for KEY_EVENT.
464 + improve man/term.5 section on legacy storage format (report by
468 + reduce redefinition-warnings for KEY_EVENT when building with Visual
470 + define NCURSES_STATIC when compiling programs to link with static
471 libraries, to work with MinGW vs Visual Studio C++.
472 > additional changes for building with Visual Studio C++ and msys2
473 (reports/patches by "Maarten Anonymous")
474 + modify c++/Makefile.in to set the current directory while compiling
475 the main program, so the linker can find related objects.
476 + several changes to allow the c++/demo program to compile/link.
477 + change an ifdef in test-directory, to use VC++ wide-character funcs.
480 + fix pound-sign mapping in acsc of linux2.6 entry (report by Ingo
482 + additional changes for building with Visual Studio C++ and msys2
483 (reports/patches by "Maarten Anonymous")
484 + build-improvements for Windows 10 and MinGW (patch by Juergen
486 + fix a typo in curs_printw.3x (patch by William Pursell).
487 + fix two errors in infotocap which allowed indexing outside the
488 buffer (report/testcases by Zhang Gan).
489 + update length of strings in infocmp's usage function to restore a
490 trailing null on the longest string (report/testcase by Zhang Gen).
493 + modify version-check with Ada generics to use the same pattern as in
494 the check for supported gnat versions (report by Pascal Pignard).
495 > additional changes for building with Visual Studio C++ and msys2
496 (patches by "Maarten Anonymous"):
497 + adjust headers/declarations to provide for "dllimport" vs "dllexport"
498 declarations when constructing DLLs, to worko with Visual Studio C++.
501 + build-fixes for gnat 10.1.1, whose gnatmake drops integration with
503 + correct buffer-length in test/color_name.h
506 + update list of functions in ncurses.3x
507 + move dlclose() call from lib_mouse.c to delscreen() to avoid a case
508 in the former which could be called from SIGTSTP handler (Debian
512 + add xterm+256color2, xterm+88color2, to deprecate nonstandard usage
513 in xterm+256color, xterm+88color -TD
514 + add shifted Linux console keys in linux+sfkeys entry for
515 screen.linux (report by Alexandre Montaron).
516 + use vt100+enq in screen (report by Alexandre Montaron).
517 + add screen.linux-s alias (suggested by Alexandre Montaron).
520 + correct configure version-check/warnng for g++ to allow for 10.x
521 + re-enable "bel" in konsole-base (report by Nia Huang)
522 + add linux-s entry (patch by Alexandre Montaron).
523 + drop long-obsolete convert_configure.pl
524 + add test/test_tparm.c, for checking tparm changes.
525 + improve parameter-checking for tparm, adding function _nc_tiparm() to
526 handle the most-used case, which accepts only numeric parameters
527 (report/testcase by "puppet-meteor").
528 + use a more conservative estimate of the buffer-size in lib_tparm.c's
529 save_text() and save_number(), in case the sprintf() function
530 passes-through unexpected characters from a format specifier
531 (report/testcase by "puppet-meteor").
532 + add a check for end-of-string in cvtchar to handle a malformed
533 string in infotocap (report/testcase by "puppet-meteor").
536 + update version-check for gnat to allow for gnat 10.x to 99.x
537 + fix an uninitialized variable in lib_mouse.c changes (cf: 20200502)
538 + add a check in EmitRange to guard against repeat_char emitting digits
539 which could be interpreted as BSD-style padding when --enable-bsdpad
540 is configured (report/patch by Hiltjo Posthuma).
541 + add --disable-pkg-ldflags to suppress EXTRA_LDFLAGS from the
542 generated pkg-config and ncurses*-config files, to simplify
543 configuring in the case where rpath is used but the packager wants
544 to hide the feature (report by Michael Stapelberg).
545 > fixes for building with Visual Studio C++ and msys2 (patches by
546 "Maarten Anonymous"):
547 + modify CF_SHARED_OPTS to generate a script which translates linker
548 options into Visual Studio's dialect.
549 + omit parentheses around function-names in generated lib_gen.c to
550 work around a Visual Studio C++ limitation.
553 + add notes on termcap.h header in curs_termcap.3x
554 + update notes on vscode / xterm.js -TD
557 + add "-r" option to the dots test-programs, to help with scripting
558 a performance comparison.
559 + build-fix test/move_field.c for NetBSD curses, whose form headers
560 use different names than SVr4 or ncurses.
563 + add details on the change to Linux SGR 21 in 2018 -TD
564 + add xterm-direct16 and xterm-direct256 -TD
565 + modify lib_mouse.c to check for out-of-range button numbers, convert
566 those to position reports.
569 + use vt100+fnkeys in putty -TD
570 + fix a typo in tput.1; "columns" should be "cols".
573 + improve tracemunch logic for "RUN" compaction.
574 + fix a special case in wresize() where copying the old text did not
575 check if the last cell on a row was the beginning of a fullwidth
576 character (adapted from patch by Benno Schulenberg).
577 + use vt52+keypad in xterm-vt52, from xterm #354 -TD
578 + improve see-also section of user_caps.5
581 + fix find_pair(), overlooked when refactoring for _nc_reserve_pairs()
582 (report/testcase by Brad Town, cf: 20170812).
583 + add a trailing null for magic-string in putwin, flagged by gcc 10
584 + update check for gcc version versus gnat to work with gcc 10.x
587 + modify -fvisibility check to work with g++
588 > fixes for building with Visual Studio C++ and msys2 (patches by
589 "Maarten Anonymous"):
590 + add configure option and check for gcc -fvisibility=hidden feature
591 + define NCURSES_NOMACROS in lib_gen.c to work around Visual Studio
592 C++ preprocessor limitations.
593 + modify some of the configure-macros, as well as mk-1st.awk to work
594 with Visual Studio C++ default filenaming.
597 + correct length of buffer copied in dup_field().
598 + remove "$(srcdir)/" from path of library.gpr, needed for out-of-tree
599 builds of Ada95 (patch by Adam Van Ymeren).
602 + improve configure-checks to reduce warnings about unused variables.
603 + improve description of error-returns in waddch and waddnstr manual
604 pages (prompted by patch by Benno Schulenberg).
605 + add test/move_field.c to demonstrate move_field(), and a stub for
606 a corresponding demo of dup_field().
609 + add history note to curs_scanw.3x for <stdarg.h> and <varargs.h>
610 + add history note to curs_printw.3x for <stdarg.h> and <varargs.h>
611 + add portability note to ncurses.3x regarding <stdarg.h>
614 + update copyright notices in test-packages.
615 + modify tracemunch to guard against errors in its known_p1 table.
616 + add several --with-xxx-libname options, to help with pkgsrc (prompted
617 by discussion with Thomas Klausner).
620 + modify wbkgd() and wbkgrnd() to avoid storing a null in the
621 background character, because it may be used in cases where the
622 corresponding 0x80 is not treated as a null (report by Marc Rechte,
626 + modify CF_NCURSES_CONFIG to work around xcode's c99 "-W" option,
627 which conflicts with conventional use for passing linker options.
628 > fixes for building with Visual Studio C++ and msys2 (patches by
629 "Maarten Anonymous"):
630 + check for pcre2posix.h instead of pcre2-posix.h
631 + add case in CF_SHARED_OPTS for msys2 + msvc
632 + add fallback definition for STDIN_FILENO in progs.priv.h
633 + modify win_driver.c to use _alloca() rather than gcc's variable
634 length array feature.
635 + add NCURSES_IMPEXP to ncurses wrapped-variable declarations
636 + remove NCURSES_IMPEXP from class variables in c++/cursslk.h
637 + remove fallback prototype for exit() from c++/etip.h.in
638 + use configured check for <sys/time.h> in a couple of places
639 + conditionally include winsock.h in ncurses/win32con/gettimeofday.c,
640 because Visual Studio needs this for the timestruct declaration.
641 + adjust syntax in a couple of files using the NCURSES_API symbol.
644 + expanded note in ncurses.3x regarding automatically-included headers
645 + improve vt50h and vt52 based on DECScope manual -TD
646 + add/use vt52+keypad and vt52-basic -TD
647 + check/workaround for line-too-long in Ada95 generate utility when
648 building out-of-tree.
649 + improve/update HEADER_DEPS in */Makefile.in
650 + add "check" rule to include/Makefile, to demonstrate that the headers
651 include all of the required headers for the types used.
654 + improve manual page for panel library, extending the portability
655 section as well as documenting error-returns.
656 + show tic's version when installing terminal database in run_tic.sh
657 + correct check for gcc vs other compilers used in ncurses 6.0, from
658 FreeBSD patch by Kyle Evans (cf: 20150725).
659 + add notes for 6.2 to INSTALL.
661 20200212 6.2 release for upload to ftp.gnu.org
662 + update release notes
663 + minor build-fixes, mostly to test-package scripts
666 + modify check for sizeof(wchar_t) to ensure it gives useful result
667 when cross-compiling.
668 + drop assumption in configure script that Cygwin's linker is broken.
669 + define NCURSES_BROKEN_LINKER if the broken-linker feature is used,
670 to simplify configure-checks for ncurses-examples.
673 + reassert copyright on ncurses, per discussion in ncurses FAQ:
674 https://invisible-island.net/ncurses/ncurses.faq.html#relicensed
677 + modify comparison in make_hash.c to correct a special case in
678 collision handling for Caps-hpux11
679 + add testing utility report_hashing to check hash-tables used for
680 terminfo and termcap names.
681 + fix a missing prototype for _nc_free_and_exit().
682 + update a few comments about tack 1.07
683 + use an awk script to split too-long pathnames used in Ada95 sample
684 programs for explain.txt
687 + expanded description of XM in user_caps.5
688 + improve xm example for xterm+x11mouse, xterm+sm+1006 -TD
689 + add history section to curs_slk.3x and curs_terminfo.3x manpages.
690 + update alacritty entries for 0.4.0 (prompted by patch by
692 + correct spelling errors found with codespell.
693 + fix for test/configure, from xterm #352.
696 + improve configure macros which check for the X11/Intrinsic.h header,
697 to accommodate recent MacOS changes.
698 + suppress gcc's -Winline warning; it has not been useful for some time
699 + update config.guess, config.sub
702 + modify a couple of macros in aclocal.m4 to allow autoconf 2.69 to
703 "work", to help illustrate discussion in
704 https://invisible-island.net/autoconf/my-autoconf.html
705 + fix some warnings from autoheader-252
708 + in gen-pkgconfig.in, move the RPATH_LIST and PRIVATE_LIBS assignments
709 past the various prefix/libdir assignments, to allow for using those
710 symbols, e.g., as done via CF_SHARED_OPTS.
711 + improve ncurses*-config and pc-files by filtering out linker-specs.
712 + modify test-package to more closely match Fedora's configuration
713 for PIE/PIC feature and debug-packages.
716 + correct pathname used in Ada95 sample programs for explain.txt, to
717 work with test-packages.
718 + improve tracemunch:
719 + keep track of TERMINAL* values
720 + if tracing was first turned on after initialization, attempt to
721 show distinct screen, window and terminal names anyway.
722 + ensure that GCC_NORETURN is defined in term.h, because the prototype
723 for exit_terminfo() uses it (report by Werner Fink).
726 + add exit_curses() and exit_terminfo() to replace internal symbols for
730 + fix a few warnings for test-package builds
731 + add curses_trace(), to replace trace().
734 + add portability section to curs_getcchar manpage (prompted by
735 discussion with Nick Black).
736 + improve portability discussion of ACS characters in curs_addch
738 + improve typography for double-quotes in manpages.
741 + fix typo for MinGW rpm test-package.
742 + workaround in rpm specs for NFS problems in Fedora 31.
745 + modify ncurses/Makefile.in to fix a case where Debian/testing changes
746 to the ld --as-needed configuration broke ncurses-examples test
748 + drop library-dependency on psapi for MinGW port, since win_driver.c
749 defines PSAPI_VERSION to 2, making it use GetProcessImageFileName
750 from kernel32.dll (prompted by patch by Simon Sobish, cf: 20140503).
753 + add warning-check in tic for terminals with parm_dch vs parm_ich.
754 + drop ich1 from rxvt-basic, Eterm and mlterm to improve compatibility
755 with old non-curses programs -TD
756 + reviewed st 0.8.2, updated some details -TD
757 + use ansi+rep several places -TD
758 + corrected tic's check for ich1 (report by Sebastian J. Bronner,
762 + check parameter of set_escdelay, return ERR if negative.
763 + check parameter of set_tabsize, return ERR if not greater than zero
764 (report/patch by Anthony Sottile).
765 + revise CF_ADD_LIBS macro to prepend rather than append libraries.
766 + add "xterm-mono" to help packagers (report by Sven Joachim) -TD
769 + add a note in man/curs_add_wch.3x about Unicode terminology for the
770 line-drawing characters (report by Nick Black).
771 + improve comment in lib_tgoto.c regarding the use of \200 where a
772 \0 would be intended by the caller (report by "64 bit", cf: 20000923).
773 + modify linux-16color to accommodate Linux console driver change in
774 early 2018 (report by Dino Petrucci).
777 + modify make_hash to not require --disable-leaks, to simplify building
778 with address-sanitizer.
779 + modify tic to exit if it cannot remove a conflicting name, because
780 treating that as a partial success can cause an infinite loop in
781 use-resolution (report/testcase by Hongxu Chen, cf: 20111001).
784 + improve buffer-checks in captoinfo.c, for some cases when the
785 input string is shorter than expected.
786 > fix two errata in tic (report/testcases by Hongxu Chen):
787 + check for missing character after backslash in write_it
788 + check for missing characters after "%>" when converting from termcap
792 + amend recent changes to ncurses*-config and pc-files to filter out
793 Debian linker-flags (report by Sven Joachim, cf: 20150516).
794 + clarify relationship between tic, infocmp and captoinfo in manpage.
795 + check for invalid hashcode in _nc_find_type_entry and
797 > fix several errata in tic (reports/testcases by "zjuchenyuan"):
798 + check for invalid hashcode in _nc_find_entry.
799 + check for missing character after backslash in fmt_entry
800 + check for acsc with odd length in dump_entry in check for one-one
801 mapping (cf: 20060415);
802 + check length when converting from old AIX box_chars_1 capability,
803 overlooked in changes to eliminate strcpy (cf: 20001007).
806 + modify the ncurse*-config and pc-files to more closely match for the
810 + amend the ncurses*-config and pc-files to take into account the rpath
811 hack which differed between those files.
812 + improve -L option filtering in ncurses*-config
813 + improve recovery from error when reading command-character in
814 test/ncurses.c, showing the relevant error message and not exiting on
818 + add a note in resizeterm manpage about top-level windows which touch
819 the screen's borders.
820 + modify configure-checks for gnat to identify each of the tools path
824 + build-fixes for Ada95 configure-script and corresponding test package
827 + add --with-ada-libname option and modify Ada95 configuration to
828 allow renaming the "AdaCurses" library (prompted by proposed changes
830 + modify configure script to distinguish gcc from icc and clang when
831 the --enable-warnings option is not used, to avoid unnecessary
832 warnings about unrecognized inline options (report by Sven Joachim).
835 + build-fixes for configuration using --program-suffix with Ada95,
836 noticed with MacOS but applicable to other platforms without
840 + fix some cppcheck warnings, mostly style, in ncurses test-programs.
843 + amend 20181208 changes for wbkgd() and wbkgrnd(), fixing a few
844 details where it still differed from SVr4.
845 + fix some cppcheck warnings, mostly style, in ncurses test-programs.
848 + fix a few more coverity warnings.
851 + improve loop limits in _nc_scroll_window() to handle a case where
852 the scrolled data is a pad which is taller than the window (patch
854 + amend the change to screen, because tmux relies upon that entry
855 and does not support that feature (Debian #933572) -TD
856 + updated ms-terminal entry & notes -TD
857 + updated kitty entry & notes -TD
858 + updated alacritty+common entry & notes -TD
859 + use xterm+sl-twm for consistency -TD
862 + fix a few more coverity warnings.
863 + more documentation updates based on tctest.
866 + fix a few coverity warnings.
867 + documentation updates based on tctest.
870 + fix a few warnings for gcc 4.x
871 + add some portability/historical details to the tic, toe and infocmp
873 + correct fix for broken link from terminfo(5) to tabs(1) manpage
874 (report by Sven Joachim).
877 + change reset's behavior for margins to simply clear soft-margins if
878 possible, rather than clearing and then setting them according to the
879 terminal's width (suggested by Thomas Wolff).
880 + correct order of one wbkgd versus start_color call in test/padview.c
884 + improve comments for recent changes, add alias xterm.js -TD
887 + add --with-tic-path and --with-infocmp-path to work around problems
888 building fallback source using pre-6.0 tic/infocmp.
889 + add a check in tic for paired indn/rin
890 + correct a buffer-limit in write_entry.c for systems that use caseless
892 + add ms-terminal -TD
893 + add vscode, vscode-direct -TD
896 + improve the tabs.1 manual page to distinguish the PWB/Unix and 7th
897 Edition versions of the tabs utility.
898 + add configure check for getenv() to work around implementation shown
899 in Emscripten #6766, use that to optionally suppress START_TRACE
900 macro, whose call to getenv() may not work properly (report by Ilya
902 + modify initialization functions to avoid relying upon persistent
903 data for the result from getenv().
904 + update config.guess, config.sub
907 + expand the portability section of the man/tabs.1 manual page.
908 + regenerate HTML manpages.
911 + add mintty, mintty-direct (adapted from patch by Thomas Wolff).
912 Some of the suggested user-defined capabilities are commented-out,
913 to allow builds with ncurses 5.9 and 6.0
914 + add Smol/Rmol for tmux, vte-2018 (patch by Nicholas Marriott).
915 + add rs1 to konsole, mlterm -TD
916 + modify _nc_merge_entry() to make a copy of the data which it merges,
917 to avoid modifying the source-data when aligning extended names.
920 + modify an internal call to vid_puts to pass extended color pairs
921 e.g., from tty_update.c and lib_mvcur.c (report by Niegodziwy Beru).
922 + improve manual page description of init_tabs capability and TABSIZE
926 + modify reset_cmd.c to allow for tabstops at intervals other than 8
927 (report by Vincent Huisman).
930 + update xterm-new to xterm patch #345 -TD
931 + add/use xterm+keypad in xterm-new (report by Alain D D Williams) -TD
932 + update terminator entry -TD
933 + remove hard-tabs from ti703 (report by Robert Clausecker)
934 + mention meml/memu/box1 in user_caps manual page.
935 + mention user_caps.5 in tic and infocmp manual pages.
938 + fix a spurious blank line seen with "infocmp -1fx xterm+x11mouse"
939 + add checks in repair_subwindows() to keep the current position and
940 scroll-margins inside the resized subwindow.
941 + add a limit check in newline_forces_scroll() for the case where the
942 row is inside scroll-margins, but not at the end (report by Toshio
943 Kuratomi, cf: 20170729).
944 + corrected a warning message in tic for extended capabilities versus
945 number of parameters.
948 + improve workaround for Solaris wcwidth versus line-drawing characters
949 (report by Pavel Stehule).
950 + add special case in tic to validate RGB string-capability extension.
951 + corrected string/parameter-field for RGB in Caps-ncurses.
954 + corrected problem in terminfo load/realignment which prevented
955 infocmp from comparing extended capabilities with the same name
959 + improve ifdef's for TABSIZE variable, to help with AIX/HPUX ports.
962 + check for TABSIZE variable in test/configure script.
963 + used test/test_arrays.c to improve Caps.aix1 and Caps.hpux11
964 + corrected filtering of comments in MKparametrized.sh
965 + reduce duplication across Caps* files by moving some parts which do
966 not depend on order into Caps-ncurses.
969 + modify MKcaptab.sh, MKkey_defs.sh, and MKhashsize.sh to handle
971 + build-fixes if extended-functions are disabled.
974 + add "screen5", to mention italics (report by Stefan Assmann)
975 + modify description of xterm+x11hilite to eliminate unused p5 -TD
976 + add configure script checks to help with a port to Ultrix 3.1
977 (report by Dennis Grevenstein).
978 + check if "b" binary feature of fopen works
979 + check for missing feature of locale.h
980 + add fallback for strstr() in test-programs
981 + add fallback for STDOUT_FILENO in test-programs
982 + update config.guess, config.sub
985 + move macro for is_linetouched() inside NCURSES_NOMACROS ifndef.
986 + corrected prototypes in several manpages using script to extract
987 those in compilable form.
988 + use _nc_copy_termtype2() rather than direct assignment in setupterm,
989 in case it is called repeatedly using fallback terminfo descriptions
990 (report/patch by Werner Fink).
993 + regenerate llib-* files.
994 + modify tic to also use new function for user-defined capability info.
995 + modify _nc_parse_entry() to check if a user-defined capability has
996 an unexpected type; ignore it in that case.
997 + fix a special case of link-anchors in generated Ada html files.
998 + use newer rel=author tag in generated html rather than rev=made,
999 which did not become accepted.
1002 + in-progress changes to add parameter-checking for common user-defined
1003 capabilities in tic.
1004 + update MKcodes.awk and MKnames.awk to ignore the new "userdef"
1005 data in Caps-ncurses (cf: 20190302).
1008 + corrected some of the undocumented terminfo names in Caps.hpux11
1009 + add "Caps-ncurses" file to help with checking inconsistencies in some
1010 user-defined capabilities.
1011 + amend check for repeat_char to handle a case where setlocale() was
1012 called after initscr() (report by "Ampera").
1015 + fix typo in adds200 -TD
1016 + add tic check for consistent alternate character set capabilities.
1017 + improve check in mvcur() to decide whether to use hard-tabs, using
1018 xt, tbc and hts as clues.
1019 + replace check in reset command for obsolete "pt" capability using
1020 tbc and hts capabilities as clues (report by Nicolas Marriott).
1023 + improve manual page description of TABSIZE.
1024 + add test/demo_tabs program.
1027 + add check in tic to provide warnings for mismatched number of
1028 parameters in the documented user-capability extensions.
1031 + modify rpm test-package ".spec" file to work around naming conflict
1032 with Redhat's package for ncurses6.
1033 + modify no-leaks code in test/picsmap to avoid non-standard tdestroy.
1034 + amend change to configure script which altered the top-level makefile
1035 to avoid attempting to install the terminfo database when it was not
1036 configured, to allow for installing the ".pc" files which are also
1037 in the misc directory (report by Steve Wills).
1040 + change some "%define" statements in test-packages for RPMs to
1041 "%global" to work around changes in rpm 4.14 from recent Redhat.
1042 + fixes for O_INPUT_FIELD extension (patch by Leon Winter).
1043 + eliminate fixed buffer-size when reading $TERMCAP variable.
1044 + correct logic in read_entry.c which prevented $TERMCAP variable from
1045 being interpreted as a fallback to terminfo entry (prompted by
1046 Savannah #54556, cf: 20110924).
1049 + add a check in test/configure to work around non-ncurses termcap.h
1051 + corrected flag for "seq" method of db 1.8.5 interface, needed by toe
1052 on some of the BSDs.
1053 + updated "string-hacks" feature.
1054 + minor improvements to manpage typography.
1055 + corrected conditionally-compiled limit on color pairs (report by
1057 + add -x option to test/pair_content, test/color_content for testing
1058 init_extended_pair, extended_pair_content, init_extended_color,
1059 extended_color_content
1060 + add -p option to test/pair_content, test/color_content to show the
1061 return values from the tested functions.
1062 + improve manual page curs_color.3x discussion of error returns and
1064 + add O_INPUT_FIELD extension to form library (patch by Leon Winter).
1065 + override/suppress --enable-db-install if --disable-database configure
1067 + change a too-large terminal entry in tic from a fatal error to a
1068 warning (prompted by discussion with Gabriele Balducci).
1071 + fix typo in term(5), improve explanation of format (report by Otto
1073 + add nsterm-direct -TD
1074 + use SGR 1006 mouse for konsole-base -TD
1075 + use SGR 1006 mouse for putty -TD
1076 + add ti703/ti707, ti703-w/ti707-w (Robert Clausecker)
1079 + add dummy "check" rule in top-level and test-Makefile to simply
1080 building test-packages for Arch.
1081 + modify configure script to avoid conflict with a non-POSIX feature
1082 that enables all parts of the system headers by default. Some
1083 packagers have come to rely upon this behavior (FreeBSD #234049).
1084 + update config.guess, config.sub
1087 + improve man/curs_mouse.3x with regard to xterm
1088 + modify tracemunch to accept filename parameters in addition to use
1090 + minor optimization to reduce calls to _nc_reserve_pairs (prompted by
1091 discussion with Bryan Christ).
1092 + add test/pair_content.c and test/color_content.c
1093 + modify infocmp to omit filtering of "OTxx" names which are used for
1094 obsolete capabilities, when the output is sorted by long-names.
1095 Doing this helps when making a table of the short/long capability
1099 + several fixes for gcc8 strict compiler warnings.
1100 + fix a typo in comments (Aaron Gyes).
1101 + add nsterm-build309 to replace nsterm-256color, assigning the latter
1102 as an alias of nsterm, to make mouse work with nsterm-256color -TD
1103 + base gnome-256color entry on "gnome", not "vte", for consistency -TD
1104 + updates for configure macros from work on tin and xterm:
1105 + CF_GNU_SOURCE, allow for Cygwin's newlib when checking for the
1106 _DEFAULT_SOURCE symbol.
1107 + CF_VA_COPY, add fallback check if neither va_copy/__va_copy is
1108 supported, to try copying the pointers for va_list, or as an array.
1109 Also add another fallback check, for __builtin_va_copy(), which
1110 could be used with AIX xlc in c89 mode.
1113 + modify wbkgd() and wbkgrnd() to improve compatibility with SVr4
1114 curses, changing the way the window rendition is updated when the
1115 background character is modified (report by Valery Ushakov).
1118 + add midnightbsd to CF_XOPEN_SOURCE macro (patch by Urs Jansen).
1119 + add "@" command to test/ncurses F-test, to allow rapid jump to
1120 different character pages.
1121 + update config.guess, config.sub from
1122 http://git.savannah.gnu.org/cgit/config.git
1125 + build-fix (reports by Chih-Hsuan Yen, Sven Joachim).
1128 + check --with-fallbacks option to ensure there is a value, and add
1129 the fallback information to top-level Makefile summary.
1130 + add some traces in initialization to show whether a fallback entry is
1132 + build-fix for test/movewindow with ncurses-examples on Solaris.
1133 + add "-l" option to test/background, to dump screen contents in a form
1134 that lets different curses implementations be compared.
1135 + modify the initialization checks for mouse so that the xterm+sm+1006
1136 block will work with terminal descriptions not mentioning xterm
1137 (report by Tomas Janousek).
1140 + ignore the hex/b64 $TERMINFO in toe's listing.
1141 + correct a status-check in _nc_read_tic_entry() so that if reading
1142 a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to
1143 the compiled-in search list.
1146 + several workarounds to ensure proper C compiler used in parts of
1148 + update config.guess, config.sub from
1149 http://git.savannah.gnu.org/cgit/config.git
1152 + add OpenGL clients alacritty and kitty -TD
1153 + add Smulx for tmux, vte-2018 -Nicholas Marriott
1156 + ignore $TERMINFO as a default value in configure script if it came
1157 from the infocmp -Q option.
1158 + allow value for --with-versioned-syms to be a relative pathname
1159 + add a couple of broken-linker symbols to the list of versioned
1160 symbols to help with link-time optimization versus weak symbols.
1161 + apply shift/control/alt logic when decoding xterm's 1006 mode to
1162 wheel-mouse events (Redhat #1610681).
1165 + amend change from 20180818, which undid a fix for the $INSTALL value
1166 to make it an absolute path.
1169 + improve a configure check to work with newer optimizers (report by
1170 Denis Pronin, Gentoo #606142).
1171 + fix typo in tput.c (Sven Joachim, cf: 20180825).
1174 + fix typo in tvi955 -TD
1175 + corrected acsc for regent60 -TD
1176 + add alias n7900 -TD
1177 + corrected acsc for tvi950 -TD
1178 + remove bogus kf0 from tvi950 -TD
1179 + added function-key definitions to agree with Televideo 950 manual -TD
1180 + add bel to tvi950 -TD
1181 + add shifted function-keys to regent60 -TD
1182 + renumber regent40 function-keys to match manual -TD
1183 + add cd (clr_eos) to adds200 -TD
1186 + build-fix: remove a _tracef call which was used for debugging (report
1190 + ignore interrupted system-call in test/ncurses's command-line, e.g.,
1191 if the terminal were resized.
1192 + add shift/control/alt logic for decoding xterm's 1006 mode (Redhat
1193 #1610681, cf: 20141011).
1194 + modify rpm test-packages to not use --disable-relink with Redhat,
1195 since Fedora 28's tools do not work with that feature.
1198 + document --with-pcre2 configure option in INSTALL.
1199 + improve workaround for special case in PutAttrChar() where a cell is
1200 marked as alternate-character set, to handle a case where the
1201 character in the cell does not correspond to any of the ASCII
1202 fallbacks (report by Leon Winter, cf: 20180505).
1203 + amend change to form library which attempted to avoid unnecessary
1204 update of cursor position in non-public fields, to simply disable
1205 output in this case (patch by Leon Winter, cf: 20180414).
1206 + improve check for LINE_MAX runtime limit, to accommodate broken
1207 implementations of sysconf().
1210 + improve manual page for wgetnstr, giving background for the length
1212 + define a limit for wgetnstr, wgetn_wstr when length is negative or
1214 + update configure script to autoconf 2.52.20180819 (Debian #887390).
1217 + add a section to tput manual page clarifying how it determines the
1218 terminal size (prompted by discussion with Grant Jenks).
1219 + add "--disable-relink" to rpm test-packages, for consistency with the
1221 + split spec-file into ncurses6.spec and ncursest6.spec to work around
1222 toolset breakage in Fedora 28.
1223 + drop mention of "--disable-touching", which was not in the final
1227 + build-fix for PDCurses with ncurses-examples.
1228 + improved CF_CC_ENV_FLAGS.
1229 + modify configure scripts to reduce relinking/ranlib during library
1230 install (Debian #903790):
1231 + use "install -p" when available, to avoid need for ranlib of
1233 + modify scripts which use "--disable-relink" to add a 1-second
1234 sleep to work around tools which use whole-second timestamps, e.g.,
1235 in utime() rather than the actual file system resolution.
1238 + improve logic for clear with E3 extension, in case the terminal
1239 scrolls content onto its saved-lines before actually clearing
1240 the display, by clearing the saved-lines after clearing the
1241 display (report/patch by Nicholas Marriott).
1244 + improve documentation regarding feature-test macros in curses.h
1245 + improve documentation regarding the virtual and physical screens.
1246 + formatting fixes for manpages, regenerate man-html documentation.
1249 + build-fixes for gcc8.
1250 + corrected acsc for wy50 -TD
1251 + add wy50 and wy60 shifted function-keys as kF1 to kF16 -TD
1252 + remove ansi+rep mis-added to interix in 2018-02-23 -TD
1255 + add enum, regex examples to test/demo_forms
1256 + add configure check for pcre-posix library to help with MinGW port.
1259 + build-fixes for gcc8.
1260 + correct order of WINDOW._ttytype versus WINDOW._windowlist in
1262 + fix a case where tiparm could return null if the format-string was
1263 empty (Debian #902630).
1266 + add acsc string to vi200 (Nibby Nebbulous)
1267 add right/down-arrow to vi200's acsc -TD
1268 + add "x" to tput's getopt string so that "tput -x clear" works
1269 (Nicholas Marriott).
1270 + minor fixes prompted by anonymous report on stack overflow:
1271 + correct order of checks in _nc_get_locale(), for systems lacking
1273 + add "#error" in a few places to flag unsupported configurations
1276 + use _WIN32/_WIN64 in preference to __MINGW32__/__MINGW64__ symbols
1277 to simplify building with MSVC, since the former are defined in both
1278 compiler configurations (report by Ali Abdulkadir).
1279 + further improvements to configure-checks from work on dialog, i.e.,
1280 updated CF_ADD_INCDIR, CF_FIND_LINKAGE, CF_GCC_WARNINGS,
1281 CF_GNU_SOURCE, CF_LARGEFILE, CF_POSIX_C_SOURCE, CF_SIZECHANGE, and
1282 CF_TRY_XOPEN_SOURCE.
1283 + update config.guess, config.sub from
1284 http://git.savannah.gnu.org/cgit/config.git
1287 + build-fix for ncurses-examples related to gcc8-fixes (cf: 20180526).
1288 + reduce use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE
1289 combines with _XOPEN_SOURCE (Debian #900987).
1290 + change target configure level for _XOPEN_SOURCE to 600 to address
1291 use of vsscanf and setenv.
1292 + improved configure-checks CF_SIZECHANGE and CF_STRUCT_TERMIOS from
1296 + modify generated ncurses*config and ncurses.pc, ncursesw.pc, etc.,
1297 to list helper libraries such as gpm for static linking (Debian
1299 + marked vwprintw and vwscanw as deprecated; recommend using vw_printw
1300 and vw_scanw, respectively.
1303 + add RPM test-package "ncursest-examples".
1304 + modified RPM test-package to work with Mageia6.
1307 + add note in curs_util.3x about unctrl.h
1308 + review/improve header files to ensure that those include necessary
1309 files except for the previously-documented cases (report by Isaac
1311 + improved test-package scripts, adapted from byacc 1.9 20180525.
1312 + fix some gcc8 warnings seen in Redhat package build, but
1313 work around bug in gcc8 compiler warnings in comp_parse.c
1316 + formatting fixes for manpages, regenerate man-html documentation.
1317 + trim spurious whitespace from tmux in 2018-02-24 changes;
1318 fix some inconsistencies in/between tmux- and iterm2-entries for SGR
1319 (report by C Anthony Risinger)
1320 + improve iterm2 using some xterm features which it has adapted -TD
1321 + add check in pair_content() to handle the case where caller asks
1322 for an uninitialized pair (Debian #898658).
1325 + remove trailing ';' from GCC_DEPRECATED definition.
1326 + repair a change from 20110730 which left an error-check/warning dead.
1327 + fix several minor Coverity warnings.
1330 + add deprecation warnings for internal functions called by older
1332 + fix a special case in PutAttrChar() where a cell is marked as
1333 alternate-character set, but the terminal does not actually support
1334 the given graphic character. This would happen in an older terminal
1335 such as vt52, which lacks most line-drawing capability.
1336 + use configure --with-config-suffix option to work around filename
1337 conflict with Debian packages versus test-packages.
1338 + update tracemunch to work with perl 5.26.2, which changed the rules
1339 for escaping regular expressions.
1342 + document new form-extension O_EDGE_INSERT_STAY (report by Leon
1344 + correct error-returns listed in manual pages for a few form functions
1345 (report by Leon Winter).
1346 + add a check in form-library for null-pointer dereference:
1347 unfocus_current_field (form);
1348 form_driver (form, REQ_VALIDATION);
1349 (patch by Leon Winter).
1352 + modify form library to optionally delay cursor movement on a field
1353 edge/boundary (patch by Leon Winter).
1354 + modify form library to avoid unnecessary update of cursor position in
1355 non-public fields (patch by Leon Winter).
1356 + remove unused _nc_import_termtype2() function.
1357 + also add/improve null-pointer checks in other places
1358 + add a null-pointer check in _nc_parse_entry to handle an error when
1359 a use-name is invalid syntax (report by Chung-Yi Lin).
1362 + clarify in manual pages that vwprintw and vwscanw are obsolete,
1363 not part of X/Open Curses since 2007.
1364 + use "const" in some prototypes rather than NCURSES_CONST where X/Open
1365 Curses was updated to do this, e.g., wscanw, newterm, the terminfo
1366 interface. Also use "const" for consistency in the termcap
1367 interface, which was withdrawn by X/Open Curses in Issue 5 (2007).
1368 As of Issue 7, X/Open Curses still lacks "const" for certain return
1369 values, e.g., keyname().
1372 + improve terminfo write/read by modifying the fourth item of the
1373 extended header to denote the number of valid strings in the extended
1374 string table (prompted by a comment in unibilium's sources).
1377 + amend Scaled256() macro in test/picsmap.c to cover the full range
1378 0..1000 (report by Roger Pau Monne).
1379 + add some checks in tracemunch for undefined variables.
1380 + trim some redundant capabilities from st-0.7 -TD
1381 + trim unnecessary setf/setb from interix -TD
1384 + fix a check in infotocap which may not have detected a problem when
1386 + add a check in tic for the case where setf/setb are given using
1387 different strings, but provide identical results to setaf/setab.
1388 + further improve fix for terminfo.5 (patch by Kir Kolyshkin).
1389 + reorder loop-limit checks in winsnstr() in case the string has no
1390 terminating null and only the number of characters is used (patch
1394 + modify TurnOn/TurnOff macros in lib_vidattr.c and lib_vid_attr.c to
1395 avoid expansion of "CUR" in trace.
1396 + improve a few lintian warnings in test-packages.
1397 + modify lib_setup to avoid calling pthread_self() without first
1398 verifying that the address is valid, i.e., for weak symbols
1399 (report/patch by Werner Fink).
1400 + modify generated terminfo.5 to not use "expand" and related width
1401 on the last column of tables, making layout on wide terminals look
1402 better (adapted from patch by Kir Kolyshkin).
1403 + add a category to report_offsets, e.g., "w" for wide-character, "t"
1404 for threads to make the report more readable. Reorganized the
1405 structures reported to make the categories more apparent.
1406 + simplify some ifdef's for extended-colors.
1407 + add NCURSES_GLOBALS and NCURSES_PRESCREEN to report_offsets, to show
1408 how similar the different tinfo configurations are.
1411 + modify _nc_resolve_uses2() to detect incompatible types when merging
1412 a "use=" clause of extended capabilities. The problem was seen in a
1413 defective terminfo integrated from simpleterm sources in 20171111,
1414 compounded by repair in 20180121.
1415 + correct Ss/Ms interchange in st-0.7 entry (tmux #1264) -TD
1416 + fix remaining flash capabilities with trailing mandatory delays -TD
1417 + correct cut/paste in NEWS (report by Sven Joachim).
1420 + remove incorrect free() from 20170617 changes (report by David Macek).
1421 + correct type for "U8" in user_caps.5; it is a number not boolean.
1422 + add a null-pointer check in safe_sprintf.c (report by Steven Noonan).
1423 + improve fix for Debian #882620 by reusing limit2 variable (report by
1424 Julien Cristau, Sven Joachim).
1427 + modify misc/Makefile.in to install/uninstall explicit list in case
1428 the build-directory happens to have no ".pc" files when an uninstall
1429 is performed (report by Jeffrey Walton).
1430 + deprecate safe-sprintf, since the vsnprintf function, which does what
1431 was needed, was standardized long ago.
1432 + add several development/experimental options to development packages.
1433 + minor reordering of options in configure script to make the threaded
1434 and reentrant options distinct from the other extensions which are
1438 + minor fixes to test/*.h to make them idempotent.
1439 + add/use test/parse_rgb.h to show how the "RGB" capability works.
1440 + add a clarification in user_caps.5 regarding "RGB" capability.
1441 + add extended_slk_color{,_sp} symbols to the appropriate
1442 package/*.{map,sym} files (report by Sven Joachim, cf: 20170401).
1445 + update "VERSION" file, used in shared-library naming.
1447 20180127 6.1 release for upload to ftp.gnu.org
1450 + updated release notes
1451 + amend a warning message from tic which should have flagged misuse
1452 of "XT" capability in "screen" terminal description.
1454 + trim "XT" from screen entry, add comments to explain why it was
1456 + modify iterm to use xterm+sl-twm building block -TD
1457 + mark konsole-420pc, konsole-vt100, konsole-xf3x obsolete reflecting
1458 konsole's removal in 2008 -TD
1459 + expanded the history section of konsole to explain its flawed
1460 imitation of xterm's keyboard -TD
1461 + use xterm+x11mouse in screen.* entries because screen does not yet
1462 support xterm's 1006 mode -TD
1463 + add nsterm-build400 for macOS 10.13 -TD
1464 + add ansi+idc1, use that in ansi+idc adding dch for consistency -TD
1465 + update vte to vte-2017 -TD
1466 + add ecma+strikeout to vte-2017 -TD
1467 + add iterm2-direct -TD
1468 + updated teraterm, added teraterm-256color -TD
1469 + add mlterm-direct -TD
1470 + add descriptions for ANSI building-blocks -TD
1472 20180121 pre-release
1474 + add xterm+noalt, xterm+titlestack, xterm+alt1049, xterm+alt+title
1475 blocks from xterm #331 -TD
1476 + add xterm+direct, xterm+indirect, xterm-direct entries from xterm
1478 + modify xterm+256color and xterm+256setaf to use correct number of
1479 color pairs, for ncurses 6.1 -TD
1480 + add rs1 capability to xterm-256color -TD
1481 + modify xterm-r5, xterm-r6 and xterm-xf86-v32 to use xterm+kbs to
1482 match xterm #272, reflecting packager's changes -TD
1483 + remove "boolean" Se, Ss from st-0.7 -TD
1484 + add konsole-direct and st-direct -TD
1485 + remove unsupported "Tc" capability from st-0.7; use st-direct if
1486 direct-colors are wanted -TD
1487 + add vte-direct -TD
1488 + add XT, hpa, indn, and vpa to screen, and invis, E3 to tmux (patch by
1490 + use xterm+sm+1006 in xterm-new, vte-2014 -TD
1491 + use xterm+x11mouse in iterm, iterm2, mlterm3 because xterm's 1006
1492 mode does not work with those programs. konsole is debatable -TD
1493 + add "termite" entry (report by Markus Pfeiffer) -TD
1494 > merge branch begun April 2, 2017 which provides these features:
1495 + support read/write new binary-format for terminfo which stores
1496 numeric capabilities as a signed 32-bit integer. The test programs
1497 such as picsmap, ncurses were created or updated during 2017 to use
1499 + the new format is written by the wide-character configuration of
1500 tic when it finds a numeric capability larger than 32767.
1501 + other applications such as infocmp built with the wide-character
1502 ncurses library work as expected.
1503 + applications built with the "narrow" (8-bit) configuration will
1504 read the new format, but will limit those extended values to 32767.
1505 + in either wide/narrow configuration, the structure defined in
1506 term.h still uses signed 16-bit values.
1507 + because it is incompatible with the legacy (mid-1980s) binary format,
1508 a new magic value is provided for the "file" program.
1509 + the term.5 manual page is updated to describe this new format.
1510 + the limit on file-size for compiled terminfo is increased in the
1511 wide-character configuration to 32768.
1514 + build-fix in picsmap.c for stdint.h existence.
1515 + add --disable-stripping option to configure scripts.
1516 + modify ncurses-examples to install test-scripts in the data directory.
1517 + work around tool-breakage in Debian 9 and later by invoking
1518 gprconfig to specify the C compiler to be used by gnatmake,
1519 and conditionally suppressing Library_Options line for static
1521 + bump the compat level for test-packages to 7, i.e., Debian 5.
1524 + fixes for writing extended color pairs in putwin.
1525 + modify test/savescreen.c to add test patterns that exercise 88-,
1527 + modify configure option --with-build-cc, adding clang, c89 and c99
1528 as possible default values.
1529 + modify ncurses-examples configure script to use pkg-config for the
1530 extra form/menu/panel libraries, to be more consistent with the
1531 handling of the curses/ncurses library.
1532 + modify test-packages for mingw to supply "pc" files.
1533 + modify gen-pkgconfig.in to list -lpthread as a private library when
1534 configured to access it via weak symbols.
1535 + simplify gen-pkgconfig.in, adding -ltinfo without the special linker
1536 checks because some versions of the linker simply hard-code the
1538 + update URLs for ncurses website to use https.
1539 + modify CF_CURSES_LIBS to fill in $cf_nculib_root in case the
1540 ncurses-examples are built with a system ncurses that lacks the
1541 standard "curses" symbolic link, as done by SuSE. The symbol is
1542 needed to make a followup check for the pthread library work, and
1543 would be set properly using the options "--with-screen", etc.
1544 + generate misc/*.pc with "all" rule, as done for "sources" rule
1545 (report by Jeffrey Walton).
1548 + build-fix for ncurses-examples with Fedora27, adding check for
1549 reset_color_pairs() -- not yet in Fedora's package.
1550 + consistently add $CFLAGS to $MK_SHARED_LIB symbol in configure
1551 script when the latter happens to use the C compiler rather than
1552 directly using the loader (report by Jeffrey Walton).
1553 + set ABI for upcoming 6.1 release in "*.map" files. While there are
1554 some remaining internals to apply, no ABI-related changes are
1556 + add configure --with-config-suffix option to work around filename
1557 conflict with Redhat packages versus test-packages.
1560 + modify ncurses-examples to quiet const-warnings when building with
1562 + modify toe to not exit if unable to read a terminal description,
1563 e.g., if there is a permission problem.
1564 + minor fix for progs/toe.c, using _nc_free_termtype2.
1565 + assign 0 to pointer in _nc_tgetent_leak() after freeing it. Also
1566 avoid reusing pointer from previous successful call to tgetent
1567 if the latest call is unsuccessful (patch by Michael Schroeder,
1569 + minor fix for test/tracemunch, initialize $awaiting variable.
1572 + repair template in test/package/ncurses-examples.spec (cf: 20171111).
1573 + improve tic's warning about the number of parameters tparm might use
1574 for u1-u9 by making a special case for u6.
1575 + improve curs_attr.3x discussion of color pairs.
1578 + modify misc/ncurses-config.in to make output with --includedir
1579 consistent with --cflags, i.e., when --disable-overwrite option was
1580 configured the output should show the subdirectory where headers
1582 + modify MKlib_gen.sh to suppress macros when calling an "implemented"
1583 function in link_test.c
1584 + updated ftp-url used in test-packages, etc.
1585 + modify order of -pie/-shared options in configure script in case
1586 LDFLAGS uses "-pie", working around a defect or limitation in the GNU
1587 linker (prompted by patch by Yogesh Prasad, forwarded by Jay Shah).
1588 + add entry in man_db.renames for user_caps.5
1591 + modify MKlib_gen.sh to avoid tracing result from getstr/getnstr
1593 + add "-a" aspect-ratio option to picsmap.
1594 + add configure check for default path of rgb.txt, used in picsmap.
1595 + modify _nc_write_entry() to truncate too-long filename (report by
1596 Hosein Askari, Debian #882620).
1597 + build-fix for ncurses-examples with NetBSD curses:
1598 + it lacks the use_env() function.
1599 + it lacks libpanel; a recent change used the wrong ifdef symbol.
1600 + add a macro for is_linetouched() and adjust the function's return
1601 value to make it possible for most applications to check for an
1602 error-return (report by Midolikawa H).
1603 + additional manpage cleanup.
1604 + update config.guess, config.sub from
1605 http://git.savannah.gnu.org/cgit/config.git
1608 + add a note to curs_addch.3x on portability.
1609 + add a note to curs_pad.3x on the origin and portability of pads.
1610 + improve manpage description of getattrs (report by Midolikawa H).
1611 + improve manpage macros (prompted by discussion in Debian #880551.
1612 + reviewed test-programs using KEY_RESIZE, made fixes to test/worm.c
1613 + add a "-d" option to picsmap for default-colors.
1614 + modify old terminology entry and a few other terminal emulators to
1616 + correct sgr string for tmux, which used screen's "standout" code
1617 rather than the standard code (patch by Roman Kagan)
1618 + correct sgr/sgr0 strings in a few other cases reported by tic, making
1619 those correspond to the non-sgr settings where they differ, but
1620 otherwise use ECMA-48 consistently:
1621 jaixterm, aixterm, att5420_2, att4424, att500, decansi, d410-7b,
1622 dm80, hpterm, emu-220, hp2, iTerm2.app, mterm-ansi, ncrvt100an,
1623 st-0.7, vi603, vwmterm -TD
1624 + build-fix for diagnostics warning in lib_mouse.c for pre-5.0 versions
1625 of gcc which did not recognize the diagnostic "push" pragma (patch by
1629 + add "op" to xterm+256setaf -TD
1630 + reviewed terminology 1.0.0 -TD
1631 + reviewed st 0.7 -TD
1632 + suppress debug-package for ncurses-examples rpm build.
1635 + check for interrupt in color-pair initialization of dots_curses.c,
1637 + add z/Z zoom feature to test/ncurses.c C/c screens.
1638 + add '<' and '>' commands to test/ncurses.c S/s screens, to better
1639 test off-by-ones in the overlap/copywin functions.
1642 + improve man/curs_inwstr.3x, correct end-logic for lib_inwstr.c
1643 (report by Midolikawa H).
1644 + fix typo in a few places for "improvements" (patch by Sven Joachim).
1645 + clear the other half of a double-width character on which a line
1646 drawing character is drawn.
1647 + make test/ncurses.c "s" test easier to understand which subtests are
1648 available; add a "S" wide-character overlap test-screen.
1649 + modify test/ncurses.c C/c tests to allow for extended color pairs.
1650 + add endwin() call in error-returns from test/ncurses.c omitted in
1651 recent redesign of its menu (cf: 20170923).
1652 + improve install of hashed-db by removing the ".db" file as done for
1653 directory-tree terminal databases.
1654 + repair a few overlooked items in include/ncurses_defs from recent
1655 port/refactoring of test-programs (cf: 20170909).
1656 + add test/padview.c, to compare pads with direct updates in view.c
1659 + modify test/view.c to expand tabs using the ncurses library rather
1660 than in the test-program.
1661 + remove very old SIGWINCH example in test/view.c, just use KEY_RESIZE.
1662 + add -T, -e, -f -m options to "dots" test-programs.
1663 + fix a few typos in usage-messages for test-programs.
1666 + minor cleanup to test/view.c:
1667 + eliminate "-n" option by simply reading the whole file.
1668 + implement page up/down commands.
1669 + add check in tput for init/reset operands to ensure those use a
1671 + improve manual pages which discuss chtype, cchar_t types and the
1672 attribute values which can be stored in those types.
1673 + correct array-index when parsing "-T" command-line option in tabs
1675 + modify demo_new_pair.c to pass extended pairs to setcchar().
1676 + add test/dots_xcurses.c to illustrate a different approach used for
1677 extended colors which can be contrasted with dots_curses.c.
1678 + add a check in tic to note when a description uses non-mandatory
1679 delays without xon_xoff. This is not an error, but some descriptions
1680 for a terminal emulator may use the combination incorrectly.
1683 + modify "-T" option of clear and tput to call use_tioctl() to obtain
1684 the operating system's notion of the screensize if possible.
1685 + review/repair some exit-codes for tput, making usage-message exit
1686 with 2 rather than 1, and a failure to open terminal 4+errno.
1687 + amend check in tput, tabs and clear to allow those to use the
1688 database-only features in cron if a -T option gives a suitable
1689 terminal name (report by Lauri Tirkkonen).
1690 + correct an ifdef in test/ncurses.c for systems with soft-keys but
1692 + regenerate man-html documentation.
1695 + fix a symbol conflict that made ncurses.c C/c menu not work with
1696 Solaris xpg4 curses.
1697 + add refresh() call to dots_mvcur.c, needed to use mvcur() with
1698 Solaris xpg4 curses after calling newterm().
1699 + minor fixes for configure script from work on ncurses-examples and
1701 + improve animation in test/xmas.c by adding a time-delay in blinkit().
1702 + modify several test programs to reflect that ncurses honors existing
1703 signal handlers in initscr(), while other implementations do not.
1704 + modify bs.c to make it easier to quit.
1705 + change ncurses-examples to use attr_t vs chtype to follow X/Open
1706 documentation more closely since Solaris xpg4-curses uses different
1707 values for WA_xxx vs A_xxx that rely on attr_t being an unsigned
1708 short. Tru64 aka OSF1, HPUX, AIX did as ncurses does, equating the
1712 + modify menu for test/ncurses.c to fit on 24-line screen.
1713 + build-fix for configure --with-caps=uwin
1714 + add options to test_arrays.c, for selecting termcap vs terminfo, etc.
1717 + minor fix to test/filter.c to avoid clearing the command in one case.
1718 + modify filter() to discard clr_eos if back_color_erase is set.
1721 + improve wide-character implementation of myADDNSTR() in frm_driver.c,
1722 which was inconsistent with the normal implementation.
1723 + save/restore cursor position in Undo_Justification(), matching
1724 behavior of Buffer_To_Window() (report by Leon Winter).
1725 + modify test/knight to provide the "slow" solution for small screens
1726 using "R", noting that Warnsdorf's method is easily done with "a".
1727 + modify several test-programs which call use_default_colors() to
1728 consistently do this only if "-d" option is given.
1729 + additional changes to test with non-standard variants of curses:
1730 + modify a loop limit in firework.c to work around absence of limit
1731 checks in some libraries.
1732 + fill the last row of a window with "?" in firstlast if waddch does
1733 not return ERR on the lower-right corner.
1734 + add checks in test/configure for some functions not in 4.3BSD curses.
1735 + fix a regression in test/configure (cf: 20170826).
1738 + amend change for endwin-state for better consistency with the older
1739 logic (report/patch by Jeb Rosen, cf: 20170722).
1740 + modify check in fmt_entry() to handle a cancelled reset string
1741 (Debian #873746). Make similar fixes in other parts of dump_entry.c
1745 + fix a bug in repeat_char logic (cf: 20170729, report by Chris Clayton).
1748 + fixes for "iterm2" (report by Leonardo Brondani Schenkel) -TD
1749 + corrected a warning from tic about keys which are the same, to skip
1750 over missing/cancelled values.
1751 + add check in tic for unnecessary use of "2" to denote a shifted
1753 + improve checks in trim_sgr0, comp_parse.c and parse_entry.c, for
1754 cancelled string capabilities.
1755 + add check in _nc_parse_entry() for invalid entry name, setting the
1756 name to "invalid" to avoid problems storing entries.
1757 + add/improve checks in tic's parser to address invalid input
1758 + add a check in comp_scan.c to handle the special case where a
1759 nontext file ending with a NUL rather than newline is given to tic
1760 as input (Redhat #1484274).
1761 + allow for cancelled capabilities in _nc_save_str (Redhat #1484276).
1762 + add validity checks for "use=" target in _nc_parse_entry (Redhat
1764 + check for invalid strings in postprocess_termcap (Redhat #1484285)
1765 + reset secondary pointers on EOF in next_char() (Redhat #1484287).
1766 + guard _nc_safe_strcpy() and _nc_safe_strcat() against calls using
1767 cancelled strings (Redhat #1484291).
1768 + correct typo in curs_memleaks.3x (Sven Joachim).
1769 + improve test/configure checks for some curses variants not based on
1771 + add options for test/configure to disable checks for form, menu and
1775 + update "iterm" entry -TD
1776 + add "iterm2" entry (report by Leonardo Brondani Schenkel) -TD
1777 + regenerate llib-* files.
1778 + regenerate HTML manpages.
1779 + improve picsmap test-program:
1780 + reduce memory used for tsearch
1781 + add report in log file showing cumulative color coverage.
1782 + add -x option to clear/tput to make the E3 extension optional
1784 + add options -T and -V to clear command for compatibility with tput.
1785 + add usage message to clear command (Debian #371855).
1786 + improve usage messages for tset and tput.
1787 + minor fixes to "RGB" extension and reset_color_pairs().
1790 + improve description of -R option in infocmp manual page (report by
1792 + add reset_color_pairs() function.
1793 + add user_caps.5 manual page to document the terminfo extensions used
1795 + improve build scripts, using SIGQUIT vs SIGTRAP; add other configure
1796 script fixes from work on xterm, lynx and tack.
1797 + modify install-rule for ncurses-examples to put the data files in
1798 /usr/share/ncurses-examples
1799 + improve tracemunch, by changing address-parameters of add_wch(),
1800 color_content() and pair_content() to dummy parameters.
1801 + minor optimization to _nc_change_pair, to return quickly when the
1802 current screen is marked for clearing.
1803 + in-progress changes to improve performance of test/picsmap.c for
1804 loading image files.
1805 + modify allocation for SCREEN's color-pair table to start small, grow
1806 on demand up to the existing limit.
1807 + add "RGB" extension capability for direct-color support, use this to
1808 improve color_content().
1809 + improve picsmap test-program:
1810 + if no palette file is needed, attempt to load one based on $TERM,
1811 checking first in the current directory, then by adding ".dat"
1812 suffix, and finally in the data-directory, e.g.,
1813 /usr/share/ncurses-examples
1814 + add "-l" option for logging
1815 + add "-d" option for debugging
1816 + add "-s" option for stepping automatically through list of images,
1818 + use tsearch to improve time for loading color table for images.
1819 + update config.guess, config.sub from
1820 http://git.savannah.gnu.org/cgit/config.git
1823 + update interix entry using tack and SFU on Windows 7 Ultimate -TD
1824 + use ^? for kdch1 in interix (reported by Jonathan de Boyne Pollard)
1825 + add "rep" to xterm-new, available since 1997/01/26 -TD
1826 + move SGR 24 and 27 from vte-2014 to vte-2012 (request by Alain
1828 + add a check in newline_forces_scroll() in case a program moves the
1829 cursor outside scrolling margins (report by Robert King).
1830 + improve _nc_tparm_analyze, using that to extend the checks made by
1831 tic for reporting inconsistencies between the expected number of
1832 parameters for a capability and the actual.
1833 + amend handling of repeat_char capability in EmitRange (adapted from
1834 report/patch by Dick Wesseling):
1835 + translate the character to the alternate character set when the
1836 alternate character set is enabled.
1837 + do not use repeat_char for characters past 255.
1838 + document "_nc_free_tinfo" in manual page, because it could be used in
1839 tack for memory-leak checking.
1840 + add "--without-tack" configure option to refine "--with-progs"
1841 configure option. Normally tack is no longer built in-tree, but
1842 a few packagers combine it during the build. If term_entry.h is
1843 installed, there is no advantage to in-tree builds.
1844 + adjust configure-script to define HAVE_CURSES_DATA_BOOLNAMES symbol
1845 needed for tack 1.08 when built in-tree. Rather than relying upon
1846 internal "_nc_" functions, tack now uses the boolean, number and
1847 string capability name-arrays provided by ncurses and SVr4 Unix
1848 curses. It still uses term_entry.h for the definitions of the
1849 extended capability arrays.
1850 + add an overlooked null-pointer check in mvcur changes from 20170722
1853 + improve test-packages for ncurses-examples and AdaCurses for lintian
1854 + modify logic for endwin-state to be able to detect the case where
1855 the screen was never initialized, using that to trigger a flush of
1856 ncurses' buffer for mvcur, e.g., in test/dots_mvcur.c for the
1857 term-driver configuration.
1858 + add dependency upon ncurses_cfg.h to a few other internal header
1859 files to allow each to be compiled separately.
1860 + add dependency upon ncurses_cfg.h to tic's header-files; any program
1861 using tic-library will have to supply this file. Legacy tack
1862 versions supply this file; ongoing tack development has dropped the
1863 dependency upon tic-library and new releases will not be affected.
1866 + modify command-line parameters for "convert" used in picsmap to work
1867 with ImageMagick 6.8 and newer.
1868 + fix build-problem with tack and ABI-5 (Debian #868328).
1869 + repair termcap-format from tic/infocmp broken in 20170701 fixes
1871 + reformat terminfo.src with 20170513 updates.
1872 + improve test-packages to address lintian warnings.
1875 + add a note to tic manual page about -W versus -f options.
1876 + correct a limit-check in fixes from 20170701 (report by Sven Joachim).
1879 + modify update_getenv() in db_iterator.c to ensure that environment
1880 variables which are not initially set will be checked later if an
1881 application happens to set them (patch by Guillaume Maudoux).
1882 + remove initialization-check for calling napms() in the term-driver
1883 configuration; none is needed.
1884 + add help-screen to test/test_getstr.c and test/test_get_wstr.c
1885 + improve compatibility between different configurations of new_prescr,
1886 fixing a case with threaded code and term-driver where c++/demo did
1887 not work (cf: 20160213).
1888 + the fixes for Redhat #1464685 obscured a problem subsequently
1889 reported in Redhat #1464687; the given test-case was no longer
1890 reproducible. Testing without the fixes for the earlier reports
1891 showed a problem with buffer overflow in dump_entry.c, which is
1892 addressed by reducing the use of a fixed-size buffer.
1893 + add/improve checks in tic's parser to address invalid input
1894 (Redhat #1464684, #1464685, #1464686, #1464691).
1895 + alloc_entry.c, add a check for a null-pointer.
1896 + parse_entry.c, add several checks for valid pointers as well as
1897 one check to ensure that a single character on a line is not
1898 treated as the 2-character termcap short-name.
1899 + fix a memory leak in delscreen() (report by Bai Junq).
1900 + improve tracemunch, showing thread identifiers as names.
1901 + fix a use-after-free in NCursesMenu::~NCursesMenu()
1902 + further amend incorrect calls for memory-leaks from 20170617 changes
1903 (report by Allen Hewes).
1906 + modify c++/etip.h.in to accommodate deprecation of throw() and
1907 throws() in c++17 (prompted by patch by Romain Geissler).
1908 + remove some incorrect calls for memory-leaks from 20170617 changes
1909 (report by Allen Hewes).
1910 + add test-programs for termattrs and term_attrs.
1911 + modify _nc_outc_wrapper to use the standard output if the screen was
1912 not initialized, rather than returning an error.
1913 + improve checks for low-level terminfo functions when the terminal
1914 has not been initialized (Redhat #1345963).
1915 + modify make_hash to allow building with address-sanitizer,
1916 assuming that --disable-leaks is configured.
1917 + amend changes for number_format() in 20170506 to avoid undefined
1918 behavior when shifting (patch by Emanuele Giaquinta).
1921 + fill in some places where TERMTYPE2 vs TERMTYPE was not used
1922 (report by Allen Hewes).
1923 + use ExitTerminfo() internally in error-exits for ncurses' setupterm
1924 to help with leak checking.
1925 + use ExitProgram() in error-exit from initscr() to help with leak
1927 + review test-programs, adding checks for cases where the terminal
1928 cannot be initialized.
1931 + add option "-xp" to picsmap.c, to use init_extended_pair().
1932 + make simple performance fixes for picsmap.c
1933 + improve aspect ratio of images read from "convert" in picsmap.c
1936 + add option to picsmap to use color-palette files, e.g., for mapping
1938 + move the data in SCREEN used for the alloc_pair() function to the
1939 end, to restore compatibility between ncurses/ncursesw libtinfo
1940 (report/patch by Miroslav Lichvar).
1941 + add build-time utility "report_offsets" to help show when the various
1942 configurations of tinfo library are compatible or not.
1945 + improved test/picsmap.c:
1946 + lookup named colors for xpm files in rgb.txt
1947 + accept blanks in color-keys for xpm files.
1948 + if neither xbm/xpm work, try "convert", which may be available.
1951 + modify test/picsmap.c to read xpm files.
1952 + modify package/debian/* to create documentation packages, so the
1953 related files can be checked with lintian.
1954 + fix some typos in manpages (report/patch by Sven Joachim).
1957 + add test/picsmap.c to fill in some testing issues not met by dots.
1958 The initial version reads X bitmap (".xbm") files.
1959 + repair logic which forces a repaint where a color-pair's content is
1960 changed (cf: 20170311).
1961 + improve tracemunch, showing screenXX pointers as names.
1964 + modify tic/infocmp display of numeric values to use hexadecimal when
1965 they are "close" to a power of two, making the result more readable.
1966 + improve discussion of portability in curs_mouse.3x
1967 + change line-length for generated html/manpages to 78 columns from 65.
1968 + improve discussion of line-drawing characters in curs_add_wch.3x
1969 (prompted by discussion with Lorinczy Zsigmond).
1970 + cleanup formatting of hackguide.html and ncurses-intro.html
1971 + add examples for WACS_D_PLUS and WACS_T_PLUS to test/ncurses.c
1974 + corrected a case where $with_gpm was set to "maybe" after CF_WITH_GPM,
1975 overlooked in 20160528 fixes (report by Alexandre Bury).
1976 + improve a couple of test-program's help-messages.
1977 + corrected loop in rain.c from 20170415 changes.
1978 + modify winnstr and winchnstr to return error if the output pointer is
1979 null, as well as adding a null pointer check of the window pointer
1980 for better compatibility with other implementations.
1981 + improve discussion of NetBSD curses in scr_dump.5
1982 + modify LIMIT_TYPED macro in new_pair.h to avoid changing sign of the
1983 value to be limited (reports by Darby Payne, Rob Boudreau).
1984 + update config.guess, config.sub from
1985 http://git.savannah.gnu.org/cgit/config.git
1988 + build-fix for termcap-configuration (report by Chi-Hsuan Yen).
1989 + improve terminfo manual page discussion of control- and graphics-
1991 + remove tic warning about "^?" in string capabilities, which was
1992 marked as an extension (cf: 20000610, 20110820); however all Unix
1993 implementations support this and X/Open Curses does not address it.
1994 On the other hand, termcap never did support this feature.
1995 + correct missing comma-separator between string capabilities in
1996 icl6402 and m2-nam -TD
1997 + restore rmir/smir in ansi+idc to better match original ansiterm+idc,
1998 add alias ansiterm (report by Robert King).
1999 + amend an old check for ambiguous use of "ma" in terminfo versus
2000 a termcap use, if the capability is cancelled to treat it as number.
2001 + correct a case in _nc_captoinfo() which read "%%" and emitted "%".
2002 + modify sscanf calls in _nc_infotocap() for patterns "%{number}%+%c"
2003 and "%'char'%+%c" to check that the final character is really 'c',
2004 avoiding a case in icl6404 which cannot be converted to termcap.
2005 + in _nc_infotocap(), add a check to ensure that terminfo "^?" is not
2006 written to termcap, because the BSDs did not implement that.
2007 + in _nc_tic_expand() and _nc_infotocap(), improve string-length check
2008 when deciding whether to use "^X" or "\xxx" format for control
2009 characters, to make the output of tic/infocmp more predictable.
2010 + limit termcap "%d" width to 2 digits on input, and use "%2" in
2011 preference to "%02" on output.
2012 + correct terminfo/termcap conversion of "%02" and "%03" into "%2" and
2013 "%3"; the result repeated the last character.
2014 + add man/scr_dump.5 to document screen-dump format.
2017 + modify several test programs to use new popup_msgs, adapted from
2018 help-screen used in test/edit_field.c
2019 + drop two symbols obsoleted in 2004: _nc_check_termtype, and
2021 + fix some old copyright dates (cf: 20031025).
2022 + build-fixes for test/savescreen.c to work with AIX and HPUX.
2023 + minor fix to configure script, adding a backslash/continuation.
2024 + extend TERMINAL structure for ABI 6 to store numbers internally as
2025 integers rather than short, by adding new data for this purpose.
2026 + more fixes for minor memory-leaks in test-programs.
2029 + change logic in wins_nwstr() to avoid addressing data past the output
2031 + correct a call to setcchar() in Data_Entry_w() from 20131207 changes.
2032 + fix minor memory-leaks in test-programs.
2033 + further improve ifdef in term_entry.h for internal definitions not
2037 + minor fixes for vt100+4bsd, e.g., delay in sgr for consistency -TD
2038 + add smso for env230, to match sgr -TD
2039 + remove p7/protect from sgr in fbterm -TD
2040 + drop setf/setb from fbterm; setaf/setab are enough -TD
2041 + make xterm-pcolor sgr consistent with other capabilities -TD
2042 + add rmxx/smxx ECMA-48 strikeout extension to tmux and xterm-basic
2043 (discussion with Nicholas Marriott)
2044 + add test-programs sp_tinfo and extended_color
2045 + modify no-leaks code for lib_cur_term.c to account for the tgetent()
2047 + modify setupterm() to save original tty-modes so that erasechar()
2048 works as expected. Also modify _nc_setupscreen() to avoid redundant
2049 calls to get original tty-modes.
2050 + modify set_curterm() to update ttytype[] data used by longname().
2051 + modify wattr_set() and wattr_get() to return ERR if win-parameter is
2052 null, as documented.
2053 + improve cast used for null-pointer checks in header macros, to
2054 reduce compiler warnings.
2055 + modify several functions, using the reserved "opts" parameter to pass
2056 color- and pair-values larger than 16-bits:
2057 + getcchar(), setcchar(), slk_attr_set(), vid_puts(), wattr_get(),
2058 wattr_set(), wchgat(), wcolor_set().
2059 + Other functions call these with the corresponding altered behavior,
2060 including chgat(), mvchgat(), mvwchgat(), slk_color_on(),
2061 slk_color_off(), vid_attr().
2062 + add new functions for manipulating color- and pair-values larger
2063 than 16-bits. These are extended_color_content(),
2064 extended_pair_content(), extended_slk_color(), init_extended_color(),
2065 init_extended_pair(), and the corresponding sp-funcs.
2068 + fix a memory leak in the window-list when creating multiple screens
2069 (reports by Andres Martinelli, Debian #783486).
2070 + reviewed calls from link_test.c, added a few more null-pointer
2072 + add a null-pointer check in ungetmouse, in case mousemask was not
2073 called (report by "Kau").
2074 + updated curs_sp_funcs.3x for new functions.
2077 + change TERMINAL structure in term.h to make it opaque. Some
2078 applications misuse its members, e.g., directly modifying it
2079 rather than using def_prog_mode().
2080 + modify utility headers such as tic.h to make it clearer which are
2081 externals that are used by tack.
2082 + improve curs_slk.3x in particular its discussion of portability.
2083 + fix cut/paste in legacy_encoding.3x
2084 + add prototype for find_pair() to new_pair.3x (report by Branden
2086 + fix a couple of broken links in generated man-html documentation.
2087 + regenerate man-html documentation.
2090 + modify vt100 rs2 string to reset vt52 mode and scrolling regions
2091 (report/analysis by Robert King) -TD
2092 + add vt100+4bsd building block, use that for older terminals rather
2093 than "vt100" which is now mostly used as a building block for
2094 terminal emulators -TD
2095 + correct a few spelling errors in terminfo.src comments -TD
2097 + fix a typo in ncurses.c test_attr legend (patch by Petr Vanek).
2098 + changed internal colorpair_t to a struct, eliminating an internal
2099 8-bit limit on colors
2100 + add ncurses/new_pair.h
2101 + add ncurses/base/new_pair.c with alloc_pair(), find_pair() and
2102 free_pair() functions
2103 + add test/demo_new_pair.c
2106 + improve terminfo manual description of terminfo syntax.
2107 + clarify the use of wint_t vs wchar_t in curs_get_wstr.3x
2108 + improve description of endwin() in manual.
2109 + modify setcchar() and getcchar() to treat negative color-pair as an
2111 + fix a typo in include/hashed_db.h (Andre Sa).
2114 + fixes for CF_CC_ENV_FLAGS (report by Ross Burton).
2117 + fix several formatting issues with manual pages.
2118 + correct read of terminfo entry in which all strings are absent or
2119 explicitly cancelled. Before this fix, the result was that all were
2120 treated as only absent.
2121 + modify infocmp to suppress mixture of absent/cancelled capabilities
2122 that would only show as "NULL, NULL", unless the -q option is used,
2123 e.g., to show "-, @" or "@, -".
2126 + build-fixes for PGI compilers (report by Adam J. Stewart)
2127 + accept whitespace in sed expression for generating expanded.c
2128 + modify configure check that g++ compiler warnings are not used.
2129 + add configure check for -fPIC option needed for shared libraries.
2130 + let configure --disable-ext-funcs override the default for the
2131 --enable-sp-funcs option.
2132 + mark some structs in form/menu/panel libraries as potentially opaque
2133 without modifying API/ABI.
2134 + add configure option --enable-opaque-curses for ncurses library and
2135 similar options for the other libraries.
2138 + trim newlines, tabs and escaped newlines from terminfo "paths" passed
2140 + ignore zero-length files in db-iterator; these are useful for
2141 instance to suppress "$HOME/.terminfo" when not wanted.
2142 + amended "b64:" encoder to work with the terminfo reader.
2143 + modify terminfo reader to accept "b64:" format using RFC-3548 in
2144 as well as RFC-4648 url/filename-safe format.
2145 + modify terminfo reader to accept "hex:" format as generated by
2146 "infocmp -0qQ1" (cf: 20150905).
2147 + adjust authors comment to reflect drop below 1% for SV.
2150 + minor comment-fixes to help automate links to bug-urls -TD
2151 + add dvtm, dvtm-256color -TD
2152 + add settings corresponding to xterm-keys option to tmux entry to
2153 reflect upcoming change to make that option "on" by default
2154 (patch by Nicholas Marriott).
2155 + uncancel Ms in tmux entry (Harry Gindi, Nicholas Marriott).
2156 + add dumb-emacs-ansi -TD
2159 + improve discussion of early history of tput program.
2160 + incorporate A_COLOR mask into COLOR_PAIR(), in case user application
2161 provides an out-of-range pair number (report by Elijah Stone).
2162 + clarify description in tput manual page regarding support for
2163 termcap names (prompted by FreeBSD #214709).
2164 + remove a restriction in tput's support for termcap names which
2165 omitted capabilities normally not shown in termcap translations
2167 + modify configure script for clang as used on FreeBSD, to work around
2168 clang's differences in exit codes vs gcc.
2171 + improve discussion of early history of tset/reset programs.
2172 + clarify in manual pages that the optional verbose option level is
2173 available only when ncurses is configured for tracing.
2174 + amend change from 20161231 to avoid writing traces to the standard
2175 error after initializing the trace feature using the environment
2179 + amend changes for tput to reset tty modes to "sane" if the program
2180 is run as "reset", like tset. Likewise, ensure that tset sends
2181 either reset- or init-strings.
2182 + improve manual page descriptions of tput init/reset and tset/reset,
2183 to make it easier to see how they are similar and different.
2184 + move a static result from key_name() to _nc_globals
2185 + modify _nc_get_screensize to allow for use_env() and use_tioctl()
2186 state to be per-screen when sp-funcs are configured, better matching
2187 the behavior when using the term-driver configuration.
2188 + improve cross-references in manual pages for often used functions
2189 + move SCREEN field for use_tioctl() data before the ncursesw fields,
2190 and limit that to the sp-funcs configuration to improve termlib
2191 compatibility (cf: 20120714).
2192 + correct order of initialization for traces in use_env() and
2193 use_tioctl() versus first trace calls.
2196 + fix errata for ncurses-howto (report by Damien Ruscoe).
2197 + fix a few places in configure/build scripts where DESTDIR and rpath
2198 were combined (report by Thomas Klausner).
2199 + merge current st description (report by Harry Gindi) -TD
2200 + modify flash capability for linux and wyse entries to put the delay
2201 between the reverse/normal escapes rather than after -TD
2202 + modify program tabs to pass the actual tty file descriptor to
2203 setupterm rather than the standard output, making padding work
2205 + explain in clear's manual page that it writes to stdout.
2206 + add special case for verbose debugging traces of command-line
2207 utilities which write to stderr (cf: 20161126).
2208 + remove a trace with literal escapes from skip_DECSCNM(), added in
2210 + update config.guess, config.sub from
2211 http://git.savannah.gnu.org/cgit/config.git
2214 + correct parameters for copywin call in _nc_Synchronize_Attributes()
2215 (patch by Leon Winter).
2216 + improve color-handling section in terminfo manual page (prompted by
2217 patch by Mihail Konev).
2218 + modify programs clear, tput and tset to pass the actual tty file
2219 descriptor to setupterm rather than the standard output, making
2223 + add tput-colorcube demo script.
2224 + add -r and -s options to tput-initc demo, to match usage in xterm.
2225 + flush the standard output in _nc_flush for the case where SP is zero,
2226 e.g., when called via putp. This fixes a scenario where "tput flash"
2227 did not work after changes in 20130112.
2230 + add configure script option --disable-wattr-macros for use in cases
2231 where one wants to use the same headers for ncurses5/ncurses6
2232 development, by suppressing the wattr* macros which differ due to
2233 the introduction of extended colors (prompted by comments in
2234 Debian #230990, Redhat #1270534).
2235 + add test/tput-initc to demonstrate tput used to initialize palette
2237 + modify test/xterm*.dat to use the newer color4/color12 values.
2240 + improve discussion of field validation in form_driver.3x manual page.
2241 + update curs_trace.3x manual page.
2244 + modify linux-16color to not mask dim, standout or reverse with the
2246 + add 0.1sec mandatory delay to flash capabilities using the VT100
2247 reverse-video control -TD
2248 + omit selection of ISO-8859-1 for G0 in enacs capability from linux2.6
2249 entry, to avoid conflict with the user-defined mapping. The reset
2250 feature will use ISO-8859-1 in any case (Mikulas Patocka).
2251 + improve check in tic for delays by also warning about beep/flash
2252 when a delay is not embedded, or if those use the VT100 reverse
2253 video escape without using a delay.
2254 + minor fix for syntax-check of delays from 20161119 changes.
2255 + modify trace() to avoid overwriting existing file (report by Maor
2259 + add check in tic for some syntax errors of delays, as well as use of
2260 proportional delays for non-line capabilities.
2261 + document history of the clear program and the E3 extension, prompted
2262 by various discussions including
2263 http://unix.stackexchange.com/questions/87469/clearing-the-old-scrollback-buffer
2266 + improve -W option in tic/infocmp:
2267 + correct order of size-adjustments in wrapped lines
2268 + if -f option splits line, do not further split it with -W
2269 + begin a new line when adding "use=" after a wrapped line
2272 + fix typo in man/terminfo.tail (Alain Williams).
2273 + correct program-name in adacurses6-config.1 manual page.
2276 + add new function "unfocus_current_field" (Leon Winter)
2279 + modify tset -w (and tput reset) to update the program's copy of the
2280 screensize if it was already set in the system, to improve tabstop
2281 setting which relies upon knowing the actual screensize.
2282 + add functionality of tset -w to tput, like the "-c" feature this is
2283 not optional in tput.
2284 + add "clear" as a possible link/alias to tput.
2285 + improve tput's check for being called as "init" or "reset" to allow
2286 for transformed names.
2287 + split-out the "clear" function from progs/clear.c, share with
2288 tput to get the same behavior, e.g., the E3 extension.
2291 + amend internal use of tputs to consistently use the number of lines
2292 affected, e.g., for insert/delete character operations. While
2293 merging terminfo source early in 1995, several descriptions used the
2294 "*" proportional delay for these operations, prompting a change in
2296 + regenerate llib-* files.
2297 + regenerate HTML manpages.
2298 + fix several formatting issues with manual pages.
2301 + adjust size in infocmp/tic to work with strlcpy.
2302 + fix configure script to record when strlcat is found on OpenBSD.
2303 + build-fix for "recent" OpenBSD vs baudrate.
2306 + add -W option to tic/infocmp to force long strings to wrap. This is
2307 in addition to the -w option which attempts to fit capabilities into
2308 a given line-length.
2309 + add linux-m1 minitel entries (patch by Alexandre Montaron).
2310 + correct rs2 string for vt100-nam -TD
2313 + modify _nc_tic_expand to escape comma if it immediately follows a
2314 percent sign, to work with minitel change.
2315 + updated minitel and viewdata descriptions (Alexandre Montaron).
2318 + build-fix for gnat6, which unhelpfully attempts to compile C files.
2319 + fix typo in 20160910 changes (Debian #837892, patch by Sven Joachim).
2322 + trim dead code ifdef'd with HIDE_EINTR since 970830 (discussion with
2324 + trim some obsolete/incorrect wording about EINTR from wgetch manual
2325 page (patch by Leon Winter).
2326 + really correct 20100515 change (patch by Rich Coe).
2327 + add "--enable-string-hacks" option to test/configure
2328 + completed string-hacks for "sprintf", etc., including test-programs.
2329 + make "--enable-string-hacks" work with Debian by checking for the
2330 "bsd" library and its associated "<bsd/string.h>" header.
2333 + correct 20100515 change for weak signals versus sigprocmask (report
2335 + modify misc/Makefile.in to work around OpenBSD "make" which unlike
2336 all other versions of "make" does not recognize continuation lines
2338 + amend the last change to CF_C_ENV_FLAGS to move only the
2339 preprocessor, optimization and warning flags to CPPFLAGS and CFLAGS,
2340 leaving the residue in CC. That happens to work for gcc's various
2341 "model" options, but may require tuning for other compilers (report
2345 + add "v" menu entry to test/ncurses.c to show baudrate and other
2347 + add "newer" baudrate symbols from Linux and FreeBSD to progs/tset.c,
2349 + modify CF_XOPEN_SOURCE macro:
2350 + add "uclinux" to case for "linux" (patch by Yann E. Morin)
2351 + modify _GNU_SOURCE for cygwin headers, tested with cygwin 2.3, 2.5
2352 (patch by Corinna Vinschen, from changes to tin).
2353 + improve CF_CC_ENV_FLAGS macro to allow for compiler wrappers such
2354 as "ccache" (report by Enrico Scholz).
2355 + update config.guess, config.sub from
2356 http://git.savannah.gnu.org/cgit/config.git
2359 + update tput manual page to reflect changes to manipulate terminal
2360 modes by sharing functions with tset.
2361 + add the terminal-mode parts of "reset" (aka tset) to the "tput reset"
2362 command, making the two almost the same except for window-size.
2363 + adapt logic used in dialog "--keep-tite" option for test/filter.c as
2364 "-a" option. When set, test/filter attempts to suppress the
2366 + correct a typo in interix entry -TD
2369 + add a dependency upon generated-sources in Ada95/src/Makefile.in to
2370 handle a case of "configure && make install".
2371 + trim trailing blanks from include/Caps*, to work around a problem
2372 in sed (Debian #818067).
2375 + improve CF_GNU_SOURCE configure macro to optionally define
2376 _DEFAULT_SOURCE work around a nuisance in recent glibc releases.
2377 + move the terminfo-specific parts of tput's "reset" function into
2378 the shared reset_cmd.c, making the two forms of reset use the same
2380 + split-out the terminal initialization functions from tset as
2381 progs/reset_cmd.c, as part of changes to merge the reset-feature
2385 + change tset's initialization to allow it to get settings from the
2386 standard input as well as /dev/tty, to be more effective when
2387 output or error are redirected.
2388 + improve discussion of history and portability for tset/reset/tput
2392 + improve error message from tset/reset when both stderr/stdout are
2393 redirected to a file or pipe.
2394 + improve organization of curs_attr.3x, curs_color.3x
2397 + work around Debian's antique/unmaintained version of mawk when
2399 + improve test/list_keys.c, showing ncurses's convention of modifiers
2400 for special keys, based on xterm.
2403 + improve test/list_keys.c, using $TERM if no parameters are given.
2406 + build-fixes for ncurses "test_progs" rule.
2407 + amend change to CF_CC_ENV_FLAGS in 20160521 to make multilib build
2408 work (report by Sven Joachim).
2411 + build-fixes for ncurses-examples with NetBSD curses.
2412 + improve test/list_keys.c, fixing column-widths and sorting the list
2413 to make it more readable.
2416 + revise fix for Debian #805618 (report by Vlado Potisk, cf: 20151128).
2417 + modify test/ncurses.c a/A screens to make exiting on an escape
2418 character depend on the start of keypad and timeout modes, to allow
2419 better testing of function-keys.
2420 + modify rs1 for xterm-16color, xterm-88color and xterm-256color to
2421 reset palette using "oc" string as in linux -TD
2422 + use ANSI reply for u8 in xterm-new, to reflect vt220-style responses
2423 that could be returned -TD
2424 + added a few capabilities fixed in recent vte -TD
2427 + correct logic for -f option in test/demo_terminfo.c
2428 + add test/list_keys.c
2431 + further workaround for PIE/PIC breakage which causes gpm to not link.
2432 + fix most cppcheck warnings, mostly style, in ncurses library.
2435 + improved manual page description of tset/reset versus window-size.
2436 + fixes to work with a slightly broken compiler configuration which
2437 cannot compile "Hello World!" without adding compiler options
2438 (report by Ola x Nilsson):
2439 + pass appropriate compiler options to the CF_PROG_CC_C_O macro.
2440 + when separating compiler and options in CF_CC_ENV_FLAGS, ensure
2441 that all options are split-off into CFLAGS or CPPFLAGS
2442 + restore some -I options removed in 20140726 because they appeared
2443 to be redundant. In fact, they are needed for a compiler that
2444 cannot combine -c and -o options.
2447 + regenerate HTML manpages.
2448 + improve manual pages for wgetch and wget_wch to point out that they
2449 might return values without names in curses.h (Debian #822426).
2450 + make linux3.0 entry the default linux entry (Debian #823658) -TD
2451 + modify linux2.6 entry to improve line-drawing so that the linux3.0
2452 entry can be used in non-UTF-8 mode -TD
2453 + document return value of use_extended_names (report by Mike Gran).
2456 + amend change to _nc_do_color to restore the early return for the
2457 special case used in _nc_screen_wrap (report by Dick Streefland,
2459 + modify test/ncurses.c:
2460 + check return-value of putwin
2461 + correct ifdef which made the 'g' test's legend not reflect changes
2462 to keypad- and scroll-modes.
2463 + correct return-value of extended putwin (report by Mike Gran).
2466 + modify test/ncurses.c 'd' edit-color menu to optionally read xterm
2467 color palette directly from terminal, as well as handling KEY_RESIZE
2468 and screen-repainting with control/L and control/R.
2469 + add 'oc' capability to xterm+256color, allowing palette reset for
2473 + add workaround in configure script for inept transition to PIE vs
2474 PIC builds documented in
2475 https://fedoraproject.org/wiki/Changes/Harden_All_Packages
2476 + add "reset" to list of programs whose names might change in manpages
2477 due to program-transformation configure options.
2478 + drop long-obsolete "-n" option from tset.
2481 + modify test/blue.c to use Unicode values for card-glyphs when
2482 available, as well as improving the check for CP437 and CP850.
2485 + regenerate HTML manpages.
2486 + improve manual pages for utilities with respect to POSIX versus
2490 + regenerate HTML manpages.
2491 + improve test/demo_menus.c, allowing mouse-click on the menu-headers
2492 to switch the active menu. This requires a new extension option
2493 O_MOUSE_MENU to tell the menu driver to put mouse events which do not
2494 apply to the active menu back into the queue so that the application
2495 can handle the event.
2498 + improve description of tgoto parameters (report by Steffen Nurpmeso).
2499 + amend workaround for Solaris line-drawing to restore a special case
2500 that maps Unicode line-drawing characters into the acsc string for
2501 non-Unicode locales (Debian #816888).
2504 + modified test/filter.c to illustrate an alternative to getnstr, that
2505 polls for input while updating a clock on the right margin as well
2506 as responding to window size-changes.
2509 + omit a redefinition of "inline" when traces are enabled, since this
2510 does not work with gcc 5.3.x MinGW cross-compiling (cf: 20150912).
2513 + modify test/configure script to check for pthread dependency of
2514 ncursest or ncursestw library when building ncurses examples, e.g.,
2515 in case weak symbols are used.
2516 + modify configure macro for shared-library rules to use -Wl,-rpath
2517 rather than -rpath to work around a bug in scons (FreeBSD #178732,
2519 + double-width multibyte characters were not counted properly in
2520 winsnstr and wins_nwstr (report/example by Eric Pruitt).
2521 + update config.guess, config.sub from
2522 http://git.savannah.gnu.org/cgit/config.git
2525 + amend fix for _nc_ripoffline from 20091031 to make test/ditto.c work
2526 in threaded configuration.
2527 + move _nc_tracebits, _tracedump and _tracemouse to curses.priv.h,
2528 since they are not part of the suggested ABI6.
2531 + define WIN32_LEAN_AND_MEAN for MinGW port, making builds faster.
2532 + modify test/ditto.c to allow $XTERM_PROG environment variable to
2533 override "xterm" as the name of the program to run in the threaded
2537 + improve formatting of man/curs_refresh.3x and man/tset.1 manpages
2538 + regenerate HTML manpages using newer man2html to eliminate some
2539 unwanted blank lines.
2542 + ifdef'd header-file definition of mouse_trafo() with NCURSES_NOMACROS
2543 (report by Corey Minyard).
2544 + fix some strict compiler-warnings in traces.
2547 + tidy up comments about hardcoded 256color palette (report by
2548 Leonardo Brondani Schenkel) -TD
2549 + add putty-noapp entry, and amend putty entry to use application mode
2550 for better consistency with xterm (report by Leonardo Brondani
2552 + modify _nc_viscbuf2() and _tracecchar_t2() to trace wide-characters
2553 as a whole rather than their multibyte equivalents.
2554 + minor fix in wadd_wchnstr() to ensure that each cell has nonzero
2556 + move PUTC_INIT calls next to wcrtomb calls, to avoid carry-over of
2557 error status when processing Unicode values which are not mapped.
2560 + modify ncurses c/C color test-screens to take advantage of wide
2561 screens, reducing the number of lines used for 88- and 256-colors.
2562 + minor refinement to check versus ncv to ignore two parameters of
2563 SGR 38 and 48 when those come from color-capabilities.
2566 + add check in tic for use of bold, etc., video attributes in the
2567 color capabilities, accounting whether the feature is listed in ncv.
2568 + add check in tic for conflict between ritm, rmso, rmul versus sgr0.
2571 + add a paragraph to curs_getch.3x discussing key naming (discussion
2572 with James Crippen).
2573 + amend workaround for Solaris vs line-drawing to take the configure
2575 + add a configure check for wcwidth() versus the ncurses line-drawing
2576 characters, to use in special-casing systems such as Solaris.
2579 + improve CF_XOPEN_CURSES macro used in test/configure, to define as
2580 needed NCURSES_WIDECHAR for platforms where _XOPEN_SOURCE_EXTENDED
2581 does not work. Also modified the test program to ensure that if
2582 building with ncurses, that the cchar_t type is checked, since that
2583 normally is since 20111030 ifdef'd depending on this test.
2584 + improve 20121222 workaround for broken acs, letting Solaris "work"
2585 in spite of its misconfigured wcwidth which marks all of the line
2586 drawing characters as double-width.
2589 + update form_cursor.3x, form_post.3x, menu_attributes.3x to list
2590 function names in NAME section (patch by Jason McIntyre).
2591 + minor fixes to manpage NAME/SYNOPSIS sections to consistently use
2592 rule that either all functions which are prototyped in SYNOPSIS are
2593 listed in the NAME section, or the manual-page name is the sole item
2594 listed in the NAME section. The latter is used to reduce clutter,
2595 e.g., for the top-level library manual pages as well as for certain
2596 feature-pages such as SP-funcs and threading (prompted by patches by
2600 + add option to preserve leading whitespace in form fields (patch by
2602 + add missing assignment in lib_getch.c to make notimeout() work
2604 + add 't' toggle for notimeout() function in test/ncurses.c a/A screens
2605 + add viewdata terminal description (Alexandre Montaron).
2606 + fix a case in tic/infocmp for formatting capabilities where a
2607 backslash at the end of a string was mishandled.
2608 + fix some typos in curs_inopts.3x (Benno Schulenberg).
2611 + fix some inconsistencies in the pccon* entries -TD
2612 + add bold to pccon+sgr+acs and pccon-base (Tati Chevron).
2613 + add keys f12-f124 to pccon+keys (Tati Chevron).
2614 + add test/test_sgr.c program to exercise all combinations of sgr.
2617 + modify tset's assignment to TERM in its output to reflect the name by
2618 which the terminal description is found, rather than the primary
2619 name. That was an unnecessary part from the initial conversion of
2620 tset from termcap to terminfo. The termcap program in 4.3BSD did
2621 this to avoid using the short 2-character name (report by Rich
2623 + minor fix to configure script to ensure that rules for resulting.map
2624 are only generated when needed (cf: 20151101).
2625 + modify configure script to handle the case where tic-library is
2626 renamed, but the --with-debug option is used by itself without
2627 normal or shared libraries (prompted by comment in Debian #803482).
2630 + amend change for pkg-config which allows build of pc-files when no
2631 valid pkg-config library directory was configured to suppress the
2632 actual install if it is not overridden to a valid directory at
2633 install time (cf: 20150822).
2634 + modify editing script which generates resulting.map to work with the
2635 clang configuration on recent FreeBSD, which gives an error on an
2636 empty "local" section.
2637 + fix a spurious "(Part)" message in test/ncurses.c b/B tests due
2638 to incorrect attribute-masking.
2641 + modify MKexpanded.sh to update the expansion of a temporary filename
2642 to "expanded.c", for use in trace statements.
2643 + modify layout of b/B tests in test/ncurses.c to allow for additional
2644 annotation on the right margin; some terminals with partial support
2645 did not display well.
2646 + fix typo in curs_attr.3x (patch by Sven Joachim).
2647 + fix typo in INSTALL (patch by Tomas Cech).
2648 + improve configure check for setting WILDCARD_SYMS variable; on ppc64
2649 the variable is in the Data section rather than Text (patch by Michel
2650 Normand, Novell #946048).
2651 + using configure option "--without-fallbacks" incorrectly caused
2652 FALLBACK_LIST to be set to "no" (patch by Tomas Cech).
2653 + updated minitel entries to fix kel problem with emacs, and add
2654 minitel1b-nb (Alexandre Montaron).
2655 + reviewed/updated nsterm entry Terminal.app in OSX -TD
2656 + replace some dead URLs in comments with equivalents from the
2657 Internet Archive -TD
2658 + update config.guess, config.sub from
2659 http://git.savannah.gnu.org/cgit/config.git
2662 + modify ncurses/Makefile.in to sort keys.list in POSIX locale
2663 (Debian #801864, patch by Esa Peuha).
2664 + remove an early-return from _nc_do_color, which can interfere with
2665 data needed by bkgd when ncurses is configured with extended colors
2666 (patch by Denis Tikhomirov).
2667 > fixes for OS/2 (patches by KO Myung-Hun)
2668 + use button instead of kbuf[0] in EMX-specific part of lib_mouse.c
2669 + support building with libtool on OS/2
2670 + use stdc++ on OS/2 kLIBC
2671 + clear cf_XOPEN_SOURCE on OS/2
2674 + add configure check for openpty to test/configure script, for ditto.
2675 + minor fixes to test/view.c in investigating Debian #790847.
2676 + update autoconf patch to 2.52.20150926, incorporates a fix for Cdk.
2677 + add workaround for breakage of POSIX makefiles by recent binutils
2679 + improve check for working poll() by using posix_openpt() as a
2680 fallback in case there is no valid terminal on the standard input
2681 (prompted by discussion on bug-ncurses mailing list, Debian #676461).
2684 + change makefile rule for removing resulting.map to distclean rather
2686 + add /lib/terminfo to terminfo-dirs in ".deb" test-package.
2687 + add note on portability of resizeterm and wresize to manual pages.
2690 + clarify in resizeterm.3x how KEY_RESIZE is pushed onto the input
2692 + clarify in curs_getch.3x that the keypad mode affects ability to
2693 read KEY_MOUSE codes, but does not affect KEY_RESIZE.
2694 + add overlooked build-fix needed with Cygwin for separate Ada95
2695 configure script, cf: 20150606 (report by Nicolas Boulenguez)
2698 + fixes for configure/build using clang on OSX (prompted by report by
2700 + do not redefine "inline" in ncurses_cfg.h; this was originally to
2701 solve a problem with gcc/g++, but is aggravated by clang's misuse
2702 of symbols to pretend it is gcc.
2703 + add braces to configure script to prevent unwanted add of
2704 "-lstdc++" to the CXXLIBS symbol.
2705 + improve/update test-program used for checking existence of stdc++
2707 + if $CXXLIBS is set, the linkage test uses that in addition to $LIBS
2710 + add note in curs_addch.3x about line-drawing when it depends upon
2712 + add tic -q option for consistency with infocmp, use it to suppress
2713 all comments from the "tic -I" output.
2714 + modify infocmp -q option to suppress the "Reconstructed from"
2716 + add infocmp/tic -Q option, which allows one to dump the compiled
2717 form of the terminal entry, in hexadecimal or base64.
2720 + sort options in usage message for infocmp, to make it simpler to
2722 + update usage message for tic, adding "-0" option.
2723 + documented differences in ESCDELAY versus AIX's implementation.
2724 + fix some compiler warnings from ports.
2725 + modify --with-pkg-config-libdir option to make it possible to install
2726 ".pc" files even if pkg-config is not found (adapted from patch by
2730 + disallow "no" as a possible value for "--with-shlib-version" option,
2731 overlooked in cleanup-changes for 20000708 (report by Tommy Alex).
2732 + update release notes in INSTALL.
2733 + regenerate llib-* files to help with review for release notes.
2736 + workaround for Debian #65617, which was fixed in mawk's upstream
2737 releases in 2009 (report by Sven Joachim). See
2738 https://invisible-island.net/mawk/CHANGES.html#t20090727
2740 20150808 6.0 release for upload to ftp.gnu.org
2743 + build-fix for Ada95 on older platforms without stdint.h
2744 + build-fix for Solaris, whose /bin/sh and /usr/bin/sed are non-POSIX.
2745 + update release announcement, summarizing more than 800 changes across
2746 more than 200 snapshots.
2747 + minor fixes to manpages, etc., to simplify linking from announcement
2751 + updated llib-* files.
2752 + build-fixes for ncurses library "test_progs" rule.
2753 + use alternate workaround for gcc 5.x feature (adapted from patch by
2755 + add status line to tmux via xterm+sl (patch by Nicholas Marriott).
2756 + fixes for st 0.5 from testing with tack -TD
2757 + review/improve several manual pages to break up wall-of-text:
2758 curs_add_wch.3x, curs_attr.3x, curs_bkgd.3x, curs_bkgrnd.3x,
2759 curs_getcchar.3x, curs_getch.3x, curs_kernel.3x, curs_mouse.3x,
2760 curs_outopts.3x, curs_overlay.3x, curs_pad.3x, curs_termattrs.3x
2761 curs_trace.3x, and curs_window.3x
2764 + correct an old logic error for %A and %O in tparm (report by "zreed").
2765 + improve documentation for signal handlers by adding section in the
2766 curs_initscr.3x page.
2767 + modify logic in make_keys.c to not assume anything about the size
2768 of strnames and strfnames variables, since those may be functions
2769 in the thread- or broken-linker configurations (problem found by
2771 + modify test/configure script to check for pthreads configuration,
2772 e.g., ncursestw library.
2775 + modify scripts to build/use test-packages for the pthreads
2776 configuration of ncurses6.
2777 + add references to ttytype and termcap symbols in demo_terminfo.c and
2778 demo_termcap.c to ensure that when building ncursest.map, etc., that
2779 the corresponding names such as _nc_ttytype are added to the list of
2780 versioned symbols (report by Werner Fink)
2781 + fix regression from 20150704 (report/patch by Werner Fink).
2784 + fix a few problems reported by Coverity.
2785 + fix comparison against "/usr/include" in misc/gen-pkgconfig.in
2786 (report by Daiki Ueno, Debian #790548, cf: 20141213).
2789 + modify configure script to remove deprecated ABI 5 symbols when
2791 + add symbols _nc_Default_Field, _nc_Default_Form, _nc_has_mouse to
2792 map-files, but marked as deprecated so that they can easily be
2793 suppressed from ABI 6 builds (Debian #788610).
2794 + comment-out "screen.xterm" entry, and inherit screen.xterm-256color
2795 from xterm-new (report by Richard Birkett) -TD
2796 + modify read_entry.c to set the error-return to -1 if no terminal
2797 databases were found, as documented for setupterm.
2798 + add test_setupterm.c to demonstrate normal/error returns from the
2799 setupterm and restartterm functions.
2800 + amend cleanup change from 20110813 which removed redundant definition
2801 of ret_error, etc., from tinfo_driver.c, to account for the fact that
2802 it should return a bool rather than int (report/analysis by Johannes
2806 + fix overflow warning for OSX with lib_baudrate.c (cf: 20010630).
2807 + modify script used to generate map/sym files to mark 5.9.20150530 as
2808 the last "5.9" version, and regenerated the files. That makes the
2809 files not use ".current" for the post-5.9 symbols. This also
2810 corrects the label for _nc_sigprocmask used in when weak symbols are
2811 configured for the ncursest/ncursestw libraries (prompted by
2812 discussion with Sven Joachim).
2813 + fix typo in NEWS (report by Sven Joachim).
2815 20150606 pre-release
2816 + make ABI 6 the default by updates to dist.mk and VERSION, with the
2817 intention that the existing ABI 5 should build as before using the
2818 "--with-abi-version=5" option.
2819 + regenerate ada- and man-html documentation.
2820 + minor fixes to color- and util-manpages.
2821 + fix a regression in Ada95/gen/Makefile.in, to handle special case of
2822 Cygwin, which uses the broken-linker feature.
2823 + amend fix for CF_NCURSES_CONFIG used in test/configure to assume that
2824 ncurses package scripts work when present for cross-compiling, as the
2825 lessor of two evils (cf: 20150530).
2826 + add check in configure script to disallow conflicting options
2827 "--with-termlib" and "--enable-term-driver".
2828 + move defaults for "--disable-lp64" and "--with-versioned-syms" into
2829 CF_ABI_DEFAULTS macro.
2832 + change private type for Event_Mask in Ada95 binding to work when
2833 mmask_t is set to 32-bits.
2834 + remove spurious "%;" from st entry (report by Daniel Pitts) -TD
2835 + add vte-2014, update vte to use that -TD
2836 + modify tic and infocmp to "move" a diagnostic for tparm strings that
2837 have a syntax error to tic's "-c" option (report by Daniel Pitts).
2838 + fix two problems with configure script macros (Debian #786436,
2839 cf: 20150425, cf: 20100529).
2842 + add 'P' menu item to test/ncurses.c, to show pad in color.
2843 + improve discussion in curs_color.3x about color rendering (prompted
2844 by comment on Stack Overflow forum):
2845 + remove screen-bce.mlterm, since mlterm does not do "bce" -TD
2846 + add several screen.XXX entries to support the respective variations
2848 + add putty+fnkeys* building-block entries -TD
2849 + add smkx/rmkx to capabilities analyzed with infocmp "-i" option.
2852 + amend change to ".pc" files to only use the extra loader flags which
2853 may have rpath options (report by Sven Joachim, cf: 20150502).
2854 + change versioning for dpkg's in test-packages for Ada95 and
2855 ncurses-examples for consistency with Debian, to work with package
2857 + regenerate html manpages.
2858 + clarify handling of carriage return in waddch manual page; it was
2859 discussed only in the portability section (prompted by comment on
2860 Stack Overflow forum):
2863 + add test-packages for cross-compiling ncurses-examples using the
2864 MinGW test-packages. These are only the Debian packages; RPM later.
2865 + cleanup format of debian/copyright files
2866 + add pc-files to the MinGW cross-compiling test-packages.
2867 + correct a couple of places in gen-pkgconfig.in to handle renaming of
2871 + modify the configure script to allow different default values
2872 for ABI 5 versus ABI 6.
2873 + add wgetch-events to test-packages.
2874 + add a note on how to build ncurses-examples to test/README.
2875 + fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
2877 + remove unnecessary ';' from E3 capabilities -TD
2878 + add tmux entry, derived from screen (patch by Nicholas Marriott).
2879 + split-out recent change to nsterm-bce as nsterm-build326, and add
2880 nsterm-build342 to reflect changes with successive releases of OSX
2881 (discussion with Leonardo B Schenkel)
2882 + add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
2884 + add sample "magic" file, to document ext-putwin.
2885 + modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
2886 generated ".pc" file when ld option "--as-needed" is used, or when
2887 ncurses and tinfo are installed without using rpath (prompted by
2888 discussion with Sylvain Bertrand).
2889 + modify test-package for ncurses6 to omit rpath feature when installed
2891 + add OSX's "*.dSYM" to clean-rules in makefiles.
2892 + make extra-suffix work for OSX configuration, e.g., for shared
2894 + modify Ada95/configure script to work with pkg-config
2895 + move test-package for ncurses6 to /usr, since filename-conflicts have
2897 + corrected build rules for Ada95/gen/generate; it does not depend on
2898 the ncurses library aside from headers.
2899 + reviewed man pages, fixed a few other spelling errors.
2900 + fix a typo in curs_util.3x (Sven Joachim).
2901 + use extra-suffix in some overlooked shared library dependencies
2902 found by 20150425 changes for test-packages.
2903 + update config.guess, config.sub from
2904 http://git.savannah.gnu.org/cgit/config.git
2907 + expanded description of tgetstr's area pointer in manual page
2908 (report by Todd M Lewis).
2909 + in-progress changes to modify test-packages to use ncursesw6 rather
2910 than ncursesw, with updated configure scripts.
2911 + modify CF_NCURSES_CONFIG in Ada95- and test-configure scripts to
2912 check for ".pc" files via pkg-config, but add a linkage check since
2913 frequently pkg-config configurations are broken.
2914 + modify misc/gen-pkgconfig.in to include EXTRA_LDFLAGS, e.g., for the
2916 + add 'dim' capability to screen entry (report by Leonardo B Schenkel)
2917 + add several key definitions to nsterm-bce to match preconfigured
2918 keys, e.g., with OSX 10.9 and 10.10 (report by Leonardo B Schenkel)
2919 + fix repeated "extra-suffix" in ncurses-config.in (cf: 20150418).
2920 + improve term_variables manual page, adding section on the terminfo
2921 long-name symbols which are defined in the term.h header.
2922 + fix bug in lib_tracebits.c introduced in const-fixes (cf: 20150404).
2925 + avoid a blank line in output from tabs program by ending it with
2926 a carriage return as done in FreeBSD (patch by James Clarke).
2927 + build-fix for the "--enable-ext-putwin" feature when not using
2928 wide characters (report by Werner Fink).
2929 + modify autoconf macros to use scripting improvement from xterm.
2930 + add -brtl option to compiler options on AIX 5-7, needed to link
2931 with the shared libraries.
2932 + add --with-extra-suffix option to help with installing nonconflicting
2933 ncurses6 packages, e.g., avoiding header- and library-conflicts.
2934 NOTE: as a side-effect, this renames
2935 adacurses-config to adacurses5-config and
2936 adacursesw-config to adacursesw5-config
2937 + modify debian/rules test package to suffix programs with "6".
2938 + clarify in curs_inopts.3x that window-specific settings do not
2939 inherit into new windows.
2942 + improve description of start_color() in the manual.
2943 + modify several files in ncurses- and progs-directories to allow
2944 const data used in internal tables to be put by the linker into the
2945 readonly text segment.
2948 + correct cut/paste error for "--enable-ext-putwin" that made it the
2949 same as "--enable-ext-colors" (report by Roumen Petrov)
2952 + add "-f" option to test/savescreen.c to help with testing/debugging
2953 the extended putwin/getwin.
2954 + add logic for writing/reading combining characters in the extended
2956 + add "--enable-ext-putwin" configure option to turn on the extended
2960 + in-progress changes to provide an extended version of putwin and
2961 getwin which will be capable of reading screen-dumps between the
2962 wide/normal ncurses configurations. These are text files, except
2963 for a magic code at the beginning:
2964 0 string \210\210 Screen-dump (ncurses)
2967 + document limitations of getwin in manual page (prompted by discussion
2969 + extend test/savescreen.c to demonstrate that color pair values
2970 and graphic characters can be restored using getwin.
2973 + modify win_driver.c to eliminate the constructor, to make it more
2974 usable in an application which may/may not need the console window
2975 (report by Grady Martin).
2978 + capture define's related to -D_XOPEN_SOURCE from the configure check
2979 and add those to the *-config and *.pc files, to simplify use for
2980 the wide-character libraries.
2981 + modify ncurses.spec to accommodate Fedora21's location of pkg-config
2983 + correct sense of "--disable-lib-suffixes" configure option (report
2984 by Nicolas Boos, cf: 20140426).
2987 + regenerate html manpages using improved man2html from work on xterm.
2988 + regenerated ".map" and ".sym" files using improved script, accounting
2989 for the "--enable-weak-symbols" configure option (report by Werner
2993 + regenerated ".map" and ".sym" files using improved script, showing
2994 the combinations of configure options used at each stage.
2997 + add configure check to determine if "local: _*;" can be used in the
2998 ".map" files to selectively omit symbols beginning with "_". On at
2999 least recent FreeBSD, the wildcard applies to all "_" symbols.
3000 + remove obsolete/conflicting rule for ncurses.map from
3001 ncurses/Makefile.in (cf: 20130706).
3004 + improve description in INSTALL of the --with-versioned-syms option.
3005 + add combination of --with-hashed-db and --with-ticlib to
3006 configurations for ".map" files (report by Werner Fink).
3009 + add a step to generating ".map" files, to declare any remaining
3010 symbols beginning with "_" as local, at the last version node.
3011 + improve configure checks for pkg-config, addressing a variant found
3013 + modify win_driver.c to provide characters for special keys, like
3014 ansi.sys, when keypad mode is off, rather than returning nothing at
3015 all (discussion with Eli Zaretskii).
3016 + add "broken_linker" and "hashed-db" configure options to combinations
3017 use for generating the ".map" and ".sym" files.
3018 + avoid using "ld" directly when creating shared library, to simplify
3019 cross-compiles. Also drop "-Bsharable" option from shared-library
3020 rules for FreeBSD and DragonFly (FreeBSD #196592).
3021 + fix a memory leak in form library Free_RegularExpression_Type()
3022 (report by Pavel Balaev).
3025 + modify_nc_flush() to retry if interrupted (patch by Stian Skjelstad).
3026 + change map files to make _nc_freeall a global, since it may be used
3027 via the Ada95 binding when checking for memory leaks.
3028 + improve sed script used in 20141220 to account for wide-, threaded-
3029 variations in ABI 6.
3032 + regenerate ".map" files, using step overlooked in 20141213 to use
3033 the same patch-dates across each file to match ncurses.map (report by
3037 + fix an incorrect variable assignment in 20141220 changes (report by
3041 + updated Ada95/configure with macro changes from 20141213
3042 + tie configure options --with-abi-version and --with-versioned-syms
3043 together, so that ABI 6 libraries have distinct symbol versions from
3044 the ABI 5 libraries.
3045 + replace obsolete/nonworking link to man2html with current one,
3046 regenerate html-manpages.
3049 + modify misc/gen-pkgconfig.in to add -I option for include-directory
3050 when using both --prefix and --disable-overwrite (report by Misty
3052 + add configure option --with-pc-suffix to allow minor renaming of
3053 ".pc" files and the corresponding library. Use this in the test
3054 package for ncurses6.
3055 + modify configure script so that if pkg-config is not installed, it
3056 is still possible to install ".pc" files (report by Misty De Meo).
3057 + updated ".sym" files, removing symbols which are marked as "local"
3058 in the corresponding ".map" files.
3059 + updated ".map" files to reflect move of comp_captab and comp_hash
3060 from tic-library to tinfo-library in 20090711 (report by Sven
3064 + updated ".map" files so that each symbol that may be shared across
3065 the different library configurations has the same label. Some
3066 review is needed to ensure these are really compatible.
3067 + modify MKlib_gen.sh to work around change in development version of
3068 gcc introduced here:
3069 https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
3070 https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00236.html
3071 (reports by Marcus Shawcroft, Maohui Lei).
3072 + improved configure macro CF_SUBDIR_PATH, from lynx changes.
3075 + improved ".map" files by generating them with a script that builds
3076 ncurses with several related configurations and merges the results.
3077 A further refinement is planned, to make the tic- and tinfo-library
3078 symbols use the same versions across each of the four configurations
3079 which are represented (reports by Sven Joachim, Werner Fink).
3082 + improve description of limits for color values and color pairs in
3083 curs_color.3x (prompted by patch by Tim van der Molen).
3084 + add VERSION file, using first field in that to record the ABI version
3085 used for configure --with-libtool --disable-libtool-version
3086 + add configure options for applying the ".map" and ".sym" files to
3087 the ncurses, form, menu and panel libraries.
3088 + add ".map" and ".sym" files to show exported symbols, e.g., for
3092 + improve strict compiler-warnings by adding a cast in TRACE_RETURN
3093 and making a new TRACE_RETURN1 macro for cases where the cast does
3097 + in-progress changes to integrate the win32 console driver with the
3098 msys2 configuration.
3101 + reviewed terminology 0.6.1, add function key definitions. None of
3102 the vt100-compatibility issues were improved -TD
3103 + improve infocmp conversion of extended capabilities to termcap by
3104 correcting the limit check against parametrized[], as well as filling
3105 in a check if the string happens to have parameters, e.g., "xm"
3107 + add check for zero/negative dimensions for resizeterm and resize_term
3108 (report by Mike Gran).
3111 + add experimental support for xterm's 1005 mouse mode, to use in a
3112 demonstration of its limitations.
3113 + add experimental support for "%u" format to terminfo.
3114 + modify test/ncurses.c to also show position reports in 'a' test.
3115 + minor formatting fixes to _nc_trace_mmask_t, make this function
3116 exported to help with debugging mouse changes.
3117 + improve behavior of wheel-mice for xterm protocol, noting that there
3118 are only button-presses for buttons "4" and "5", so there is no need
3119 to wait to combine events into double-clicks (report/analysis by
3121 + provide examples xterm-1005 and xterm-1006 terminfo entries -TD
3122 + implement decoder for xterm SGR 1006 mouse mode.
3125 + implement curs_set in win_driver.c
3126 + implement flash in win_driver.c
3127 + fix an infinite loop in win_driver.c if the command-window loses
3129 + improve the non-buffered mode, i.e., NCURSES_CONSOLE2, of
3130 win_driver.c by temporarily changing the buffer-size to match the
3131 window-size to eliminate the scrollback. Also enforce a minimum
3132 screen-size of 24x80 in the non-buffered mode.
3133 + modify generated misc/Makefile to suppress install.data from the
3134 dependencies if the --disable-db-install option is used, compensating
3135 for the top-level makefile changes used to add ncurses*-config in the
3136 20140920 changes (report by Steven Honeyman).
3139 + add ncurses*-config to bin-directory of sample package-scripts.
3140 + add check to ensure that getopt is available; this is a problem in
3141 some older cross-compiler environments.
3142 + expanded on the description of --disable-overwrite in INSTALL
3143 (prompted by reports by Joakim Tjernlund, Thomas Klausner).
3144 See Gentoo #522586 and NetBSD #49200 for examples.
3145 which relates to the clarified guidelines.
3146 + remove special logic from CF_INCLUDE_DIRS which adds the directory
3147 for the --includedir from the build (report by Joakim Tjernlund).
3148 + add case for Unixware to CF_XOPEN_SOURCE, from lynx changes.
3149 + update config.sub from
3150 http://git.savannah.gnu.org/cgit/config.git
3153 + add a configure check to ignore some of the plethora of non-working
3154 C++ cross-compilers.
3155 + build-fixes for Ada95 with gnat 4.9
3158 + build-fix and other improvements for port of ncurses-examples to
3160 + minor compiler-warning fixes.
3163 + modify test/demo_termcap.c and test/demo_terminfo.c to make their
3164 options more directly comparable, and add "-i" option to specify
3165 a terminal description filename to parse for names to lookup.
3168 + fix special case where double-width character overwrites a single-
3169 width character in the first column (report by Egmont Koblinger,
3173 + fix colors in ncurses 'b' test which did not work after changing
3174 it to put the test-strings in subwindows (cf: 20140705).
3175 + merge redundant SEE-ALSO sections in form and menu manpages.
3178 + modify declarations for user-data pointers in C++ binding to use
3179 reinterpret_cast to facilitate converting typed pointers to void*
3180 in user's application (patch by Adam Jiang).
3181 + regenerated html manpages.
3182 + add note regarding cause and effect for TERM in ncurses manpage,
3183 having noted clueless verbiage in Terminal.app's "help" file
3184 which reverses cause/effect.
3185 + remove special fallback definition for NCURSES_ATTR_T, since macros
3186 have resolved type-mismatches using casts (cf: 970412).
3187 + fixes for win_driver.c:
3188 + handle repainting on endwin/refresh combination.
3193 + minor portability fixes for MinGW:
3194 + ensure WINVER is defined in makefiles rather than using headers
3195 + add check for gnatprep "-T" option
3196 + work around bug introduced by gcc 4.8.1 in MinGW which breaks
3198 http://stackoverflow.com/questions/20877689/gcc-4-8-1-minggw-d-option-does-not-work-as-usual
3199 + fix most compiler warnings for Cygwin ncurses-examples.
3200 + restore "redundant" -I options in test/Makefile.in, since they are
3201 typically needed when building the derived ncurses-examples package
3205 + eliminate some redundant -I options used for building libraries, and
3206 ensure that ${srcdir} is added to the include-options (prompted by
3207 discussion with Paul Gilmartin).
3208 + modify configure script to work with Minix3.2
3209 + add form library extension O_DYNAMIC_JUSTIFY option which can be
3210 used to override the different treatment of justification for static
3211 versus dynamic fields (adapted from patch by Leon Winter).
3212 + add a null pointer check in test/edit_field.c (report/analysis by
3213 Leon Winter, cf: 20130608).
3216 + make workarounds for compiling test-programs with NetBSD curses.
3217 + improve configure macro CF_ADD_LIBS, to eliminate repeated -l/-L
3218 options, from xterm changes.
3221 + correct Charable() macro check for A_ALTCHARSET in wide-characters.
3222 + build-fix for position-debug code in tty_update.c, to work with or
3226 + add w/W toggle to ncurses.c 'B' test, to demonstrate permutation of
3227 video-attributes and colors with double-width character strings.
3230 + correct check in win_driver.c for saving screen contents, e.g., when
3231 NCURSES_CONSOLE2 is set (cf: 20140503).
3232 + reorganize b/B menu items in ncurses.c, putting the test-strings into
3233 subwindows. This is needed for a planned change to use Unicode
3234 fullwidth characters in the test-screens.
3235 + correct update to form status for _NEWTOP, broken by fixes for
3236 compiler warnings (patch by Leon Winter, cf: 20120616).
3239 + change shared-library suffix for AIX 5 and 6 to ".so", avoiding
3240 conflict with the static library (report by Ben Lentz).
3241 + document RPATH_LIST in INSTALLATION file, as part of workarounds for
3242 upgrading an ncurses library using the "--with-shared" option.
3243 + modify test/ncurses.c c/C tests to cycle through subsets of the
3244 total number of colors, to better illustrate 8/16/88/256-colors by
3245 providing directly comparable screens.
3246 + add test/dots_curses.c, for comparison with the low-level examples.
3249 + fix dereference before null check found by Coverity in tic.c
3251 + fix sign-extension bug in read_entry.c which prevented "toe" from
3252 reading empty "screen+italics" entry.
3253 + modify sgr for screen.xterm-new to support dim capability -TD
3254 + add dim capability to nsterm+7 -TD
3255 + cancel dim capability for iterm -TD
3256 + add dim, invis capabilities to vte-2012 -TD
3257 + add sitm/ritm to konsole-base and mlterm3 -TD
3260 > fix regression in screen terminfo entries (reports by Christian
3261 Ebert, Gabriele Balducci) -TD
3262 + revert the change to screen; see notes for why this did not work -TD
3263 + cancel sitm/ritm for entries which extend "screen", to work around
3264 screen's hardcoded behavior for SGR 3 -TD
3267 + separate masking for sgr in vidputs from sitm/ritm, which do not
3268 overlap with sgr functionality.
3269 + remove unneeded -i option from adacurses-config; put -a in the -I
3270 option for consistency (patch by Pascal Pignard).
3271 + update xterm-new terminfo entry to xterm patch #305 -TD
3272 + change format of test-scripts for Debian Ada95 and ncurses-examples
3273 packages to quilted to work around Debian #700177 (cf: 20130907).
3274 + build fix for form_driver_w.c as part of ncurses-examples package for
3275 older ncurses than 20131207.
3276 + add Hello World example to adacurses-config manpage.
3277 + remove unused --enable-pc-files option from Ada95/configure.
3278 + add --disable-gnat-projects option for testing.
3279 + revert changes to Ada95 project-files configuration (cf: 20140524).
3280 + corrected usage message in adacurses-config.
3283 + fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
3284 environment variable.
3285 + improve discussion of input-echoing in curs_getch.3x
3286 + clarify discussion in curs_addch.3x of wrapping.
3287 + modify parametrized.h to make fln non-padded.
3288 + correct several entries which had termcap-style padding used in
3289 terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
3290 + correct syntax for padding in some entries: dg211, h19 -TD
3291 + correct ti924-8 which had confused padding versus octal escapes -TD
3292 + correct padding in sbi entry -TD
3293 + fix an old bug in the termcap emulation; "%i" was ignored in tparm()
3294 because the parameters to be incremented were already on the internal
3295 stack (report by Corinna Vinschen).
3296 + modify tic's "-c" option to take into account the "-C" option to
3297 activate additional checks which compare the results from running
3298 tparm() on the terminfo expressions versus the translated termcap
3300 + modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
3302 > patches by Nicolas Boulenguez:
3303 + explicit dereferences to suppress some style warnings.
3304 + when c_varargs_to_ada.c includes its header, use double quotes
3306 + samples/ncurses2-util.adb: removed unused with clause. The warning
3307 was removed by an obsolete pragma.
3308 + replaced Unreferenced pragmas with Warnings (Off). The latter,
3309 available with older GNATs, needs no configure test. This also
3310 replaces 3 untested Unreferenced pragmas.
3311 + simplified To_C usage in trace handling. Using two parameters allows
3312 some basic formatting, and avoids a warning about security with some
3314 + for generated Ada sources, replace many snippets with one pure
3316 + removed C_Chtype and its conversions.
3317 + removed C_AttrType and its conversions.
3318 + removed conversions between int, Item_Option_Set, Menu_Option_Set.
3319 + removed int, Field_Option_Set, Item_Option_Set conversions.
3320 + removed C_TraceType, Attribute_Option_Set conversions.
3321 + replaced C.int with direct use of Eti_Error, now enumerated. As it
3322 was used in a case statement, values were tested by the Ada compiler
3323 to be consecutive anyway.
3324 + src/Makefile.in: remove duplicate stanza
3325 + only consider using a project for shared libraries.
3326 + style. Silent gnat-4.9 warning about misplaced "then".
3327 + generate shared library project to honor ADAFLAGS, LDFLAGS.
3330 + cleanup recently introduced compiler warnings for MingW port.
3331 + workaround for ${MAKEFLAGS} configure check versus GNU make 4.0,
3332 which introduces more than one gratuitous incompatibility.
3335 + add vt520ansi terminfo entry (patch by Mike Gran)
3336 + further improve MinGW support for the scenario where there is an
3337 ANSI-escapes handler such as ansicon running in the console window
3338 (patch by Juergen Pfeifer).
3341 + add --disable-lib-suffixes option (adapted from patch by Juergen
3343 + merge some changes from Juergen Pfeifer's work with MSYS2, to
3344 simplify later merging:
3345 + use NC_ISATTY() macro for isatty() in library
3346 + add _nc_mingw_isatty() and related functions to windows-driver
3347 + rename terminal driver entrypoints to simplify grep's
3348 + remove a check in the sp-funcs flavor of newterm() which allowed only
3349 the first call to newterm() to succeed (report by Thomas Beierlein,
3353 + update config.guess, config.sub from
3354 http://git.savannah.gnu.org/cgit/config.git
3357 + modify configure script:
3358 + drop the -no-gcc option from Intel compiler, from lynx changes.
3359 + extend the --with-hashed-db configure option to simplify building
3360 with different versions of Berkeley database using FreeBSD ports.
3361 + improve initialization for MinGW port (Juergen Pfeifer):
3362 + enforce Windows-style path-separator if cross-compiling,
3363 + add a driver-name method to each of the drivers,
3364 + allow the Windows driver name to match "unknown", ignoring case,
3365 + lengthen the built-in name for the Windows console driver to
3366 "#win32console", and
3367 + move the comparison of driver-names allowing abbreviation, e.g.,
3368 to "#win32con" into the Windows console driver.
3371 + add check in tic for mismatch between ccc and initp/initc
3372 + cancel ccc in putty-256color and konsole-256color for consistency
3373 with the cancelled initc capability (patch by Sven Zuhlsdorf).
3374 + add xterm+256setaf building block for various terminals which only
3375 get the 256-color feature half-implemented -TD
3376 + updated "st" entry (leaving the 0.1.1 version as "simpleterm") to
3380 + fix typo in "mlterm" entry (report by Gabriele Balducci) -TD
3383 + use types from <stdint.h> in sample build-scripts for chtype, etc.
3384 + modify configure script and curses.h.in to allow the types specified
3385 using --with-chtype and related options to be defined in <stdint.h>
3386 + add terminology entry -TD
3387 + add mlterm3 entry, use that as "mlterm" -TD
3388 + inherit mlterm-256color from mlterm -TD
3391 + modify _nc_New_TopRow_and_CurrentItem() to ensure that the menu's
3392 top-row is adjusted as needed to ensure that the current item is
3393 on the screen (patch by Johann Klammer).
3394 + add wgetdelay() to retrieve _delay member of WINDOW if it happens to
3395 be opaque, e.g., in the pthread configuration (prompted by patch by
3399 + modify ifdef in read_entry.c to handle the case where
3400 NCURSES_USE_DATABASE is not defined (patch by Xin Li).
3401 + add cast in form_driver_w() to fix ARM build (patch by Xin Li).
3402 + add logic to win_driver.c to save/restore screen contents when not
3403 allocating a console-buffer (cf: 20140215).
3406 + clarify error-returns from newwin (report by Ruslan Nabioullin).
3409 + fix some compiler warnings in win_driver.c
3410 + updated notes for wsvt25 based on tack and vttest -TD
3411 + add teken entry to show actual properties of FreeBSD's "xterm"
3415 + in-progress changes to win_driver.c to implement output without
3416 allocating a console-buffer. This uses a pre-existing environment
3417 variable NCGDB used by Juergen Pfeifer for debugging (prompted by
3418 discussion with Erwin Waterlander regarding Console2, which hangs
3419 when reading in an allocated console-buffer).
3420 + add -t option to gdc.c, and modify to accept "S" to step through the
3422 + regenerate NCURSES-Programming-HOWTO.html to fix some of the broken
3423 html emitted by docbook.
3426 + modify CF_XOPEN_SOURCE macro to omit followup check to determine if
3427 _XOPEN_SOURCE can/should be defined. g++ 4.7.2 built on Solaris 10
3428 has some header breakage due to its own predefinition of this symbol
3429 (report by Jean-Pierre Flori, Sage #15796).
3432 + add/use symbol NCURSES_PAIRS_T like NCURSES_COLOR_T, to illustrate
3433 which "short" types are for color pairs and which are color values.
3434 + fix build for s390x, by correcting field bit offsets in generated
3435 representation clauses when int=32 long=64 and endian=big, or at
3436 least on s390x (patch by Nicolas Boulenguez).
3437 + minor cleanup change to test/form_driver_w.c (patch by Gaute Hope).
3440 + remove unnecessary ifdef's in Ada95/gen/gen.c, which reportedly do
3441 not work as is with gcc 4.8 due to fixes using chtype cast made for