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.3656 2021/04/18 18:13:32 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 + improve CF_LINK_FUNCS by ensuring that the source-file is closed
51 before linking to the target.
52 + add "check" rules for headers in c++, progs and test-directories.
53 + build-fix for termsort module when configured with termcap (reports
54 by Rajeev V Pillai, Rudi Heitbaum).
57 + extend --disable-pkg-ldflags option to also control whether $LDFLAGS
58 from the build is provided in -config and .pc files (Debian #986764).
59 + fix some cppcheck warnings, mostly style, in ncurses and c++
60 libraries and progs directory.
61 + fix off-by-one limit for tput's processing command-line arguments
62 (patch by Hadrien Lacour).
65 + fix some cppcheck warnings, mostly style, in ncurses library and
67 + improve description of BSD-style padding in curs_termcap.3x
68 + improved CF_C11_NORETURN macro, from byacc changes.
69 + fix "--enable-leak" in CF_DISABLE_LEAKS to allow turning
70 leak-checking off later in a set of options.
71 + relax modification-time comparison in CF_LINK_FUNCS to allow it to
72 accept link() function with NFS filesystems which change the mtime
73 on the link target, e.g., several BSD systems.
74 + call delay_output_sp to handle BSD-style padding when tputs_sp is
75 called, whether directly or internally, to ensure that the SCREEN
76 pointer is passed correctly (reports by Henric Jungheim, Juraj
80 + build-fixes for Solaris10 /bin/sh
81 + fix some cppcheck warnings, mostly style, in ncurses test-programs,
82 form and menu libraries.
85 + add configure option --enable-stdnoreturn, making the _Noreturn
86 keyword optional to ease transition (prompted by report by
90 + improve parameter-checking in tput by forcing it to analyze any
91 extended string capability, e.g., as used in the Cs and Ms
92 capabilities of the tmux description (report by Brad Town,
94 + remove an incorrect free in the fallback (non-checking) version of
95 _nc_free_and_exit (report by Miroslav Lichvar).
96 + correct use-ordering in some xterm-direct flavors -TD
97 + add hterm, hterm-256color (Mike Frysinger)
98 + if the build-time compiler accepts c11's _Noreturn keyword, use that
99 rather than gcc's attribute.
100 + change configure-check for gcc's noreturn attribute to assume it is
101 a prefix rather than suffix, matching c11's _Noreturn convention.
102 + add "lint" rule to c++/Makefile, e.g., with cppcheck.
105 + improve configure CF_LD_SEARCHPATH macro used for ncurses*-config and
106 ".pc" files, from dialog changes.
107 + reduce dependency of math-library in test programs.
108 + minor fixes for test_tparm.c (cf: 20210306)
109 + mention "ncurses" prefix in curses_version() manpage (report by
113 + improved test/test_tparm.c, by limiting the tests to capabilities
114 that might have parameters or padding, and combined with tputs test.
115 + improve discussion of padding versus tparm and tputs in
117 + update portability note for FreeBSD in man/tput.1
120 + modify tic/infocmp to eliminate unnecessary "\" to escape ":" in
122 + add check in tic for duplicate "use=" clauses.
125 + improve tic warning when oc/op do not mention SGR 39/49 for xterm
127 + revert change to lib_addch.c in waddch_literal() from 20210130, since
128 the followup fix in PutCharLR() actually corrects the problem while
129 this change causes too-early filling/wrapping (report by Johannes
131 + add/use vt220+pcedit and vt220+vtedit -TD
132 + add scrt/securecrt and absolute -TD
133 + add nel to xterm-new, though supported since X11R5 -TD
134 + add/use xterm+nofkeys -TD
135 + move use of ecma+italics from xterm-basic to xterm+nofkeys -TD
138 + add test/back_ground.c, to exercise the wide-character background
140 + add a check in _nc_build_wch() in case the background character is a
141 wide-character, rather than a new part of a multibyte character.
142 + improve tracemunch's coverage of form/menu/panel libraries.
143 + improve tracemunch's checking/reporting the type for the first
144 parameter, e.g., "WINDOW*" rather than "#1".
147 + provide for wide-characters as background character in wbkgrnd
148 (report/testcase by Anton Vidovic)
149 + add name for Fedora's pcre2 to configure check for "--with-pcre2"
150 option, from xterm #363 -TD
151 + modify adjustment in PutCharLR to restore the cursor position before
152 writing to the lower-right corner, rather than decrementing the
153 cursor column, in case it was a double-width character (cf: 20210130).
156 + correct an off-by-one in comparison in waddch_literal() which caused
157 scrolling when a double-cell character would not fit at the lower
158 right corner of the screen (report by Benno Schulenberg).
159 + split-out att610+cvis, vt220+cvis, vt220+cvis8 -TD
160 + add vt220-base, for terminal emulators which generally have not
161 supported att610's blinking cursor control -TD
162 + use vt220+cvis in vt220, etc -TD
163 + use att610+cvis, xterm+tmux and ansi+enq in kitty -TD
164 + use vt220+cvis in st, terminology, termite since they ignore
165 blinking-cursor detail in att610+cvis -TD
168 + modify package/config scripts to provide an explicit -L option for
169 cases when the loader search path has other directories preceding
170 the one in which ncurses is installed (report by Yuri Victorovich).
171 + minor build-fixes in configure script and makefiles to work around
175 + add comment for linux2.6 regarding CONFIG_CONSOLE_TRANSLATIONS
176 (report by Patrick McDermott) -TD
177 + make opts extension for getcchar work as documented for ncurses 6.1,
178 adding "-g" flag to test/demo_new_pair to illustrate.
181 + fix errata in man/ncurses.3x from recent updates.
182 + improve quoting/escaping in configure script, uses some features of
183 autoconf 2.52.20210105
186 + update man/curs_memleaks.3x, to include <term.h> which declares
188 + clarify man/curs_terminfo.3x, to mention why the macro setterm is
189 defined in <curses.h>, and remove it from the list of prototypes
190 (prompted by patch by Graeme McCutcheon).
191 + amend man/curs_terminfo.3x, to note that <curses.h> is required
192 for certain functions, e.g., those using chtype or attr_t for
193 types, as well as mvcur (cf: 20201031).
194 + use parameter-names in prototypes in curs_sp_funcs.3x, for
195 consistency with other manpages.
198 + update terminology entry to 1.8.1 -TD
199 + fix some compiler-warnings which gcc8 reports incorrectly.
202 + suppress hyphenation in generated html for manpages, to address
203 regression in upgrade of groff 1.22.2 to 1.22.3.
204 + fix inconsistent sort-order in see-also sections of manpages (report
208 + improve manual pages for form field-types.
211 + amend build-fixes for gnat 10 to work with certain systems lacking
212 gprbuild (cf: 20200627).
213 + eliminate an additional strlen and wsclen.
214 + eliminate an unnecessary strlen in waddnstr() (suggested by Benjamin
216 + modify inopts manpage, separating the items for nodelay and notimeout
217 (patch by Benno Schulenberg).
218 + correct mlterm3 kf1-kf4 (Debian #975322) -TD
219 + add flash to mlterm3 -TD
222 + add Smulx to alacritty (Christian Duerr).
223 + add rep to PuTTY -TD
224 + add putty+keypad -TD
225 + add another fflush(stdout) in _nc_flush() to handle time-delays in
226 the middle of strings such as flash when the application uses
227 low-level calls rather than curses (cf: 20161217).
228 + modify configure check for c89/c99 aliases of clang to use its
229 -std option instead, because some platforms, in particular macOS,
230 do not provide workable c89/c99 aliases.
233 + fix some compiler-warnings in experimental Windows-10 driver.
234 + add the definitions needed in recent configure-check for clang
235 (report by Steven Pitman).
238 + fix some compiler-warnings in experimental Windows-10 driver.
239 + modify a check for parameters in terminfo capabilities to handle the
240 special case where short extended capability strings were not
241 converted from terminfo to termcap format.
242 + modify CF_MIXEDCASE_FILENAMES macro, adding darwin as special case
243 when cross-compiling (report by Eli Rykoff).
246 + update kitty+common -TD
247 + add putty+screen and putty-screen (suggested by Alexandre Montaron).
248 + explain in ncurses.3x that functions in the tinfo library do not rely
249 upon wide-characters (prompted by discussion with Reuben Thomas).
252 + modify MKterm.h.in so that it is not necessary to include <curses.h>
253 before <term.h> (prompted by discussion with Reuben Thomas).
254 + review/improve synopsis for curs_sp_funcs.3x (prompted by discussion
256 + improve format of output in tic's check_infotocap() function, to
257 ensure that the messages contain only printable text.
258 + modify configure-check for clang to verify that -Qunused-arguments
259 is supported. IBM's xlclang does not support it (report by Steven
263 + provide workaround configure-check for bool when cross-compiling.
264 + fix a potential indexing error in _nc_parse_entry(), seen with
265 Herlim's test data using address-sanitizer.
266 + change a null-pointer check in set_curterm to a valid-string check,
267 needed in to tic's use-resolution when pad_char is cancelled
268 (report/testcase by Robert Sebastian Herlim)
269 + improve tic's -c option to validate the number and type of parameters
270 and compare against expected number/type before deciding which set of
271 parameter-lists to use in tparm calls (report/testcase by Robert
273 + fix a link for tabs.1 manpage in announce.html.in (report by Nick
274 Black), as well as some fixes via linklint.
277 + improve manpage typography.
278 + improve discussion in curs_addch.3x of the use of unctrl to display
279 nonprintable characters.
280 + add a note in terminfo.5 explaining that no-parameter strings such
281 as sgr0 or cnorm should not be used with tparm.
284 + correct sgr in aaa+rv (report by Florian Weimer) -TD
285 + fix some sgr inconsistencies in d230c, ibm6153, ibm6154,
287 + improve tic's check for errors detected in tparm (prompted by
288 discussion with Florian Weimer).
289 + set output-mode to binary in experimental Windows-10 driver (Juergen
293 + remove output-related checks for nl/nonl (report by Leon Winter).
294 + change tmux's kbs to ^? (report by Premysl Eric Janouch)
295 + simplify mlterm initialization with DECSTR -TD
296 + fix a typo in man/curs_terminfo.3 (Reuben Thomas).
297 + add tmux-direct (tmux #2370, Debian #895754)
298 + add user-defined capabilities from mintty to Caps-ncurses, for
299 checking consistency with tic.
302 + correct configure-check for gnurx library.
303 + regenerate llib-* files.
304 + modify tracemunch and the panel library to show readable traces for
305 panel- and user-pointers.
308 + update mlterm3 for 3.9.0 (report by Premysl Eric Janouch) -TD
311 + corrected condition for appending curses.events to the generated
312 curses.h (report by Sven Joachim, Debian #970545).
315 + add configure-check for systre/tre with mingw configuration, to get
316 the library-dependencies as seen in msys2 configuration for mingw64.
317 + build-fixes for the win32-driver configuration.
318 + use more defensive binary mode setting for Win32 (Juergen Pfeifer).
321 + fix regression in setupterm validating non-empty $TERM (report by
325 + merge/adapt in-progress work by Juergen Pfeifer for new version of
327 + correct description of vt330/vt340 (Ross Combs).
330 + build-fix for awk-scripts modified for win32-driver (report by Werner
334 + remove a redundant NCURSES_EXPORT as a build-fix for "Maarten
336 + merge/adapt in-progress work by Juergen Pfeifer for new version of
338 + modify configure script, moving gcc -Werror options to EXTRA_CFLAGS
339 to avoid breaking configure-checks (adapted from ongoing work on
341 > errata for terminfo.src (report by Florian Weimer):
342 + correct icl6404 csr
347 + improve version-number extraction in MKlib_gen.sh
348 + make the test-package for manpages installable by adjusting the
350 + correct an off-by-one loop-limit in convert_strings function
352 + add CF_SHARED_OPTS cases for HPE NonStop systems (Randall S Becker).
353 + modify CF_SHARED_OPTS case for NetBSD to use the same "-shared"
354 option for the non-rpath case as for the rpath case, to allow gcc to
355 provide suitable runtime initialization (report by Rajeev V Pillai).
358 + reduce build-warnings by excluding ncurses-internals from deprecation
360 + mark wgetch-events feature as deprecated.
361 + add definition for $(LIBS) to ncurses/Makefile.in, to simplify builds
362 using the string-hacks option.
363 + prevent KEY_EVENT from appearing in curses.h unless the configure
364 option --enable-wgetch-events is used (report by Werner Fink).
367 + amend tic/infocmp check to allow for the respective tool's absence
368 (report by Steve Wills, cf: 20200808).
369 + improved some of the build-scripts with shellcheck
370 + filter out -MT/-MD/-MTd/-MDd options in script for Visual Studio C++
371 (discussion with "Maarten Anonymous").
374 + improve discussion of the system's tic utility when used as part
375 of cross-compiling (discussion with Keith Marshall).
376 + modify configuration checks for build-time tic/infocmp to use
377 AC_CHECK_TOOL. That can still be overridden by --with-tic-path and
378 --with-infocmp-path when fallbacks are used, but even if not using
379 fallbacks, the improved check may help with cross-compiling
380 (discussion with Keith Marshall).
381 + other build-fixes for Ada95 with MinGW.
382 + modify Ada95 source-generation utility to write to a file given as
383 parameter rather than to the standard output, allowing builds with
387 + remove remaining parts of checks for ISC Unix (cf: 20121006).
388 + add user32.lib to LDFLAGS for Visual Studio C++ configuration
389 (discussion with "Maarten Anonymous").
390 + modify MKkey_defs.sh to hide ncurses' definition of KEY_EVENTS to
391 reduce Visual Studio C++ redefinition warnings.
392 + improve/update checks for external functions in test/configure
395 + set LINK_TESTS in CF_SHARED_OPTS for msvc (patch by
397 + improved workaround for redefinition-warnings for KEY_EVENT.
398 + improve man/term.5 section on legacy storage format (report by
402 + reduce redefinition-warnings for KEY_EVENT when building with Visual
404 + define NCURSES_STATIC when compiling programs to link with static
405 libraries, to work with MinGW vs Visual Studio C++.
406 > additional changes for building with Visual Studio C++ and msys2
407 (reports/patches by "Maarten Anonymous")
408 + modify c++/Makefile.in to set the current directory while compiling
409 the main program, so the linker can find related objects.
410 + several changes to allow the c++/demo program to compile/link.
411 + change an ifdef in test-directory, to use VC++ wide-character funcs.
414 + fix pound-sign mapping in acsc of linux2.6 entry (report by Ingo
416 + additional changes for building with Visual Studio C++ and msys2
417 (reports/patches by "Maarten Anonymous")
418 + build-improvements for Windows 10 and MinGW (patch by Juergen
420 + fix a typo in curs_printw.3x (patch by William Pursell).
421 + fix two errors in infotocap which allowed indexing outside the
422 buffer (report/testcases by Zhang Gan).
423 + update length of strings in infocmp's usage function to restore a
424 trailing null on the longest string (report/testcase by Zhang Gen).
427 + modify version-check with Ada generics to use the same pattern as in
428 the check for supported gnat versions (report by Pascal Pignard).
429 > additional changes for building with Visual Studio C++ and msys2
430 (patches by "Maarten Anonymous"):
431 + adjust headers/declarations to provide for "dllimport" vs "dllexport"
432 declarations when constructing DLLs, to worko with Visual Studio C++.
435 + build-fixes for gnat 10.1.1, whose gnatmake drops integration with
437 + correct buffer-length in test/color_name.h
440 + update list of functions in ncurses.3x
441 + move dlclose() call from lib_mouse.c to delscreen() to avoid a case
442 in the former which could be called from SIGTSTP handler (Debian
446 + add xterm+256color2, xterm+88color2, to deprecate nonstandard usage
447 in xterm+256color, xterm+88color -TD
448 + add shifted Linux console keys in linux+sfkeys entry for
449 screen.linux (report by Alexandre Montaron).
450 + use vt100+enq in screen (report by Alexandre Montaron).
451 + add screen.linux-s alias (suggested by Alexandre Montaron).
454 + correct configure version-check/warnng for g++ to allow for 10.x
455 + re-enable "bel" in konsole-base (report by Nia Huang)
456 + add linux-s entry (patch by Alexandre Montaron).
457 + drop long-obsolete convert_configure.pl
458 + add test/test_tparm.c, for checking tparm changes.
459 + improve parameter-checking for tparm, adding function _nc_tiparm() to
460 handle the most-used case, which accepts only numeric parameters
461 (report/testcase by "puppet-meteor").
462 + use a more conservative estimate of the buffer-size in lib_tparm.c's
463 save_text() and save_number(), in case the sprintf() function
464 passes-through unexpected characters from a format specifier
465 (report/testcase by "puppet-meteor").
466 + add a check for end-of-string in cvtchar to handle a malformed
467 string in infotocap (report/testcase by "puppet-meteor").
470 + update version-check for gnat to allow for gnat 10.x to 99.x
471 + fix an uninitialized variable in lib_mouse.c changes (cf: 20200502)
472 + add a check in EmitRange to guard against repeat_char emitting digits
473 which could be interpreted as BSD-style padding when --enable-bsdpad
474 is configured (report/patch by Hiltjo Posthuma).
475 + add --disable-pkg-ldflags to suppress EXTRA_LDFLAGS from the
476 generated pkg-config and ncurses*-config files, to simplify
477 configuring in the case where rpath is used but the packager wants
478 to hide the feature (report by Michael Stapelberg).
479 > fixes for building with Visual Studio C++ and msys2 (patches by
480 "Maarten Anonymous"):
481 + modify CF_SHARED_OPTS to generate a script which translates linker
482 options into Visual Studio's dialect.
483 + omit parentheses around function-names in generated lib_gen.c to
484 work around a Visual Studio C++ limitation.
487 + add notes on termcap.h header in curs_termcap.3x
488 + update notes on vscode / xterm.js -TD
491 + add "-r" option to the dots test-programs, to help with scripting
492 a performance comparison.
493 + build-fix test/move_field.c for NetBSD curses, whose form headers
494 use different names than SVr4 or ncurses.
497 + add details on the change to Linux SGR 21 in 2018 -TD
498 + add xterm-direct16 and xterm-direct256 -TD
499 + modify lib_mouse.c to check for out-of-range button numbers, convert
500 those to position reports.
503 + use vt100+fnkeys in putty -TD
504 + fix a typo in tput.1; "columns" should be "cols".
507 + improve tracemunch logic for "RUN" compaction.
508 + fix a special case in wresize() where copying the old text did not
509 check if the last cell on a row was the beginning of a fullwidth
510 character (adapted from patch by Benno Schulenberg).
511 + use vt52+keypad in xterm-vt52, from xterm #354 -TD
512 + improve see-also section of user_caps.5
515 + fix find_pair(), overlooked when refactoring for _nc_reserve_pairs()
516 (report/testcase by Brad Town, cf: 20170812).
517 + add a trailing null for magic-string in putwin, flagged by gcc 10
518 + update check for gcc version versus gnat to work with gcc 10.x
521 + modify -fvisibility check to work with g++
522 > fixes for building with Visual Studio C++ and msys2 (patches by
523 "Maarten Anonymous"):
524 + add configure option and check for gcc -fvisibility=hidden feature
525 + define NCURSES_NOMACROS in lib_gen.c to work around Visual Studio
526 C++ preprocessor limitations.
527 + modify some of the configure-macros, as well as mk-1st.awk to work
528 with Visual Studio C++ default filenaming.
531 + correct length of buffer copied in dup_field().
532 + remove "$(srcdir)/" from path of library.gpr, needed for out-of-tree
533 builds of Ada95 (patch by Adam Van Ymeren).
536 + improve configure-checks to reduce warnings about unused variables.
537 + improve description of error-returns in waddch and waddnstr manual
538 pages (prompted by patch by Benno Schulenberg).
539 + add test/move_field.c to demonstrate move_field(), and a stub for
540 a corresponding demo of dup_field().
543 + add history note to curs_scanw.3x for <stdarg.h> and <varargs.h>
544 + add history note to curs_printw.3x for <stdarg.h> and <varargs.h>
545 + add portability note to ncurses.3x regarding <stdarg.h>
548 + update copyright notices in test-packages.
549 + modify tracemunch to guard against errors in its known_p1 table.
550 + add several --with-xxx-libname options, to help with pkgsrc (prompted
551 by discussion with Thomas Klausner).
554 + modify wbkgd() and wbkgrnd() to avoid storing a null in the
555 background character, because it may be used in cases where the
556 corresponding 0x80 is not treated as a null (report by Marc Rechte,
560 + modify CF_NCURSES_CONFIG to work around xcode's c99 "-W" option,
561 which conflicts with conventional use for passing linker options.
562 > fixes for building with Visual Studio C++ and msys2 (patches by
563 "Maarten Anonymous"):
564 + check for pcre2posix.h instead of pcre2-posix.h
565 + add case in CF_SHARED_OPTS for msys2 + msvc
566 + add fallback definition for STDIN_FILENO in progs.priv.h
567 + modify win_driver.c to use _alloca() rather than gcc's variable
568 length array feature.
569 + add NCURSES_IMPEXP to ncurses wrapped-variable declarations
570 + remove NCURSES_IMPEXP from class variables in c++/cursslk.h
571 + remove fallback prototype for exit() from c++/etip.h.in
572 + use configured check for <sys/time.h> in a couple of places
573 + conditionally include winsock.h in ncurses/win32con/gettimeofday.c,
574 because Visual Studio needs this for the timestruct declaration.
575 + adjust syntax in a couple of files using the NCURSES_API symbol.
578 + expanded note in ncurses.3x regarding automatically-included headers
579 + improve vt50h and vt52 based on DECScope manual -TD
580 + add/use vt52+keypad and vt52-basic -TD
581 + check/workaround for line-too-long in Ada95 generate utility when
582 building out-of-tree.
583 + improve/update HEADER_DEPS in */Makefile.in
584 + add "check" rule to include/Makefile, to demonstrate that the headers
585 include all of the required headers for the types used.
588 + improve manual page for panel library, extending the portability
589 section as well as documenting error-returns.
590 + show tic's version when installing terminal database in run_tic.sh
591 + correct check for gcc vs other compilers used in ncurses 6.0, from
592 FreeBSD patch by Kyle Evans (cf: 20150725).
593 + add notes for 6.2 to INSTALL.
595 20200212 6.2 release for upload to ftp.gnu.org
596 + update release notes
597 + minor build-fixes, mostly to test-package scripts
600 + modify check for sizeof(wchar_t) to ensure it gives useful result
601 when cross-compiling.
602 + drop assumption in configure script that Cygwin's linker is broken.
603 + define NCURSES_BROKEN_LINKER if the broken-linker feature is used,
604 to simplify configure-checks for ncurses-examples.
607 + reassert copyright on ncurses, per discussion in ncurses FAQ:
608 https://invisible-island.net/ncurses/ncurses.faq.html#relicensed
611 + modify comparison in make_hash.c to correct a special case in
612 collision handling for Caps-hpux11
613 + add testing utility report_hashing to check hash-tables used for
614 terminfo and termcap names.
615 + fix a missing prototype for _nc_free_and_exit().
616 + update a few comments about tack 1.07
617 + use an awk script to split too-long pathnames used in Ada95 sample
618 programs for explain.txt
621 + expanded description of XM in user_caps.5
622 + improve xm example for xterm+x11mouse, xterm+sm+1006 -TD
623 + add history section to curs_slk.3x and curs_terminfo.3x manpages.
624 + update alacritty entries for 0.4.0 (prompted by patch by
626 + correct spelling errors found with codespell.
627 + fix for test/configure, from xterm #352.
630 + improve configure macros which check for the X11/Intrinsic.h header,
631 to accommodate recent MacOS changes.
632 + suppress gcc's -Winline warning; it has not been useful for some time
633 + update config.guess, config.sub
636 + modify a couple of macros in aclocal.m4 to allow autoconf 2.69 to
637 "work", to help illustrate discussion in
638 https://invisible-island.net/autoconf/my-autoconf.html
639 + fix some warnings from autoheader-252
642 + in gen-pkgconfig.in, move the RPATH_LIST and PRIVATE_LIBS assignments
643 past the various prefix/libdir assignments, to allow for using those
644 symbols, e.g., as done via CF_SHARED_OPTS.
645 + improve ncurses*-config and pc-files by filtering out linker-specs.
646 + modify test-package to more closely match Fedora's configuration
647 for PIE/PIC feature and debug-packages.
650 + correct pathname used in Ada95 sample programs for explain.txt, to
651 work with test-packages.
652 + improve tracemunch:
653 + keep track of TERMINAL* values
654 + if tracing was first turned on after initialization, attempt to
655 show distinct screen, window and terminal names anyway.
656 + ensure that GCC_NORETURN is defined in term.h, because the prototype
657 for exit_terminfo() uses it (report by Werner Fink).
660 + add exit_curses() and exit_terminfo() to replace internal symbols for
664 + fix a few warnings for test-package builds
665 + add curses_trace(), to replace trace().
668 + add portability section to curs_getcchar manpage (prompted by
669 discussion with Nick Black).
670 + improve portability discussion of ACS characters in curs_addch
672 + improve typography for double-quotes in manpages.
675 + fix typo for MinGW rpm test-package.
676 + workaround in rpm specs for NFS problems in Fedora 31.
679 + modify ncurses/Makefile.in to fix a case where Debian/testing changes
680 to the ld --as-needed configuration broke ncurses-examples test
682 + drop library-dependency on psapi for MinGW port, since win_driver.c
683 defines PSAPI_VERSION to 2, making it use GetProcessImageFileName
684 from kernel32.dll (prompted by patch by Simon Sobish, cf: 20140503).
687 + add warning-check in tic for terminals with parm_dch vs parm_ich.
688 + drop ich1 from rxvt-basic, Eterm and mlterm to improve compatibility
689 with old non-curses programs -TD
690 + reviewed st 0.8.2, updated some details -TD
691 + use ansi+rep several places -TD
692 + corrected tic's check for ich1 (report by Sebastian J. Bronner,
696 + check parameter of set_escdelay, return ERR if negative.
697 + check parameter of set_tabsize, return ERR if not greater than zero
698 (report/patch by Anthony Sottile).
699 + revise CF_ADD_LIBS macro to prepend rather than append libraries.
700 + add "xterm-mono" to help packagers (report by Sven Joachim) -TD
703 + add a note in man/curs_add_wch.3x about Unicode terminology for the
704 line-drawing characters (report by Nick Black).
705 + improve comment in lib_tgoto.c regarding the use of \200 where a
706 \0 would be intended by the caller (report by "64 bit", cf: 20000923).
707 + modify linux-16color to accommodate Linux console driver change in
708 early 2018 (report by Dino Petrucci).
711 + modify make_hash to not require --disable-leaks, to simplify building
712 with address-sanitizer.
713 + modify tic to exit if it cannot remove a conflicting name, because
714 treating that as a partial success can cause an infinite loop in
715 use-resolution (report/testcase by Hongxu Chen, cf: 20111001).
718 + improve buffer-checks in captoinfo.c, for some cases when the
719 input string is shorter than expected.
720 > fix two errata in tic (report/testcases by Hongxu Chen):
721 + check for missing character after backslash in write_it
722 + check for missing characters after "%>" when converting from termcap
726 + amend recent changes to ncurses*-config and pc-files to filter out
727 Debian linker-flags (report by Sven Joachim, cf: 20150516).
728 + clarify relationship between tic, infocmp and captoinfo in manpage.
729 + check for invalid hashcode in _nc_find_type_entry and
731 > fix several errata in tic (reports/testcases by "zjuchenyuan"):
732 + check for invalid hashcode in _nc_find_entry.
733 + check for missing character after backslash in fmt_entry
734 + check for acsc with odd length in dump_entry in check for one-one
735 mapping (cf: 20060415);
736 + check length when converting from old AIX box_chars_1 capability,
737 overlooked in changes to eliminate strcpy (cf: 20001007).
740 + modify the ncurse*-config and pc-files to more closely match for the
744 + amend the ncurses*-config and pc-files to take into account the rpath
745 hack which differed between those files.
746 + improve -L option filtering in ncurses*-config
747 + improve recovery from error when reading command-character in
748 test/ncurses.c, showing the relevant error message and not exiting on
752 + add a note in resizeterm manpage about top-level windows which touch
753 the screen's borders.
754 + modify configure-checks for gnat to identify each of the tools path
758 + build-fixes for Ada95 configure-script and corresponding test package
761 + add --with-ada-libname option and modify Ada95 configuration to
762 allow renaming the "AdaCurses" library (prompted by proposed changes
764 + modify configure script to distinguish gcc from icc and clang when
765 the --enable-warnings option is not used, to avoid unnecessary
766 warnings about unrecognized inline options (report by Sven Joachim).
769 + build-fixes for configuration using --program-suffix with Ada95,
770 noticed with MacOS but applicable to other platforms without
774 + fix some cppcheck warnings, mostly style, in ncurses test-programs.
777 + amend 20181208 changes for wbkgd() and wbkgrnd(), fixing a few
778 details where it still differed from SVr4.
779 + fix some cppcheck warnings, mostly style, in ncurses test-programs.
782 + fix a few more coverity warnings.
785 + improve loop limits in _nc_scroll_window() to handle a case where
786 the scrolled data is a pad which is taller than the window (patch
788 + amend the change to screen, because tmux relies upon that entry
789 and does not support that feature (Debian #933572) -TD
790 + updated ms-terminal entry & notes -TD
791 + updated kitty entry & notes -TD
792 + updated alacritty+common entry & notes -TD
793 + use xterm+sl-twm for consistency -TD
796 + fix a few more coverity warnings.
797 + more documentation updates based on tctest.
800 + fix a few coverity warnings.
801 + documentation updates based on tctest.
804 + fix a few warnings for gcc 4.x
805 + add some portability/historical details to the tic, toe and infocmp
807 + correct fix for broken link from terminfo(5) to tabs(1) manpage
808 (report by Sven Joachim).
811 + change reset's behavior for margins to simply clear soft-margins if
812 possible, rather than clearing and then setting them according to the
813 terminal's width (suggested by Thomas Wolff).
814 + correct order of one wbkgd versus start_color call in test/padview.c
818 + improve comments for recent changes, add alias xterm.js -TD
821 + add --with-tic-path and --with-infocmp-path to work around problems
822 building fallback source using pre-6.0 tic/infocmp.
823 + add a check in tic for paired indn/rin
824 + correct a buffer-limit in write_entry.c for systems that use caseless
826 + add ms-terminal -TD
827 + add vscode, vscode-direct -TD
830 + improve the tabs.1 manual page to distinguish the PWB/Unix and 7th
831 Edition versions of the tabs utility.
832 + add configure check for getenv() to work around implementation shown
833 in Emscripten #6766, use that to optionally suppress START_TRACE
834 macro, whose call to getenv() may not work properly (report by Ilya
836 + modify initialization functions to avoid relying upon persistent
837 data for the result from getenv().
838 + update config.guess, config.sub
841 + expand the portability section of the man/tabs.1 manual page.
842 + regenerate HTML manpages.
845 + add mintty, mintty-direct (adapted from patch by Thomas Wolff).
846 Some of the suggested user-defined capabilities are commented-out,
847 to allow builds with ncurses 5.9 and 6.0
848 + add Smol/Rmol for tmux, vte-2018 (patch by Nicholas Marriott).
849 + add rs1 to konsole, mlterm -TD
850 + modify _nc_merge_entry() to make a copy of the data which it merges,
851 to avoid modifying the source-data when aligning extended names.
854 + modify an internal call to vid_puts to pass extended color pairs
855 e.g., from tty_update.c and lib_mvcur.c (report by Niegodziwy Beru).
856 + improve manual page description of init_tabs capability and TABSIZE
860 + modify reset_cmd.c to allow for tabstops at intervals other than 8
861 (report by Vincent Huisman).
864 + update xterm-new to xterm patch #345 -TD
865 + add/use xterm+keypad in xterm-new (report by Alain D D Williams) -TD
866 + update terminator entry -TD
867 + remove hard-tabs from ti703 (report by Robert Clausecker)
868 + mention meml/memu/box1 in user_caps manual page.
869 + mention user_caps.5 in tic and infocmp manual pages.
872 + fix a spurious blank line seen with "infocmp -1fx xterm+x11mouse"
873 + add checks in repair_subwindows() to keep the current position and
874 scroll-margins inside the resized subwindow.
875 + add a limit check in newline_forces_scroll() for the case where the
876 row is inside scroll-margins, but not at the end (report by Toshio
877 Kuratomi, cf: 20170729).
878 + corrected a warning message in tic for extended capabilities versus
879 number of parameters.
882 + improve workaround for Solaris wcwidth versus line-drawing characters
883 (report by Pavel Stehule).
884 + add special case in tic to validate RGB string-capability extension.
885 + corrected string/parameter-field for RGB in Caps-ncurses.
888 + corrected problem in terminfo load/realignment which prevented
889 infocmp from comparing extended capabilities with the same name
893 + improve ifdef's for TABSIZE variable, to help with AIX/HPUX ports.
896 + check for TABSIZE variable in test/configure script.
897 + used test/test_arrays.c to improve Caps.aix1 and Caps.hpux11
898 + corrected filtering of comments in MKparametrized.sh
899 + reduce duplication across Caps* files by moving some parts which do
900 not depend on order into Caps-ncurses.
903 + modify MKcaptab.sh, MKkey_defs.sh, and MKhashsize.sh to handle
905 + build-fixes if extended-functions are disabled.
908 + add "screen5", to mention italics (report by Stefan Assmann)
909 + modify description of xterm+x11hilite to eliminate unused p5 -TD
910 + add configure script checks to help with a port to Ultrix 3.1
911 (report by Dennis Grevenstein).
912 + check if "b" binary feature of fopen works
913 + check for missing feature of locale.h
914 + add fallback for strstr() in test-programs
915 + add fallback for STDOUT_FILENO in test-programs
916 + update config.guess, config.sub
919 + move macro for is_linetouched() inside NCURSES_NOMACROS ifndef.
920 + corrected prototypes in several manpages using script to extract
921 those in compilable form.
922 + use _nc_copy_termtype2() rather than direct assignment in setupterm,
923 in case it is called repeatedly using fallback terminfo descriptions
924 (report/patch by Werner Fink).
927 + regenerate llib-* files.
928 + modify tic to also use new function for user-defined capability info.
929 + modify _nc_parse_entry() to check if a user-defined capability has
930 an unexpected type; ignore it in that case.
931 + fix a special case of link-anchors in generated Ada html files.
932 + use newer rel=author tag in generated html rather than rev=made,
933 which did not become accepted.
936 + in-progress changes to add parameter-checking for common user-defined
938 + update MKcodes.awk and MKnames.awk to ignore the new "userdef"
939 data in Caps-ncurses (cf: 20190302).
942 + corrected some of the undocumented terminfo names in Caps.hpux11
943 + add "Caps-ncurses" file to help with checking inconsistencies in some
944 user-defined capabilities.
945 + amend check for repeat_char to handle a case where setlocale() was
946 called after initscr() (report by "Ampera").
949 + fix typo in adds200 -TD
950 + add tic check for consistent alternate character set capabilities.
951 + improve check in mvcur() to decide whether to use hard-tabs, using
952 xt, tbc and hts as clues.
953 + replace check in reset command for obsolete "pt" capability using
954 tbc and hts capabilities as clues (report by Nicolas Marriott).
957 + improve manual page description of TABSIZE.
958 + add test/demo_tabs program.
961 + add check in tic to provide warnings for mismatched number of
962 parameters in the documented user-capability extensions.
965 + modify rpm test-package ".spec" file to work around naming conflict
966 with Redhat's package for ncurses6.
967 + modify no-leaks code in test/picsmap to avoid non-standard tdestroy.
968 + amend change to configure script which altered the top-level makefile
969 to avoid attempting to install the terminfo database when it was not
970 configured, to allow for installing the ".pc" files which are also
971 in the misc directory (report by Steve Wills).
974 + change some "%define" statements in test-packages for RPMs to
975 "%global" to work around changes in rpm 4.14 from recent Redhat.
976 + fixes for O_INPUT_FIELD extension (patch by Leon Winter).
977 + eliminate fixed buffer-size when reading $TERMCAP variable.
978 + correct logic in read_entry.c which prevented $TERMCAP variable from
979 being interpreted as a fallback to terminfo entry (prompted by
980 Savannah #54556, cf: 20110924).
983 + add a check in test/configure to work around non-ncurses termcap.h
985 + corrected flag for "seq" method of db 1.8.5 interface, needed by toe
987 + updated "string-hacks" feature.
988 + minor improvements to manpage typography.
989 + corrected conditionally-compiled limit on color pairs (report by
991 + add -x option to test/pair_content, test/color_content for testing
992 init_extended_pair, extended_pair_content, init_extended_color,
993 extended_color_content
994 + add -p option to test/pair_content, test/color_content to show the
995 return values from the tested functions.
996 + improve manual page curs_color.3x discussion of error returns and
998 + add O_INPUT_FIELD extension to form library (patch by Leon Winter).
999 + override/suppress --enable-db-install if --disable-database configure
1001 + change a too-large terminal entry in tic from a fatal error to a
1002 warning (prompted by discussion with Gabriele Balducci).
1005 + fix typo in term(5), improve explanation of format (report by Otto
1007 + add nsterm-direct -TD
1008 + use SGR 1006 mouse for konsole-base -TD
1009 + use SGR 1006 mouse for putty -TD
1010 + add ti703/ti707, ti703-w/ti707-w (Robert Clausecker)
1013 + add dummy "check" rule in top-level and test-Makefile to simply
1014 building test-packages for Arch.
1015 + modify configure script to avoid conflict with a non-POSIX feature
1016 that enables all parts of the system headers by default. Some
1017 packagers have come to rely upon this behavior (FreeBSD #234049).
1018 + update config.guess, config.sub
1021 + improve man/curs_mouse.3x with regard to xterm
1022 + modify tracemunch to accept filename parameters in addition to use
1024 + minor optimization to reduce calls to _nc_reserve_pairs (prompted by
1025 discussion with Bryan Christ).
1026 + add test/pair_content.c and test/color_content.c
1027 + modify infocmp to omit filtering of "OTxx" names which are used for
1028 obsolete capabilities, when the output is sorted by long-names.
1029 Doing this helps when making a table of the short/long capability
1033 + several fixes for gcc8 strict compiler warnings.
1034 + fix a typo in comments (Aaron Gyes).
1035 + add nsterm-build309 to replace nsterm-256color, assigning the latter
1036 as an alias of nsterm, to make mouse work with nsterm-256color -TD
1037 + base gnome-256color entry on "gnome", not "vte", for consistency -TD
1038 + updates for configure macros from work on tin and xterm:
1039 + CF_GNU_SOURCE, allow for Cygwin's newlib when checking for the
1040 _DEFAULT_SOURCE symbol.
1041 + CF_VA_COPY, add fallback check if neither va_copy/__va_copy is
1042 supported, to try copying the pointers for va_list, or as an array.
1043 Also add another fallback check, for __builtin_va_copy(), which
1044 could be used with AIX xlc in c89 mode.
1047 + modify wbkgd() and wbkgrnd() to improve compatibility with SVr4
1048 curses, changing the way the window rendition is updated when the
1049 background character is modified (report by Valery Ushakov).
1052 + add midnightbsd to CF_XOPEN_SOURCE macro (patch by Urs Jansen).
1053 + add "@" command to test/ncurses F-test, to allow rapid jump to
1054 different character pages.
1055 + update config.guess, config.sub from
1056 http://git.savannah.gnu.org/cgit/config.git
1059 + build-fix (reports by Chih-Hsuan Yen, Sven Joachim).
1062 + check --with-fallbacks option to ensure there is a value, and add
1063 the fallback information to top-level Makefile summary.
1064 + add some traces in initialization to show whether a fallback entry is
1066 + build-fix for test/movewindow with ncurses-examples on Solaris.
1067 + add "-l" option to test/background, to dump screen contents in a form
1068 that lets different curses implementations be compared.
1069 + modify the initialization checks for mouse so that the xterm+sm+1006
1070 block will work with terminal descriptions not mentioning xterm
1071 (report by Tomas Janousek).
1074 + ignore the hex/b64 $TERMINFO in toe's listing.
1075 + correct a status-check in _nc_read_tic_entry() so that if reading
1076 a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to
1077 the compiled-in search list.
1080 + several workarounds to ensure proper C compiler used in parts of
1082 + update config.guess, config.sub from
1083 http://git.savannah.gnu.org/cgit/config.git
1086 + add OpenGL clients alacritty and kitty -TD
1087 + add Smulx for tmux, vte-2018 -Nicholas Marriott
1090 + ignore $TERMINFO as a default value in configure script if it came
1091 from the infocmp -Q option.
1092 + allow value for --with-versioned-syms to be a relative pathname
1093 + add a couple of broken-linker symbols to the list of versioned
1094 symbols to help with link-time optimization versus weak symbols.
1095 + apply shift/control/alt logic when decoding xterm's 1006 mode to
1096 wheel-mouse events (Redhat #1610681).
1099 + amend change from 20180818, which undid a fix for the $INSTALL value
1100 to make it an absolute path.
1103 + improve a configure check to work with newer optimizers (report by
1104 Denis Pronin, Gentoo #606142).
1105 + fix typo in tput.c (Sven Joachim, cf: 20180825).
1108 + fix typo in tvi955 -TD
1109 + corrected acsc for regent60 -TD
1110 + add alias n7900 -TD
1111 + corrected acsc for tvi950 -TD
1112 + remove bogus kf0 from tvi950 -TD
1113 + added function-key definitions to agree with Televideo 950 manual -TD
1114 + add bel to tvi950 -TD
1115 + add shifted function-keys to regent60 -TD
1116 + renumber regent40 function-keys to match manual -TD
1117 + add cd (clr_eos) to adds200 -TD
1120 + build-fix: remove a _tracef call which was used for debugging (report
1124 + ignore interrupted system-call in test/ncurses's command-line, e.g.,
1125 if the terminal were resized.
1126 + add shift/control/alt logic for decoding xterm's 1006 mode (Redhat
1127 #1610681, cf: 20141011).
1128 + modify rpm test-packages to not use --disable-relink with Redhat,
1129 since Fedora 28's tools do not work with that feature.
1132 + document --with-pcre2 configure option in INSTALL.
1133 + improve workaround for special case in PutAttrChar() where a cell is
1134 marked as alternate-character set, to handle a case where the
1135 character in the cell does not correspond to any of the ASCII
1136 fallbacks (report by Leon Winter, cf: 20180505).
1137 + amend change to form library which attempted to avoid unnecessary
1138 update of cursor position in non-public fields, to simply disable
1139 output in this case (patch by Leon Winter, cf: 20180414).
1140 + improve check for LINE_MAX runtime limit, to accommodate broken
1141 implementations of sysconf().
1144 + improve manual page for wgetnstr, giving background for the length
1146 + define a limit for wgetnstr, wgetn_wstr when length is negative or
1148 + update configure script to autoconf 2.52.20180819 (Debian #887390).
1151 + add a section to tput manual page clarifying how it determines the
1152 terminal size (prompted by discussion with Grant Jenks).
1153 + add "--disable-relink" to rpm test-packages, for consistency with the
1155 + split spec-file into ncurses6.spec and ncursest6.spec to work around
1156 toolset breakage in Fedora 28.
1157 + drop mention of "--disable-touching", which was not in the final
1161 + build-fix for PDCurses with ncurses-examples.
1162 + improved CF_CC_ENV_FLAGS.
1163 + modify configure scripts to reduce relinking/ranlib during library
1164 install (Debian #903790):
1165 + use "install -p" when available, to avoid need for ranlib of
1167 + modify scripts which use "--disable-relink" to add a 1-second
1168 sleep to work around tools which use whole-second timestamps, e.g.,
1169 in utime() rather than the actual file system resolution.
1172 + improve logic for clear with E3 extension, in case the terminal
1173 scrolls content onto its saved-lines before actually clearing
1174 the display, by clearing the saved-lines after clearing the
1175 display (report/patch by Nicholas Marriott).
1178 + improve documentation regarding feature-test macros in curses.h
1179 + improve documentation regarding the virtual and physical screens.
1180 + formatting fixes for manpages, regenerate man-html documentation.
1183 + build-fixes for gcc8.
1184 + corrected acsc for wy50 -TD
1185 + add wy50 and wy60 shifted function-keys as kF1 to kF16 -TD
1186 + remove ansi+rep mis-added to interix in 2018-02-23 -TD
1189 + add enum, regex examples to test/demo_forms
1190 + add configure check for pcre-posix library to help with MinGW port.
1193 + build-fixes for gcc8.
1194 + correct order of WINDOW._ttytype versus WINDOW._windowlist in
1196 + fix a case where tiparm could return null if the format-string was
1197 empty (Debian #902630).
1200 + add acsc string to vi200 (Nibby Nebbulous)
1201 add right/down-arrow to vi200's acsc -TD
1202 + add "x" to tput's getopt string so that "tput -x clear" works
1203 (Nicholas Marriott).
1204 + minor fixes prompted by anonymous report on stack overflow:
1205 + correct order of checks in _nc_get_locale(), for systems lacking
1207 + add "#error" in a few places to flag unsupported configurations
1210 + use _WIN32/_WIN64 in preference to __MINGW32__/__MINGW64__ symbols
1211 to simplify building with MSVC, since the former are defined in both
1212 compiler configurations (report by Ali Abdulkadir).
1213 + further improvements to configure-checks from work on dialog, i.e.,
1214 updated CF_ADD_INCDIR, CF_FIND_LINKAGE, CF_GCC_WARNINGS,
1215 CF_GNU_SOURCE, CF_LARGEFILE, CF_POSIX_C_SOURCE, CF_SIZECHANGE, and
1216 CF_TRY_XOPEN_SOURCE.
1217 + update config.guess, config.sub from
1218 http://git.savannah.gnu.org/cgit/config.git
1221 + build-fix for ncurses-examples related to gcc8-fixes (cf: 20180526).
1222 + reduce use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE
1223 combines with _XOPEN_SOURCE (Debian #900987).
1224 + change target configure level for _XOPEN_SOURCE to 600 to address
1225 use of vsscanf and setenv.
1226 + improved configure-checks CF_SIZECHANGE and CF_STRUCT_TERMIOS from
1230 + modify generated ncurses*config and ncurses.pc, ncursesw.pc, etc.,
1231 to list helper libraries such as gpm for static linking (Debian
1233 + marked vwprintw and vwscanw as deprecated; recommend using vw_printw
1234 and vw_scanw, respectively.
1237 + add RPM test-package "ncursest-examples".
1238 + modified RPM test-package to work with Mageia6.
1241 + add note in curs_util.3x about unctrl.h
1242 + review/improve header files to ensure that those include necessary
1243 files except for the previously-documented cases (report by Isaac
1245 + improved test-package scripts, adapted from byacc 1.9 20180525.
1246 + fix some gcc8 warnings seen in Redhat package build, but
1247 work around bug in gcc8 compiler warnings in comp_parse.c
1250 + formatting fixes for manpages, regenerate man-html documentation.
1251 + trim spurious whitespace from tmux in 2018-02-24 changes;
1252 fix some inconsistencies in/between tmux- and iterm2-entries for SGR
1253 (report by C Anthony Risinger)
1254 + improve iterm2 using some xterm features which it has adapted -TD
1255 + add check in pair_content() to handle the case where caller asks
1256 for an uninitialized pair (Debian #898658).
1259 + remove trailing ';' from GCC_DEPRECATED definition.
1260 + repair a change from 20110730 which left an error-check/warning dead.
1261 + fix several minor Coverity warnings.
1264 + add deprecation warnings for internal functions called by older
1266 + fix a special case in PutAttrChar() where a cell is marked as
1267 alternate-character set, but the terminal does not actually support
1268 the given graphic character. This would happen in an older terminal
1269 such as vt52, which lacks most line-drawing capability.
1270 + use configure --with-config-suffix option to work around filename
1271 conflict with Debian packages versus test-packages.
1272 + update tracemunch to work with perl 5.26.2, which changed the rules
1273 for escaping regular expressions.
1276 + document new form-extension O_EDGE_INSERT_STAY (report by Leon
1278 + correct error-returns listed in manual pages for a few form functions
1279 (report by Leon Winter).
1280 + add a check in form-library for null-pointer dereference:
1281 unfocus_current_field (form);
1282 form_driver (form, REQ_VALIDATION);
1283 (patch by Leon Winter).
1286 + modify form library to optionally delay cursor movement on a field
1287 edge/boundary (patch by Leon Winter).
1288 + modify form library to avoid unnecessary update of cursor position in
1289 non-public fields (patch by Leon Winter).
1290 + remove unused _nc_import_termtype2() function.
1291 + also add/improve null-pointer checks in other places
1292 + add a null-pointer check in _nc_parse_entry to handle an error when
1293 a use-name is invalid syntax (report by Chung-Yi Lin).
1296 + clarify in manual pages that vwprintw and vwscanw are obsolete,
1297 not part of X/Open Curses since 2007.
1298 + use "const" in some prototypes rather than NCURSES_CONST where X/Open
1299 Curses was updated to do this, e.g., wscanw, newterm, the terminfo
1300 interface. Also use "const" for consistency in the termcap
1301 interface, which was withdrawn by X/Open Curses in Issue 5 (2007).
1302 As of Issue 7, X/Open Curses still lacks "const" for certain return
1303 values, e.g., keyname().
1306 + improve terminfo write/read by modifying the fourth item of the
1307 extended header to denote the number of valid strings in the extended
1308 string table (prompted by a comment in unibilium's sources).
1311 + amend Scaled256() macro in test/picsmap.c to cover the full range
1312 0..1000 (report by Roger Pau Monne).
1313 + add some checks in tracemunch for undefined variables.
1314 + trim some redundant capabilities from st-0.7 -TD
1315 + trim unnecessary setf/setb from interix -TD
1318 + fix a check in infotocap which may not have detected a problem when
1320 + add a check in tic for the case where setf/setb are given using
1321 different strings, but provide identical results to setaf/setab.
1322 + further improve fix for terminfo.5 (patch by Kir Kolyshkin).
1323 + reorder loop-limit checks in winsnstr() in case the string has no
1324 terminating null and only the number of characters is used (patch
1328 + modify TurnOn/TurnOff macros in lib_vidattr.c and lib_vid_attr.c to
1329 avoid expansion of "CUR" in trace.
1330 + improve a few lintian warnings in test-packages.
1331 + modify lib_setup to avoid calling pthread_self() without first
1332 verifying that the address is valid, i.e., for weak symbols
1333 (report/patch by Werner Fink).
1334 + modify generated terminfo.5 to not use "expand" and related width
1335 on the last column of tables, making layout on wide terminals look
1336 better (adapted from patch by Kir Kolyshkin).
1337 + add a category to report_offsets, e.g., "w" for wide-character, "t"
1338 for threads to make the report more readable. Reorganized the
1339 structures reported to make the categories more apparent.
1340 + simplify some ifdef's for extended-colors.
1341 + add NCURSES_GLOBALS and NCURSES_PRESCREEN to report_offsets, to show
1342 how similar the different tinfo configurations are.
1345 + modify _nc_resolve_uses2() to detect incompatible types when merging
1346 a "use=" clause of extended capabilities. The problem was seen in a
1347 defective terminfo integrated from simpleterm sources in 20171111,
1348 compounded by repair in 20180121.
1349 + correct Ss/Ms interchange in st-0.7 entry (tmux #1264) -TD
1350 + fix remaining flash capabilities with trailing mandatory delays -TD
1351 + correct cut/paste in NEWS (report by Sven Joachim).
1354 + remove incorrect free() from 20170617 changes (report by David Macek).
1355 + correct type for "U8" in user_caps.5; it is a number not boolean.
1356 + add a null-pointer check in safe_sprintf.c (report by Steven Noonan).
1357 + improve fix for Debian #882620 by reusing limit2 variable (report by
1358 Julien Cristau, Sven Joachim).
1361 + modify misc/Makefile.in to install/uninstall explicit list in case
1362 the build-directory happens to have no ".pc" files when an uninstall
1363 is performed (report by Jeffrey Walton).
1364 + deprecate safe-sprintf, since the vsnprintf function, which does what
1365 was needed, was standardized long ago.
1366 + add several development/experimental options to development packages.
1367 + minor reordering of options in configure script to make the threaded
1368 and reentrant options distinct from the other extensions which are
1372 + minor fixes to test/*.h to make them idempotent.
1373 + add/use test/parse_rgb.h to show how the "RGB" capability works.
1374 + add a clarification in user_caps.5 regarding "RGB" capability.
1375 + add extended_slk_color{,_sp} symbols to the appropriate
1376 package/*.{map,sym} files (report by Sven Joachim, cf: 20170401).
1379 + update "VERSION" file, used in shared-library naming.
1381 20180127 6.1 release for upload to ftp.gnu.org
1384 + updated release notes
1385 + amend a warning message from tic which should have flagged misuse
1386 of "XT" capability in "screen" terminal description.
1388 + trim "XT" from screen entry, add comments to explain why it was
1390 + modify iterm to use xterm+sl-twm building block -TD
1391 + mark konsole-420pc, konsole-vt100, konsole-xf3x obsolete reflecting
1392 konsole's removal in 2008 -TD
1393 + expanded the history section of konsole to explain its flawed
1394 imitation of xterm's keyboard -TD
1395 + use xterm+x11mouse in screen.* entries because screen does not yet
1396 support xterm's 1006 mode -TD
1397 + add nsterm-build400 for macOS 10.13 -TD
1398 + add ansi+idc1, use that in ansi+idc adding dch for consistency -TD
1399 + update vte to vte-2017 -TD
1400 + add ecma+strikeout to vte-2017 -TD
1401 + add iterm2-direct -TD
1402 + updated teraterm, added teraterm-256color -TD
1403 + add mlterm-direct -TD
1404 + add descriptions for ANSI building-blocks -TD
1406 20180121 pre-release
1408 + add xterm+noalt, xterm+titlestack, xterm+alt1049, xterm+alt+title
1409 blocks from xterm #331 -TD
1410 + add xterm+direct, xterm+indirect, xterm-direct entries from xterm
1412 + modify xterm+256color and xterm+256setaf to use correct number of
1413 color pairs, for ncurses 6.1 -TD
1414 + add rs1 capability to xterm-256color -TD
1415 + modify xterm-r5, xterm-r6 and xterm-xf86-v32 to use xterm+kbs to
1416 match xterm #272, reflecting packager's changes -TD
1417 + remove "boolean" Se, Ss from st-0.7 -TD
1418 + add konsole-direct and st-direct -TD
1419 + remove unsupported "Tc" capability from st-0.7; use st-direct if
1420 direct-colors are wanted -TD
1421 + add vte-direct -TD
1422 + add XT, hpa, indn, and vpa to screen, and invis, E3 to tmux (patch by
1424 + use xterm+sm+1006 in xterm-new, vte-2014 -TD
1425 + use xterm+x11mouse in iterm, iterm2, mlterm3 because xterm's 1006
1426 mode does not work with those programs. konsole is debatable -TD
1427 + add "termite" entry (report by Markus Pfeiffer) -TD
1428 > merge branch begun April 2, 2017 which provides these features:
1429 + support read/write new binary-format for terminfo which stores
1430 numeric capabilities as a signed 32-bit integer. The test programs
1431 such as picsmap, ncurses were created or updated during 2017 to use
1433 + the new format is written by the wide-character configuration of
1434 tic when it finds a numeric capability larger than 32767.
1435 + other applications such as infocmp built with the wide-character
1436 ncurses library work as expected.
1437 + applications built with the "narrow" (8-bit) configuration will
1438 read the new format, but will limit those extended values to 32767.
1439 + in either wide/narrow configuration, the structure defined in
1440 term.h still uses signed 16-bit values.
1441 + because it is incompatible with the legacy (mid-1980s) binary format,
1442 a new magic value is provided for the "file" program.
1443 + the term.5 manual page is updated to describe this new format.
1444 + the limit on file-size for compiled terminfo is increased in the
1445 wide-character configuration to 32768.
1448 + build-fix in picsmap.c for stdint.h existence.
1449 + add --disable-stripping option to configure scripts.
1450 + modify ncurses-examples to install test-scripts in the data directory.
1451 + work around tool-breakage in Debian 9 and later by invoking
1452 gprconfig to specify the C compiler to be used by gnatmake,
1453 and conditionally suppressing Library_Options line for static
1455 + bump the compat level for test-packages to 7, i.e., Debian 5.
1458 + fixes for writing extended color pairs in putwin.
1459 + modify test/savescreen.c to add test patterns that exercise 88-,
1461 + modify configure option --with-build-cc, adding clang, c89 and c99
1462 as possible default values.
1463 + modify ncurses-examples configure script to use pkg-config for the
1464 extra form/menu/panel libraries, to be more consistent with the
1465 handling of the curses/ncurses library.
1466 + modify test-packages for mingw to supply "pc" files.
1467 + modify gen-pkgconfig.in to list -lpthread as a private library when
1468 configured to access it via weak symbols.
1469 + simplify gen-pkgconfig.in, adding -ltinfo without the special linker
1470 checks because some versions of the linker simply hard-code the
1472 + update URLs for ncurses website to use https.
1473 + modify CF_CURSES_LIBS to fill in $cf_nculib_root in case the
1474 ncurses-examples are built with a system ncurses that lacks the
1475 standard "curses" symbolic link, as done by SuSE. The symbol is
1476 needed to make a followup check for the pthread library work, and
1477 would be set properly using the options "--with-screen", etc.
1478 + generate misc/*.pc with "all" rule, as done for "sources" rule
1479 (report by Jeffrey Walton).
1482 + build-fix for ncurses-examples with Fedora27, adding check for
1483 reset_color_pairs() -- not yet in Fedora's package.
1484 + consistently add $CFLAGS to $MK_SHARED_LIB symbol in configure
1485 script when the latter happens to use the C compiler rather than
1486 directly using the loader (report by Jeffrey Walton).
1487 + set ABI for upcoming 6.1 release in "*.map" files. While there are
1488 some remaining internals to apply, no ABI-related changes are
1490 + add configure --with-config-suffix option to work around filename
1491 conflict with Redhat packages versus test-packages.
1494 + modify ncurses-examples to quiet const-warnings when building with
1496 + modify toe to not exit if unable to read a terminal description,
1497 e.g., if there is a permission problem.
1498 + minor fix for progs/toe.c, using _nc_free_termtype2.
1499 + assign 0 to pointer in _nc_tgetent_leak() after freeing it. Also
1500 avoid reusing pointer from previous successful call to tgetent
1501 if the latest call is unsuccessful (patch by Michael Schroeder,
1503 + minor fix for test/tracemunch, initialize $awaiting variable.
1506 + repair template in test/package/ncurses-examples.spec (cf: 20171111).
1507 + improve tic's warning about the number of parameters tparm might use
1508 for u1-u9 by making a special case for u6.
1509 + improve curs_attr.3x discussion of color pairs.
1512 + modify misc/ncurses-config.in to make output with --includedir
1513 consistent with --cflags, i.e., when --disable-overwrite option was
1514 configured the output should show the subdirectory where headers
1516 + modify MKlib_gen.sh to suppress macros when calling an "implemented"
1517 function in link_test.c
1518 + updated ftp-url used in test-packages, etc.
1519 + modify order of -pie/-shared options in configure script in case
1520 LDFLAGS uses "-pie", working around a defect or limitation in the GNU
1521 linker (prompted by patch by Yogesh Prasad, forwarded by Jay Shah).
1522 + add entry in man_db.renames for user_caps.5
1525 + modify MKlib_gen.sh to avoid tracing result from getstr/getnstr
1527 + add "-a" aspect-ratio option to picsmap.
1528 + add configure check for default path of rgb.txt, used in picsmap.
1529 + modify _nc_write_entry() to truncate too-long filename (report by
1530 Hosein Askari, Debian #882620).
1531 + build-fix for ncurses-examples with NetBSD curses:
1532 + it lacks the use_env() function.
1533 + it lacks libpanel; a recent change used the wrong ifdef symbol.
1534 + add a macro for is_linetouched() and adjust the function's return
1535 value to make it possible for most applications to check for an
1536 error-return (report by Midolikawa H).
1537 + additional manpage cleanup.
1538 + update config.guess, config.sub from
1539 http://git.savannah.gnu.org/cgit/config.git
1542 + add a note to curs_addch.3x on portability.
1543 + add a note to curs_pad.3x on the origin and portability of pads.
1544 + improve manpage description of getattrs (report by Midolikawa H).
1545 + improve manpage macros (prompted by discussion in Debian #880551.
1546 + reviewed test-programs using KEY_RESIZE, made fixes to test/worm.c
1547 + add a "-d" option to picsmap for default-colors.
1548 + modify old terminology entry and a few other terminal emulators to
1550 + correct sgr string for tmux, which used screen's "standout" code
1551 rather than the standard code (patch by Roman Kagan)
1552 + correct sgr/sgr0 strings in a few other cases reported by tic, making
1553 those correspond to the non-sgr settings where they differ, but
1554 otherwise use ECMA-48 consistently:
1555 jaixterm, aixterm, att5420_2, att4424, att500, decansi, d410-7b,
1556 dm80, hpterm, emu-220, hp2, iTerm2.app, mterm-ansi, ncrvt100an,
1557 st-0.7, vi603, vwmterm -TD
1558 + build-fix for diagnostics warning in lib_mouse.c for pre-5.0 versions
1559 of gcc which did not recognize the diagnostic "push" pragma (patch by
1563 + add "op" to xterm+256setaf -TD
1564 + reviewed terminology 1.0.0 -TD
1565 + reviewed st 0.7 -TD
1566 + suppress debug-package for ncurses-examples rpm build.
1569 + check for interrupt in color-pair initialization of dots_curses.c,
1571 + add z/Z zoom feature to test/ncurses.c C/c screens.
1572 + add '<' and '>' commands to test/ncurses.c S/s screens, to better
1573 test off-by-ones in the overlap/copywin functions.
1576 + improve man/curs_inwstr.3x, correct end-logic for lib_inwstr.c
1577 (report by Midolikawa H).
1578 + fix typo in a few places for "improvements" (patch by Sven Joachim).
1579 + clear the other half of a double-width character on which a line
1580 drawing character is drawn.
1581 + make test/ncurses.c "s" test easier to understand which subtests are
1582 available; add a "S" wide-character overlap test-screen.
1583 + modify test/ncurses.c C/c tests to allow for extended color pairs.
1584 + add endwin() call in error-returns from test/ncurses.c omitted in
1585 recent redesign of its menu (cf: 20170923).
1586 + improve install of hashed-db by removing the ".db" file as done for
1587 directory-tree terminal databases.
1588 + repair a few overlooked items in include/ncurses_defs from recent
1589 port/refactoring of test-programs (cf: 20170909).
1590 + add test/padview.c, to compare pads with direct updates in view.c
1593 + modify test/view.c to expand tabs using the ncurses library rather
1594 than in the test-program.
1595 + remove very old SIGWINCH example in test/view.c, just use KEY_RESIZE.
1596 + add -T, -e, -f -m options to "dots" test-programs.
1597 + fix a few typos in usage-messages for test-programs.
1600 + minor cleanup to test/view.c:
1601 + eliminate "-n" option by simply reading the whole file.
1602 + implement page up/down commands.
1603 + add check in tput for init/reset operands to ensure those use a
1605 + improve manual pages which discuss chtype, cchar_t types and the
1606 attribute values which can be stored in those types.
1607 + correct array-index when parsing "-T" command-line option in tabs
1609 + modify demo_new_pair.c to pass extended pairs to setcchar().
1610 + add test/dots_xcurses.c to illustrate a different approach used for
1611 extended colors which can be contrasted with dots_curses.c.
1612 + add a check in tic to note when a description uses non-mandatory
1613 delays without xon_xoff. This is not an error, but some descriptions
1614 for a terminal emulator may use the combination incorrectly.
1617 + modify "-T" option of clear and tput to call use_tioctl() to obtain
1618 the operating system's notion of the screensize if possible.
1619 + review/repair some exit-codes for tput, making usage-message exit
1620 with 2 rather than 1, and a failure to open terminal 4+errno.
1621 + amend check in tput, tabs and clear to allow those to use the
1622 database-only features in cron if a -T option gives a suitable
1623 terminal name (report by Lauri Tirkkonen).
1624 + correct an ifdef in test/ncurses.c for systems with soft-keys but
1626 + regenerate man-html documentation.
1629 + fix a symbol conflict that made ncurses.c C/c menu not work with
1630 Solaris xpg4 curses.
1631 + add refresh() call to dots_mvcur.c, needed to use mvcur() with
1632 Solaris xpg4 curses after calling newterm().
1633 + minor fixes for configure script from work on ncurses-examples and
1635 + improve animation in test/xmas.c by adding a time-delay in blinkit().
1636 + modify several test programs to reflect that ncurses honors existing
1637 signal handlers in initscr(), while other implementations do not.
1638 + modify bs.c to make it easier to quit.
1639 + change ncurses-examples to use attr_t vs chtype to follow X/Open
1640 documentation more closely since Solaris xpg4-curses uses different
1641 values for WA_xxx vs A_xxx that rely on attr_t being an unsigned
1642 short. Tru64 aka OSF1, HPUX, AIX did as ncurses does, equating the
1646 + modify menu for test/ncurses.c to fit on 24-line screen.
1647 + build-fix for configure --with-caps=uwin
1648 + add options to test_arrays.c, for selecting termcap vs terminfo, etc.
1651 + minor fix to test/filter.c to avoid clearing the command in one case.
1652 + modify filter() to discard clr_eos if back_color_erase is set.
1655 + improve wide-character implementation of myADDNSTR() in frm_driver.c,
1656 which was inconsistent with the normal implementation.
1657 + save/restore cursor position in Undo_Justification(), matching
1658 behavior of Buffer_To_Window() (report by Leon Winter).
1659 + modify test/knight to provide the "slow" solution for small screens
1660 using "R", noting that Warnsdorf's method is easily done with "a".
1661 + modify several test-programs which call use_default_colors() to
1662 consistently do this only if "-d" option is given.
1663 + additional changes to test with non-standard variants of curses:
1664 + modify a loop limit in firework.c to work around absence of limit
1665 checks in some libraries.
1666 + fill the last row of a window with "?" in firstlast if waddch does
1667 not return ERR on the lower-right corner.
1668 + add checks in test/configure for some functions not in 4.3BSD curses.
1669 + fix a regression in test/configure (cf: 20170826).
1672 + amend change for endwin-state for better consistency with the older
1673 logic (report/patch by Jeb Rosen, cf: 20170722).
1674 + modify check in fmt_entry() to handle a cancelled reset string
1675 (Debian #873746). Make similar fixes in other parts of dump_entry.c
1679 + fix a bug in repeat_char logic (cf: 20170729, report by Chris Clayton).
1682 + fixes for "iterm2" (report by Leonardo Brondani Schenkel) -TD
1683 + corrected a warning from tic about keys which are the same, to skip
1684 over missing/cancelled values.
1685 + add check in tic for unnecessary use of "2" to denote a shifted
1687 + improve checks in trim_sgr0, comp_parse.c and parse_entry.c, for
1688 cancelled string capabilities.
1689 + add check in _nc_parse_entry() for invalid entry name, setting the
1690 name to "invalid" to avoid problems storing entries.
1691 + add/improve checks in tic's parser to address invalid input
1692 + add a check in comp_scan.c to handle the special case where a
1693 nontext file ending with a NUL rather than newline is given to tic
1694 as input (Redhat #1484274).
1695 + allow for cancelled capabilities in _nc_save_str (Redhat #1484276).
1696 + add validity checks for "use=" target in _nc_parse_entry (Redhat
1698 + check for invalid strings in postprocess_termcap (Redhat #1484285)
1699 + reset secondary pointers on EOF in next_char() (Redhat #1484287).
1700 + guard _nc_safe_strcpy() and _nc_safe_strcat() against calls using
1701 cancelled strings (Redhat #1484291).
1702 + correct typo in curs_memleaks.3x (Sven Joachim).
1703 + improve test/configure checks for some curses variants not based on
1705 + add options for test/configure to disable checks for form, menu and
1709 + update "iterm" entry -TD
1710 + add "iterm2" entry (report by Leonardo Brondani Schenkel) -TD
1711 + regenerate llib-* files.
1712 + regenerate HTML manpages.
1713 + improve picsmap test-program:
1714 + reduce memory used for tsearch
1715 + add report in log file showing cumulative color coverage.
1716 + add -x option to clear/tput to make the E3 extension optional
1718 + add options -T and -V to clear command for compatibility with tput.
1719 + add usage message to clear command (Debian #371855).
1720 + improve usage messages for tset and tput.
1721 + minor fixes to "RGB" extension and reset_color_pairs().
1724 + improve description of -R option in infocmp manual page (report by
1726 + add reset_color_pairs() function.
1727 + add user_caps.5 manual page to document the terminfo extensions used
1729 + improve build scripts, using SIGQUIT vs SIGTRAP; add other configure
1730 script fixes from work on xterm, lynx and tack.
1731 + modify install-rule for ncurses-examples to put the data files in
1732 /usr/share/ncurses-examples
1733 + improve tracemunch, by changing address-parameters of add_wch(),
1734 color_content() and pair_content() to dummy parameters.
1735 + minor optimization to _nc_change_pair, to return quickly when the
1736 current screen is marked for clearing.
1737 + in-progress changes to improve performance of test/picsmap.c for
1738 loading image files.
1739 + modify allocation for SCREEN's color-pair table to start small, grow
1740 on demand up to the existing limit.
1741 + add "RGB" extension capability for direct-color support, use this to
1742 improve color_content().
1743 + improve picsmap test-program:
1744 + if no palette file is needed, attempt to load one based on $TERM,
1745 checking first in the current directory, then by adding ".dat"
1746 suffix, and finally in the data-directory, e.g.,
1747 /usr/share/ncurses-examples
1748 + add "-l" option for logging
1749 + add "-d" option for debugging
1750 + add "-s" option for stepping automatically through list of images,
1752 + use tsearch to improve time for loading color table for images.
1753 + update config.guess, config.sub from
1754 http://git.savannah.gnu.org/cgit/config.git
1757 + update interix entry using tack and SFU on Windows 7 Ultimate -TD
1758 + use ^? for kdch1 in interix (reported by Jonathan de Boyne Pollard)
1759 + add "rep" to xterm-new, available since 1997/01/26 -TD
1760 + move SGR 24 and 27 from vte-2014 to vte-2012 (request by Alain
1762 + add a check in newline_forces_scroll() in case a program moves the
1763 cursor outside scrolling margins (report by Robert King).
1764 + improve _nc_tparm_analyze, using that to extend the checks made by
1765 tic for reporting inconsistencies between the expected number of
1766 parameters for a capability and the actual.
1767 + amend handling of repeat_char capability in EmitRange (adapted from
1768 report/patch by Dick Wesseling):
1769 + translate the character to the alternate character set when the
1770 alternate character set is enabled.
1771 + do not use repeat_char for characters past 255.
1772 + document "_nc_free_tinfo" in manual page, because it could be used in
1773 tack for memory-leak checking.
1774 + add "--without-tack" configure option to refine "--with-progs"
1775 configure option. Normally tack is no longer built in-tree, but
1776 a few packagers combine it during the build. If term_entry.h is
1777 installed, there is no advantage to in-tree builds.
1778 + adjust configure-script to define HAVE_CURSES_DATA_BOOLNAMES symbol
1779 needed for tack 1.08 when built in-tree. Rather than relying upon
1780 internal "_nc_" functions, tack now uses the boolean, number and
1781 string capability name-arrays provided by ncurses and SVr4 Unix
1782 curses. It still uses term_entry.h for the definitions of the
1783 extended capability arrays.
1784 + add an overlooked null-pointer check in mvcur changes from 20170722
1787 + improve test-packages for ncurses-examples and AdaCurses for lintian
1788 + modify logic for endwin-state to be able to detect the case where
1789 the screen was never initialized, using that to trigger a flush of
1790 ncurses' buffer for mvcur, e.g., in test/dots_mvcur.c for the
1791 term-driver configuration.
1792 + add dependency upon ncurses_cfg.h to a few other internal header
1793 files to allow each to be compiled separately.
1794 + add dependency upon ncurses_cfg.h to tic's header-files; any program
1795 using tic-library will have to supply this file. Legacy tack
1796 versions supply this file; ongoing tack development has dropped the
1797 dependency upon tic-library and new releases will not be affected.
1800 + modify command-line parameters for "convert" used in picsmap to work
1801 with ImageMagick 6.8 and newer.
1802 + fix build-problem with tack and ABI-5 (Debian #868328).
1803 + repair termcap-format from tic/infocmp broken in 20170701 fixes
1805 + reformat terminfo.src with 20170513 updates.
1806 + improve test-packages to address lintian warnings.
1809 + add a note to tic manual page about -W versus -f options.
1810 + correct a limit-check in fixes from 20170701 (report by Sven Joachim).
1813 + modify update_getenv() in db_iterator.c to ensure that environment
1814 variables which are not initially set will be checked later if an
1815 application happens to set them (patch by Guillaume Maudoux).
1816 + remove initialization-check for calling napms() in the term-driver
1817 configuration; none is needed.
1818 + add help-screen to test/test_getstr.c and test/test_get_wstr.c
1819 + improve compatibility between different configurations of new_prescr,
1820 fixing a case with threaded code and term-driver where c++/demo did
1821 not work (cf: 20160213).
1822 + the fixes for Redhat #1464685 obscured a problem subsequently
1823 reported in Redhat #1464687; the given test-case was no longer
1824 reproducible. Testing without the fixes for the earlier reports
1825 showed a problem with buffer overflow in dump_entry.c, which is
1826 addressed by reducing the use of a fixed-size buffer.
1827 + add/improve checks in tic's parser to address invalid input
1828 (Redhat #1464684, #1464685, #1464686, #1464691).
1829 + alloc_entry.c, add a check for a null-pointer.
1830 + parse_entry.c, add several checks for valid pointers as well as
1831 one check to ensure that a single character on a line is not
1832 treated as the 2-character termcap short-name.
1833 + fix a memory leak in delscreen() (report by Bai Junq).
1834 + improve tracemunch, showing thread identifiers as names.
1835 + fix a use-after-free in NCursesMenu::~NCursesMenu()
1836 + further amend incorrect calls for memory-leaks from 20170617 changes
1837 (report by Allen Hewes).
1840 + modify c++/etip.h.in to accommodate deprecation of throw() and
1841 throws() in c++17 (prompted by patch by Romain Geissler).
1842 + remove some incorrect calls for memory-leaks from 20170617 changes
1843 (report by Allen Hewes).
1844 + add test-programs for termattrs and term_attrs.
1845 + modify _nc_outc_wrapper to use the standard output if the screen was
1846 not initialized, rather than returning an error.
1847 + improve checks for low-level terminfo functions when the terminal
1848 has not been initialized (Redhat #1345963).
1849 + modify make_hash to allow building with address-sanitizer,
1850 assuming that --disable-leaks is configured.
1851 + amend changes for number_format() in 20170506 to avoid undefined
1852 behavior when shifting (patch by Emanuele Giaquinta).
1855 + fill in some places where TERMTYPE2 vs TERMTYPE was not used
1856 (report by Allen Hewes).
1857 + use ExitTerminfo() internally in error-exits for ncurses' setupterm
1858 to help with leak checking.
1859 + use ExitProgram() in error-exit from initscr() to help with leak
1861 + review test-programs, adding checks for cases where the terminal
1862 cannot be initialized.
1865 + add option "-xp" to picsmap.c, to use init_extended_pair().
1866 + make simple performance fixes for picsmap.c
1867 + improve aspect ratio of images read from "convert" in picsmap.c
1870 + add option to picsmap to use color-palette files, e.g., for mapping
1872 + move the data in SCREEN used for the alloc_pair() function to the
1873 end, to restore compatibility between ncurses/ncursesw libtinfo
1874 (report/patch by Miroslav Lichvar).
1875 + add build-time utility "report_offsets" to help show when the various
1876 configurations of tinfo library are compatible or not.
1879 + improved test/picsmap.c:
1880 + lookup named colors for xpm files in rgb.txt
1881 + accept blanks in color-keys for xpm files.
1882 + if neither xbm/xpm work, try "convert", which may be available.
1885 + modify test/picsmap.c to read xpm files.
1886 + modify package/debian/* to create documentation packages, so the
1887 related files can be checked with lintian.
1888 + fix some typos in manpages (report/patch by Sven Joachim).
1891 + add test/picsmap.c to fill in some testing issues not met by dots.
1892 The initial version reads X bitmap (".xbm") files.
1893 + repair logic which forces a repaint where a color-pair's content is
1894 changed (cf: 20170311).
1895 + improve tracemunch, showing screenXX pointers as names.
1898 + modify tic/infocmp display of numeric values to use hexadecimal when
1899 they are "close" to a power of two, making the result more readable.
1900 + improve discussion of portability in curs_mouse.3x
1901 + change line-length for generated html/manpages to 78 columns from 65.
1902 + improve discussion of line-drawing characters in curs_add_wch.3x
1903 (prompted by discussion with Lorinczy Zsigmond).
1904 + cleanup formatting of hackguide.html and ncurses-intro.html
1905 + add examples for WACS_D_PLUS and WACS_T_PLUS to test/ncurses.c
1908 + corrected a case where $with_gpm was set to "maybe" after CF_WITH_GPM,
1909 overlooked in 20160528 fixes (report by Alexandre Bury).
1910 + improve a couple of test-program's help-messages.
1911 + corrected loop in rain.c from 20170415 changes.
1912 + modify winnstr and winchnstr to return error if the output pointer is
1913 null, as well as adding a null pointer check of the window pointer
1914 for better compatibility with other implementations.
1915 + improve discussion of NetBSD curses in scr_dump.5
1916 + modify LIMIT_TYPED macro in new_pair.h to avoid changing sign of the
1917 value to be limited (reports by Darby Payne, Rob Boudreau).
1918 + update config.guess, config.sub from
1919 http://git.savannah.gnu.org/cgit/config.git
1922 + build-fix for termcap-configuration (report by Chi-Hsuan Yen).
1923 + improve terminfo manual page discussion of control- and graphics-
1925 + remove tic warning about "^?" in string capabilities, which was
1926 marked as an extension (cf: 20000610, 20110820); however all Unix
1927 implementations support this and X/Open Curses does not address it.
1928 On the other hand, termcap never did support this feature.
1929 + correct missing comma-separator between string capabilities in
1930 icl6402 and m2-nam -TD
1931 + restore rmir/smir in ansi+idc to better match original ansiterm+idc,
1932 add alias ansiterm (report by Robert King).
1933 + amend an old check for ambiguous use of "ma" in terminfo versus
1934 a termcap use, if the capability is cancelled to treat it as number.
1935 + correct a case in _nc_captoinfo() which read "%%" and emitted "%".
1936 + modify sscanf calls in _nc_infotocap() for patterns "%{number}%+%c"
1937 and "%'char'%+%c" to check that the final character is really 'c',
1938 avoiding a case in icl6404 which cannot be converted to termcap.
1939 + in _nc_infotocap(), add a check to ensure that terminfo "^?" is not
1940 written to termcap, because the BSDs did not implement that.
1941 + in _nc_tic_expand() and _nc_infotocap(), improve string-length check
1942 when deciding whether to use "^X" or "\xxx" format for control
1943 characters, to make the output of tic/infocmp more predictable.
1944 + limit termcap "%d" width to 2 digits on input, and use "%2" in
1945 preference to "%02" on output.
1946 + correct terminfo/termcap conversion of "%02" and "%03" into "%2" and
1947 "%3"; the result repeated the last character.
1948 + add man/scr_dump.5 to document screen-dump format.
1951 + modify several test programs to use new popup_msgs, adapted from
1952 help-screen used in test/edit_field.c
1953 + drop two symbols obsoleted in 2004: _nc_check_termtype, and
1955 + fix some old copyright dates (cf: 20031025).
1956 + build-fixes for test/savescreen.c to work with AIX and HPUX.
1957 + minor fix to configure script, adding a backslash/continuation.
1958 + extend TERMINAL structure for ABI 6 to store numbers internally as
1959 integers rather than short, by adding new data for this purpose.
1960 + more fixes for minor memory-leaks in test-programs.
1963 + change logic in wins_nwstr() to avoid addressing data past the output
1965 + correct a call to setcchar() in Data_Entry_w() from 20131207 changes.
1966 + fix minor memory-leaks in test-programs.
1967 + further improve ifdef in term_entry.h for internal definitions not
1971 + minor fixes for vt100+4bsd, e.g., delay in sgr for consistency -TD
1972 + add smso for env230, to match sgr -TD
1973 + remove p7/protect from sgr in fbterm -TD
1974 + drop setf/setb from fbterm; setaf/setab are enough -TD
1975 + make xterm-pcolor sgr consistent with other capabilities -TD
1976 + add rmxx/smxx ECMA-48 strikeout extension to tmux and xterm-basic
1977 (discussion with Nicholas Marriott)
1978 + add test-programs sp_tinfo and extended_color
1979 + modify no-leaks code for lib_cur_term.c to account for the tgetent()
1981 + modify setupterm() to save original tty-modes so that erasechar()
1982 works as expected. Also modify _nc_setupscreen() to avoid redundant
1983 calls to get original tty-modes.
1984 + modify set_curterm() to update ttytype[] data used by longname().
1985 + modify wattr_set() and wattr_get() to return ERR if win-parameter is
1986 null, as documented.
1987 + improve cast used for null-pointer checks in header macros, to
1988 reduce compiler warnings.
1989 + modify several functions, using the reserved "opts" parameter to pass
1990 color- and pair-values larger than 16-bits:
1991 + getcchar(), setcchar(), slk_attr_set(), vid_puts(), wattr_get(),
1992 wattr_set(), wchgat(), wcolor_set().
1993 + Other functions call these with the corresponding altered behavior,
1994 including chgat(), mvchgat(), mvwchgat(), slk_color_on(),
1995 slk_color_off(), vid_attr().
1996 + add new functions for manipulating color- and pair-values larger
1997 than 16-bits. These are extended_color_content(),
1998 extended_pair_content(), extended_slk_color(), init_extended_color(),
1999 init_extended_pair(), and the corresponding sp-funcs.
2002 + fix a memory leak in the window-list when creating multiple screens
2003 (reports by Andres Martinelli, Debian #783486).
2004 + reviewed calls from link_test.c, added a few more null-pointer
2006 + add a null-pointer check in ungetmouse, in case mousemask was not
2007 called (report by "Kau").
2008 + updated curs_sp_funcs.3x for new functions.
2011 + change TERMINAL structure in term.h to make it opaque. Some
2012 applications misuse its members, e.g., directly modifying it
2013 rather than using def_prog_mode().
2014 + modify utility headers such as tic.h to make it clearer which are
2015 externals that are used by tack.
2016 + improve curs_slk.3x in particular its discussion of portability.
2017 + fix cut/paste in legacy_encoding.3x
2018 + add prototype for find_pair() to new_pair.3x (report by Branden
2020 + fix a couple of broken links in generated man-html documentation.
2021 + regenerate man-html documentation.
2024 + modify vt100 rs2 string to reset vt52 mode and scrolling regions
2025 (report/analysis by Robert King) -TD
2026 + add vt100+4bsd building block, use that for older terminals rather
2027 than "vt100" which is now mostly used as a building block for
2028 terminal emulators -TD
2029 + correct a few spelling errors in terminfo.src comments -TD
2031 + fix a typo in ncurses.c test_attr legend (patch by Petr Vanek).
2032 + changed internal colorpair_t to a struct, eliminating an internal
2033 8-bit limit on colors
2034 + add ncurses/new_pair.h
2035 + add ncurses/base/new_pair.c with alloc_pair(), find_pair() and
2036 free_pair() functions
2037 + add test/demo_new_pair.c
2040 + improve terminfo manual description of terminfo syntax.
2041 + clarify the use of wint_t vs wchar_t in curs_get_wstr.3x
2042 + improve description of endwin() in manual.
2043 + modify setcchar() and getcchar() to treat negative color-pair as an
2045 + fix a typo in include/hashed_db.h (Andre Sa).
2048 + fixes for CF_CC_ENV_FLAGS (report by Ross Burton).
2051 + fix several formatting issues with manual pages.
2052 + correct read of terminfo entry in which all strings are absent or
2053 explicitly cancelled. Before this fix, the result was that all were
2054 treated as only absent.
2055 + modify infocmp to suppress mixture of absent/cancelled capabilities
2056 that would only show as "NULL, NULL", unless the -q option is used,
2057 e.g., to show "-, @" or "@, -".
2060 + build-fixes for PGI compilers (report by Adam J. Stewart)
2061 + accept whitespace in sed expression for generating expanded.c
2062 + modify configure check that g++ compiler warnings are not used.
2063 + add configure check for -fPIC option needed for shared libraries.
2064 + let configure --disable-ext-funcs override the default for the
2065 --enable-sp-funcs option.
2066 + mark some structs in form/menu/panel libraries as potentially opaque
2067 without modifying API/ABI.
2068 + add configure option --enable-opaque-curses for ncurses library and
2069 similar options for the other libraries.
2072 + trim newlines, tabs and escaped newlines from terminfo "paths" passed
2074 + ignore zero-length files in db-iterator; these are useful for
2075 instance to suppress "$HOME/.terminfo" when not wanted.
2076 + amended "b64:" encoder to work with the terminfo reader.
2077 + modify terminfo reader to accept "b64:" format using RFC-3548 in
2078 as well as RFC-4648 url/filename-safe format.
2079 + modify terminfo reader to accept "hex:" format as generated by
2080 "infocmp -0qQ1" (cf: 20150905).
2081 + adjust authors comment to reflect drop below 1% for SV.
2084 + minor comment-fixes to help automate links to bug-urls -TD
2085 + add dvtm, dvtm-256color -TD
2086 + add settings corresponding to xterm-keys option to tmux entry to
2087 reflect upcoming change to make that option "on" by default
2088 (patch by Nicholas Marriott).
2089 + uncancel Ms in tmux entry (Harry Gindi, Nicholas Marriott).
2090 + add dumb-emacs-ansi -TD
2093 + improve discussion of early history of tput program.
2094 + incorporate A_COLOR mask into COLOR_PAIR(), in case user application
2095 provides an out-of-range pair number (report by Elijah Stone).
2096 + clarify description in tput manual page regarding support for
2097 termcap names (prompted by FreeBSD #214709).
2098 + remove a restriction in tput's support for termcap names which
2099 omitted capabilities normally not shown in termcap translations
2101 + modify configure script for clang as used on FreeBSD, to work around
2102 clang's differences in exit codes vs gcc.
2105 + improve discussion of early history of tset/reset programs.
2106 + clarify in manual pages that the optional verbose option level is
2107 available only when ncurses is configured for tracing.
2108 + amend change from 20161231 to avoid writing traces to the standard
2109 error after initializing the trace feature using the environment
2113 + amend changes for tput to reset tty modes to "sane" if the program
2114 is run as "reset", like tset. Likewise, ensure that tset sends
2115 either reset- or init-strings.
2116 + improve manual page descriptions of tput init/reset and tset/reset,
2117 to make it easier to see how they are similar and different.
2118 + move a static result from key_name() to _nc_globals
2119 + modify _nc_get_screensize to allow for use_env() and use_tioctl()
2120 state to be per-screen when sp-funcs are configured, better matching
2121 the behavior when using the term-driver configuration.
2122 + improve cross-references in manual pages for often used functions
2123 + move SCREEN field for use_tioctl() data before the ncursesw fields,
2124 and limit that to the sp-funcs configuration to improve termlib
2125 compatibility (cf: 20120714).
2126 + correct order of initialization for traces in use_env() and
2127 use_tioctl() versus first trace calls.
2130 + fix errata for ncurses-howto (report by Damien Ruscoe).
2131 + fix a few places in configure/build scripts where DESTDIR and rpath
2132 were combined (report by Thomas Klausner).
2133 + merge current st description (report by Harry Gindi) -TD
2134 + modify flash capability for linux and wyse entries to put the delay
2135 between the reverse/normal escapes rather than after -TD
2136 + modify program tabs to pass the actual tty file descriptor to
2137 setupterm rather than the standard output, making padding work
2139 + explain in clear's manual page that it writes to stdout.
2140 + add special case for verbose debugging traces of command-line
2141 utilities which write to stderr (cf: 20161126).
2142 + remove a trace with literal escapes from skip_DECSCNM(), added in
2144 + update config.guess, config.sub from
2145 http://git.savannah.gnu.org/cgit/config.git
2148 + correct parameters for copywin call in _nc_Synchronize_Attributes()
2149 (patch by Leon Winter).
2150 + improve color-handling section in terminfo manual page (prompted by
2151 patch by Mihail Konev).
2152 + modify programs clear, tput and tset to pass the actual tty file
2153 descriptor to setupterm rather than the standard output, making
2157 + add tput-colorcube demo script.
2158 + add -r and -s options to tput-initc demo, to match usage in xterm.
2159 + flush the standard output in _nc_flush for the case where SP is zero,
2160 e.g., when called via putp. This fixes a scenario where "tput flash"
2161 did not work after changes in 20130112.
2164 + add configure script option --disable-wattr-macros for use in cases
2165 where one wants to use the same headers for ncurses5/ncurses6
2166 development, by suppressing the wattr* macros which differ due to
2167 the introduction of extended colors (prompted by comments in
2168 Debian #230990, Redhat #1270534).
2169 + add test/tput-initc to demonstrate tput used to initialize palette
2171 + modify test/xterm*.dat to use the newer color4/color12 values.
2174 + improve discussion of field validation in form_driver.3x manual page.
2175 + update curs_trace.3x manual page.
2178 + modify linux-16color to not mask dim, standout or reverse with the
2180 + add 0.1sec mandatory delay to flash capabilities using the VT100
2181 reverse-video control -TD
2182 + omit selection of ISO-8859-1 for G0 in enacs capability from linux2.6
2183 entry, to avoid conflict with the user-defined mapping. The reset
2184 feature will use ISO-8859-1 in any case (Mikulas Patocka).
2185 + improve check in tic for delays by also warning about beep/flash
2186 when a delay is not embedded, or if those use the VT100 reverse
2187 video escape without using a delay.
2188 + minor fix for syntax-check of delays from 20161119 changes.
2189 + modify trace() to avoid overwriting existing file (report by Maor
2193 + add check in tic for some syntax errors of delays, as well as use of
2194 proportional delays for non-line capabilities.
2195 + document history of the clear program and the E3 extension, prompted
2196 by various discussions including
2197 http://unix.stackexchange.com/questions/87469/clearing-the-old-scrollback-buffer
2200 + improve -W option in tic/infocmp:
2201 + correct order of size-adjustments in wrapped lines
2202 + if -f option splits line, do not further split it with -W
2203 + begin a new line when adding "use=" after a wrapped line
2206 + fix typo in man/terminfo.tail (Alain Williams).
2207 + correct program-name in adacurses6-config.1 manual page.
2210 + add new function "unfocus_current_field" (Leon Winter)
2213 + modify tset -w (and tput reset) to update the program's copy of the
2214 screensize if it was already set in the system, to improve tabstop
2215 setting which relies upon knowing the actual screensize.
2216 + add functionality of tset -w to tput, like the "-c" feature this is
2217 not optional in tput.
2218 + add "clear" as a possible link/alias to tput.
2219 + improve tput's check for being called as "init" or "reset" to allow
2220 for transformed names.
2221 + split-out the "clear" function from progs/clear.c, share with
2222 tput to get the same behavior, e.g., the E3 extension.
2225 + amend internal use of tputs to consistently use the number of lines
2226 affected, e.g., for insert/delete character operations. While
2227 merging terminfo source early in 1995, several descriptions used the
2228 "*" proportional delay for these operations, prompting a change in
2230 + regenerate llib-* files.
2231 + regenerate HTML manpages.
2232 + fix several formatting issues with manual pages.
2235 + adjust size in infocmp/tic to work with strlcpy.
2236 + fix configure script to record when strlcat is found on OpenBSD.
2237 + build-fix for "recent" OpenBSD vs baudrate.
2240 + add -W option to tic/infocmp to force long strings to wrap. This is
2241 in addition to the -w option which attempts to fit capabilities into
2242 a given line-length.
2243 + add linux-m1 minitel entries (patch by Alexandre Montaron).
2244 + correct rs2 string for vt100-nam -TD
2247 + modify _nc_tic_expand to escape comma if it immediately follows a
2248 percent sign, to work with minitel change.
2249 + updated minitel and viewdata descriptions (Alexandre Montaron).
2252 + build-fix for gnat6, which unhelpfully attempts to compile C files.
2253 + fix typo in 20160910 changes (Debian #837892, patch by Sven Joachim).
2256 + trim dead code ifdef'd with HIDE_EINTR since 970830 (discussion with
2258 + trim some obsolete/incorrect wording about EINTR from wgetch manual
2259 page (patch by Leon Winter).
2260 + really correct 20100515 change (patch by Rich Coe).
2261 + add "--enable-string-hacks" option to test/configure
2262 + completed string-hacks for "sprintf", etc., including test-programs.
2263 + make "--enable-string-hacks" work with Debian by checking for the
2264 "bsd" library and its associated "<bsd/string.h>" header.
2267 + correct 20100515 change for weak signals versus sigprocmask (report
2269 + modify misc/Makefile.in to work around OpenBSD "make" which unlike
2270 all other versions of "make" does not recognize continuation lines
2272 + amend the last change to CF_C_ENV_FLAGS to move only the
2273 preprocessor, optimization and warning flags to CPPFLAGS and CFLAGS,
2274 leaving the residue in CC. That happens to work for gcc's various
2275 "model" options, but may require tuning for other compilers (report
2279 + add "v" menu entry to test/ncurses.c to show baudrate and other
2281 + add "newer" baudrate symbols from Linux and FreeBSD to progs/tset.c,
2283 + modify CF_XOPEN_SOURCE macro:
2284 + add "uclinux" to case for "linux" (patch by Yann E. Morin)
2285 + modify _GNU_SOURCE for cygwin headers, tested with cygwin 2.3, 2.5
2286 (patch by Corinna Vinschen, from changes to tin).
2287 + improve CF_CC_ENV_FLAGS macro to allow for compiler wrappers such
2288 as "ccache" (report by Enrico Scholz).
2289 + update config.guess, config.sub from
2290 http://git.savannah.gnu.org/cgit/config.git
2293 + update tput manual page to reflect changes to manipulate terminal
2294 modes by sharing functions with tset.
2295 + add the terminal-mode parts of "reset" (aka tset) to the "tput reset"
2296 command, making the two almost the same except for window-size.
2297 + adapt logic used in dialog "--keep-tite" option for test/filter.c as
2298 "-a" option. When set, test/filter attempts to suppress the
2300 + correct a typo in interix entry -TD
2303 + add a dependency upon generated-sources in Ada95/src/Makefile.in to
2304 handle a case of "configure && make install".
2305 + trim trailing blanks from include/Caps*, to work around a problem
2306 in sed (Debian #818067).
2309 + improve CF_GNU_SOURCE configure macro to optionally define
2310 _DEFAULT_SOURCE work around a nuisance in recent glibc releases.
2311 + move the terminfo-specific parts of tput's "reset" function into
2312 the shared reset_cmd.c, making the two forms of reset use the same
2314 + split-out the terminal initialization functions from tset as
2315 progs/reset_cmd.c, as part of changes to merge the reset-feature
2319 + change tset's initialization to allow it to get settings from the
2320 standard input as well as /dev/tty, to be more effective when
2321 output or error are redirected.
2322 + improve discussion of history and portability for tset/reset/tput
2326 + improve error message from tset/reset when both stderr/stdout are
2327 redirected to a file or pipe.
2328 + improve organization of curs_attr.3x, curs_color.3x
2331 + work around Debian's antique/unmaintained version of mawk when
2333 + improve test/list_keys.c, showing ncurses's convention of modifiers
2334 for special keys, based on xterm.
2337 + improve test/list_keys.c, using $TERM if no parameters are given.
2340 + build-fixes for ncurses "test_progs" rule.
2341 + amend change to CF_CC_ENV_FLAGS in 20160521 to make multilib build
2342 work (report by Sven Joachim).
2345 + build-fixes for ncurses-examples with NetBSD curses.
2346 + improve test/list_keys.c, fixing column-widths and sorting the list
2347 to make it more readable.
2350 + revise fix for Debian #805618 (report by Vlado Potisk, cf: 20151128).
2351 + modify test/ncurses.c a/A screens to make exiting on an escape
2352 character depend on the start of keypad and timeout modes, to allow
2353 better testing of function-keys.
2354 + modify rs1 for xterm-16color, xterm-88color and xterm-256color to
2355 reset palette using "oc" string as in linux -TD
2356 + use ANSI reply for u8 in xterm-new, to reflect vt220-style responses
2357 that could be returned -TD
2358 + added a few capabilities fixed in recent vte -TD
2361 + correct logic for -f option in test/demo_terminfo.c
2362 + add test/list_keys.c
2365 + further workaround for PIE/PIC breakage which causes gpm to not link.
2366 + fix most cppcheck warnings, mostly style, in ncurses library.
2369 + improved manual page description of tset/reset versus window-size.
2370 + fixes to work with a slightly broken compiler configuration which
2371 cannot compile "Hello World!" without adding compiler options
2372 (report by Ola x Nilsson):
2373 + pass appropriate compiler options to the CF_PROG_CC_C_O macro.
2374 + when separating compiler and options in CF_CC_ENV_FLAGS, ensure
2375 that all options are split-off into CFLAGS or CPPFLAGS
2376 + restore some -I options removed in 20140726 because they appeared
2377 to be redundant. In fact, they are needed for a compiler that
2378 cannot combine -c and -o options.
2381 + regenerate HTML manpages.
2382 + improve manual pages for wgetch and wget_wch to point out that they
2383 might return values without names in curses.h (Debian #822426).
2384 + make linux3.0 entry the default linux entry (Debian #823658) -TD
2385 + modify linux2.6 entry to improve line-drawing so that the linux3.0
2386 entry can be used in non-UTF-8 mode -TD
2387 + document return value of use_extended_names (report by Mike Gran).
2390 + amend change to _nc_do_color to restore the early return for the
2391 special case used in _nc_screen_wrap (report by Dick Streefland,
2393 + modify test/ncurses.c:
2394 + check return-value of putwin
2395 + correct ifdef which made the 'g' test's legend not reflect changes
2396 to keypad- and scroll-modes.
2397 + correct return-value of extended putwin (report by Mike Gran).
2400 + modify test/ncurses.c 'd' edit-color menu to optionally read xterm
2401 color palette directly from terminal, as well as handling KEY_RESIZE
2402 and screen-repainting with control/L and control/R.
2403 + add 'oc' capability to xterm+256color, allowing palette reset for
2407 + add workaround in configure script for inept transition to PIE vs
2408 PIC builds documented in
2409 https://fedoraproject.org/wiki/Changes/Harden_All_Packages
2410 + add "reset" to list of programs whose names might change in manpages
2411 due to program-transformation configure options.
2412 + drop long-obsolete "-n" option from tset.
2415 + modify test/blue.c to use Unicode values for card-glyphs when
2416 available, as well as improving the check for CP437 and CP850.
2419 + regenerate HTML manpages.
2420 + improve manual pages for utilities with respect to POSIX versus
2424 + regenerate HTML manpages.
2425 + improve test/demo_menus.c, allowing mouse-click on the menu-headers
2426 to switch the active menu. This requires a new extension option
2427 O_MOUSE_MENU to tell the menu driver to put mouse events which do not
2428 apply to the active menu back into the queue so that the application
2429 can handle the event.
2432 + improve description of tgoto parameters (report by Steffen Nurpmeso).
2433 + amend workaround for Solaris line-drawing to restore a special case
2434 that maps Unicode line-drawing characters into the acsc string for
2435 non-Unicode locales (Debian #816888).
2438 + modified test/filter.c to illustrate an alternative to getnstr, that
2439 polls for input while updating a clock on the right margin as well
2440 as responding to window size-changes.
2443 + omit a redefinition of "inline" when traces are enabled, since this
2444 does not work with gcc 5.3.x MinGW cross-compiling (cf: 20150912).
2447 + modify test/configure script to check for pthread dependency of
2448 ncursest or ncursestw library when building ncurses examples, e.g.,
2449 in case weak symbols are used.
2450 + modify configure macro for shared-library rules to use -Wl,-rpath
2451 rather than -rpath to work around a bug in scons (FreeBSD #178732,
2453 + double-width multibyte characters were not counted properly in
2454 winsnstr and wins_nwstr (report/example by Eric Pruitt).
2455 + update config.guess, config.sub from
2456 http://git.savannah.gnu.org/cgit/config.git
2459 + amend fix for _nc_ripoffline from 20091031 to make test/ditto.c work
2460 in threaded configuration.
2461 + move _nc_tracebits, _tracedump and _tracemouse to curses.priv.h,
2462 since they are not part of the suggested ABI6.
2465 + define WIN32_LEAN_AND_MEAN for MinGW port, making builds faster.
2466 + modify test/ditto.c to allow $XTERM_PROG environment variable to
2467 override "xterm" as the name of the program to run in the threaded
2471 + improve formatting of man/curs_refresh.3x and man/tset.1 manpages
2472 + regenerate HTML manpages using newer man2html to eliminate some
2473 unwanted blank lines.
2476 + ifdef'd header-file definition of mouse_trafo() with NCURSES_NOMACROS
2477 (report by Corey Minyard).
2478 + fix some strict compiler-warnings in traces.
2481 + tidy up comments about hardcoded 256color palette (report by
2482 Leonardo Brondani Schenkel) -TD
2483 + add putty-noapp entry, and amend putty entry to use application mode
2484 for better consistency with xterm (report by Leonardo Brondani
2486 + modify _nc_viscbuf2() and _tracecchar_t2() to trace wide-characters
2487 as a whole rather than their multibyte equivalents.
2488 + minor fix in wadd_wchnstr() to ensure that each cell has nonzero
2490 + move PUTC_INIT calls next to wcrtomb calls, to avoid carry-over of
2491 error status when processing Unicode values which are not mapped.
2494 + modify ncurses c/C color test-screens to take advantage of wide
2495 screens, reducing the number of lines used for 88- and 256-colors.
2496 + minor refinement to check versus ncv to ignore two parameters of
2497 SGR 38 and 48 when those come from color-capabilities.
2500 + add check in tic for use of bold, etc., video attributes in the
2501 color capabilities, accounting whether the feature is listed in ncv.
2502 + add check in tic for conflict between ritm, rmso, rmul versus sgr0.
2505 + add a paragraph to curs_getch.3x discussing key naming (discussion
2506 with James Crippen).
2507 + amend workaround for Solaris vs line-drawing to take the configure
2509 + add a configure check for wcwidth() versus the ncurses line-drawing
2510 characters, to use in special-casing systems such as Solaris.
2513 + improve CF_XOPEN_CURSES macro used in test/configure, to define as
2514 needed NCURSES_WIDECHAR for platforms where _XOPEN_SOURCE_EXTENDED
2515 does not work. Also modified the test program to ensure that if
2516 building with ncurses, that the cchar_t type is checked, since that
2517 normally is since 20111030 ifdef'd depending on this test.
2518 + improve 20121222 workaround for broken acs, letting Solaris "work"
2519 in spite of its misconfigured wcwidth which marks all of the line
2520 drawing characters as double-width.
2523 + update form_cursor.3x, form_post.3x, menu_attributes.3x to list
2524 function names in NAME section (patch by Jason McIntyre).
2525 + minor fixes to manpage NAME/SYNOPSIS sections to consistently use
2526 rule that either all functions which are prototyped in SYNOPSIS are
2527 listed in the NAME section, or the manual-page name is the sole item
2528 listed in the NAME section. The latter is used to reduce clutter,
2529 e.g., for the top-level library manual pages as well as for certain
2530 feature-pages such as SP-funcs and threading (prompted by patches by
2534 + add option to preserve leading whitespace in form fields (patch by
2536 + add missing assignment in lib_getch.c to make notimeout() work
2538 + add 't' toggle for notimeout() function in test/ncurses.c a/A screens
2539 + add viewdata terminal description (Alexandre Montaron).
2540 + fix a case in tic/infocmp for formatting capabilities where a
2541 backslash at the end of a string was mishandled.
2542 + fix some typos in curs_inopts.3x (Benno Schulenberg).
2545 + fix some inconsistencies in the pccon* entries -TD
2546 + add bold to pccon+sgr+acs and pccon-base (Tati Chevron).
2547 + add keys f12-f124 to pccon+keys (Tati Chevron).
2548 + add test/test_sgr.c program to exercise all combinations of sgr.
2551 + modify tset's assignment to TERM in its output to reflect the name by
2552 which the terminal description is found, rather than the primary
2553 name. That was an unnecessary part from the initial conversion of
2554 tset from termcap to terminfo. The termcap program in 4.3BSD did
2555 this to avoid using the short 2-character name (report by Rich
2557 + minor fix to configure script to ensure that rules for resulting.map
2558 are only generated when needed (cf: 20151101).
2559 + modify configure script to handle the case where tic-library is
2560 renamed, but the --with-debug option is used by itself without
2561 normal or shared libraries (prompted by comment in Debian #803482).
2564 + amend change for pkg-config which allows build of pc-files when no
2565 valid pkg-config library directory was configured to suppress the
2566 actual install if it is not overridden to a valid directory at
2567 install time (cf: 20150822).
2568 + modify editing script which generates resulting.map to work with the
2569 clang configuration on recent FreeBSD, which gives an error on an
2570 empty "local" section.
2571 + fix a spurious "(Part)" message in test/ncurses.c b/B tests due
2572 to incorrect attribute-masking.
2575 + modify MKexpanded.sh to update the expansion of a temporary filename
2576 to "expanded.c", for use in trace statements.
2577 + modify layout of b/B tests in test/ncurses.c to allow for additional
2578 annotation on the right margin; some terminals with partial support
2579 did not display well.
2580 + fix typo in curs_attr.3x (patch by Sven Joachim).
2581 + fix typo in INSTALL (patch by Tomas Cech).
2582 + improve configure check for setting WILDCARD_SYMS variable; on ppc64
2583 the variable is in the Data section rather than Text (patch by Michel
2584 Normand, Novell #946048).
2585 + using configure option "--without-fallbacks" incorrectly caused
2586 FALLBACK_LIST to be set to "no" (patch by Tomas Cech).
2587 + updated minitel entries to fix kel problem with emacs, and add
2588 minitel1b-nb (Alexandre Montaron).
2589 + reviewed/updated nsterm entry Terminal.app in OSX -TD
2590 + replace some dead URLs in comments with equivalents from the
2591 Internet Archive -TD
2592 + update config.guess, config.sub from
2593 http://git.savannah.gnu.org/cgit/config.git
2596 + modify ncurses/Makefile.in to sort keys.list in POSIX locale
2597 (Debian #801864, patch by Esa Peuha).
2598 + remove an early-return from _nc_do_color, which can interfere with
2599 data needed by bkgd when ncurses is configured with extended colors
2600 (patch by Denis Tikhomirov).
2601 > fixes for OS/2 (patches by KO Myung-Hun)
2602 + use button instead of kbuf[0] in EMX-specific part of lib_mouse.c
2603 + support building with libtool on OS/2
2604 + use stdc++ on OS/2 kLIBC
2605 + clear cf_XOPEN_SOURCE on OS/2
2608 + add configure check for openpty to test/configure script, for ditto.
2609 + minor fixes to test/view.c in investigating Debian #790847.
2610 + update autoconf patch to 2.52.20150926, incorporates a fix for Cdk.
2611 + add workaround for breakage of POSIX makefiles by recent binutils
2613 + improve check for working poll() by using posix_openpt() as a
2614 fallback in case there is no valid terminal on the standard input
2615 (prompted by discussion on bug-ncurses mailing list, Debian #676461).
2618 + change makefile rule for removing resulting.map to distclean rather
2620 + add /lib/terminfo to terminfo-dirs in ".deb" test-package.
2621 + add note on portability of resizeterm and wresize to manual pages.
2624 + clarify in resizeterm.3x how KEY_RESIZE is pushed onto the input
2626 + clarify in curs_getch.3x that the keypad mode affects ability to
2627 read KEY_MOUSE codes, but does not affect KEY_RESIZE.
2628 + add overlooked build-fix needed with Cygwin for separate Ada95
2629 configure script, cf: 20150606 (report by Nicolas Boulenguez)
2632 + fixes for configure/build using clang on OSX (prompted by report by
2634 + do not redefine "inline" in ncurses_cfg.h; this was originally to
2635 solve a problem with gcc/g++, but is aggravated by clang's misuse
2636 of symbols to pretend it is gcc.
2637 + add braces to configure script to prevent unwanted add of
2638 "-lstdc++" to the CXXLIBS symbol.
2639 + improve/update test-program used for checking existence of stdc++
2641 + if $CXXLIBS is set, the linkage test uses that in addition to $LIBS
2644 + add note in curs_addch.3x about line-drawing when it depends upon
2646 + add tic -q option for consistency with infocmp, use it to suppress
2647 all comments from the "tic -I" output.
2648 + modify infocmp -q option to suppress the "Reconstructed from"
2650 + add infocmp/tic -Q option, which allows one to dump the compiled
2651 form of the terminal entry, in hexadecimal or base64.
2654 + sort options in usage message for infocmp, to make it simpler to
2656 + update usage message for tic, adding "-0" option.
2657 + documented differences in ESCDELAY versus AIX's implementation.
2658 + fix some compiler warnings from ports.
2659 + modify --with-pkg-config-libdir option to make it possible to install
2660 ".pc" files even if pkg-config is not found (adapted from patch by
2664 + disallow "no" as a possible value for "--with-shlib-version" option,
2665 overlooked in cleanup-changes for 20000708 (report by Tommy Alex).
2666 + update release notes in INSTALL.
2667 + regenerate llib-* files to help with review for release notes.
2670 + workaround for Debian #65617, which was fixed in mawk's upstream
2671 releases in 2009 (report by Sven Joachim). See
2672 https://invisible-island.net/mawk/CHANGES.html#t20090727
2674 20150808 6.0 release for upload to ftp.gnu.org
2677 + build-fix for Ada95 on older platforms without stdint.h
2678 + build-fix for Solaris, whose /bin/sh and /usr/bin/sed are non-POSIX.
2679 + update release announcement, summarizing more than 800 changes across
2680 more than 200 snapshots.
2681 + minor fixes to manpages, etc., to simplify linking from announcement
2685 + updated llib-* files.
2686 + build-fixes for ncurses library "test_progs" rule.
2687 + use alternate workaround for gcc 5.x feature (adapted from patch by
2689 + add status line to tmux via xterm+sl (patch by Nicholas Marriott).
2690 + fixes for st 0.5 from testing with tack -TD
2691 + review/improve several manual pages to break up wall-of-text:
2692 curs_add_wch.3x, curs_attr.3x, curs_bkgd.3x, curs_bkgrnd.3x,
2693 curs_getcchar.3x, curs_getch.3x, curs_kernel.3x, curs_mouse.3x,
2694 curs_outopts.3x, curs_overlay.3x, curs_pad.3x, curs_termattrs.3x
2695 curs_trace.3x, and curs_window.3x
2698 + correct an old logic error for %A and %O in tparm (report by "zreed").
2699 + improve documentation for signal handlers by adding section in the
2700 curs_initscr.3x page.
2701 + modify logic in make_keys.c to not assume anything about the size
2702 of strnames and strfnames variables, since those may be functions
2703 in the thread- or broken-linker configurations (problem found by
2705 + modify test/configure script to check for pthreads configuration,
2706 e.g., ncursestw library.
2709 + modify scripts to build/use test-packages for the pthreads
2710 configuration of ncurses6.
2711 + add references to ttytype and termcap symbols in demo_terminfo.c and
2712 demo_termcap.c to ensure that when building ncursest.map, etc., that
2713 the corresponding names such as _nc_ttytype are added to the list of
2714 versioned symbols (report by Werner Fink)
2715 + fix regression from 20150704 (report/patch by Werner Fink).
2718 + fix a few problems reported by Coverity.
2719 + fix comparison against "/usr/include" in misc/gen-pkgconfig.in
2720 (report by Daiki Ueno, Debian #790548, cf: 20141213).
2723 + modify configure script to remove deprecated ABI 5 symbols when
2725 + add symbols _nc_Default_Field, _nc_Default_Form, _nc_has_mouse to
2726 map-files, but marked as deprecated so that they can easily be
2727 suppressed from ABI 6 builds (Debian #788610).
2728 + comment-out "screen.xterm" entry, and inherit screen.xterm-256color
2729 from xterm-new (report by Richard Birkett) -TD
2730 + modify read_entry.c to set the error-return to -1 if no terminal
2731 databases were found, as documented for setupterm.
2732 + add test_setupterm.c to demonstrate normal/error returns from the
2733 setupterm and restartterm functions.
2734 + amend cleanup change from 20110813 which removed redundant definition
2735 of ret_error, etc., from tinfo_driver.c, to account for the fact that
2736 it should return a bool rather than int (report/analysis by Johannes
2740 + fix overflow warning for OSX with lib_baudrate.c (cf: 20010630).
2741 + modify script used to generate map/sym files to mark 5.9.20150530 as
2742 the last "5.9" version, and regenerated the files. That makes the
2743 files not use ".current" for the post-5.9 symbols. This also
2744 corrects the label for _nc_sigprocmask used in when weak symbols are
2745 configured for the ncursest/ncursestw libraries (prompted by
2746 discussion with Sven Joachim).
2747 + fix typo in NEWS (report by Sven Joachim).
2749 20150606 pre-release
2750 + make ABI 6 the default by updates to dist.mk and VERSION, with the
2751 intention that the existing ABI 5 should build as before using the
2752 "--with-abi-version=5" option.
2753 + regenerate ada- and man-html documentation.
2754 + minor fixes to color- and util-manpages.
2755 + fix a regression in Ada95/gen/Makefile.in, to handle special case of
2756 Cygwin, which uses the broken-linker feature.
2757 + amend fix for CF_NCURSES_CONFIG used in test/configure to assume that
2758 ncurses package scripts work when present for cross-compiling, as the
2759 lessor of two evils (cf: 20150530).
2760 + add check in configure script to disallow conflicting options
2761 "--with-termlib" and "--enable-term-driver".
2762 + move defaults for "--disable-lp64" and "--with-versioned-syms" into
2763 CF_ABI_DEFAULTS macro.
2766 + change private type for Event_Mask in Ada95 binding to work when
2767 mmask_t is set to 32-bits.
2768 + remove spurious "%;" from st entry (report by Daniel Pitts) -TD
2769 + add vte-2014, update vte to use that -TD
2770 + modify tic and infocmp to "move" a diagnostic for tparm strings that
2771 have a syntax error to tic's "-c" option (report by Daniel Pitts).
2772 + fix two problems with configure script macros (Debian #786436,
2773 cf: 20150425, cf: 20100529).
2776 + add 'P' menu item to test/ncurses.c, to show pad in color.
2777 + improve discussion in curs_color.3x about color rendering (prompted
2778 by comment on Stack Overflow forum):
2779 + remove screen-bce.mlterm, since mlterm does not do "bce" -TD
2780 + add several screen.XXX entries to support the respective variations
2782 + add putty+fnkeys* building-block entries -TD
2783 + add smkx/rmkx to capabilities analyzed with infocmp "-i" option.
2786 + amend change to ".pc" files to only use the extra loader flags which
2787 may have rpath options (report by Sven Joachim, cf: 20150502).
2788 + change versioning for dpkg's in test-packages for Ada95 and
2789 ncurses-examples for consistency with Debian, to work with package
2791 + regenerate html manpages.
2792 + clarify handling of carriage return in waddch manual page; it was
2793 discussed only in the portability section (prompted by comment on
2794 Stack Overflow forum):
2797 + add test-packages for cross-compiling ncurses-examples using the
2798 MinGW test-packages. These are only the Debian packages; RPM later.
2799 + cleanup format of debian/copyright files
2800 + add pc-files to the MinGW cross-compiling test-packages.
2801 + correct a couple of places in gen-pkgconfig.in to handle renaming of
2805 + modify the configure script to allow different default values
2806 for ABI 5 versus ABI 6.
2807 + add wgetch-events to test-packages.
2808 + add a note on how to build ncurses-examples to test/README.
2809 + fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
2811 + remove unnecessary ';' from E3 capabilities -TD
2812 + add tmux entry, derived from screen (patch by Nicholas Marriott).
2813 + split-out recent change to nsterm-bce as nsterm-build326, and add
2814 nsterm-build342 to reflect changes with successive releases of OSX
2815 (discussion with Leonardo B Schenkel)
2816 + add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
2818 + add sample "magic" file, to document ext-putwin.
2819 + modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
2820 generated ".pc" file when ld option "--as-needed" is used, or when
2821 ncurses and tinfo are installed without using rpath (prompted by
2822 discussion with Sylvain Bertrand).
2823 + modify test-package for ncurses6 to omit rpath feature when installed
2825 + add OSX's "*.dSYM" to clean-rules in makefiles.
2826 + make extra-suffix work for OSX configuration, e.g., for shared
2828 + modify Ada95/configure script to work with pkg-config
2829 + move test-package for ncurses6 to /usr, since filename-conflicts have
2831 + corrected build rules for Ada95/gen/generate; it does not depend on
2832 the ncurses library aside from headers.
2833 + reviewed man pages, fixed a few other spelling errors.
2834 + fix a typo in curs_util.3x (Sven Joachim).
2835 + use extra-suffix in some overlooked shared library dependencies
2836 found by 20150425 changes for test-packages.
2837 + update config.guess, config.sub from
2838 http://git.savannah.gnu.org/cgit/config.git
2841 + expanded description of tgetstr's area pointer in manual page
2842 (report by Todd M Lewis).
2843 + in-progress changes to modify test-packages to use ncursesw6 rather
2844 than ncursesw, with updated configure scripts.
2845 + modify CF_NCURSES_CONFIG in Ada95- and test-configure scripts to
2846 check for ".pc" files via pkg-config, but add a linkage check since
2847 frequently pkg-config configurations are broken.
2848 + modify misc/gen-pkgconfig.in to include EXTRA_LDFLAGS, e.g., for the
2850 + add 'dim' capability to screen entry (report by Leonardo B Schenkel)
2851 + add several key definitions to nsterm-bce to match preconfigured
2852 keys, e.g., with OSX 10.9 and 10.10 (report by Leonardo B Schenkel)
2853 + fix repeated "extra-suffix" in ncurses-config.in (cf: 20150418).
2854 + improve term_variables manual page, adding section on the terminfo
2855 long-name symbols which are defined in the term.h header.
2856 + fix bug in lib_tracebits.c introduced in const-fixes (cf: 20150404).
2859 + avoid a blank line in output from tabs program by ending it with
2860 a carriage return as done in FreeBSD (patch by James Clarke).
2861 + build-fix for the "--enable-ext-putwin" feature when not using
2862 wide characters (report by Werner Fink).
2863 + modify autoconf macros to use scripting improvement from xterm.
2864 + add -brtl option to compiler options on AIX 5-7, needed to link
2865 with the shared libraries.
2866 + add --with-extra-suffix option to help with installing nonconflicting
2867 ncurses6 packages, e.g., avoiding header- and library-conflicts.
2868 NOTE: as a side-effect, this renames
2869 adacurses-config to adacurses5-config and
2870 adacursesw-config to adacursesw5-config
2871 + modify debian/rules test package to suffix programs with "6".
2872 + clarify in curs_inopts.3x that window-specific settings do not
2873 inherit into new windows.
2876 + improve description of start_color() in the manual.
2877 + modify several files in ncurses- and progs-directories to allow
2878 const data used in internal tables to be put by the linker into the
2879 readonly text segment.
2882 + correct cut/paste error for "--enable-ext-putwin" that made it the
2883 same as "--enable-ext-colors" (report by Roumen Petrov)
2886 + add "-f" option to test/savescreen.c to help with testing/debugging
2887 the extended putwin/getwin.
2888 + add logic for writing/reading combining characters in the extended
2890 + add "--enable-ext-putwin" configure option to turn on the extended
2894 + in-progress changes to provide an extended version of putwin and
2895 getwin which will be capable of reading screen-dumps between the
2896 wide/normal ncurses configurations. These are text files, except
2897 for a magic code at the beginning:
2898 0 string \210\210 Screen-dump (ncurses)
2901 + document limitations of getwin in manual page (prompted by discussion
2903 + extend test/savescreen.c to demonstrate that color pair values
2904 and graphic characters can be restored using getwin.
2907 + modify win_driver.c to eliminate the constructor, to make it more
2908 usable in an application which may/may not need the console window
2909 (report by Grady Martin).
2912 + capture define's related to -D_XOPEN_SOURCE from the configure check
2913 and add those to the *-config and *.pc files, to simplify use for
2914 the wide-character libraries.
2915 + modify ncurses.spec to accommodate Fedora21's location of pkg-config
2917 + correct sense of "--disable-lib-suffixes" configure option (report
2918 by Nicolas Boos, cf: 20140426).
2921 + regenerate html manpages using improved man2html from work on xterm.
2922 + regenerated ".map" and ".sym" files using improved script, accounting
2923 for the "--enable-weak-symbols" configure option (report by Werner
2927 + regenerated ".map" and ".sym" files using improved script, showing
2928 the combinations of configure options used at each stage.
2931 + add configure check to determine if "local: _*;" can be used in the
2932 ".map" files to selectively omit symbols beginning with "_". On at
2933 least recent FreeBSD, the wildcard applies to all "_" symbols.
2934 + remove obsolete/conflicting rule for ncurses.map from
2935 ncurses/Makefile.in (cf: 20130706).
2938 + improve description in INSTALL of the --with-versioned-syms option.
2939 + add combination of --with-hashed-db and --with-ticlib to
2940 configurations for ".map" files (report by Werner Fink).
2943 + add a step to generating ".map" files, to declare any remaining
2944 symbols beginning with "_" as local, at the last version node.
2945 + improve configure checks for pkg-config, addressing a variant found
2947 + modify win_driver.c to provide characters for special keys, like
2948 ansi.sys, when keypad mode is off, rather than returning nothing at
2949 all (discussion with Eli Zaretskii).
2950 + add "broken_linker" and "hashed-db" configure options to combinations
2951 use for generating the ".map" and ".sym" files.
2952 + avoid using "ld" directly when creating shared library, to simplify
2953 cross-compiles. Also drop "-Bsharable" option from shared-library
2954 rules for FreeBSD and DragonFly (FreeBSD #196592).
2955 + fix a memory leak in form library Free_RegularExpression_Type()
2956 (report by Pavel Balaev).
2959 + modify_nc_flush() to retry if interrupted (patch by Stian Skjelstad).
2960 + change map files to make _nc_freeall a global, since it may be used
2961 via the Ada95 binding when checking for memory leaks.
2962 + improve sed script used in 20141220 to account for wide-, threaded-
2963 variations in ABI 6.
2966 + regenerate ".map" files, using step overlooked in 20141213 to use
2967 the same patch-dates across each file to match ncurses.map (report by
2971 + fix an incorrect variable assignment in 20141220 changes (report by
2975 + updated Ada95/configure with macro changes from 20141213
2976 + tie configure options --with-abi-version and --with-versioned-syms
2977 together, so that ABI 6 libraries have distinct symbol versions from
2978 the ABI 5 libraries.
2979 + replace obsolete/nonworking link to man2html with current one,
2980 regenerate html-manpages.
2983 + modify misc/gen-pkgconfig.in to add -I option for include-directory
2984 when using both --prefix and --disable-overwrite (report by Misty
2986 + add configure option --with-pc-suffix to allow minor renaming of
2987 ".pc" files and the corresponding library. Use this in the test
2988 package for ncurses6.
2989 + modify configure script so that if pkg-config is not installed, it
2990 is still possible to install ".pc" files (report by Misty De Meo).
2991 + updated ".sym" files, removing symbols which are marked as "local"
2992 in the corresponding ".map" files.
2993 + updated ".map" files to reflect move of comp_captab and comp_hash
2994 from tic-library to tinfo-library in 20090711 (report by Sven
2998 + updated ".map" files so that each symbol that may be shared across
2999 the different library configurations has the same label. Some
3000 review is needed to ensure these are really compatible.
3001 + modify MKlib_gen.sh to work around change in development version of
3002 gcc introduced here:
3003 https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
3004 https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00236.html
3005 (reports by Marcus Shawcroft, Maohui Lei).
3006 + improved configure macro CF_SUBDIR_PATH, from lynx changes.
3009 + improved ".map" files by generating them with a script that builds
3010 ncurses with several related configurations and merges the results.
3011 A further refinement is planned, to make the tic- and tinfo-library
3012 symbols use the same versions across each of the four configurations
3013 which are represented (reports by Sven Joachim, Werner Fink).
3016 + improve description of limits for color values and color pairs in
3017 curs_color.3x (prompted by patch by Tim van der Molen).
3018 + add VERSION file, using first field in that to record the ABI version
3019 used for configure --with-libtool --disable-libtool-version
3020 + add configure options for applying the ".map" and ".sym" files to
3021 the ncurses, form, menu and panel libraries.
3022 + add ".map" and ".sym" files to show exported symbols, e.g., for
3026 + improve strict compiler-warnings by adding a cast in TRACE_RETURN
3027 and making a new TRACE_RETURN1 macro for cases where the cast does
3031 + in-progress changes to integrate the win32 console driver with the
3032 msys2 configuration.
3035 + reviewed terminology 0.6.1, add function key definitions. None of
3036 the vt100-compatibility issues were improved -TD
3037 + improve infocmp conversion of extended capabilities to termcap by
3038 correcting the limit check against parametrized[], as well as filling
3039 in a check if the string happens to have parameters, e.g., "xm"
3041 + add check for zero/negative dimensions for resizeterm and resize_term
3042 (report by Mike Gran).
3045 + add experimental support for xterm's 1005 mouse mode, to use in a
3046 demonstration of its limitations.
3047 + add experimental support for "%u" format to terminfo.
3048 + modify test/ncurses.c to also show position reports in 'a' test.
3049 + minor formatting fixes to _nc_trace_mmask_t, make this function
3050 exported to help with debugging mouse changes.
3051 + improve behavior of wheel-mice for xterm protocol, noting that there
3052 are only button-presses for buttons "4" and "5", so there is no need
3053 to wait to combine events into double-clicks (report/analysis by
3055 + provide examples xterm-1005 and xterm-1006 terminfo entries -TD
3056 + implement decoder for xterm SGR 1006 mouse mode.
3059 + implement curs_set in win_driver.c
3060 + implement flash in win_driver.c
3061 + fix an infinite loop in win_driver.c if the command-window loses
3063 + improve the non-buffered mode, i.e., NCURSES_CONSOLE2, of
3064 win_driver.c by temporarily changing the buffer-size to match the
3065 window-size to eliminate the scrollback. Also enforce a minimum
3066 screen-size of 24x80 in the non-buffered mode.
3067 + modify generated misc/Makefile to suppress install.data from the
3068 dependencies if the --disable-db-install option is used, compensating
3069 for the top-level makefile changes used to add ncurses*-config in the
3070 20140920 changes (report by Steven Honeyman).
3073 + add ncurses*-config to bin-directory of sample package-scripts.
3074 + add check to ensure that getopt is available; this is a problem in
3075 some older cross-compiler environments.
3076 + expanded on the description of --disable-overwrite in INSTALL
3077 (prompted by reports by Joakim Tjernlund, Thomas Klausner).
3078 See Gentoo #522586 and NetBSD #49200 for examples.
3079 which relates to the clarified guidelines.
3080 + remove special logic from CF_INCLUDE_DIRS which adds the directory
3081 for the --includedir from the build (report by Joakim Tjernlund).
3082 + add case for Unixware to CF_XOPEN_SOURCE, from lynx changes.
3083 + update config.sub from
3084 http://git.savannah.gnu.org/cgit/config.git
3087 + add a configure check to ignore some of the plethora of non-working
3088 C++ cross-compilers.
3089 + build-fixes for Ada95 with gnat 4.9
3092 + build-fix and other improvements for port of ncurses-examples to
3094 + minor compiler-warning fixes.
3097 + modify test/demo_termcap.c and test/demo_terminfo.c to make their
3098 options more directly comparable, and add "-i" option to specify
3099 a terminal description filename to parse for names to lookup.
3102 + fix special case where double-width character overwrites a single-
3103 width character in the first column (report by Egmont Koblinger,
3107 + fix colors in ncurses 'b' test which did not work after changing
3108 it to put the test-strings in subwindows (cf: 20140705).
3109 + merge redundant SEE-ALSO sections in form and menu manpages.
3112 + modify declarations for user-data pointers in C++ binding to use
3113 reinterpret_cast to facilitate converting typed pointers to void*
3114 in user's application (patch by Adam Jiang).
3115 + regenerated html manpages.
3116 + add note regarding cause and effect for TERM in ncurses manpage,
3117 having noted clueless verbiage in Terminal.app's "help" file
3118 which reverses cause/effect.
3119 + remove special fallback definition for NCURSES_ATTR_T, since macros
3120 have resolved type-mismatches using casts (cf: 970412).
3121 + fixes for win_driver.c:
3122 + handle repainting on endwin/refresh combination.
3127 + minor portability fixes for MinGW:
3128 + ensure WINVER is defined in makefiles rather than using headers
3129 + add check for gnatprep "-T" option
3130 + work around bug introduced by gcc 4.8.1 in MinGW which breaks
3132 http://stackoverflow.com/questions/20877689/gcc-4-8-1-minggw-d-option-does-not-work-as-usual
3133 + fix most compiler warnings for Cygwin ncurses-examples.
3134 + restore "redundant" -I options in test/Makefile.in, since they are
3135 typically needed when building the derived ncurses-examples package
3139 + eliminate some redundant -I options used for building libraries, and
3140 ensure that ${srcdir} is added to the include-options (prompted by
3141 discussion with Paul Gilmartin).
3142 + modify configure script to work with Minix3.2
3143 + add form library extension O_DYNAMIC_JUSTIFY option which can be
3144 used to override the different treatment of justification for static
3145 versus dynamic fields (adapted from patch by Leon Winter).
3146 + add a null pointer check in test/edit_field.c (report/analysis by
3147 Leon Winter, cf: 20130608).
3150 + make workarounds for compiling test-programs with NetBSD curses.
3151 + improve configure macro CF_ADD_LIBS, to eliminate repeated -l/-L
3152 options, from xterm changes.
3155 + correct Charable() macro check for A_ALTCHARSET in wide-characters.
3156 + build-fix for position-debug code in tty_update.c, to work with or
3160 + add w/W toggle to ncurses.c 'B' test, to demonstrate permutation of
3161 video-attributes and colors with double-width character strings.
3164 + correct check in win_driver.c for saving screen contents, e.g., when
3165 NCURSES_CONSOLE2 is set (cf: 20140503).
3166 + reorganize b/B menu items in ncurses.c, putting the test-strings into
3167 subwindows. This is needed for a planned change to use Unicode
3168 fullwidth characters in the test-screens.
3169 + correct update to form status for _NEWTOP, broken by fixes for
3170 compiler warnings (patch by Leon Winter, cf: 20120616).
3173 + change shared-library suffix for AIX 5 and 6 to ".so", avoiding
3174 conflict with the static library (report by Ben Lentz).
3175 + document RPATH_LIST in INSTALLATION file, as part of workarounds for
3176 upgrading an ncurses library using the "--with-shared" option.
3177 + modify test/ncurses.c c/C tests to cycle through subsets of the
3178 total number of colors, to better illustrate 8/16/88/256-colors by
3179 providing directly comparable screens.
3180 + add test/dots_curses.c, for comparison with the low-level examples.
3183 + fix dereference before null check found by Coverity in tic.c
3185 + fix sign-extension bug in read_entry.c which prevented "toe" from
3186 reading empty "screen+italics" entry.
3187 + modify sgr for screen.xterm-new to support dim capability -TD
3188 + add dim capability to nsterm+7 -TD
3189 + cancel dim capability for iterm -TD
3190 + add dim, invis capabilities to vte-2012 -TD
3191 + add sitm/ritm to konsole-base and mlterm3 -TD
3194 > fix regression in screen terminfo entries (reports by Christian
3195 Ebert, Gabriele Balducci) -TD
3196 + revert the change to screen; see notes for why this did not work -TD
3197 + cancel sitm/ritm for entries which extend "screen", to work around
3198 screen's hardcoded behavior for SGR 3 -TD
3201 + separate masking for sgr in vidputs from sitm/ritm, which do not
3202 overlap with sgr functionality.
3203 + remove unneeded -i option from adacurses-config; put -a in the -I
3204 option for consistency (patch by Pascal Pignard).
3205 + update xterm-new terminfo entry to xterm patch #305 -TD
3206 + change format of test-scripts for Debian Ada95 and ncurses-examples
3207 packages to quilted to work around Debian #700177 (cf: 20130907).
3208 + build fix for form_driver_w.c as part of ncurses-examples package for
3209 older ncurses than 20131207.
3210 + add Hello World example to adacurses-config manpage.
3211 + remove unused --enable-pc-files option from Ada95/configure.
3212 + add --disable-gnat-projects option for testing.
3213 + revert changes to Ada95 project-files configuration (cf: 20140524).
3214 + corrected usage message in adacurses-config.
3217 + fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
3218 environment variable.
3219 + improve discussion of input-echoing in curs_getch.3x
3220 + clarify discussion in curs_addch.3x of wrapping.
3221 + modify parametrized.h to make fln non-padded.
3222 + correct several entries which had termcap-style padding used in
3223 terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
3224 + correct syntax for padding in some entries: dg211, h19 -TD
3225 + correct ti924-8 which had confused padding versus octal escapes -TD
3226 + correct padding in sbi entry -TD
3227 + fix an old bug in the termcap emulation; "%i" was ignored in tparm()
3228 because the parameters to be incremented were already on the internal
3229 stack (report by Corinna Vinschen).
3230 + modify tic's "-c" option to take into account the "-C" option to
3231 activate additional checks which compare the results from running
3232 tparm() on the terminfo expressions versus the translated termcap
3234 + modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
3236 > patches by Nicolas Boulenguez:
3237 + explicit dereferences to suppress some style warnings.
3238 + when c_varargs_to_ada.c includes its header, use double quotes
3240 + samples/ncurses2-util.adb: removed unused with clause. The warning
3241 was removed by an obsolete pragma.
3242 + replaced Unreferenced pragmas with Warnings (Off). The latter,
3243 available with older GNATs, needs no configure test. This also
3244 replaces 3 untested Unreferenced pragmas.
3245 + simplified To_C usage in trace handling. Using two parameters allows
3246 some basic formatting, and avoids a warning about security with some
3248 + for generated Ada sources, replace many snippets with one pure
3250 + removed C_Chtype and its conversions.
3251 + removed C_AttrType and its conversions.
3252 + removed conversions between int, Item_Option_Set, Menu_Option_Set.
3253 + removed int, Field_Option_Set, Item_Option_Set conversions.
3254 + removed C_TraceType, Attribute_Option_Set conversions.
3255 + replaced C.int with direct use of Eti_Error, now enumerated. As it
3256 was used in a case statement, values were tested by the Ada compiler
3257 to be consecutive anyway.
3258 + src/Makefile.in: remove duplicate stanza
3259 + only consider using a project for shared libraries.
3260 + style. Silent gnat-4.9 warning about misplaced "then".
3261 + generate shared library project to honor ADAFLAGS, LDFLAGS.
3264 + cleanup recently introduced compiler warnings for MingW port.
3265 + workaround for ${MAKEFLAGS} configure check versus GNU make 4.0,
3266 which introduces more than one gratuitous incompatibility.
3269 + add vt520ansi terminfo entry (patch by Mike Gran)
3270 + further improve MinGW support for the scenario where there is an
3271 ANSI-escapes handler such as ansicon running in the console window
3272 (patch by Juergen Pfeifer).
3275 + add --disable-lib-suffixes option (adapted from patch by Juergen
3277 + merge some changes from Juergen Pfeifer's work with MSYS2, to
3278 simplify later merging:
3279 + use NC_ISATTY() macro for isatty() in library
3280 + add _nc_mingw_isatty() and related functions to windows-driver
3281 + rename terminal driver entrypoints to simplify grep's
3282 + remove a check in the sp-funcs flavor of newterm() which allowed only
3283 the first call to newterm() to succeed (report by Thomas Beierlein,
3287 + update config.guess, config.sub from
3288 http://git.savannah.gnu.org/cgit/config.git
3291 + modify configure script:
3292 + drop the -no-gcc option from Intel compiler, from lynx changes.
3293 + extend the --with-hashed-db configure option to simplify building
3294 with different versions of Berkeley database using FreeBSD ports.
3295 + improve initialization for MinGW port (Juergen Pfeifer):
3296 + enforce Windows-style path-separator if cross-compiling,
3297 + add a driver-name method to each of the drivers,
3298 + allow the Windows driver name to match "unknown", ignoring case,
3299 + lengthen the built-in name for the Windows console driver to
3300 "#win32console", and
3301 + move the comparison of driver-names allowing abbreviation, e.g.,
3302 to "#win32con" into the Windows console driver.
3305 + add check in tic for mismatch between ccc and initp/initc
3306 + cancel ccc in putty-256color and konsole-256color for consistency
3307 with the cancelled initc capability (patch by Sven Zuhlsdorf).
3308 + add xterm+256setaf building block for various terminals which only
3309 get the 256-color feature half-implemented -TD
3310 + updated "st" entry (leaving the 0.1.1 version as "simpleterm") to
3314 + fix typo in "mlterm" entry (report by Gabriele Balducci) -TD
3317 + use types from <stdint.h> in sample build-scripts for chtype, etc.
3318 + modify configure script and curses.h.in to allow the types specified
3319 using --with-chtype and related options to be defined in <stdint.h>
3320 + add terminology entry -TD
3321 + add mlterm3 entry, use that as "mlterm" -TD
3322 + inherit mlterm-256color from mlterm -TD
3325 + modify _nc_New_TopRow_and_CurrentItem() to ensure that the menu's
3326 top-row is adjusted as needed to ensure that the current item is
3327 on the screen (patch by Johann Klammer).
3328 + add wgetdelay() to retrieve _delay member of WINDOW if it happens to
3329 be opaque, e.g., in the pthread configuration (prompted by patch by
3333 + modify ifdef in read_entry.c to handle the case where
3334 NCURSES_USE_DATABASE is not defined (patch by Xin Li).
3335 + add cast in form_driver_w() to fix ARM build (patch by Xin Li).
3336 + add logic to win_driver.c to save/restore screen contents when not
3337 allocating a console-buffer (cf: 20140215).
3340 + clarify error-returns from newwin (report by Ruslan Nabioullin).
3343 + fix some compiler warnings in win_driver.c
3344 + updated notes for wsvt25 based on tack and vttest -TD
3345 + add teken entry to show actual properties of FreeBSD's "xterm"
3349 + in-progress changes to win_driver.c to implement output without
3350 allocating a console-buffer. This uses a pre-existing environment
3351 variable NCGDB used by Juergen Pfeifer for debugging (prompted by
3352 discussion with Erwin Waterlander regarding Console2, which hangs
3353 when reading in an allocated console-buffer).
3354 + add -t option to gdc.c, and modify to accept "S" to step through the
3356 + regenerate NCURSES-Programming-HOWTO.html to fix some of the broken
3357 html emitted by docbook.
3360 + modify CF_XOPEN_SOURCE macro to omit followup check to determine if
3361 _XOPEN_SOURCE can/should be defined. g++ 4.7.2 built on Solaris 10
3362 has some header breakage due to its own predefinition of this symbol
3363 (report by Jean-Pierre Flori, Sage #15796).
3366 + add/use symbol NCURSES_PAIRS_T like NCURSES_COLOR_T, to illustrate
3367 which "short" types are for color pairs and which are color values.
3368 + fix build for s390x, by correcting field bit offsets in generated
3369 representation clauses when int=32 long=64 and endian=big, or at
3370 least on s390x (patch by Nicolas Boulenguez).
3371 + minor cleanup change to test/form_driver_w.c (patch by Gaute Hope).
3374 + remove unnecessary ifdef's in Ada95/gen/gen.c, which reportedly do
3375 not work as is with gcc 4.8 due to fixes using chtype cast made for
3376 new compiler warnings by gcc 4.8 in 20130824 (Debian #735753, patch
3377 by Nicolas Boulenguez).
3380 + apply includesubdir variable which was introduced in 20130805 to
3381 gen-pkgconfig.in (Debian #735782).
3384 + further improved man2html, used this to fix broken links in html
3386 ftp://ftp.invisible-island.net/ncurses/patches/man2html
3389 + modify configure-script/ifdef's to allow OLD_TTY feature to be
3390 suppressed if the type of ospeed is configured using the option
3391 --with-ospeed to not be a short. By default, it is a short for
3392 termcap-compatibility (adapted from suggestion by Christian
3394 + correct a typo in _nc_baudrate() (patch by Christian Weisgerber,
3396 + fix a few -Wlogical-op warnings.
3397 + updated llib-l* files.
3400 + add form_driver_w() entrypoint to wide-character forms library, as
3401 well as test program form_driver_w (adapted from patch by Gaute
3405 + minor fix for CF_GCC_WARNINGS to special-case options which are not
3406 recognized by clang.
3409 + add special case to configure script to move _XOPEN_SOURCE_EXTENDED
3410 definition from CPPFLAGS to CFLAGS if it happens to be needed for
3411 Solaris, because g++ errors with that definition (report by
3412 Jean-Pierre Flori, Sage #15268).
3413 + correct logic in infocmp's -i option which was intended to ignore
3414 strings which correspond to function-keys as candidates for piecing
3415 together initialization- or reset-strings. The problem dates to
3416 1.9.7a, but was overlooked until changes in -Wlogical-op warnings for
3417 gcc 4.8 (report by David Binderman).
3418 + updated CF_GCC_WARNINGS to documented options for gcc 4.9.0, moving
3419 checks for -Wextra and -Wdeclaration-after-statement into the macro,
3420 and adding checks for -Wignored-qualifiers, -Wlogical-op and
3422 + updated CF_CURSES_UNCTRL_H and CF_SHARED_OPTS macros from ongoing
3424 + update config.sub from
3425 http://git.savannah.gnu.org/cgit/config.git
3428 + minor cleanup of terminfo.tail
3431 + use TS extension to describe xterm's title-escapes -TD
3432 + modify terminator and nsterm-s to use xterm+sl-twm building block -TD
3433 + update hurd.ti, add xenl to reflect 2011-03-06 change in
3434 http://git.savannah.gnu.org/cgit/hurd/hurd.git/log/console/display.c
3436 + simplify pfkey expression in ansi.sys -TD