1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. --
4 -- Permission is hereby granted, free of charge, to any person obtaining a --
5 -- copy of this software and associated documentation files (the --
6 -- "Software"), to deal in the Software without restriction, including --
7 -- without limitation the rights to use, copy, modify, merge, publish, --
8 -- distribute, distribute with modifications, sublicense, and/or sell copies --
9 -- of the Software, and to permit persons to whom the Software is furnished --
10 -- to do so, subject to the following conditions: --
12 -- The above copyright notice and this permission notice shall be included --
13 -- in all copies or substantial portions of the Software. --
15 -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
16 -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
17 -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN --
18 -- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
19 -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
20 -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE --
21 -- USE OR OTHER DEALINGS IN THE SOFTWARE. --
23 -- Except as contained in this notice, the name(s) of the above copyright --
24 -- holders shall not be used in advertising or otherwise to promote the --
25 -- sale, use or other dealings in this Software without prior written --
27 -------------------------------------------------------------------------------
28 -- $Id: NEWS,v 1.3244 2019/01/12 23:14:23 tom Exp $
29 -------------------------------------------------------------------------------
31 This is a log of changes that ncurses has gone through since Zeyd started
32 working with Pavel Curtis' original work, pcurses, in 1992.
34 Changes through 1.9.9e are recorded by Zeyd M Ben-Halim.
35 Changes since 1.9.9e are recorded by Thomas E Dickey.
37 Contributors include those who have provided patches (even small ones), as well
38 as those who provide useful information (bug reports, analyses). Changes with
39 no cited author are the work of Thomas E Dickey (TD).
41 A few contributors may be cited in this file by their initials.
42 Each accounts for half of one percent or more of the changes since 1.9.9e.
43 See the AUTHORS file for the corresponding full names.
45 Changes through 1.9.9e did not credit all contributions;
46 it is not possible to add this information.
49 + fix typo in term(5), improve explanation of format (report by Otto
51 + add nsterm-direct -TD
52 + use SGR 1006 mouse for konsole-base -TD
53 + use SGR 1006 mouse for putty -TD
54 + add ti703/ti707, ti703-w/ti707-w (Robert Clausecker)
57 + add dummy "check" rule in top-level and test-Makefile to simply
58 building test-packages for Arch.
59 + modify configure script to avoid conflict with a non-POSIX feature
60 that enables all parts of the system headers by default. Some
61 packagers have come to rely upon this behavior (FreeBSD #234049).
62 + update config.guess, config.sub
65 + improve man/curs_mouse.3x with regard to xterm
66 + modify tracemunch to accept filename parameters in addition to use
68 + minor optimization to reduce calls to _nc_reserve_pairs (prompted by
69 discussion with Bryan Christ).
70 + add test/pair_content.c and test/color_content.c
71 + modify infocmp to omit filtering of "OTxx" names which are used for
72 obsolete capabilities, when the output is sorted by long-names.
73 Doing this helps when making a table of the short/long capability
77 + several fixes for gcc8 strict compiler warnings.
78 + fix a typo in comments (Aaron Gyes).
79 + add nsterm-build309 to replace nsterm-256color, assigning the latter
80 as an alias of nsterm, to make mouse work with nsterm-256color -TD
81 + base gnome-256color entry on "gnome", not "vte", for consistency -TD
82 + updates for configure macros from work on tin and xterm:
83 + CF_GNU_SOURCE, allow for Cygwin's newlib when checking for the
84 _DEFAULT_SOURCE symbol.
85 + CF_VA_COPY, add fallback check if neither va_copy/__va_copy is
86 supported, to try copying the pointers for va_list, or as an array.
87 Also add another fallback check, for __builtin_va_copy(), which
88 could be used with AIX xlc in c89 mode.
91 + modify wbkgd() and wbkgrnd() to improve compatibility with SVr4
92 curses, changing the way the window rendition is updated when the
93 background character is modified (report by Valery Ushakov).
96 + add midnightbsd to CF_XOPEN_SOURCE macro (patch by Urs Jansen).
97 + add "@" command to test/ncurses F-test, to allow rapid jump to
98 different character pages.
99 + update config.guess, config.sub from
100 http://git.savannah.gnu.org/cgit/config.git
103 + build-fix (reports by Chih-Hsuan Yen, Sven Joachim).
106 + check --with-fallbacks option to ensure there is a value, and add
107 the fallback information to top-level Makefile summary.
108 + add some traces in initialization to show whether a fallback entry is
110 + build-fix for test/movewindow with ncurses-examples on Solaris.
111 + add "-l" option to test/background, to dump screen contents in a form
112 that lets different curses implementations be compared.
113 + modify the initialization checks for mouse so that the xterm+sm+1006
114 block will work with terminal descriptions not mentioning xterm
115 (report by Tomas Janousek).
118 + ignore the hex/b64 $TERMINFO in toe's listing.
119 + correct a status-check in _nc_read_tic_entry() so that if reading
120 a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to
121 the compiled-in search list.
124 + several workarounds to ensure proper C compiler used in parts of
126 + update config.guess, config.sub from
127 http://git.savannah.gnu.org/cgit/config.git
130 + add OpenGL clients alacritty and kitty -TD
131 + add Smulx for tmux, vte-2018 -Nicholas Marriott
134 + ignore $TERMINFO as a default value in configure script if it came
135 from the infocmp -Q option.
136 + allow value for --with-versioned-syms to be a relative pathname
137 + add a couple of broken-linker symbols to the list of versioned
138 symbols to help with link-time optimization versus weak symbols.
139 + apply shift/control/alt logic when decoding xterm's 1006 mode to
140 wheel-mouse events (Redhat #1610681).
143 + amend change from 20180818, which undid a fix for the $INSTALL value
144 to make it an absolute path.
147 + improve a configure check to work with newer optimizers (report by
148 Denis Pronin, Gentoo #606142).
149 + fix typo in tput.c (Sven Joachim, cf: 20180825).
152 + fix typo in tvi955 -TD
153 + corrected acsc for regent60 -TD
154 + add alias n7900 -TD
155 + corrected acsc for tvi950 -TD
156 + remove bogus kf0 from tvi950 -TD
157 + added function-key definitions to agree with Televideo 950 manual -TD
158 + add bel to tvi950 -TD
159 + add shifted function-keys to regent60 -TD
160 + renumber regent40 function-keys to match manual -TD
161 + add cd (clr_eos) to adds200 -TD
164 + build-fix: remove a _tracef call which was used for debugging (report
168 + ignore interrupted system-call in test/ncurses's command-line, e.g.,
169 if the terminal were resized.
170 + add shift/control/alt logic for decoding xterm's 1006 mode (Redhat
171 #1610681, cf: 20141011).
172 + modify rpm test-packages to not use --disable-relink with Redhat,
173 since Fedora 28's tools do not work with that feature.
176 + document --with-pcre2 configure option in INSTALL.
177 + improve workaround for special case in PutAttrChar() where a cell is
178 marked as alternate-character set, to handle a case where the
179 character in the cell does not correspond to any of the ASCII
180 fallbacks (report by Leon Winter, cf: 20180505).
181 + amend change to form library which attempted to avoid unnecessary
182 update of cursor position in non-public fields, to simply disable
183 output in this case (patch by Leon Winter, cf: 20180414).
184 + improve check for LINE_MAX runtime limit, to accommodate broken
185 implementations of sysconf().
188 + improve manual page for wgetnstr, giving background for the length
190 + define a limit for wgetnstr, wgetn_wstr when length is negative or
192 + update configure script to autoconf 2.52.20180819 (Debian #887390).
195 + add a section to tput manual page clarifying how it determines the
196 terminal size (prompted by discussion with Grant Jenks).
197 + add "--disable-relink" to rpm test-packages, for consistency with the
199 + split spec-file into ncurses6.spec and ncursest6.spec to work around
200 toolset breakage in Fedora 28.
201 + drop mention of "--disable-touching", which was not in the final
205 + build-fix for PDCurses with ncurses-examples.
206 + improved CF_CC_ENV_FLAGS.
207 + modify configure scripts to reduce relinking/ranlib during library
208 install (Debian #903790):
209 + use "install -p" when available, to avoid need for ranlib of
211 + modify scripts which use "--disable-relink" to add a 1-second
212 sleep to work around tools which use whole-second timestamps, e.g.,
213 in utime() rather than the actual file system resolution.
216 + improve logic for clear with E3 extension, in case the terminal
217 scrolls content onto its saved-lines before actually clearing
218 the display, by clearing the saved-lines after clearing the
219 display (report/patch by Nicholas Marriott).
222 + improve documentation regarding feature-test macros in curses.h
223 + improve documentation regarding the virtual and physical screens.
224 + formatting fixes for manpages, regenerate man-html documentation.
227 + build-fixes for gcc8.
228 + corrected acsc for wy50 -TD
229 + add wy50 and wy60 shifted function-keys as kF1 to kF16 -TD
230 + remove ansi+rep mis-added to interix in 2018-02-23 -TD
233 + add enum, regex examples to test/demo_forms
234 + add configure check for pcre-posix library to help with MinGW port.
237 + build-fixes for gcc8.
238 + correct order of WINDOW._ttytype versus WINDOW._windowlist in
240 + fix a case where tiparm could return null if the format-string was
241 empty (Debian #902630).
244 + add acsc string to vi200 (Nibby Nebbulous)
245 add right/down-arrow to vi200's acsc -TD
246 + add "x" to tput's getopt string so that "tput -x clear" works
248 + minor fixes prompted by anonymous report on stack overflow:
249 + correct order of checks in _nc_get_locale(), for systems lacking
251 + add "#error" in a few places to flag unsupported configurations
254 + use _WIN32/_WIN64 in preference to __MINGW32__/__MINGW64__ symbols
255 to simplify building with MSVC, since the former are defined in both
256 compiler configurations (report by Ali Abdulkadir).
257 + further improvements to configure-checks from work on dialog, i.e.,
258 updated CF_ADD_INCDIR, CF_FIND_LINKAGE, CF_GCC_WARNINGS,
259 CF_GNU_SOURCE, CF_LARGEFILE, CF_POSIX_C_SOURCE, CF_SIZECHANGE, and
261 + update config.guess, config.sub from
262 http://git.savannah.gnu.org/cgit/config.git
265 + build-fix for ncurses-examples related to gcc8-fixes (cf: 20180526).
266 + reduce use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE
267 combines with _XOPEN_SOURCE (Debian #900987).
268 + change target configure level for _XOPEN_SOURCE to 600 to address
269 use of vsscanf and setenv.
270 + improved configure-checks CF_SIZECHANGE and CF_STRUCT_TERMIOS from
274 + modify generated ncurses*config and ncurses.pc, ncursesw.pc, etc.,
275 to list helper libraries such as gpm for static linking (Debian
277 + marked vwprintw and vwscanw as deprecated; recommend using vw_printw
278 and vw_scanw, respectively.
281 + add RPM test-package "ncursest-examples".
282 + modified RPM test-package to work with Mageia6.
285 + add note in curs_util.3x about unctrl.h
286 + review/improve header files to ensure that those include necessary
287 files except for the previously-documented cases (report by Isaac
289 + improved test-package scripts, adapted from byacc 1.9 20180525.
290 + fix some gcc8 warnings seen in Redhat package build, but
291 work around bug in gcc8 compiler warnings in comp_parse.c
294 + formatting fixes for manpages, regenerate man-html documentation.
295 + trim spurious whitespace from tmux in 2018-02-24 changes;
296 fix some inconsistencies in/between tmux- and iterm2-entries for SGR
297 (report by C Anthony Risinger)
298 + improve iterm2 using some xterm features which it has adapted -TD
299 + add check in pair_content() to handle the case where caller asks
300 for an uninitialized pair (Debian #898658).
303 + remove trailing ';' from GCC_DEPRECATED definition.
304 + repair a change from 20110730 which left an error-check/warning dead.
305 + fix several minor Coverity warnings.
308 + add deprecation warnings for internal functions called by older
310 + fix a special case in PutAttrChar() where a cell is marked as
311 alternate-character set, but the terminal does not actually support
312 the given graphic character. This would happen in an older terminal
313 such as vt52, which lacks most line-drawing capability.
314 + use configure --with-config-suffix option to work around filename
315 conflict with Debian packages versus test-packages.
316 + update tracemunch to work with perl 5.26.2, which changed the rules
317 for escaping regular expressions.
320 + document new form-extension O_EDGE_INSERT_STAY (report by Leon
322 + correct error-returns listed in manual pages for a few form functions
323 (report by Leon Winter).
324 + add a check in form-library for null-pointer dereference:
325 unfocus_current_field (form);
326 form_driver (form, REQ_VALIDATION);
327 (patch by Leon Winter).
330 + modify form library to optionally delay cursor movement on a field
331 edge/boundary (patch by Leon Winter).
332 + modify form library to avoid unnecessary update of cursor position in
333 non-public fields (patch by Leon Winter).
334 + remove unused _nc_import_termtype2() function.
335 + also add/improve null-pointer checks in other places
336 + add a null-pointer check in _nc_parse_entry to handle an error when
337 a use-name is invalid syntax (report by Chung-Yi Lin).
340 + clarify in manual pages that vwprintw and vwscanw are obsolete,
341 not part of X/Open Curses since 2007.
342 + use "const" in some prototypes rather than NCURSES_CONST where X/Open
343 Curses was updated to do this, e.g., wscanw, newterm, the terminfo
344 interface. Also use "const" for consistency in the termcap
345 interface, which was withdrawn by X/Open Curses in Issue 5 (2007).
346 As of Issue 7, X/Open Curses still lacks "const" for certain return
347 values, e.g., keyname().
350 + improve terminfo write/read by modifying the fourth item of the
351 extended header to denote the number of valid strings in the extended
352 string table (prompted by a comment in unibilium's sources).
355 + amend Scaled256() macro in test/picsmap.c to cover the full range
356 0..1000 (report by Roger Pau Monne).
357 + add some checks in tracemunch for undefined variables.
358 + trim some redundant capabilities from st-0.7 -TD
359 + trim unnecessary setf/setb from interix -TD
362 + fix a check in infotocap which may not have detected a problem when
364 + add a check in tic for the case where setf/setb are given using
365 different strings, but provide identical results to setaf/setab.
366 + further improve fix for terminfo.5 (patch by Kir Kolyshkin).
367 + reorder loop-limit checks in winsnstr() in case the string has no
368 terminating null and only the number of characters is used (patch
372 + modify TurnOn/TurnOff macros in lib_vidattr.c and lib_vid_attr.c to
373 avoid expansion of "CUR" in trace.
374 + improve a few lintian warnings in test-packages.
375 + modify lib_setup to avoid calling pthread_self() without first
376 verifying that the address is valid, i.e., for weak symbols
377 (report/patch by Werner Fink).
378 + modify generated terminfo.5 to not use "expand" and related width
379 on the last column of tables, making layout on wide terminals look
380 better (adapted from patch by Kir Kolyshkin).
381 + add a category to report_offsets, e.g., "w" for wide-character, "t"
382 for threads to make the report more readable. Reorganized the
383 structures reported to make the categories more apparent.
384 + simplify some ifdef's for extended-colors.
385 + add NCURSES_GLOBALS and NCURSES_PRESCREEN to report_offsets, to show
386 how similar the different tinfo configurations are.
389 + modify _nc_resolve_uses2() to detect incompatible types when merging
390 a "use=" clause of extended capabilities. The problem was seen in a
391 defective terminfo integrated from simpleterm sources in 20171111,
392 compounded by repair in 20180121.
393 + correct Ss/Ms interchange in st-0.7 entry (tmux #1264) -TD
394 + fix remaining flash capabilities with trailing mandatory delays -TD
395 + correct cut/paste in NEWS (report by Sven Joachim).
398 + remove incorrect free() from 20170617 changes (report by David Macek).
399 + correct type for "U8" in user_caps.5; it is a number not boolean.
400 + add a null-pointer check in safe_sprintf.c (report by Steven Noonan).
401 + improve fix for Debian #882620 by reusing limit2 variable (report by
402 Julien Cristau, Sven Joachim).
405 + modify misc/Makefile.in to install/uninstall explicit list in case
406 the build-directory happens to have no ".pc" files when an uninstall
407 is performed (report by Jeffrey Walton).
408 + deprecate safe-sprintf, since the vsnprintf function, which does what
409 was needed, was standardized long ago.
410 + add several development/experimental options to development packages.
411 + minor reordering of options in configure script to make the threaded
412 and reentrant options distinct from the other extensions which are
416 + minor fixes to test/*.h to make them idempotent.
417 + add/use test/parse_rgb.h to show how the "RGB" capability works.
418 + add a clarification in user_caps.5 regarding "RGB" capability.
419 + add extended_slk_color{,_sp} symbols to the appropriate
420 package/*.{map,sym} files (report by Sven Joachim, cf: 20170401).
423 + update "VERSION" file, used in shared-library naming.
425 20180127 6.1 release for upload to ftp.gnu.org
428 + updated release notes
429 + amend a warning message from tic which should have flagged misuse
430 of "XT" capability in "screen" terminal description.
432 + trim "XT" from screen entry, add comments to explain why it was
434 + modify iterm to use xterm+sl-twm building block -TD
435 + mark konsole-420pc, konsole-vt100, konsole-xf3x obsolete reflecting
436 konsole's removal in 2008 -TD
437 + expanded the history section of konsole to explain its flawed
438 imitation of xterm's keyboard -TD
439 + use xterm+x11mouse in screen.* entries because screen does not yet
440 support xterm's 1006 mode -TD
441 + add nsterm-build400 for macOS 10.13 -TD
442 + add ansi+idc1, use that in ansi+idc adding dch for consistency -TD
443 + update vte to vte-2017 -TD
444 + add ecma+strikeout to vte-2017 -TD
445 + add iterm2-direct -TD
446 + updated teraterm, added teraterm-256color -TD
447 + add mlterm-direct -TD
448 + add descriptions for ANSI building-blocks -TD
452 + add xterm+noalt, xterm+titlestack, xterm+alt1049, xterm+alt+title
453 blocks from xterm #331 -TD
454 + add xterm+direct, xterm+indirect, xterm-direct entries from xterm
456 + modify xterm+256color and xterm+256setaf to use correct number of
457 color pairs, for ncurses 6.1 -TD
458 + add rs1 capability to xterm-256color -TD
459 + modify xterm-r5, xterm-r6 and xterm-xf86-v32 to use xterm+kbs to
460 match xterm #272, reflecting packager's changes -TD
461 + remove "boolean" Se, Ss from st-0.7 -TD
462 + add konsole-direct and st-direct -TD
463 + remove unsupported "Tc" capability from st-0.7; use st-direct if
464 direct-colors are wanted -TD
466 + add XT, hpa, indn, and vpa to screen, and invis, E3 to tmux (patch by
468 + use xterm+sm+1006 in xterm-new, vte-2014 -TD
469 + use xterm+x11mouse in iterm, iterm2, mlterm3 because xterm's 1006
470 mode does not work with those programs. konsole is debatable -TD
471 + add "termite" entry (report by Markus Pfeiffer) -TD
472 > merge branch begun April 2, 2017 which provides these features:
473 + support read/write new binary-format for terminfo which stores
474 numeric capabilities as a signed 32-bit integer. The test programs
475 such as picsmap, ncurses were created or updated during 2017 to use
477 + the new format is written by the wide-character configuration of
478 tic when it finds a numeric capability larger than 32767.
479 + other applications such as infocmp built with the wide-character
480 ncurses library work as expected.
481 + applications built with the "narrow" (8-bit) configuration will
482 read the new format, but will limit those extended values to 32767.
483 + in either wide/narrow configuration, the structure defined in
484 term.h still uses signed 16-bit values.
485 + because it is incompatible with the legacy (mid-1980s) binary format,
486 a new magic value is provided for the "file" program.
487 + the term.5 manual page is updated to describe this new format.
488 + the limit on file-size for compiled terminfo is increased in the
489 wide-character configuration to 32768.
492 + build-fix in picsmap.c for stdint.h existence.
493 + add --disable-stripping option to configure scripts.
494 + modify ncurses-examples to install test-scripts in the data directory.
495 + work around tool-breakage in Debian 9 and later by invoking
496 gprconfig to specify the C compiler to be used by gnatmake,
497 and conditionally suppressing Library_Options line for static
499 + bump the compat level for test-packages to 7, i.e., Debian 5.
502 + fixes for writing extended color pairs in putwin.
503 + modify test/savescreen.c to add test patterns that exercise 88-,
505 + modify configure option --with-build-cc, adding clang, c89 and c99
506 as possible default values.
507 + modify ncurses-examples configure script to use pkg-config for the
508 extra form/menu/panel libraries, to be more consistent with the
509 handling of the curses/ncurses library.
510 + modify test-packages for mingw to supply "pc" files.
511 + modify gen-pkgconfig.in to list -lpthread as a private library when
512 configured to access it via weak symbols.
513 + simplify gen-pkgconfig.in, adding -ltinfo without the special linker
514 checks because some versions of the linker simply hard-code the
516 + update URLs for ncurses website to use https.
517 + modify CF_CURSES_LIBS to fill in $cf_nculib_root in case the
518 ncurses-examples are built with a system ncurses that lacks the
519 standard "curses" symbolic link, as done by SuSE. The symbol is
520 needed to make a followup check for the pthread library work, and
521 would be set properly using the options "--with-screen", etc.
522 + generate misc/*.pc with "all" rule, as done for "sources" rule
523 (report by Jeffrey Walton).
526 + build-fix for ncurses-examples with Fedora27, adding check for
527 reset_color_pairs() -- not yet in Fedora's package.
528 + consistently add $CFLAGS to $MK_SHARED_LIB symbol in configure
529 script when the latter happens to use the C compiler rather than
530 directly using the loader (report by Jeffrey Walton).
531 + set ABI for upcoming 6.1 release in "*.map" files. While there are
532 some remaining internals to apply, no ABI-related changes are
534 + add configure --with-config-suffix option to work around filename
535 conflict with Redhat packages versus test-packages.
538 + modify ncurses-examples to quiet const-warnings when building with
540 + modify toe to not exit if unable to read a terminal description,
541 e.g., if there is a permission problem.
542 + minor fix for progs/toe.c, using _nc_free_termtype2.
543 + assign 0 to pointer in _nc_tgetent_leak() after freeing it. Also
544 avoid reusing pointer from previous successful call to tgetent
545 if the latest call is unsuccessful (patch by Michael Schroeder,
547 + minor fix for test/tracemunch, initialize $awaiting variable.
550 + repair template in test/package/ncurses-examples.spec (cf: 20171111).
551 + improve tic's warning about the number of parameters tparm might use
552 for u1-u9 by making a special case for u6.
553 + improve curs_attr.3x discussion of color pairs.
556 + modify misc/ncurses-config.in to make output with --includedir
557 consistent with --cflags, i.e., when --disable-overwrite option was
558 configured the output should show the subdirectory where headers
560 + modify MKlib_gen.sh to suppress macros when calling an "implemented"
561 function in link_test.c
562 + updated ftp-url used in test-packages, etc.
563 + modify order of -pie/-shared options in configure script in case
564 LDFLAGS uses "-pie", working around a defect or limitation in the GNU
565 linker (prompted by patch by Yogesh Prasad, forwarded by Jay Shah).
566 + add entry in man_db.renames for user_caps.5
569 + modify MKlib_gen.sh to avoid tracing result from getstr/getnstr
571 + add "-a" aspect-ratio option to picsmap.
572 + add configure check for default path of rgb.txt, used in picsmap.
573 + modify _nc_write_entry() to truncate too-long filename (report by
574 Hosein Askari, Debian #882620).
575 + build-fix for ncurses-examples with NetBSD curses:
576 + it lacks the use_env() function.
577 + it lacks libpanel; a recent change used the wrong ifdef symbol.
578 + add a macro for is_linetouched() and adjust the function's return
579 value to make it possible for most applications to check for an
580 error-return (report by Midolikawa H).
581 + additional manpage cleanup.
582 + update config.guess, config.sub from
583 http://git.savannah.gnu.org/cgit/config.git
586 + add a note to curs_addch.3x on portability.
587 + add a note to curs_pad.3x on the origin and portability of pads.
588 + improve manpage description of getattrs (report by Midolikawa H).
589 + improve manpage macros (prompted by discussion in Debian #880551.
590 + reviewed test-programs using KEY_RESIZE, made fixes to test/worm.c
591 + add a "-d" option to picsmap for default-colors.
592 + modify old terminology entry and a few other terminal emulators to
594 + correct sgr string for tmux, which used screen's "standout" code
595 rather than the standard code (patch by Roman Kagan)
596 + correct sgr/sgr0 strings in a few other cases reported by tic, making
597 those correspond to the non-sgr settings where they differ, but
598 otherwise use ECMA-48 consistently:
599 jaixterm, aixterm, att5420_2, att4424, att500, decansi, d410-7b,
600 dm80, hpterm, emu-220, hp2, iTerm2.app, mterm-ansi, ncrvt100an,
601 st-0.7, vi603, vwmterm -TD
602 + build-fix for diagnostics warning in lib_mouse.c for pre-5.0 versions
603 of gcc which did not recognize the diagnostic "push" pragma (patch by
607 + add "op" to xterm+256setaf -TD
608 + reviewed terminology 1.0.0 -TD
609 + reviewed st 0.7 -TD
610 + suppress debug-package for ncurses-examples rpm build.
613 + check for interrupt in color-pair initialization of dots_curses.c,
615 + add z/Z zoom feature to test/ncurses.c C/c screens.
616 + add '<' and '>' commands to test/ncurses.c S/s screens, to better
617 test off-by-ones in the overlap/copywin functions.
620 + improve man/curs_inwstr.3x, correct end-logic for lib_inwstr.c
621 (report by Midolikawa H).
622 + fix typo in a few places for "improvements" (patch by Sven Joachim).
623 + clear the other half of a double-width character on which a line
624 drawing character is drawn.
625 + make test/ncurses.c "s" test easier to understand which subtests are
626 available; add a "S" wide-character overlap test-screen.
627 + modify test/ncurses.c C/c tests to allow for extended color pairs.
628 + add endwin() call in error-returns from test/ncurses.c omitted in
629 recent redesign of its menu (cf: 20170923).
630 + improve install of hashed-db by removing the ".db" file as done for
631 directory-tree terminal databases.
632 + repair a few overlooked items in include/ncurses_defs from recent
633 port/refactoring of test-programs (cf: 20170909).
634 + add test/padview.c, to compare pads with direct updates in view.c
637 + modify test/view.c to expand tabs using the ncurses library rather
638 than in the test-program.
639 + remove very old SIGWINCH example in test/view.c, just use KEY_RESIZE.
640 + add -T, -e, -f -m options to "dots" test-programs.
641 + fix a few typos in usage-messages for test-programs.
644 + minor cleanup to test/view.c:
645 + eliminate "-n" option by simply reading the whole file.
646 + implement page up/down commands.
647 + add check in tput for init/reset operands to ensure those use a
649 + improve manual pages which discuss chtype, cchar_t types and the
650 attribute values which can be stored in those types.
651 + correct array-index when parsing "-T" command-line option in tabs
653 + modify demo_new_pair.c to pass extended pairs to setcchar().
654 + add test/dots_xcurses.c to illustrate a different approach used for
655 extended colors which can be contrasted with dots_curses.c.
656 + add a check in tic to note when a description uses non-mandatory
657 delays without xon_xoff. This is not an error, but some descriptions
658 for a terminal emulator may use the combination incorrectly.
661 + modify "-T" option of clear and tput to call use_tioctl() to obtain
662 the operating system's notion of the screensize if possible.
663 + review/repair some exit-codes for tput, making usage-message exit
664 with 2 rather than 1, and a failure to open terminal 4+errno.
665 + amend check in tput, tabs and clear to allow those to use the
666 database-only features in cron if a -T option gives a suitable
667 terminal name (report by Lauri Tirkkonen).
668 + correct an ifdef in test/ncurses.c for systems with soft-keys but
670 + regenerate man-html documentation.
673 + fix a symbol conflict that made ncurses.c C/c menu not work with
675 + add refresh() call to dots_mvcur.c, needed to use mvcur() with
676 Solaris xpg4 curses after calling newterm().
677 + minor fixes for configure script from work on ncurses-examples and
679 + improve animation in test/xmas.c by adding a time-delay in blinkit().
680 + modify several test programs to reflect that ncurses honors existing
681 signal handlers in initscr(), while other implementations do not.
682 + modify bs.c to make it easier to quit.
683 + change ncurses-examples to use attr_t vs chtype to follow X/Open
684 documentation more closely since Solaris xpg4-curses uses different
685 values for WA_xxx vs A_xxx that rely on attr_t being an unsigned
686 short. Tru64 aka OSF1, HPUX, AIX did as ncurses does, equating the
690 + modify menu for test/ncurses.c to fit on 24-line screen.
691 + build-fix for configure --with-caps=uwin
692 + add options to test_arrays.c, for selecting termcap vs terminfo, etc.
695 + minor fix to test/filter.c to avoid clearing the command in one case.
696 + modify filter() to discard clr_eos if back_color_erase is set.
699 + improve wide-character implementation of myADDNSTR() in frm_driver.c,
700 which was inconsistent with the normal implementation.
701 + save/restore cursor position in Undo_Justification(), matching
702 behavior of Buffer_To_Window() (report by Leon Winter).
703 + modify test/knight to provide the "slow" solution for small screens
704 using "R", noting that Warnsdorf's method is easily done with "a".
705 + modify several test-programs which call use_default_colors() to
706 consistently do this only if "-d" option is given.
707 + additional changes to test with non-standard variants of curses:
708 + modify a loop limit in firework.c to work around absense of limit
709 checks in some libraries.
710 + fill the last row of a window with "?" in firstlast if waddch does
711 not return ERR on the lower-right corner.
712 + add checks in test/configure for some functions not in 4.3BSD curses.
713 + fix a regression in test/configure (cf: 20170826).
716 + amend change for endwin-state for better consistency with the older
717 logic (report/patch by Jeb Rosen, cf: 20170722).
718 + modify check in fmt_entry() to handle a cancelled reset string
719 (Debian #873746). Make similar fixes in other parts of dump_entry.c
723 + fix a bug in repeat_char logic (cf: 20170729, report by Chris Clayton).
726 + fixes for "iterm2" (report by Leonardo Brondani Schenkel) -TD
727 + corrected a warning from tic about keys which are the same, to skip
728 over missing/cancelled values.
729 + add check in tic for unnecessary use of "2" to denote a shifted
731 + improve checks in trim_sgr0, comp_parse.c and parse_entry.c, for
732 cancelled string capabilities.
733 + add check in _nc_parse_entry() for invalid entry name, setting the
734 name to "invalid" to avoid problems storing entries.
735 + add/improve checks in tic's parser to address invalid input
736 + add a check in comp_scan.c to handle the special case where a
737 nontext file ending with a NUL rather than newline is given to tic
738 as input (Redhat #1484274).
739 + allow for cancelled capabilities in _nc_save_str (Redhat #1484276).
740 + add validity checks for "use=" target in _nc_parse_entry (Redhat
742 + check for invalid strings in postprocess_termcap (Redhat #1484285)
743 + reset secondary pointers on EOF in next_char() (Redhat #1484287).
744 + guard _nc_safe_strcpy() and _nc_safe_strcat() against calls using
745 cancelled strings (Redhat #1484291).
746 + correct typo in curs_memleaks.3x (Sven Joachim).
747 + improve test/configure checks for some curses variants not based on
749 + add options for test/configure to disable checks for form, menu and
753 + update "iterm" entry -TD
754 + add "iterm2" entry (report by Leonardo Brondani Schenkel) -TD
755 + regenerate llib-* files.
756 + regenerate HTML manpages.
757 + improve picsmap test-program:
758 + reduce memory used for tsearch
759 + add report in log file showing cumulative color coverage.
760 + add -x option to clear/tput to make the E3 extension optional
762 + add options -T and -V to clear command for compatibility with tput.
763 + add usage message to clear command (Debian #371855).
764 + improve usage messages for tset and tput.
765 + minor fixes to "RGB" extension and reset_color_pairs().
768 + improve description of -R option in infocmp manual page (report by
770 + add reset_color_pairs() function.
771 + add user_caps.5 manual page to document the terminfo extensions used
773 + improve build scripts, using SIGQUIT vs SIGTRAP; add other configure
774 script fixes from work on xterm, lynx and tack.
775 + modify install-rule for ncurses-examples to put the data files in
776 /usr/share/ncurses-examples
777 + improve tracemunch, by changing address-parameters of add_wch(),
778 color_content() and pair_content() to dummy parameters.
779 + minor optimization to _nc_change_pair, to return quickly when the
780 current screen is marked for clearing.
781 + in-progress changes to improve performance of test/picsmap.c for
783 + modify allocation for SCREEN's color-pair table to start small, grow
784 on demand up to the existing limit.
785 + add "RGB" extension capability for direct-color support, use this to
786 improve color_content().
787 + improve picsmap test-program:
788 + if no palette file is needed, attempt to load one based on $TERM,
789 checking first in the current directory, then by adding ".dat"
790 suffix, and finally in the data-directory, e.g.,
791 /usr/share/ncurses-examples
792 + add "-l" option for logging
793 + add "-d" option for debugging
794 + add "-s" option for stepping automatically through list of images,
796 + use tsearch to improve time for loading color table for images.
797 + update config.guess, config.sub from
798 http://git.savannah.gnu.org/cgit/config.git
801 + update interix entry using tack and SFU on Windows 7 Ultimate -TD
802 + use ^? for kdch1 in interix (reported by Jonathan de Boyne Pollard)
803 + add "rep" to xterm-new, available since 1997/01/26 -TD
804 + move SGR 24 and 27 from vte-2014 to vte-2012 (request by Alain
806 + add a check in newline_forces_scroll() in case a program moves the
807 cursor outside scrolling margins (report by Robert King).
808 + improve _nc_tparm_analyze, using that to extend the checks made by
809 tic for reporting inconsistencies between the expected number of
810 parameters for a capability and the actual.
811 + amend handling of repeat_char capability in EmitRange (adapted from
812 report/patch by Dick Wesseling):
813 + translate the character to the alternate character set when the
814 alternate character set is enabled.
815 + do not use repeat_char for characters past 255.
816 + document "_nc_free_tinfo" in manual page, because it could be used in
817 tack for memory-leak checking.
818 + add "--without-tack" configure option to refine "--with-progs"
819 configure option. Normally tack is no longer built in-tree, but
820 a few packagers combine it during the build. If term_entry.h is
821 installed, there is no advantage to in-tree builds.
822 + adjust configure-script to define HAVE_CURSES_DATA_BOOLNAMES symbol
823 needed for tack 1.08 when built in-tree. Rather than relying upon
824 internal "_nc_" functions, tack now uses the boolean, number and
825 string capability name-arrays provided by ncurses and SVr4 Unix
826 curses. It still uses term_entry.h for the definitions of the
827 extended capability arrays.
828 + add an overlooked null-pointer check in mvcur changes from 20170722
831 + improve test-packages for ncurses-examples and AdaCurses for lintian
832 + modify logic for endwin-state to be able to detect the case where
833 the screen was never initialized, using that to trigger a flush of
834 ncurses' buffer for mvcur, e.g., in test/dots_mvcur.c for the
835 term-driver configuration.
836 + add dependency upon ncurses_cfg.h to a few other internal header
837 files to allow each to be compiled separately.
838 + add dependency upon ncurses_cfg.h to tic's header-files; any program
839 using tic-library will have to supply this file. Legacy tack
840 versions supply this file; ongoing tack development has dropped the
841 dependency upon tic-library and new releases will not be affected.
844 + modify command-line parameters for "convert" used in picsmap to work
845 with ImageMagick 6.8 and newer.
846 + fix build-problem with tack and ABI-5 (Debian #868328).
847 + repair termcap-format from tic/infocmp broken in 20170701 fixes
849 + reformat terminfo.src with 20170513 updates.
850 + improve test-packages to address lintian warnings.
853 + add a note to tic manual page about -W versus -f options.
854 + correct a limit-check in fixes from 20170701 (report by Sven Joachim).
857 + modify update_getenv() in db_iterator.c to ensure that environment
858 variables which are not initially set will be checked later if an
859 application happens to set them (patch by Guillaume Maudoux).
860 + remove initialization-check for calling napms() in the term-driver
861 configuration; none is needed.
862 + add help-screen to test/test_getstr.c and test/test_get_wstr.c
863 + improve compatibility between different configurations of new_prescr,
864 fixing a case with threaded code and term-driver where c++/demo did
865 not work (cf: 20160213).
866 + the fixes for Redhat #1464685 obscured a problem subsequently
867 reported in Redhat #1464687; the given test-case was no longer
868 reproducible. Testing without the fixes for the earlier reports
869 showed a problem with buffer overflow in dump_entry.c, which is
870 addressed by reducing the use of a fixed-size buffer.
871 + add/improve checks in tic's parser to address invalid input
872 (Redhat #1464684, #1464685, #1464686, #1464691).
873 + alloc_entry.c, add a check for a null-pointer.
874 + parse_entry.c, add several checks for valid pointers as well as
875 one check to ensure that a single character on a line is not
876 treated as the 2-character termcap short-name.
877 + fix a memory leak in delscreen() (report by Bai Junq).
878 + improve tracemunch, showing thread identifiers as names.
879 + fix a use-after-free in NCursesMenu::~NCursesMenu()
880 + further amend incorrect calls for memory-leaks from 20170617 changes
881 (report by Allen Hewes).
884 + modify c++/etip.h.in to accommodate deprecation of throw() and
885 throws() in c++17 (prompted by patch by Romain Geissler).
886 + remove some incorrect calls for memory-leaks from 20170617 changes
887 (report by Allen Hewes).
888 + add test-programs for termattrs and term_attrs.
889 + modify _nc_outc_wrapper to use the standard output if the screen was
890 not initialized, rather than returning an error.
891 + improve checks for low-level terminfo functions when the terminal
892 has not been initialized (Redhat #1345963).
893 + modify make_hash to allow building with address-sanitizer,
894 assuming that --disable-leaks is configured.
895 + amend changes for number_format() in 20170506 to avoid undefined
896 behavior when shifting (patch by Emanuele Giaquinta).
899 + fill in some places where TERMTYPE2 vs TERMTYPE was not used
900 (report by Allen Hewes).
901 + use ExitTerminfo() internally in error-exits for ncurses' setupterm
902 to help with leak checking.
903 + use ExitProgram() in error-exit from initscr() to help with leak
905 + review test-programs, adding checks for cases where the terminal
906 cannot be initialized.
909 + add option "-xp" to picsmap.c, to use init_extended_pair().
910 + make simple performance fixes for picsmap.c
911 + improve aspect ratio of images read from "convert" in picsmap.c
914 + add option to picsmap to use color-palette files, e.g., for mapping
916 + move the data in SCREEN used for the alloc_pair() function to the
917 end, to restore compatibility between ncurses/ncursesw libtinfo
918 (report/patch by Miroslav Lichvar).
919 + add build-time utility "report_offsets" to help show when the various
920 configurations of tinfo library are compatible or not.
923 + improved test/picsmap.c:
924 + lookup named colors for xpm files in rgb.txt
925 + accept blanks in color-keys for xpm files.
926 + if neither xbm/xpm work, try "convert", which may be available.
929 + modify test/picsmap.c to read xpm files.
930 + modify package/debian/* to create documentation packages, so the
931 related files can be checked with lintian.
932 + fix some typos in manpages (report/patch by Sven Joachim).
935 + add test/picsmap.c to fill in some testing issues not met by dots.
936 The initial version reads X bitmap (".xbm") files.
937 + repair logic which forces a repaint where a color-pair's content is
938 changed (cf: 20170311).
939 + improve tracemunch, showing screenXX pointers as names.
942 + modify tic/infocmp display of numeric values to use hexadecimal when
943 they are "close" to a power of two, making the result more readable.
944 + improve discussion of portability in curs_mouse.3x
945 + change line-length for generated html/manpages to 78 columns from 65.
946 + improve discussion of line-drawing characters in curs_add_wch.3x
947 (prompted by discussion with Lorinczy Zsigmond).
948 + cleanup formatting of hackguide.html and ncurses-intro.html
949 + add examples for WACS_D_PLUS and WACS_T_PLUS to test/ncurses.c
952 + corrected a case where $with_gpm was set to "maybe" after CF_WITH_GPM,
953 overlooked in 20160528 fixes (report by Alexandre Bury).
954 + improve a couple of test-program's help-messages.
955 + corrected loop in rain.c from 20170415 changes.
956 + modify winnstr and winchnstr to return error if the output pointer is
957 null, as well as adding a null pointer check of the window pointer
958 for better compatibility with other implementations.
959 + improve discussion of NetBSD curses in scr_dump.5
960 + modify LIMIT_TYPED macro in new_pair.h to avoid changing sign of the
961 value to be limited (reports by Darby Payne, Rob Boudreau).
962 + update config.guess, config.sub from
963 http://git.savannah.gnu.org/cgit/config.git
966 + build-fix for termcap-configuration (report by Chi-Hsuan Yen).
967 + improve terminfo manual page discussion of control- and graphics-
969 + remove tic warning about "^?" in string capabilities, which was
970 marked as an extension (cf: 20000610, 20110820); however all Unix
971 implementations support this and X/Open Curses does not address it.
972 On the other hand, termcap never did support this feature.
973 + correct missing comma-separator between string capabilities in
974 icl6402 and m2-nam -TD
975 + restore rmir/smir in ansi+idc to better match original ansiterm+idc,
976 add alias ansiterm (report by Robert King).
977 + amend an old check for ambiguous use of "ma" in terminfo versus
978 a termcap use, if the capability is cancelled to treat it as number.
979 + correct a case in _nc_captoinfo() which read "%%" and emitted "%".
980 + modify sscanf calls in _nc_infotocap() for patterns "%{number}%+%c"
981 and "%'char'%+%c" to check that the final character is really 'c',
982 avoiding a case in icl6404 which cannot be converted to termcap.
983 + in _nc_infotocap(), add a check to ensure that terminfo "^?" is not
984 written to termcap, because the BSDs did not implement that.
985 + in _nc_tic_expand() and _nc_infotocap(), improve string-length check
986 when deciding whether to use "^X" or "\xxx" format for control
987 characters, to make the output of tic/infocmp more predictable.
988 + limit termcap "%d" width to 2 digits on input, and use "%2" in
989 preference to "%02" on output.
990 + correct terminfo/termcap conversion of "%02" and "%03" into "%2" and
991 "%3"; the result repeated the last character.
992 + add man/scr_dump.5 to document screen-dump format.
995 + modify several test programs to use new popup_msgs, adapted from
996 help-screen used in test/edit_field.c
997 + drop two symbols obsoleted in 2004: _nc_check_termtype, and
999 + fix some old copyright dates (cf: 20031025).
1000 + build-fixes for test/savescreen.c to work with AIX and HPUX.
1001 + minor fix to configure script, adding a backslash/continuation.
1002 + extend TERMINAL structure for ABI 6 to store numbers internally as
1003 integers rather than short, by adding new data for this purpose.
1004 + more fixes for minor memory-leaks in test-programs.
1007 + change logic in wins_nwstr() to avoid addressing data past the output
1009 + correct a call to setcchar() in Data_Entry_w() from 20131207 changes.
1010 + fix minor memory-leaks in test-programs.
1011 + further improve ifdef in term_entry.h for internal definitions not
1015 + minor fixes for vt100+4bsd, e.g., delay in sgr for consistency -TD
1016 + add smso for env230, to match sgr -TD
1017 + remove p7/protect from sgr in fbterm -TD
1018 + drop setf/setb from fbterm; setaf/setab are enough -TD
1019 + make xterm-pcolor sgr consistent with other capabilities -TD
1020 + add rmxx/smxx ECMA-48 strikeout extension to tmux and xterm-basic
1021 (discussion with Nicholas Marriott)
1022 + add test-programs sp_tinfo and extended_color
1023 + modify no-leaks code for lib_cur_term.c to account for the tgetent()
1025 + modify setupterm() to save original tty-modes so that erasechar()
1026 works as expected. Also modify _nc_setupscreen() to avoid redundant
1027 calls to get original tty-modes.
1028 + modify set_curterm() to update ttytype[] data used by longname().
1029 + modify wattr_set() and wattr_get() to return ERR if win-parameter is
1030 null, as documented.
1031 + improve cast used for null-pointer checks in header macros, to
1032 reduce compiler warnings.
1033 + modify several functions, using the reserved "opts" parameter to pass
1034 color- and pair-values larger than 16-bits:
1035 + getcchar(), setcchar(), slk_attr_set(), vid_puts(), wattr_get(),
1036 wattr_set(), wchgat(), wcolor_set().
1037 + Other functions call these with the corresponding altered behavior,
1038 including chgat(), mvchgat(), mvwchgat(), slk_color_on(),
1039 slk_color_off(), vid_attr().
1040 + add new functions for manipulating color- and pair-values larger
1041 than 16-bits. These are extended_color_content(),
1042 extended_pair_content(), extended_slk_color(), init_extended_color(),
1043 init_extended_pair(), and the corresponding sp-funcs.
1046 + fix a memory leak in the window-list when creating multiple screens
1047 (reports by Andres Martinelli, Debian #783486).
1048 + reviewed calls from link_test.c, added a few more null-pointer
1050 + add a null-pointer check in ungetmouse, in case mousemask was not
1051 called (report by "Kau").
1052 + updated curs_sp_funcs.3x for new functions.
1055 + change TERMINAL structure in term.h to make it opaque. Some
1056 applications misuse its members, e.g., directly modifying it
1057 rather than using def_prog_mode().
1058 + modify utility headers such as tic.h to make it clearer which are
1059 externals that are used by tack.
1060 + improve curs_slk.3x in particular its discussion of portability.
1061 + fix cut/paste in legacy_encoding.3x
1062 + add prototype for find_pair() to new_pair.3x (report by Branden
1064 + fix a couple of broken links in generated man-html documentation.
1065 + regenerate man-html documentation.
1068 + modify vt100 rs2 string to reset vt52 mode and scrolling regions
1069 (report/analysis by Robert King) -TD
1070 + add vt100+4bsd building block, use that for older terminals rather
1071 than "vt100" which is now mostly used as a building block for
1072 terminal emulators -TD
1073 + correct a few spelling errors in terminfo.src comments -TD
1075 + fix a typo in ncurses.c test_attr legend (patch by Petr Vanek).
1076 + changed internal colorpair_t to a struct, eliminating an internal
1077 8-bit limit on colors
1078 + add ncurses/new_pair.h
1079 + add ncurses/base/new_pair.c with alloc_pair(), find_pair() and
1080 free_pair() functions
1081 + add test/demo_new_pair.c
1084 + improve terminfo manual description of terminfo syntax.
1085 + clarify the use of wint_t vs wchar_t in curs_get_wstr.3x
1086 + improve description of endwin() in manual.
1087 + modify setcchar() and getcchar() to treat negative color-pair as an
1089 + fix a typo in include/hashed_db.h (Andre Sa).
1092 + fixes for CF_CC_ENV_FLAGS (report by Ross Burton).
1095 + fix several formatting issues with manual pages.
1096 + correct read of terminfo entry in which all strings are absent or
1097 explicitly cancelled. Before this fix, the result was that all were
1098 treated as only absent.
1099 + modify infocmp to suppress mixture of absent/cancelled capabilities
1100 that would only show as "NULL, NULL", unless the -q option is used,
1101 e.g., to show "-, @" or "@, -".
1104 + build-fixes for PGI compilers (report by Adam J. Stewart)
1105 + accept whitespace in sed expression for generating expanded.c
1106 + modify configure check that g++ compiler warnings are not used.
1107 + add configure check for -fPIC option needed for shared libraries.
1108 + let configure --disable-ext-funcs override the default for the
1109 --enable-sp-funcs option.
1110 + mark some structs in form/menu/panel libraries as potentially opaque
1111 without modifying API/ABI.
1112 + add configure option --enable-opaque-curses for ncurses library and
1113 similar options for the other libraries.
1116 + trim newlines, tabs and escaped newlines from terminfo "paths" passed
1118 + ignore zero-length files in db-iterator; these are useful for
1119 instance to suppress "$HOME/.terminfo" when not wanted.
1120 + amended "b64:" encoder to work with the terminfo reader.
1121 + modify terminfo reader to accept "b64:" format using RFC-3548 in
1122 as well as RFC-4648 url/filename-safe format.
1123 + modify terminfo reader to accept "hex:" format as generated by
1124 "infocmp -0qQ1" (cf: 20150905).
1125 + adjust authors comment to reflect drop below 1% for SV.
1128 + minor comment-fixes to help automate links to bug-urls -TD
1129 + add dvtm, dvtm-256color -TD
1130 + add settings corresponding to xterm-keys option to tmux entry to
1131 reflect upcoming change to make that option "on" by default
1132 (patch by Nicholas Marriott).
1133 + uncancel Ms in tmux entry (Harry Gindi, Nicholas Marriott).
1134 + add dumb-emacs-ansi -TD
1137 + improve discussion of early history of tput program.
1138 + incorporate A_COLOR mask into COLOR_PAIR(), in case user application
1139 provides an out-of-range pair number (report by Elijah Stone).
1140 + clarify description in tput manual page regarding support for
1141 termcap names (prompted by FreeBSD #214709).
1142 + remove a restriction in tput's support for termcap names which
1143 omitted capabilities normally not shown in termcap translations
1145 + modify configure script for clang as used on FreeBSD, to work around
1146 clang's differences in exit codes vs gcc.
1149 + improve discussion of early history of tset/reset programs.
1150 + clarify in manual pages that the optional verbose option level is
1151 available only when ncurses is configured for tracing.
1152 + amend change from 20161231 to avoid writing traces to the standard
1153 error after initializing the trace feature using the environment
1157 + amend changes for tput to reset tty modes to "sane" if the program
1158 is run as "reset", like tset. Likewise, ensure that tset sends
1159 either reset- or init-strings.
1160 + improve manual page descriptions of tput init/reset and tset/reset,
1161 to make it easier to see how they are similar and different.
1162 + move a static result from key_name() to _nc_globals
1163 + modify _nc_get_screensize to allow for use_env() and use_tioctl()
1164 state to be per-screen when sp-funcs are configured, better matching
1165 the behavior when using the term-driver configuration.
1166 + improve cross-references in manual pages for often used functions
1167 + move SCREEN field for use_tioctl() data before the ncursesw fields,
1168 and limit that to the sp-funcs configuration to improve termlib
1169 compatibility (cf: 20120714).
1170 + correct order of initialization for traces in use_env() and
1171 use_tioctl() versus first trace calls.
1174 + fix errata for ncurses-howto (report by Damien Ruscoe).
1175 + fix a few places in configure/build scripts where DESTDIR and rpath
1176 were combined (report by Thomas Klausner).
1177 + merge current st description (report by Harry Gindi) -TD
1178 + modify flash capability for linux and wyse entries to put the delay
1179 between the reverse/normal escapes rather than after -TD
1180 + modify program tabs to pass the actual tty file descriptor to
1181 setupterm rather than the standard output, making padding work
1183 + explain in clear's manual page that it writes to stdout.
1184 + add special case for verbose debugging traces of command-line
1185 utilities which write to stderr (cf: 20161126).
1186 + remove a trace with literal escapes from skip_DECSCNM(), added in
1188 + update config.guess, config.sub from
1189 http://git.savannah.gnu.org/cgit/config.git
1192 + correct parameters for copywin call in _nc_Synchronize_Attributes()
1193 (patch by Leon Winter).
1194 + improve color-handling section in terminfo manual page (prompted by
1195 patch by Mihail Konev).
1196 + modify programs clear, tput and tset to pass the actual tty file
1197 descriptor to setupterm rather than the standard output, making
1201 + add tput-colorcube demo script.
1202 + add -r and -s options to tput-initc demo, to match usage in xterm.
1203 + flush the standard output in _nc_flush for the case where SP is zero,
1204 e.g., when called via putp. This fixes a scenario where "tput flash"
1205 did not work after changes in 20130112.
1208 + add configure script option --disable-wattr-macros for use in cases
1209 where one wants to use the same headers for ncurses5/ncurses6
1210 development, by suppressing the wattr* macros which differ due to
1211 the introduction of extended colors (prompted by comments in
1212 Debian #230990, Redhat #1270534).
1213 + add test/tput-initc to demonstrate tput used to initialize palette
1215 + modify test/xterm*.dat to use the newer color4/color12 values.
1218 + improve discussion of field validation in form_driver.3x manual page.
1219 + update curs_trace.3x manual page.
1222 + modify linux-16color to not mask dim, standout or reverse with the
1224 + add 0.1sec mandatory delay to flash capabilities using the VT100
1225 reverse-video control -TD
1226 + omit selection of ISO-8859-1 for G0 in enacs capability from linux2.6
1227 entry, to avoid conflict with the user-defined mapping. The reset
1228 feature will use ISO-8859-1 in any case (Mikulas Patocka).
1229 + improve check in tic for delays by also warning about beep/flash
1230 when a delay is not embedded, or if those use the VT100 reverse
1231 video escape without using a delay.
1232 + minor fix for syntax-check of delays from 20161119 changes.
1233 + modify trace() to avoid overwriting existing file (report by Maor
1237 + add check in tic for some syntax errors of delays, as well as use of
1238 proportional delays for non-line capabilities.
1239 + document history of the clear program and the E3 extension, prompted
1240 by various discussions including
1241 http://unix.stackexchange.com/questions/87469/clearing-the-old-scrollback-buffer
1244 + improve -W option in tic/infocmp:
1245 + correct order of size-adjustments in wrapped lines
1246 + if -f option splits line, do not further split it with -W
1247 + begin a new line when adding "use=" after a wrapped line
1250 + fix typo in man/terminfo.tail (Alain Williams).
1251 + correct program-name in adacurses6-config.1 manual page.
1254 + add new function "unfocus_current_field" (Leon Winter)
1257 + modify tset -w (and tput reset) to update the program's copy of the
1258 screensize if it was already set in the system, to improve tabstop
1259 setting which relies upon knowing the actual screensize.
1260 + add functionality of tset -w to tput, like the "-c" feature this is
1261 not optional in tput.
1262 + add "clear" as a possible link/alias to tput.
1263 + improve tput's check for being called as "init" or "reset" to allow
1264 for transformed names.
1265 + split-out the "clear" function from progs/clear.c, share with
1266 tput to get the same behavior, e.g., the E3 extension.
1269 + amend internal use of tputs to consistently use the number of lines
1270 affected, e.g., for insert/delete character operations. While
1271 merging terminfo source early in 1995, several descriptions used the
1272 "*" proportional delay for these operations, prompting a change in
1274 + regenerate llib-* files.
1275 + regenerate HTML manpages.
1276 + fix several formatting issues with manual pages.
1279 + adjust size in infocmp/tic to work with strlcpy.
1280 + fix configure script to record when strlcat is found on OpenBSD.
1281 + build-fix for "recent" OpenBSD vs baudrate.
1284 + add -W option to tic/infocmp to force long strings to wrap. This is
1285 in addition to the -w option which attempts to fit capabilities into
1286 a given line-length.
1287 + add linux-m1 minitel entries (patch by Alexandre Montaron).
1288 + correct rs2 string for vt100-nam -TD
1291 + modify _nc_tic_expand to escape comma if it immediately follows a
1292 percent sign, to work with minitel change.
1293 + updated minitel and viewdata descriptions (Alexandre Montaron).
1296 + build-fix for gnat6, which unhelpfully attempts to compile C files.
1297 + fix typo in 20160910 changes (Debian #837892, patch by Sven Joachim).
1300 + trim dead code ifdef'd with HIDE_EINTR since 970830 (discussion with
1302 + trim some obsolete/incorrect wording about EINTR from wgetch manual
1303 page (patch by Leon Winter).
1304 + really correct 20100515 change (patch by Rich Coe).
1305 + add "--enable-string-hacks" option to test/configure
1306 + completed string-hacks for "sprintf", etc., including test-programs.
1307 + make "--enable-string-hacks" work with Debian by checking for the
1308 "bsd" library and its associated "<bsd/string.h>" header.
1311 + correct 20100515 change for weak signals versus sigprocmask (report
1313 + modify misc/Makefile.in to work around OpenBSD "make" which unlike
1314 all other versions of "make" does not recognize continuation lines
1316 + amend the last change to CF_C_ENV_FLAGS to move only the
1317 preprocessor, optimization and warning flags to CPPFLAGS and CFLAGS,
1318 leaving the residue in CC. That happens to work for gcc's various
1319 "model" options, but may require tuning for other compilers (report
1323 + add "v" menu entry to test/ncurses.c to show baudrate and other
1325 + add "newer" baudrate symbols from Linux and FreeBSD to progs/tset.c,
1327 + modify CF_XOPEN_SOURCE macro:
1328 + add "uclinux" to case for "linux" (patch by Yann E. Morin)
1329 + modify _GNU_SOURCE for cygwin headers, tested with cygwin 2.3, 2.5
1330 (patch by Corinna Vinschen, from changes to tin).
1331 + improve CF_CC_ENV_FLAGS macro to allow for compiler wrappers such
1332 as "ccache" (report by Enrico Scholz).
1333 + update config.guess, config.sub from
1334 http://git.savannah.gnu.org/cgit/config.git
1337 + update tput manual page to reflect changes to manipulate terminal
1338 modes by sharing functions with tset.
1339 + add the terminal-mode parts of "reset" (aka tset) to the "tput reset"
1340 command, making the two almost the same except for window-size.
1341 + adapt logic used in dialog "--keep-tite" option for test/filter.c as
1342 "-a" option. When set, test/filter attempts to suppress the
1344 + correct a typo in interix entry -TD
1347 + add a dependency upon generated-sources in Ada95/src/Makefile.in to
1348 handle a case of "configure && make install".
1349 + trim trailing blanks from include/Caps*, to work around a problem
1350 in sed (Debian #818067).
1353 + improve CF_GNU_SOURCE configure macro to optionally define
1354 _DEFAULT_SOURCE work around a nuisance in recent glibc releases.
1355 + move the terminfo-specific parts of tput's "reset" function into
1356 the shared reset_cmd.c, making the two forms of reset use the same
1358 + split-out the terminal initialization functions from tset as
1359 progs/reset_cmd.c, as part of changes to merge the reset-feature
1363 + change tset's initialization to allow it to get settings from the
1364 standard input as well as /dev/tty, to be more effective when
1365 output or error are redirected.
1366 + improve discussion of history and portability for tset/reset/tput
1370 + improve error message from tset/reset when both stderr/stdout are
1371 redirected to a file or pipe.
1372 + improve organization of curs_attr.3x, curs_color.3x
1375 + work around Debian's antique/unmaintained version of mawk when
1377 + improve test/list_keys.c, showing ncurses's convention of modifiers
1378 for special keys, based on xterm.
1381 + improve test/list_keys.c, using $TERM if no parameters are given.
1384 + build-fixes for ncurses "test_progs" rule.
1385 + amend change to CF_CC_ENV_FLAGS in 20160521 to make multilib build
1386 work (report by Sven Joachim).
1389 + build-fixes for ncurses-examples with NetBSD curses.
1390 + improve test/list_keys.c, fixing column-widths and sorting the list
1391 to make it more readable.
1394 + revise fix for Debian #805618 (report by Vlado Potisk, cf: 20151128).
1395 + modify test/ncurses.c a/A screens to make exiting on an escape
1396 character depend on the start of keypad and timeout modes, to allow
1397 better testing of function-keys.
1398 + modify rs1 for xterm-16color, xterm-88color and xterm-256color to
1399 reset palette using "oc" string as in linux -TD
1400 + use ANSI reply for u8 in xterm-new, to reflect vt220-style responses
1401 that could be returned -TD
1402 + added a few capabilities fixed in recent vte -TD
1405 + correct logic for -f option in test/demo_terminfo.c
1406 + add test/list_keys.c
1409 + further workaround for PIE/PIC breakage which causes gpm to not link.
1410 + fix most cppcheck warnings, mostly style, in ncurses library.
1413 + improved manual page description of tset/reset versus window-size.
1414 + fixes to work with a slightly broken compiler configuration which
1415 cannot compile "Hello World!" without adding compiler options
1416 (report by Ola x Nilsson):
1417 + pass appropriate compiler options to the CF_PROG_CC_C_O macro.
1418 + when separating compiler and options in CF_CC_ENV_FLAGS, ensure
1419 that all options are split-off into CFLAGS or CPPFLAGS
1420 + restore some -I options removed in 20140726 because they appeared
1421 to be redundant. In fact, they are needed for a compiler that
1422 cannot combine -c and -o options.
1425 + regenerate HTML manpages.
1426 + improve manual pages for wgetch and wget_wch to point out that they
1427 might return values without names in curses.h (Debian #822426).
1428 + make linux3.0 entry the default linux entry (Debian #823658) -TD
1429 + modify linux2.6 entry to improve line-drawing so that the linux3.0
1430 entry can be used in non-UTF-8 mode -TD
1431 + document return value of use_extended_names (report by Mike Gran).
1434 + amend change to _nc_do_color to restore the early return for the
1435 special case used in _nc_screen_wrap (report by Dick Streefland,
1437 + modify test/ncurses.c:
1438 + check return-value of putwin
1439 + correct ifdef which made the 'g' test's legend not reflect changes
1440 to keypad- and scroll-modes.
1441 + correct return-value of extended putwin (report by Mike Gran).
1444 + modify test/ncurses.c 'd' edit-color menu to optionally read xterm
1445 color palette directly from terminal, as well as handling KEY_RESIZE
1446 and screen-repainting with control/L and control/R.
1447 + add 'oc' capability to xterm+256color, allowing palette reset for
1451 + add workaround in configure script for inept transition to PIE vs
1452 PIC builds documented in
1453 https://fedoraproject.org/wiki/Changes/Harden_All_Packages
1454 + add "reset" to list of programs whose names might change in manpages
1455 due to program-transformation configure options.
1456 + drop long-obsolete "-n" option from tset.
1459 + modify test/blue.c to use Unicode values for card-glyphs when
1460 available, as well as improving the check for CP437 and CP850.
1463 + regenerate HTML manpages.
1464 + improve manual pages for utilities with respect to POSIX versus
1468 + regenerate HTML manpages.
1469 + improve test/demo_menus.c, allowing mouse-click on the menu-headers
1470 to switch the active menu. This requires a new extension option
1471 O_MOUSE_MENU to tell the menu driver to put mouse events which do not
1472 apply to the active menu back into the queue so that the application
1473 can handle the event.
1476 + improve description of tgoto parameters (report by Steffen Nurpmeso).
1477 + amend workaround for Solaris line-drawing to restore a special case
1478 that maps Unicode line-drawing characters into the acsc string for
1479 non-Unicode locales (Debian #816888).
1482 + modified test/filter.c to illustrate an alternative to getnstr, that
1483 polls for input while updating a clock on the right margin as well
1484 as responding to window size-changes.
1487 + omit a redefinition of "inline" when traces are enabled, since this
1488 does not work with gcc 5.3.x MinGW cross-compiling (cf: 20150912).
1491 + modify test/configure script to check for pthread dependency of
1492 ncursest or ncursestw library when building ncurses examples, e.g.,
1493 in case weak symbols are used.
1494 + modify configure macro for shared-library rules to use -Wl,-rpath
1495 rather than -rpath to work around a bug in scons (FreeBSD #178732,
1497 + double-width multibyte characters were not counted properly in
1498 winsnstr and wins_nwstr (report/example by Eric Pruitt).
1499 + update config.guess, config.sub from
1500 http://git.savannah.gnu.org/cgit/config.git
1503 + amend fix for _nc_ripoffline from 20091031 to make test/ditto.c work
1504 in threaded configuration.
1505 + move _nc_tracebits, _tracedump and _tracemouse to curses.priv.h,
1506 since they are not part of the suggested ABI6.
1509 + define WIN32_LEAN_AND_MEAN for MinGW port, making builds faster.
1510 + modify test/ditto.c to allow $XTERM_PROG environment variable to
1511 override "xterm" as the name of the program to run in the threaded
1515 + improve formatting of man/curs_refresh.3x and man/tset.1 manpages
1516 + regenerate HTML manpages using newer man2html to eliminate some
1517 unwanted blank lines.
1520 + ifdef'd header-file definition of mouse_trafo() with NCURSES_NOMACROS
1521 (report by Corey Minyard).
1522 + fix some strict compiler-warnings in traces.
1525 + tidy up comments about hardcoded 256color palette (report by
1526 Leonardo Brondani Schenkel) -TD
1527 + add putty-noapp entry, and amend putty entry to use application mode
1528 for better consistency with xterm (report by Leonardo Brondani
1530 + modify _nc_viscbuf2() and _tracecchar_t2() to trace wide-characters
1531 as a whole rather than their multibyte equivalents.
1532 + minor fix in wadd_wchnstr() to ensure that each cell has nonzero
1534 + move PUTC_INIT calls next to wcrtomb calls, to avoid carry-over of
1535 error status when processing Unicode values which are not mapped.
1538 + modify ncurses c/C color test-screens to take advantage of wide
1539 screens, reducing the number of lines used for 88- and 256-colors.
1540 + minor refinement to check versus ncv to ignore two parameters of
1541 SGR 38 and 48 when those come from color-capabilities.
1544 + add check in tic for use of bold, etc., video attributes in the
1545 color capabilities, accounting whether the feature is listed in ncv.
1546 + add check in tic for conflict between ritm, rmso, rmul versus sgr0.
1549 + add a paragraph to curs_getch.3x discussing key naming (discussion
1550 with James Crippen).
1551 + amend workaround for Solaris vs line-drawing to take the configure
1553 + add a configure check for wcwidth() versus the ncurses line-drawing
1554 characters, to use in special-casing systems such as Solaris.
1557 + improve CF_XOPEN_CURSES macro used in test/configure, to define as
1558 needed NCURSES_WIDECHAR for platforms where _XOPEN_SOURCE_EXTENDED
1559 does not work. Also modified the test program to ensure that if
1560 building with ncurses, that the cchar_t type is checked, since that
1561 normally is since 20111030 ifdef'd depending on this test.
1562 + improve 20121222 workaround for broken acs, letting Solaris "work"
1563 in spite of its misconfigured wcwidth which marks all of the line
1564 drawing characters as double-width.
1567 + update form_cursor.3x, form_post.3x, menu_attributes.3x to list
1568 function names in NAME section (patch by Jason McIntyre).
1569 + minor fixes to manpage NAME/SYNOPSIS sections to consistently use
1570 rule that either all functions which are prototyped in SYNOPSIS are
1571 listed in the NAME section, or the manual-page name is the sole item
1572 listed in the NAME section. The latter is used to reduce clutter,
1573 e.g., for the top-level library manual pages as well as for certain
1574 feature-pages such as SP-funcs and threading (prompted by patches by
1578 + add option to preserve leading whitespace in form fields (patch by
1580 + add missing assignment in lib_getch.c to make notimeout() work
1582 + add 't' toggle for notimeout() function in test/ncurses.c a/A screens
1583 + add viewdata terminal description (Alexandre Montaron).
1584 + fix a case in tic/infocmp for formatting capabilities where a
1585 backslash at the end of a string was mishandled.
1586 + fix some typos in curs_inopts.3x (Benno Schulenberg).
1589 + fix some inconsistencies in the pccon* entries -TD
1590 + add bold to pccon+sgr+acs and pccon-base (Tati Chevron).
1591 + add keys f12-f124 to pccon+keys (Tati Chevron).
1592 + add test/test_sgr.c program to exercise all combinations of sgr.
1595 + modify tset's assignment to TERM in its output to reflect the name by
1596 which the terminal description is found, rather than the primary
1597 name. That was an unnecessary part from the initial conversion of
1598 tset from termcap to terminfo. The termcap program in 4.3BSD did
1599 this to avoid using the short 2-character name (report by Rich
1601 + minor fix to configure script to ensure that rules for resulting.map
1602 are only generated when needed (cf: 20151101).
1603 + modify configure script to handle the case where tic-library is
1604 renamed, but the --with-debug option is used by itself without
1605 normal or shared libraries (prompted by comment in Debian #803482).
1608 + amend change for pkg-config which allows build of pc-files when no
1609 valid pkg-config library directory was configured to suppress the
1610 actual install if it is not overridden to a valid directory at
1611 install time (cf: 20150822).
1612 + modify editing script which generates resulting.map to work with the
1613 clang configuration on recent FreeBSD, which gives an error on an
1614 empty "local" section.
1615 + fix a spurious "(Part)" message in test/ncurses.c b/B tests due
1616 to incorrect attribute-masking.
1619 + modify MKexpanded.sh to update the expansion of a temporary filename
1620 to "expanded.c", for use in trace statements.
1621 + modify layout of b/B tests in test/ncurses.c to allow for additional
1622 annotation on the right margin; some terminals with partial support
1623 did not display well.
1624 + fix typo in curs_attr.3x (patch by Sven Joachim).
1625 + fix typo in INSTALL (patch by Tomas Cech).
1626 + improve configure check for setting WILDCARD_SYMS variable; on ppc64
1627 the variable is in the Data section rather than Text (patch by Michel
1628 Normand, Novell #946048).
1629 + using configure option "--without-fallbacks" incorrectly caused
1630 FALLBACK_LIST to be set to "no" (patch by Tomas Cech).
1631 + updated minitel entries to fix kel problem with emacs, and add
1632 minitel1b-nb (Alexandre Montaron).
1633 + reviewed/updated nsterm entry Terminal.app in OSX -TD
1634 + replace some dead URLs in comments with equivalents from the
1635 Internet Archive -TD
1636 + update config.guess, config.sub from
1637 http://git.savannah.gnu.org/cgit/config.git
1640 + modify ncurses/Makefile.in to sort keys.list in POSIX locale
1641 (Debian #801864, patch by Esa Peuha).
1642 + remove an early-return from _nc_do_color, which can interfere with
1643 data needed by bkgd when ncurses is configured with extended colors
1644 (patch by Denis Tikhomirov).
1645 > fixes for OS/2 (patches by KO Myung-Hun)
1646 + use button instead of kbuf[0] in EMX-specific part of lib_mouse.c
1647 + support building with libtool on OS/2
1648 + use stdc++ on OS/2 kLIBC
1649 + clear cf_XOPEN_SOURCE on OS/2
1652 + add configure check for openpty to test/configure script, for ditto.
1653 + minor fixes to test/view.c in investigating Debian #790847.
1654 + update autoconf patch to 2.52.20150926, incorporates a fix for Cdk.
1655 + add workaround for breakage of POSIX makefiles by recent binutils
1657 + improve check for working poll() by using posix_openpt() as a
1658 fallback in case there is no valid terminal on the standard input
1659 (prompted by discussion on bug-ncurses mailing list, Debian #676461).
1662 + change makefile rule for removing resulting.map to distclean rather
1664 + add /lib/terminfo to terminfo-dirs in ".deb" test-package.
1665 + add note on portability of resizeterm and wresize to manual pages.
1668 + clarify in resizeterm.3x how KEY_RESIZE is pushed onto the input
1670 + clarify in curs_getch.3x that the keypad mode affects ability to
1671 read KEY_MOUSE codes, but does not affect KEY_RESIZE.
1672 + add overlooked build-fix needed with Cygwin for separate Ada95
1673 configure script, cf: 20150606 (report by Nicolas Boulenguez)
1676 + fixes for configure/build using clang on OSX (prompted by report by
1678 + do not redefine "inline" in ncurses_cfg.h; this was originally to
1679 solve a problem with gcc/g++, but is aggravated by clang's misuse
1680 of symbols to pretend it is gcc.
1681 + add braces to configure script to prevent unwanted add of
1682 "-lstdc++" to the CXXLIBS symbol.
1683 + improve/update test-program used for checking existence of stdc++
1685 + if $CXXLIBS is set, the linkage test uses that in addition to $LIBS
1688 + add note in curs_addch.3x about line-drawing when it depends upon
1690 + add tic -q option for consistency with infocmp, use it to suppress
1691 all comments from the "tic -I" output.
1692 + modify infocmp -q option to suppress the "Reconstructed from"
1694 + add infocmp/tic -Q option, which allows one to dump the compiled
1695 form of the terminal entry, in hexadecimal or base64.
1698 + sort options in usage message for infocmp, to make it simpler to
1700 + update usage message for tic, adding "-0" option.
1701 + documented differences in ESCDELAY versus AIX's implementation.
1702 + fix some compiler warnings from ports.
1703 + modify --with-pkg-config-libdir option to make it possible to install
1704 ".pc" files even if pkg-config is not found (adapted from patch by
1708 + disallow "no" as a possible value for "--with-shlib-version" option,
1709 overlooked in cleanup-changes for 20000708 (report by Tommy Alex).
1710 + update release notes in INSTALL.
1711 + regenerate llib-* files to help with review for release notes.
1714 + workaround for Debian #65617, which was fixed in mawk's upstream
1715 releases in 2009 (report by Sven Joachim). See
1716 https://invisible-island.net/mawk/CHANGES.html#t20090727
1718 20150808 6.0 release for upload to ftp.gnu.org
1721 + build-fix for Ada95 on older platforms without stdint.h
1722 + build-fix for Solaris, whose /bin/sh and /usr/bin/sed are non-POSIX.
1723 + update release announcement, summarizing more than 800 changes across
1724 more than 200 snapshots.
1725 + minor fixes to manpages, etc., to simplify linking from announcement
1729 + updated llib-* files.
1730 + build-fixes for ncurses library "test_progs" rule.
1731 + use alternate workaround for gcc 5.x feature (adapted from patch by
1733 + add status line to tmux via xterm+sl (patch by Nicholas Marriott).
1734 + fixes for st 0.5 from testing with tack -TD
1735 + review/improve several manual pages to break up wall-of-text:
1736 curs_add_wch.3x, curs_attr.3x, curs_bkgd.3x, curs_bkgrnd.3x,
1737 curs_getcchar.3x, curs_getch.3x, curs_kernel.3x, curs_mouse.3x,
1738 curs_outopts.3x, curs_overlay.3x, curs_pad.3x, curs_termattrs.3x
1739 curs_trace.3x, and curs_window.3x
1742 + correct an old logic error for %A and %O in tparm (report by "zreed").
1743 + improve documentation for signal handlers by adding section in the
1744 curs_initscr.3x page.
1745 + modify logic in make_keys.c to not assume anything about the size
1746 of strnames and strfnames variables, since those may be functions
1747 in the thread- or broken-linker configurations (problem found by
1749 + modify test/configure script to check for pthreads configuration,
1750 e.g., ncursestw library.
1753 + modify scripts to build/use test-packages for the pthreads
1754 configuration of ncurses6.
1755 + add references to ttytype and termcap symbols in demo_terminfo.c and
1756 demo_termcap.c to ensure that when building ncursest.map, etc., that
1757 the corresponding names such as _nc_ttytype are added to the list of
1758 versioned symbols (report by Werner Fink)
1759 + fix regression from 20150704 (report/patch by Werner Fink).
1762 + fix a few problems reported by Coverity.
1763 + fix comparison against "/usr/include" in misc/gen-pkgconfig.in
1764 (report by Daiki Ueno, Debian #790548, cf: 20141213).
1767 + modify configure script to remove deprecated ABI 5 symbols when
1769 + add symbols _nc_Default_Field, _nc_Default_Form, _nc_has_mouse to
1770 map-files, but marked as deprecated so that they can easily be
1771 suppressed from ABI 6 builds (Debian #788610).
1772 + comment-out "screen.xterm" entry, and inherit screen.xterm-256color
1773 from xterm-new (report by Richard Birkett) -TD
1774 + modify read_entry.c to set the error-return to -1 if no terminal
1775 databases were found, as documented for setupterm.
1776 + add test_setupterm.c to demonstrate normal/error returns from the
1777 setupterm and restartterm functions.
1778 + amend cleanup change from 20110813 which removed redundant definition
1779 of ret_error, etc., from tinfo_driver.c, to account for the fact that
1780 it should return a bool rather than int (report/analysis by Johannes
1784 + fix overflow warning for OSX with lib_baudrate.c (cf: 20010630).
1785 + modify script used to generate map/sym files to mark 5.9.20150530 as
1786 the last "5.9" version, and regenerated the files. That makes the
1787 files not use ".current" for the post-5.9 symbols. This also
1788 corrects the label for _nc_sigprocmask used in when weak symbols are
1789 configured for the ncursest/ncursestw libraries (prompted by
1790 discussion with Sven Joachim).
1791 + fix typo in NEWS (report by Sven Joachim).
1793 20150606 pre-release
1794 + make ABI 6 the default by updates to dist.mk and VERSION, with the
1795 intention that the existing ABI 5 should build as before using the
1796 "--with-abi-version=5" option.
1797 + regenerate ada- and man-html documentation.
1798 + minor fixes to color- and util-manpages.
1799 + fix a regression in Ada95/gen/Makefile.in, to handle special case of
1800 Cygwin, which uses the broken-linker feature.
1801 + amend fix for CF_NCURSES_CONFIG used in test/configure to assume that
1802 ncurses package scripts work when present for cross-compiling, as the
1803 lessor of two evils (cf: 20150530).
1804 + add check in configure script to disallow conflicting options
1805 "--with-termlib" and "--enable-term-driver".
1806 + move defaults for "--disable-lp64" and "--with-versioned-syms" into
1807 CF_ABI_DEFAULTS macro.
1810 + change private type for Event_Mask in Ada95 binding to work when
1811 mmask_t is set to 32-bits.
1812 + remove spurious "%;" from st entry (report by Daniel Pitts) -TD
1813 + add vte-2014, update vte to use that -TD
1814 + modify tic and infocmp to "move" a diagnostic for tparm strings that
1815 have a syntax error to tic's "-c" option (report by Daniel Pitts).
1816 + fix two problems with configure script macros (Debian #786436,
1817 cf: 20150425, cf: 20100529).
1820 + add 'P' menu item to test/ncurses.c, to show pad in color.
1821 + improve discussion in curs_color.3x about color rendering (prompted
1822 by comment on Stack Overflow forum):
1823 + remove screen-bce.mlterm, since mlterm does not do "bce" -TD
1824 + add several screen.XXX entries to support the respective variations
1826 + add putty+fnkeys* building-block entries -TD
1827 + add smkx/rmkx to capabilities analyzed with infocmp "-i" option.
1830 + amend change to ".pc" files to only use the extra loader flags which
1831 may have rpath options (report by Sven Joachim, cf: 20150502).
1832 + change versioning for dpkg's in test-packages for Ada95 and
1833 ncurses-examples for consistency with Debian, to work with package
1835 + regenerate html manpages.
1836 + clarify handling of carriage return in waddch manual page; it was
1837 discussed only in the portability section (prompted by comment on
1838 Stack Overflow forum):
1841 + add test-packages for cross-compiling ncurses-examples using the
1842 MinGW test-packages. These are only the Debian packages; RPM later.
1843 + cleanup format of debian/copyright files
1844 + add pc-files to the MinGW cross-compiling test-packages.
1845 + correct a couple of places in gen-pkgconfig.in to handle renaming of
1849 + modify the configure script to allow different default values
1850 for ABI 5 versus ABI 6.
1851 + add wgetch-events to test-packages.
1852 + add a note on how to build ncurses-examples to test/README.
1853 + fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
1855 + remove unnecessary ';' from E3 capabilities -TD
1856 + add tmux entry, derived from screen (patch by Nicholas Marriott).
1857 + split-out recent change to nsterm-bce as nsterm-build326, and add
1858 nsterm-build342 to reflect changes with successive releases of OSX
1859 (discussion with Leonardo B Schenkel)
1860 + add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
1862 + add sample "magic" file, to document ext-putwin.
1863 + modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
1864 generated ".pc" file when ld option "--as-needed" is used, or when
1865 ncurses and tinfo are installed without using rpath (prompted by
1866 discussion with Sylvain Bertrand).
1867 + modify test-package for ncurses6 to omit rpath feature when installed
1869 + add OSX's "*.dSYM" to clean-rules in makefiles.
1870 + make extra-suffix work for OSX configuration, e.g., for shared
1872 + modify Ada95/configure script to work with pkg-config
1873 + move test-package for ncurses6 to /usr, since filename-conflicts have
1875 + corrected build rules for Ada95/gen/generate; it does not depend on
1876 the ncurses library aside from headers.
1877 + reviewed man pages, fixed a few other spelling errors.
1878 + fix a typo in curs_util.3x (Sven Joachim).
1879 + use extra-suffix in some overlooked shared library dependencies
1880 found by 20150425 changes for test-packages.
1881 + update config.guess, config.sub from
1882 http://git.savannah.gnu.org/cgit/config.git
1885 + expanded description of tgetstr's area pointer in manual page
1886 (report by Todd M Lewis).
1887 + in-progress changes to modify test-packages to use ncursesw6 rather
1888 than ncursesw, with updated configure scripts.
1889 + modify CF_NCURSES_CONFIG in Ada95- and test-configure scripts to
1890 check for ".pc" files via pkg-config, but add a linkage check since
1891 frequently pkg-config configurations are broken.
1892 + modify misc/gen-pkgconfig.in to include EXTRA_LDFLAGS, e.g., for the
1894 + add 'dim' capability to screen entry (report by Leonardo B Schenkel)
1895 + add several key definitions to nsterm-bce to match preconfigured
1896 keys, e.g., with OSX 10.9 and 10.10 (report by Leonardo B Schenkel)
1897 + fix repeated "extra-suffix" in ncurses-config.in (cf: 20150418).
1898 + improve term_variables manual page, adding section on the terminfo
1899 long-name symbols which are defined in the term.h header.
1900 + fix bug in lib_tracebits.c introduced in const-fixes (cf: 20150404).
1903 + avoid a blank line in output from tabs program by ending it with
1904 a carriage return as done in FreeBSD (patch by James Clarke).
1905 + build-fix for the "--enable-ext-putwin" feature when not using
1906 wide characters (report by Werner Fink).
1907 + modify autoconf macros to use scripting improvement from xterm.
1908 + add -brtl option to compiler options on AIX 5-7, needed to link
1909 with the shared libraries.
1910 + add --with-extra-suffix option to help with installing nonconflicting
1911 ncurses6 packages, e.g., avoiding header- and library-conflicts.
1912 NOTE: as a side-effect, this renames
1913 adacurses-config to adacurses5-config and
1914 adacursesw-config to adacursesw5-config
1915 + modify debian/rules test package to suffix programs with "6".
1916 + clarify in curs_inopts.3x that window-specific settings do not
1917 inherit into new windows.
1920 + improve description of start_color() in the manual.
1921 + modify several files in ncurses- and progs-directories to allow
1922 const data used in internal tables to be put by the linker into the
1923 readonly text segment.
1926 + correct cut/paste error for "--enable-ext-putwin" that made it the
1927 same as "--enable-ext-colors" (report by Roumen Petrov)
1930 + add "-f" option to test/savescreen.c to help with testing/debugging
1931 the extended putwin/getwin.
1932 + add logic for writing/reading combining characters in the extended
1934 + add "--enable-ext-putwin" configure option to turn on the extended
1938 + in-progress changes to provide an extended version of putwin and
1939 getwin which will be capable of reading screen-dumps between the
1940 wide/normal ncurses configurations. These are text files, except
1941 for a magic code at the beginning:
1942 0 string \210\210 Screen-dump (ncurses)
1945 + document limitations of getwin in manual page (prompted by discussion
1947 + extend test/savescreen.c to demonstrate that color pair values
1948 and graphic characters can be restored using getwin.
1951 + modify win_driver.c to eliminate the constructor, to make it more
1952 usable in an application which may/may not need the console window
1953 (report by Grady Martin).
1956 + capture define's related to -D_XOPEN_SOURCE from the configure check
1957 and add those to the *-config and *.pc files, to simplify use for
1958 the wide-character libraries.
1959 + modify ncurses.spec to accommodate Fedora21's location of pkg-config
1961 + correct sense of "--disable-lib-suffixes" configure option (report
1962 by Nicolas Boos, cf: 20140426).
1965 + regenerate html manpages using improved man2html from work on xterm.
1966 + regenerated ".map" and ".sym" files using improved script, accounting
1967 for the "--enable-weak-symbols" configure option (report by Werner
1971 + regenerated ".map" and ".sym" files using improved script, showing
1972 the combinations of configure options used at each stage.
1975 + add configure check to determine if "local: _*;" can be used in the
1976 ".map" files to selectively omit symbols beginning with "_". On at
1977 least recent FreeBSD, the wildcard applies to all "_" symbols.
1978 + remove obsolete/conflicting rule for ncurses.map from
1979 ncurses/Makefile.in (cf: 20130706).
1982 + improve description in INSTALL of the --with-versioned-syms option.
1983 + add combination of --with-hashed-db and --with-ticlib to
1984 configurations for ".map" files (report by Werner Fink).
1987 + add a step to generating ".map" files, to declare any remaining
1988 symbols beginning with "_" as local, at the last version node.
1989 + improve configure checks for pkg-config, addressing a variant found
1991 + modify win_driver.c to provide characters for special keys, like
1992 ansi.sys, when keypad mode is off, rather than returning nothing at
1993 all (discussion with Eli Zaretskii).
1994 + add "broken_linker" and "hashed-db" configure options to combinations
1995 use for generating the ".map" and ".sym" files.
1996 + avoid using "ld" directly when creating shared library, to simplify
1997 cross-compiles. Also drop "-Bsharable" option from shared-library
1998 rules for FreeBSD and DragonFly (FreeBSD #196592).
1999 + fix a memory leak in form library Free_RegularExpression_Type()
2000 (report by Pavel Balaev).
2003 + modify_nc_flush() to retry if interrupted (patch by Stian Skjelstad).
2004 + change map files to make _nc_freeall a global, since it may be used
2005 via the Ada95 binding when checking for memory leaks.
2006 + improve sed script used in 20141220 to account for wide-, threaded-
2007 variations in ABI 6.
2010 + regenerate ".map" files, using step overlooked in 20141213 to use
2011 the same patch-dates across each file to match ncurses.map (report by
2015 + fix an incorrect variable assignment in 20141220 changes (report by
2019 + updated Ada95/configure with macro changes from 20141213
2020 + tie configure options --with-abi-version and --with-versioned-syms
2021 together, so that ABI 6 libraries have distinct symbol versions from
2022 the ABI 5 libraries.
2023 + replace obsolete/nonworking link to man2html with current one,
2024 regenerate html-manpages.
2027 + modify misc/gen-pkgconfig.in to add -I option for include-directory
2028 when using both --prefix and --disable-overwrite (report by Misty
2030 + add configure option --with-pc-suffix to allow minor renaming of
2031 ".pc" files and the corresponding library. Use this in the test
2032 package for ncurses6.
2033 + modify configure script so that if pkg-config is not installed, it
2034 is still possible to install ".pc" files (report by Misty De Meo).
2035 + updated ".sym" files, removing symbols which are marked as "local"
2036 in the corresponding ".map" files.
2037 + updated ".map" files to reflect move of comp_captab and comp_hash
2038 from tic-library to tinfo-library in 20090711 (report by Sven
2042 + updated ".map" files so that each symbol that may be shared across
2043 the different library configurations has the same label. Some
2044 review is needed to ensure these are really compatible.
2045 + modify MKlib_gen.sh to work around change in development version of
2046 gcc introduced here:
2047 https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
2048 https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00236.html
2049 (reports by Marcus Shawcroft, Maohui Lei).
2050 + improved configure macro CF_SUBDIR_PATH, from lynx changes.
2053 + improved ".map" files by generating them with a script that builds
2054 ncurses with several related configurations and merges the results.
2055 A further refinement is planned, to make the tic- and tinfo-library
2056 symbols use the same versions across each of the four configurations
2057 which are represented (reports by Sven Joachim, Werner Fink).
2060 + improve description of limits for color values and color pairs in
2061 curs_color.3x (prompted by patch by Tim van der Molen).
2062 + add VERSION file, using first field in that to record the ABI version
2063 used for configure --with-libtool --disable-libtool-version
2064 + add configure options for applying the ".map" and ".sym" files to
2065 the ncurses, form, menu and panel libraries.
2066 + add ".map" and ".sym" files to show exported symbols, e.g., for
2070 + improve strict compiler-warnings by adding a cast in TRACE_RETURN
2071 and making a new TRACE_RETURN1 macro for cases where the cast does
2075 + in-progress changes to integrate the win32 console driver with the
2076 msys2 configuration.
2079 + reviewed terminology 0.6.1, add function key definitions. None of
2080 the vt100-compatibility issues were improved -TD
2081 + improve infocmp conversion of extended capabilities to termcap by
2082 correcting the limit check against parametrized[], as well as filling
2083 in a check if the string happens to have parameters, e.g., "xm"
2085 + add check for zero/negative dimensions for resizeterm and resize_term
2086 (report by Mike Gran).
2089 + add experimental support for xterm's 1005 mouse mode, to use in a
2090 demonstration of its limitations.
2091 + add experimental support for "%u" format to terminfo.
2092 + modify test/ncurses.c to also show position reports in 'a' test.
2093 + minor formatting fixes to _nc_trace_mmask_t, make this function
2094 exported to help with debugging mouse changes.
2095 + improve behavior of wheel-mice for xterm protocol, noting that there
2096 are only button-presses for buttons "4" and "5", so there is no need
2097 to wait to combine events into double-clicks (report/analysis by
2099 + provide examples xterm-1005 and xterm-1006 terminfo entries -TD
2100 + implement decoder for xterm SGR 1006 mouse mode.
2103 + implement curs_set in win_driver.c
2104 + implement flash in win_driver.c
2105 + fix an infinite loop in win_driver.c if the command-window loses
2107 + improve the non-buffered mode, i.e., NCURSES_CONSOLE2, of
2108 win_driver.c by temporarily changing the buffer-size to match the
2109 window-size to eliminate the scrollback. Also enforce a minimum
2110 screen-size of 24x80 in the non-buffered mode.
2111 + modify generated misc/Makefile to suppress install.data from the
2112 dependencies if the --disable-db-install option is used, compensating
2113 for the top-level makefile changes used to add ncurses*-config in the
2114 20140920 changes (report by Steven Honeyman).
2117 + add ncurses*-config to bin-directory of sample package-scripts.
2118 + add check to ensure that getopt is available; this is a problem in
2119 some older cross-compiler environments.
2120 + expanded on the description of --disable-overwrite in INSTALL
2121 (prompted by reports by Joakim Tjernlund, Thomas Klausner).
2122 See Gentoo #522586 and NetBSD #49200 for examples.
2123 which relates to the clarified guidelines.
2124 + remove special logic from CF_INCLUDE_DIRS which adds the directory
2125 for the --includedir from the build (report by Joakim Tjernlund).
2126 + add case for Unixware to CF_XOPEN_SOURCE, from lynx changes.
2127 + update config.sub from
2128 http://git.savannah.gnu.org/cgit/config.git
2131 + add a configure check to ignore some of the plethora of non-working
2132 C++ cross-compilers.
2133 + build-fixes for Ada95 with gnat 4.9
2136 + build-fix and other improvements for port of ncurses-examples to
2138 + minor compiler-warning fixes.
2141 + modify test/demo_termcap.c and test/demo_terminfo.c to make their
2142 options more directly comparable, and add "-i" option to specify
2143 a terminal description filename to parse for names to lookup.
2146 + fix special case where double-width character overwrites a single-
2147 width character in the first column (report by Egmont Koblinger,
2151 + fix colors in ncurses 'b' test which did not work after changing
2152 it to put the test-strings in subwindows (cf: 20140705).
2153 + merge redundant SEE-ALSO sections in form and menu manpages.
2156 + modify declarations for user-data pointers in C++ binding to use
2157 reinterpret_cast to facilitate converting typed pointers to void*
2158 in user's application (patch by Adam Jiang).
2159 + regenerated html manpages.
2160 + add note regarding cause and effect for TERM in ncurses manpage,
2161 having noted clueless verbiage in Terminal.app's "help" file
2162 which reverses cause/effect.
2163 + remove special fallback definition for NCURSES_ATTR_T, since macros
2164 have resolved type-mismatches using casts (cf: 970412).
2165 + fixes for win_driver.c:
2166 + handle repainting on endwin/refresh combination.
2171 + minor portability fixes for MinGW:
2172 + ensure WINVER is defined in makefiles rather than using headers
2173 + add check for gnatprep "-T" option
2174 + work around bug introduced by gcc 4.8.1 in MinGW which breaks
2176 http://stackoverflow.com/questions/20877689/gcc-4-8-1-minggw-d-option-does-not-work-as-usual
2177 + fix most compiler warnings for Cygwin ncurses-examples.
2178 + restore "redundant" -I options in test/Makefile.in, since they are
2179 typically needed when building the derived ncurses-examples package
2183 + eliminate some redundant -I options used for building libraries, and
2184 ensure that ${srcdir} is added to the include-options (prompted by
2185 discussion with Paul Gilmartin).
2186 + modify configure script to work with Minix3.2
2187 + add form library extension O_DYNAMIC_JUSTIFY option which can be
2188 used to override the different treatment of justification for static
2189 versus dynamic fields (adapted from patch by Leon Winter).
2190 + add a null pointer check in test/edit_field.c (report/analysis by
2191 Leon Winter, cf: 20130608).
2194 + make workarounds for compiling test-programs with NetBSD curses.
2195 + improve configure macro CF_ADD_LIBS, to eliminate repeated -l/-L
2196 options, from xterm changes.
2199 + correct Charable() macro check for A_ALTCHARSET in wide-characters.
2200 + build-fix for position-debug code in tty_update.c, to work with or
2204 + add w/W toggle to ncurses.c 'B' test, to demonstrate permutation of
2205 video-attributes and colors with double-width character strings.
2208 + correct check in win_driver.c for saving screen contents, e.g., when
2209 NCURSES_CONSOLE2 is set (cf: 20140503).
2210 + reorganize b/B menu items in ncurses.c, putting the test-strings into
2211 subwindows. This is needed for a planned change to use Unicode
2212 fullwidth characters in the test-screens.
2213 + correct update to form status for _NEWTOP, broken by fixes for
2214 compiler warnings (patch by Leon Winter, cf: 20120616).
2217 + change shared-library suffix for AIX 5 and 6 to ".so", avoiding
2218 conflict with the static library (report by Ben Lentz).
2219 + document RPATH_LIST in INSTALLATION file, as part of workarounds for
2220 upgrading an ncurses library using the "--with-shared" option.
2221 + modify test/ncurses.c c/C tests to cycle through subsets of the
2222 total number of colors, to better illustrate 8/16/88/256-colors by
2223 providing directly comparable screens.
2224 + add test/dots_curses.c, for comparison with the low-level examples.
2227 + fix dereference before null check found by Coverity in tic.c
2229 + fix sign-extension bug in read_entry.c which prevented "toe" from
2230 reading empty "screen+italics" entry.
2231 + modify sgr for screen.xterm-new to support dim capability -TD
2232 + add dim capability to nsterm+7 -TD
2233 + cancel dim capability for iterm -TD
2234 + add dim, invis capabilities to vte-2012 -TD
2235 + add sitm/ritm to konsole-base and mlterm3 -TD
2238 > fix regression in screen terminfo entries (reports by Christian
2239 Ebert, Gabriele Balducci) -TD
2240 + revert the change to screen; see notes for why this did not work -TD
2241 + cancel sitm/ritm for entries which extend "screen", to work around
2242 screen's hardcoded behavior for SGR 3 -TD
2245 + separate masking for sgr in vidputs from sitm/ritm, which do not
2246 overlap with sgr functionality.
2247 + remove unneeded -i option from adacurses-config; put -a in the -I
2248 option for consistency (patch by Pascal Pignard).
2249 + update xterm-new terminfo entry to xterm patch #305 -TD
2250 + change format of test-scripts for Debian Ada95 and ncurses-examples
2251 packages to quilted to work around Debian #700177 (cf: 20130907).
2252 + build fix for form_driver_w.c as part of ncurses-examples package for
2253 older ncurses than 20131207.
2254 + add Hello World example to adacurses-config manpage.
2255 + remove unused --enable-pc-files option from Ada95/configure.
2256 + add --disable-gnat-projects option for testing.
2257 + revert changes to Ada95 project-files configuration (cf: 20140524).
2258 + corrected usage message in adacurses-config.
2261 + fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
2262 environment variable.
2263 + improve discussion of input-echoing in curs_getch.3x
2264 + clarify discussion in curs_addch.3x of wrapping.
2265 + modify parametrized.h to make fln non-padded.
2266 + correct several entries which had termcap-style padding used in
2267 terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
2268 + correct syntax for padding in some entries: dg211, h19 -TD
2269 + correct ti924-8 which had confused padding versus octal escapes -TD
2270 + correct padding in sbi entry -TD
2271 + fix an old bug in the termcap emulation; "%i" was ignored in tparm()
2272 because the parameters to be incremented were already on the internal
2273 stack (report by Corinna Vinschen).
2274 + modify tic's "-c" option to take into account the "-C" option to
2275 activate additional checks which compare the results from running
2276 tparm() on the terminfo expressions versus the translated termcap
2278 + modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
2280 > patches by Nicolas Boulenguez:
2281 + explicit dereferences to suppress some style warnings.
2282 + when c_varargs_to_ada.c includes its header, use double quotes
2284 + samples/ncurses2-util.adb: removed unused with clause. The warning
2285 was removed by an obsolete pragma.
2286 + replaced Unreferenced pragmas with Warnings (Off). The latter,
2287 available with older GNATs, needs no configure test. This also
2288 replaces 3 untested Unreferenced pragmas.
2289 + simplified To_C usage in trace handling. Using two parameters allows
2290 some basic formatting, and avoids a warning about security with some
2292 + for generated Ada sources, replace many snippets with one pure
2294 + removed C_Chtype and its conversions.
2295 + removed C_AttrType and its conversions.
2296 + removed conversions between int, Item_Option_Set, Menu_Option_Set.
2297 + removed int, Field_Option_Set, Item_Option_Set conversions.
2298 + removed C_TraceType, Attribute_Option_Set conversions.
2299 + replaced C.int with direct use of Eti_Error, now enumerated. As it
2300 was used in a case statement, values were tested by the Ada compiler
2301 to be consecutive anyway.
2302 + src/Makefile.in: remove duplicate stanza
2303 + only consider using a project for shared libraries.
2304 + style. Silent gnat-4.9 warning about misplaced "then".
2305 + generate shared library project to honor ADAFLAGS, LDFLAGS.
2308 + cleanup recently introduced compiler warnings for MingW port.
2309 + workaround for ${MAKEFLAGS} configure check versus GNU make 4.0,
2310 which introduces more than one gratuitous incompatibility.
2313 + add vt520ansi terminfo entry (patch by Mike Gran)
2314 + further improve MinGW support for the scenario where there is an
2315 ANSI-escapes handler such as ansicon running in the console window
2316 (patch by Juergen Pfeifer).
2319 + add --disable-lib-suffixes option (adapted from patch by Juergen
2321 + merge some changes from Juergen Pfeifer's work with MSYS2, to
2322 simplify later merging:
2323 + use NC_ISATTY() macro for isatty() in library
2324 + add _nc_mingw_isatty() and related functions to windows-driver
2325 + rename terminal driver entrypoints to simplify grep's
2326 + remove a check in the sp-funcs flavor of newterm() which allowed only
2327 the first call to newterm() to succeed (report by Thomas Beierlein,
2331 + update config.guess, config.sub from
2332 http://git.savannah.gnu.org/cgit/config.git
2335 + modify configure script:
2336 + drop the -no-gcc option from Intel compiler, from lynx changes.
2337 + extend the --with-hashed-db configure option to simplify building
2338 with different versions of Berkeley database using FreeBSD ports.
2339 + improve initialization for MinGW port (Juergen Pfeifer):
2340 + enforce Windows-style path-separator if cross-compiling,
2341 + add a driver-name method to each of the drivers,
2342 + allow the Windows driver name to match "unknown", ignoring case,
2343 + lengthen the built-in name for the Windows console driver to
2344 "#win32console", and
2345 + move the comparison of driver-names allowing abbreviation, e.g.,
2346 to "#win32con" into the Windows console driver.
2349 + add check in tic for mismatch between ccc and initp/initc
2350 + cancel ccc in putty-256color and konsole-256color for consistency
2351 with the cancelled initc capability (patch by Sven Zuhlsdorf).
2352 + add xterm+256setaf building block for various terminals which only
2353 get the 256-color feature half-implemented -TD
2354 + updated "st" entry (leaving the 0.1.1 version as "simpleterm") to
2358 + fix typo in "mlterm" entry (report by Gabriele Balducci) -TD
2361 + use types from <stdint.h> in sample build-scripts for chtype, etc.
2362 + modify configure script and curses.h.in to allow the types specified
2363 using --with-chtype and related options to be defined in <stdint.h>
2364 + add terminology entry -TD
2365 + add mlterm3 entry, use that as "mlterm" -TD
2366 + inherit mlterm-256color from mlterm -TD
2369 + modify _nc_New_TopRow_and_CurrentItem() to ensure that the menu's
2370 top-row is adjusted as needed to ensure that the current item is
2371 on the screen (patch by Johann Klammer).
2372 + add wgetdelay() to retrieve _delay member of WINDOW if it happens to
2373 be opaque, e.g., in the pthread configuration (prompted by patch by
2377 + modify ifdef in read_entry.c to handle the case where
2378 NCURSES_USE_DATABASE is not defined (patch by Xin Li).
2379 + add cast in form_driver_w() to fix ARM build (patch by Xin Li).
2380 + add logic to win_driver.c to save/restore screen contents when not
2381 allocating a console-buffer (cf: 20140215).
2384 + clarify error-returns from newwin (report by Ruslan Nabioullin).
2387 + fix some compiler warnings in win_driver.c
2388 + updated notes for wsvt25 based on tack and vttest -TD
2389 + add teken entry to show actual properties of FreeBSD's "xterm"
2393 + in-progress changes to win_driver.c to implement output without
2394 allocating a console-buffer. This uses a pre-existing environment
2395 variable NCGDB used by Juergen Pfeifer for debugging (prompted by
2396 discussion with Erwin Waterlander regarding Console2, which hangs
2397 when reading in an allocated console-buffer).
2398 + add -t option to gdc.c, and modify to accept "S" to step through the
2400 + regenerate NCURSES-Programming-HOWTO.html to fix some of the broken
2401 html emitted by docbook.
2404 + modify CF_XOPEN_SOURCE macro to omit followup check to determine if
2405 _XOPEN_SOURCE can/should be defined. g++ 4.7.2 built on Solaris 10
2406 has some header breakage due to its own predefinition of this symbol
2407 (report by Jean-Pierre Flori, Sage #15796).
2410 + add/use symbol NCURSES_PAIRS_T like NCURSES_COLOR_T, to illustrate
2411 which "short" types are for color pairs and which are color values.
2412 + fix build for s390x, by correcting field bit offsets in generated
2413 representation clauses when int=32 long=64 and endian=big, or at
2414 least on s390x (patch by Nicolas Boulenguez).
2415 + minor cleanup change to test/form_driver_w.c (patch by Gaute Hope).
2418 + remove unnecessary ifdef's in Ada95/gen/gen.c, which reportedly do
2419 not work as is with gcc 4.8 due to fixes using chtype cast made for
2420 new compiler warnings by gcc 4.8 in 20130824 (Debian #735753, patch
2421 by Nicolas Boulenguez).
2424 + apply includesubdir variable which was introduced in 20130805 to
2425 gen-pkgconfig.in (Debian #735782).
2428 + further improved man2html, used this to fix broken links in html
2430 ftp://ftp.invisible-island.net/ncurses/patches/man2html
2433 + modify configure-script/ifdef's to allow OLD_TTY feature to be
2434 suppressed if the type of ospeed is configured using the option
2435 --with-ospeed to not be a short. By default, it is a short for
2436 termcap-compatibility (adapted from suggestion by Christian
2438 + correct a typo in _nc_baudrate() (patch by Christian Weisgerber,
2440 + fix a few -Wlogical-op warnings.
2441 + updated llib-l* files.
2444 + add form_driver_w() entrypoint to wide-character forms library, as
2445 well as test program form_driver_w (adapted from patch by Gaute
2449 + minor fix for CF_GCC_WARNINGS to special-case options which are not
2450 recognized by clang.
2453 + add special case to configure script to move _XOPEN_SOURCE_EXTENDED
2454 definition from CPPFLAGS to CFLAGS if it happens to be needed for
2455 Solaris, because g++ errors with that definition (report by
2456 Jean-Pierre Flori, Sage #15268).
2457 + correct logic in infocmp's -i option which was intended to ignore
2458 strings which correspond to function-keys as candidates for piecing
2459 together initialization- or reset-strings. The problem dates to
2460 1.9.7a, but was overlooked until changes in -Wlogical-op warnings for
2461 gcc 4.8 (report by David Binderman).
2462 + updated CF_GCC_WARNINGS to documented options for gcc 4.9.0, moving
2463 checks for -Wextra and -Wdeclaration-after-statement into the macro,
2464 and adding checks for -Wignored-qualifiers, -Wlogical-op and
2466 + updated CF_CURSES_UNCTRL_H and CF_SHARED_OPTS macros from ongoing
2468 + update config.sub from
2469 http://git.savannah.gnu.org/cgit/config.git
2472 + minor cleanup of terminfo.tail
2475 + use TS extension to describe xterm's title-escapes -TD
2476 + modify terminator and nsterm-s to use xterm+sl-twm building block -TD
2477 + update hurd.ti, add xenl to reflect 2011-03-06 change in
2478 http://git.savannah.gnu.org/cgit/hurd/hurd.git/log/console/display.c
2480 + simplify pfkey expression in ansi.sys -TD
2483 + correct/simplify ifdef's for cur_term versus broken-linker and
2484 reentrant options (report by Jean-Pierre Flori, cf: 20090530).
2485 + modify release/version combinations in test build-scripts to make
2486 them more consistent with other packages.
2489 + add nc_mingw.h to installed headers for MinGW port; needed for
2490 compiling ncurses-examples.
2491 + add rpm-script for testing cross-compile of ncurses-examples.
2494 + fix new typo in CF_ADA_INCLUDE_DIRS macro (report by Roumen Petrov).
2497 + fix a few compiler warnings in progs and test.
2498 + minor fix to package/debian-mingw/rules, do not strip dll's.
2499 + minor fixes to configure script for empty $prefix, e.g., when doing
2500 cross-compiles to MinGW.
2501 + add script for building test-packages of binaries cross-compiled to
2505 + minor fixes for ncurses-example package and makefile.
2506 + add scripts for test-builds of cross-compiler packages for ncurses6
2510 + some build-fixes for ncurses-examples with NetBSD-6.0 curses, though
2511 it lacks some common functions such as use_env() which is not yet
2513 + build-fix and some compiler warning fixes for ncurses-examples with
2515 + fix a possible null-pointer reference in a trace message from newterm.
2516 + quiet a few warnings from NetBSD 6.0 namespace pollution by
2517 nonstandard popcount() function in standard strings.h header.
2518 + ignore g++ 4.2.1 warnings for "-Weffc++" in c++/cursesmain.cc
2519 + fix a few overlooked places for --enable-string-hacks option.
2522 + fix typo in curs_attr.3x (patch by Sven Joachim, cf: 20130831).
2523 + build-fix for --with-shared option for DragonFly and FreeBSD (report
2524 by Rong-En Fan, cf: 20130727).
2527 + build-fixes for MSYS for two test-programs (patches by Ray Donnelly,
2529 + revert change to two of the dpkg format files, to work with dpkg
2530 before/after Debian #700177.
2531 + fix gcc -Wconversion warning in wattr_get() macro.
2532 + add msys and msysdll to known host/configuration types (patch by
2534 + modify CF_RPATH_HACK configure macro to not rely upon "-u" option
2535 of sort, improving portability.
2536 + minor improvements for test-programs from reviewing Solaris port.
2537 + update config.guess, config.sub from
2538 http://git.savannah.gnu.org/cgit/config.git
2541 + modify test/ncurses.c b/B tests to display lines only for the
2542 attributes which a given terminal supports, to make room for an
2544 + completed ncv table in terminfo.tail; it did not list the wide
2545 character codes listed in X/Open Curses issue 7.
2546 + add A_ITALIC extension (prompted by discussion with Egmont Koblinger).
2549 + fix some gcc 4.8 -Wconversion warnings.
2550 + change format of dpkg test-scripts to quilted to work around bug
2551 introduced by Debian #700177.
2552 + discard cached keyname() values if meta() is changed after a value
2553 was cached using (report by Kurban Mallachiev).
2556 + add checks in tic to warn about terminals which lack cursor
2557 addressing, capabilities or having those, are marked as hard_copy or
2559 + use --without-progs in mingw-ncurses rpm.
2560 + split out _nc_init_termtype() from alloc_entry.c to use in MinGW
2561 port when tic and other programs are not needed.
2564 + minor fixes to the --disable-overwrite logic, to ensure that the
2565 configured $(includedir) is not cancelled by the mingwxx-filesystem
2567 + add --disable-db-install configure option, to simplify building
2568 cross-compile support packages.
2569 + add mingw-ncurses.spec file, for testing cross-compiles.
2572 + improve configure macros from ongoing work on cdk, dialog, xterm:
2573 + CF_ADD_LIB_AFTER - fix a problem with -Wl options
2574 + CF_RPATH_HACK - add missing result-message
2575 + CF_SHARED_OPTS - modify to use $rel_builddir in cygwin and mingw
2576 dll symbols (which can be overridden) rather than explicit "../".
2577 + CF_SHARED_OPTS - modify NetBSD and DragonFly symbols to use ${CC}
2578 rather than ${LD} to improve rpath support.
2579 + CF_SHARED_OPTS - add a symbol to denote the temporary files that
2580 are created by the macro, to simplify clean-rules.
2581 + CF_X_ATHENA - trim extra libraries to work with -Wl,--as-needed
2582 + fix a regression in hashed-database support for NetBSD, which uses
2583 the key-size differently from other implementations (cf: 20121229).
2586 + further improvements for setupterm manpage, clarifying the
2587 initialization of cur_term.
2590 + improve manpages for initscr and setupterm.
2591 + minor compiler-warning fixes
2594 + add fallback defs for <inttypes.h> and <stdint.h> (cf: 20120225).
2595 + add check for size of wchar_t, use that to suppress a chunk of
2596 wcwidth.h in MinGW port.
2597 + quiet linker warnings for MinGW cross-compile with dll's using the
2598 --enable-auto-import flag.
2599 + add ncurses.map rule to ncurses/Makefile to help diagnose symbol
2603 + modify the clear program to take into account the E3 extended
2604 capability to clear the terminal's scrollback buffer (patch by
2605 Miroslav Lichvar, Redhat #815790).
2606 + clarify in resizeterm manpage that LINES and COLS are updated.
2607 + updated ansi example in terminfo.tail, correct misordered example
2609 + fix other doclifter warnings for manpages
2610 + remove unnecessary ".ta" in terminfo.tail, add missing ".fi"
2611 (patch by Eric Raymond).
2614 + minor changes to some configure macros to make them more reusable.
2615 + fixes for tabs program (prompted by report by Nick Andrik).
2616 + corrected logic in command-line parsing of -a and -c predefined
2618 + allow "-0" and "-8" options to be combined with others, e.g.,"-0d".
2619 + make warning messages more consistent with the other utilities by
2620 not printing the full pathname of the program.
2621 + add -V option for consistency with other utilities.
2622 + fix off-by-one in columns for tabs program when processing an option
2623 such as "-5" (patch by Nick Andrik).
2626 + add to test/demo_forms.c examples of using the menu-hooks as well
2627 as showing how the menu item user-data can be used to pass a callback
2629 + add test/dots_termcap.c
2630 + remove setupterm call from test/demo_termcap.c
2631 + build-fix if --disable-ext-funcs configure option is used.
2632 + modified test/edit_field.c and test/demo_forms.c to move the lengths
2633 into a user-data structure, keeping the original string for later
2634 expansion to free-format input/out demo.
2635 + modified test/demo_forms.c to load data from file.
2636 + added note to clarify Terminal.app's non-emulation of the various
2637 terminal types listed in the preferences dialog -TD
2638 + fix regression in error-reporting in lib_setup.c (Debian #711134,
2640 + build-fix for a case where --enable-broken_linker and
2641 --enable-reentrant options are combined (report by George R Goffe).
2644 + modify mvcur() to distinguish between internal use by the ncurses
2645 library, and external callers, preventing it from reading the content
2646 of the screen which is only nonblank when curses calls have updated
2647 it. This makes test/dots_mvcur.c avoid painting colored cells in
2648 the left margin of the display.
2649 + minor fix to test/dots_mvcur.c
2650 + move configured symbols USE_DATABASE and USE_TERMCAP to term.h as
2651 NCURSES_USE_DATABASE and NCURSES_USE_TERMCAP to allow consistent
2652 use of these symbols in term_entry.h
2655 + corrected ifdefs in test/testcurs.c to allow comparison of mouse
2656 interface versus pdcurses (cf: 20130316).
2657 + add pow() to configure-check for math library, needed since
2658 20121208 for test/hanoi (Debian #708056).
2659 + regenerated html manpages.
2660 + update doctype used for html documentation.
2663 + move nsterm-related entries out of "obsolete" section to more
2664 plausible "ansi consoles" -TD
2665 + additional cleanup of table-of-contents by reordering -TD
2666 + revise fix for check for 8-bit value in _nc_insert_ch(); prior fix
2667 prevented inserts when video attributes were attached to the data
2668 (cf: 20121215) (Redhat #959534).
2671 + fixes for issues found by Coverity:
2672 + correct FNKEY() macro in progs/dump_entry.c, allowing kf11-kf63 to
2673 display when infocmp's -R option is used for HP or AIX subsets.
2674 + fix dead-code issue with test/movewindow.c
2675 + improve limited-checking in _nc_read_termtype().
2678 + fix clang 3.2 warning in progs/dump_entry.c
2679 + drop AC_TYPE_SIGNAL check; ncurses relies on c89 and later.
2682 + add MinGW to cases where ncurses installs by default into /usr
2683 (prompted by discussion with Daniel Silva Ferreira).
2684 + add -D option to infocmp's usage-message (patch by Miroslav Lichvar).
2685 + add a missing 'int' type for main function in configure check for
2686 type of bool variable, to work with clang 3.2 (report by Dmitri
2688 + improve configure check for static_cast, to work with clang 3.2
2689 (report by Dmitri Gribenko).
2690 + re-order rule for demo.o and macros defining header dependencies in
2691 c++/Makefile.in to accommodate gmake (report by Dmitri Gribenko).
2694 + improve parameter checking in copywin().
2695 + modify configure script to work around OS X's "libtool" program, to
2696 choose glibtool instead. At the same time, chance the autoconf macro
2697 to look for a "tool" rather than a "prog", to help with potential use
2699 + separate the rpath usage for c++ library from demo program
2701 + update/correct header-dependencies in c++ makefile (report by Werner
2703 + add --with-cxx-shared to dpkg-script, as done for rpm-script.
2706 + build-fix for libtool configuration (reports by Daniel Silva Ferreira
2710 + build-fix for OS X, to handle changes for --with-cxx-shared feature
2711 (report by Christian Ebert).
2712 + change initialization for vt220, similar entries for consistency
2713 with cursor-key strings (NetBSD #47674) -TD
2714 + further improvements to linux-16color (Benjamin Sittler)
2717 + additional fix for tic.c, to allocate missing buffer space.
2718 + eliminate configure-script warnings for gen-pkgconfig.in
2719 + correct typo in sgr string for sun-color,
2720 add bold for consistency with sgr,
2721 change smso for consistency with sgr -TD
2722 + correct typo in sgr string for terminator -TD
2723 + add blink to the attributes masked by ncv in linux-16color (report
2724 by Benjamin Sittler)
2725 + improve warning message from post-load checking for missing "%?"
2726 operator by tic/infocmp by showing the entry name and capability.
2727 + minor formatting improvement to tic/infocmp -f option to ensure
2728 line split after "%;".
2729 + amend scripting for --with-cxx-shared option to handle the debug
2730 library "libncurses++_g.a" (report by Sven Joachim).
2733 + amend change to toe.c for reading from /dev/zero, to ensure that
2734 there is a buffer for the temporary filename (cf: 20120324).
2735 + regenerated html manpages.
2736 + fix typo in terminfo.head (report by Sven Joachim, cf: 20130302).
2737 + updated some autoconf macros:
2738 + CF_ACVERSION_CHECK, from byacc 1.9 20130304
2739 + CF_INTEL_COMPILER, CF_XOPEN_SOURCE from luit 2.0-20130217
2740 + add configure option --with-cxx-shared to permit building
2741 libncurses++ as a shared library when using g++, e.g., the same
2742 limitations as libtool but better integrated with the usual build
2743 configuration (Redhat #911540).
2744 + modify MKkey_defs.sh to filter out build-path which was unnecessarily
2745 shown in curses.h (Debian #689131).
2748 + add section to terminfo manpage discussing user-defined capabilities.
2749 + update manpage description of NCURSES_NO_SETBUF, explaining why it
2751 + add a check in waddch_nosync() to ensure that tab characters are
2752 treated as control characters; some broken locales claim they are
2754 + add some traces to the Windows console driver.
2755 + initialize a temporary array in _nc_mbtowc, needed for some cases
2756 of raw input in MinGW port.
2759 + correct ifdef on change to lib_twait.c (report by Werner Fink).
2760 + update config.guess, config.sub
2763 + modify test/testcurs.c to work with mouse for ncurses as it does for
2765 + modify test/knight.c to work with mouse for pdcurses as it does for
2767 + modify internal recursion in wgetch() which handles cooked mode to
2768 check if the call to wgetnstr() returned an error. This can happen
2769 when both nocbreak() and nodelay() are set, for instance (report by
2770 Nils Christopher Brause) (cf: 960418).
2771 + fixes for issues found by Coverity:
2772 + add a check for valid position in ClearToEOS()
2773 + fix in lib_twait.c when --enable-wgetch-events is used, pointer
2775 + improve a limit-check in make_hash.c
2776 + fix a memory leak in hashed_db.c
2779 + modify test/configure script to make it simpler to override names
2780 of curses-related libraries, to help with linking with pdcurses in
2782 + if the --with-terminfo-dirs configure option is not used, there is
2783 no corresponding compiled-in value for that. Fill in "no default
2784 value" for that part of the manpage substitution.
2787 + correct initialization in knight.c which let it occasionally make
2788 an incorrect move (cf: 20001028).
2789 + improve documentation of the terminfo/termcap search path.
2792 + further fixes to mvcur to pass callback function (cf: 20130112),
2793 needed to make test/dots_mvcur work.
2794 + reduce calls to SetConsoleActiveScreenBuffer in win_driver.c, to
2795 help reduce flicker.
2796 + modify configure script to omit "+b" from linker options for very
2797 old HP-UX systems (report by Dennis Grevenstein)
2798 + add HP-UX workaround for missing EILSEQ on old HP-UX systems (patch
2799 by Dennis Grevenstein).
2800 + restore memmove/strdup support for antique systems (request by
2801 Dennis Grevenstein).
2802 + change %l behavior in tparm to push the string length onto the stack
2803 rather than saving the formatted length into the output buffer
2804 (report by Roy Marples, cf: 980620).
2807 + fixes for issues found by Coverity:
2808 + fix memory leak in safe_sprintf.c
2809 + add check for return-value in tty_update.c
2810 + correct initialization for -s option in test/view.c
2811 + add check for numeric overflow in lib_instr.c
2812 + improve error-checking in copywin
2813 + add advice in infocmp manpage for termcap users (Debian #698469).
2814 + add "-y" option to test/demo_termcap and test/demo_terminfo to
2815 demonstrate behavior with/without extended capabilities.
2816 + updated termcap manpage to document legacy termcap behavior for
2817 matching capability names.
2818 + modify name-comparison for tgetstr, etc., to accommodate legacy
2819 applications as well as to improve compatbility with BSD 4.2
2820 termcap implementations (Debian #698299) (cf: 980725).
2823 + correct prototype in manpage for vid_puts.
2824 + drop ncurses/tty/tty_display.h, ncurses/tty/tty_input.h, since they
2825 are unused in the current driver model.
2826 + modify mvcur to use stdout except when called within the ncurses
2828 + modify vidattr and vid_attr to use stdout as documented in manpage.
2829 + amend changes made to buffering in 20120825 so that the low-level
2830 putp() call uses stdout rather than ncurses' internal buffering.
2831 The putp_sp() call does the same, for consistency (Redhat #892674).
2834 + add "-s" option to test/view.c to allow it to start in single-step
2835 mode, reducing size of trace files when it is used for debugging
2837 + revert part of 20121222 change to tinfo_driver.c
2838 + add experimental logic in win_driver.c to improve optimization of
2839 screen updates. This does not yet work with double-width characters,
2840 so it is ifdef'd out for the moment (prompted by report by Erwin
2841 Waterlander regarding screen flicker).
2844 + fix Coverity warnings regarding copying into fixed-size buffers.
2845 + add throw-declarations in the c++ binding per Coverity warning.
2846 + minor changes to new-items for consistent reference to bug-report
2850 + add *.dSYM directories to clean-rule in ncurses directory makefile,
2852 + add a configure check for gcc option -no-cpp-precomp, which is not
2853 available in all Mac OS X configurations (report by Andras Salamon,
2855 + improve 20021221 workaround for broken acs, handling a case where
2856 that ACS_xxx character is not in the acsc string but there is a known
2857 wide-character which can be used.
2860 + fix several warnings from clang 3.1 --analyze, includes correcting
2861 a null-pointer check in _nc_mvcur_resume.
2862 + correct display of double-width characters with MinGW port (report
2863 by Erwin Waterlander).
2864 + replace MinGW's wcrtomb(), fixing a problem with _nc_viscbuf
2865 > fixes based on Coverity report:
2866 + correct coloring in test/bs.c
2867 + correct check for 8-bit value in _nc_insert_ch().
2868 + remove dead code in progs/tset.c, test/linedata.h
2869 + add null-pointer checks in lib_tracemse.c, panel.priv.h, and some
2873 + modify test/knight.c to show the number of choices possible for
2874 each position in automove option, e.g., to allow user to follow
2875 Warnsdorff's rule to solve the puzzle.
2876 + modify test/hanoi.c to show the minimum number of moves possible for
2877 the given number of tiles (prompted by patch by Lucas Gioia).
2878 > fixes based on Coverity report:
2879 + remove a few redundant checks.
2880 + correct logic in test/bs.c, when randomly placing a specific type of
2882 + check return value from remove/unlink in tic.
2883 + check return value from sscanf in test/ncurses.c
2884 + fix a null dereference in c++/cursesw.cc
2885 + fix two instances of uninitialized variables when configuring for the
2887 + correct scope of variable used in SetSafeOutcWrapper macro.
2888 + set umask when calling mkstemp in tic.
2889 + initialize wbkgrndset() temporary variable when extended-colors are
2893 + also replace MinGW's wctomb(), fixing a problem with setcchar().
2894 + modify test/view.c to load UTF-8 when built with MinGW by using
2895 regular win32 API because the MinGW functions mblen() and mbtowc()
2899 + correct order of color initialization versus display in some of the
2900 test-programs, e.g., test_addstr.c
2901 > fixes based on Coverity report:
2902 + delete windows on exit from some of the test-programs.
2905 > fixes based on Coverity report:
2906 + add missing braces around FreeAndNull in two places.
2907 + various fixes in test/ncurses.c
2908 + improve limit-checks in tinfo/make_hash.c, tinfo/read_entry.c
2909 + correct malloc size in progs/infocmp.c
2910 + guard against negative array indices in test/knight.c
2911 + fix off-by-one limit check in test/color_name.h
2912 + add null-pointer check in progs/tabs.c, test/bs.c, test/demo_forms.c,
2914 + fix memory-leak in tinfo/lib_setup.c, progs/toe.c,
2915 test/clip_printw.c, test/demo_menus.c
2916 + delete unused windows in test/chgat.c, test/clip_printw.c,
2917 test/insdelln.c, test/newdemo.c on error-return.
2920 + modify configure macro CF_INCLUDE_DIRS to put $CPPFLAGS after the
2921 local -I include options in case someone has set conflicting -I
2922 options in $CPPFLAGS (prompted by patch for ncurses/Makefile.in by
2924 + modify the ncurses*-config scripts to eliminate relative paths from
2925 the RPATH_LIST variable, e.g., "../lib" as used in installing shared
2926 libraries or executables.
2929 + realign these related pages:
2934 and fix a long-ago error in curs_addstr.3x which said that a -1
2935 length parameter would only write as much as fit onto one line
2936 (report by Reuben Thomas).
2937 + remove obsolete fallback _nc_memmove() for memmove()/bcopy().
2938 + remove obsolete fallback _nc_strdup() for strdup().
2939 + cancel any debug-rpm in package/ncurses.spec
2940 + reviewed vte-2012, reverted most of the change since it was incorrect
2941 based on testing with tack -TD
2942 + un-cancel the initc in vte-256color, since this was implemented
2943 starting with version 0.20 in 2009 -TD
2946 + improve malloc/realloc checking (prompted by discussion in Redhat
2948 + add ncurses test-program as "ncurses6" to the rpm- and dpkg-scripts.
2949 + updated configure macros CF_GCC_VERSION and CF_WITH_PATHLIST. The
2950 first corrects pattern used for Mac OS X's customization of gcc.
2953 + fix change to _nc_scroll_optimize(), which incorrectly freed memory
2957 + add vte-2012, gnome-2012, making these the defaults for vte/gnome
2958 (patch by Christian Persch).
2961 + improve CF_GCC_VERSION to work around Debian's customization of gcc
2963 + improve configure macros as done in byacc:
2964 + drop 2.13 compatibility; use 2.52.xxxx version only since EMX port
2965 has used that for a while.
2966 + add 3rd parameter to AC_DEFINE's to allow autoheader to run, i.e.,
2967 for experimental use.
2968 + remove unused configure macros.
2969 + modify configure script and makefiles to quiet new autoconf warning
2970 for LIBS_TO_MAKE variable.
2971 + modify configure script to show $PATH_SEPARATOR variable.
2972 + update config.guess, config.sub
2975 + modify setupterm to set its copy of TERM to "unknown" if configured
2976 for the terminal driver and TERM was null or empty.
2977 + modify treatment of TERM variable for MinGW port to allow explicit
2978 use of the windows console driver by checking if $TERM is set to
2979 "#win32con" or an abbreviation of that.
2980 + undo recent change to fallback definition of vsscanf() to build with
2981 older Solaris compilers (cf: 20120728).
2984 + add test-screens to test/ncurses to show 256-characters at a time,
2985 to help with MinGW port.
2988 + simplify varargs logic in lib_printw.c; va_copy is no longer needed
2990 + modifications for MinGW port to make wide-character display usable.
2993 + regenerate configure script (report by Sven Joachim, cf: 20120901).
2996 + add a null-pointer check in _nc_flush (cf: 20120825).
2997 + fix a case in _nc_scroll_optimize() where the _oldnums_list array
2998 might not be allocated.
2999 + improve comparisons in configure.in for unset shell variables.
3002 + increase size of ncurses' output-buffer, in case of very small
3003 initial screen-sizes.
3004 + fix evaluation of TERMINFO and TERMINFO_DIRS default values as needed
3005 after changes to use --datarootdir (reports by Gabriele Balducci,
3009 + change output buffering scheme, using buffer maintained by ncurses
3010 rather than stdio, to avoid problems with SIGTSTP handling (report
3014 + update autoconf patch to 2.52.20120811, adding --datarootdir
3015 (prompted by discussion with Erwin Waterlander).
3016 + improve description of --enable-reentrant option in README and the
3018 + add nsterm-256color, make this the default nsterm -TD
3019 + remove bw from nsterm-bce, per testing with tack -TD
3022 + update test/configure, adding check for tinfo library.
3023 + improve limit-checks for the getch fifo (report by Werner Fink).
3024 + fix a remaining mismatch between $with_echo and the symbols updated
3025 for CF_DISABLE_ECHO affecting parameters for mk-2nd.awk (report by
3026 Sven Joachim, cf: 20120317).
3027 + modify followup check for pkg-config's library directory in the
3028 --enable-pc-files option to validate syntax (report by Sven Joachim,
3032 + correct path for ncurses_mingw.h in include/headers, in case build
3033 is done outside source-tree (patch by Roumen Petrov).
3034 + modify some older xterm entries to align with xterm source -TD
3035 + separate "xterm-old" alias from "xterm-r6" -TD
3036 + add E3 extended capability to xterm-basic and putty -TD
3037 + parenthesize parameters of other macros in curses.h -TD
3038 + parenthesize parameter of COLOR_PAIR and PAIR_NUMBER in curses.h
3039 in case it happens to be a comma-expression, etc. (patch by Nick
3043 + improved form_request_by_name() and menu_request_by_name().
3044 + eliminate two fixed-size buffers in toe.c
3045 + extend use_tioctl() to have expected behavior when use_env(FALSE) and
3046 use_tioctl(TRUE) are called.
3047 + modify ncurses test-program, adding -E and -T options to demonstrate
3048 use_env() versus use_tioctl().
3051 + add use_tioctl() function (adapted from patch by Werner Fink,
3055 + add ncurses_mingw.h to installed headers (prompted by patch by
3057 + clarify return-codes from wgetch() in response to SIGWINCH (prompted
3059 + modify resizeterm() to always push a KEY_RESIZE onto the fifo, even
3060 if screensize is unchanged. Modify _nc_update_screensize() to push a
3061 KEY_RESIZE if there was a SIGWINCH, even if it does not call
3062 resizeterm(). These changes eliminate the case where a SIGWINCH is
3063 received, but ERR returned from wgetch or wgetnstr because the screen
3064 dimensions did not change (Novell #769788).
3067 + add --enable-interop to sample package scripts (suggested by Juergen
3069 + update CF_PATH_SYNTAX macro, from mawk changes.
3070 + modify mk-0th.awk to allow for generating llib-ltic, etc., though
3071 some work is needed on cproto to work with lib_gen.c to update
3073 + remove redundant getenv() cal in database-iterator leftover from
3074 cleanup in 20120622 changes (report by Sven Joachim).
3077 + add -d, -e and -q options to test/demo_terminfo and test/demo_termcap
3078 + fix caching of environment variables in database-iterator (patch by
3079 Philippe Troin, Redhat #831366).
3082 + add configure check to distinguish clang from gcc to eliminate
3083 warnings about unused command-line parameters when compiler warnings
3085 + improve behavior when updating terminfo entries which are hardlinked
3086 by allowing for the possibility that an alias has been repurposed to
3088 + fix some strict compiler warnings based on package scripts.
3089 + further fixes for configure check for working poll (Debian #676461).
3092 + fix an uninitialized variable in -c/-n logic for infocmp changes
3094 + corrected fix for building c++ binding with clang 3.0 (report/patch
3095 by Richard Yao, Gentoo #417613, cf: 20110409)
3096 + correct configure check for working poll, fixing the case where stdin
3097 is redirected, e.g., in rpm/dpkg builds (Debian #676461).
3098 + add rpm- and dpkg-scripts, to test those build-environments.
3099 The resulting packages are used only for testing.
3102 + add kdch1 aka "Remove" to vt220 and vt220-8 entries -TD
3103 + add kdch1, etc., to qvt108 -TD
3104 + add dl1/il1 to some entries based on dl/il values -TD
3105 + add dl to simpleterm -TD
3106 + add consistency-checks in tic for insert-line vs delete-line
3107 controls, and insert/delete-char keys
3108 + correct no-leaks logic in infocmp when doing comparisons, fixing
3109 duplicate free of entries given via the command-line, and freeing
3110 entries loaded from the last-but-one of files specified on the
3112 + add kdch1 to wsvt25 entry from NetBSD CVS (reported by David Lord,
3113 analysis by Martin Husemann).
3114 + add cnorm/civis to wsvt25 entry from NetBSD CVS (report/analysis by
3115 Onno van der Linden).
3118 + extend -c and -n options of infocmp to allow comparing more than two
3120 + correct check in infocmp for number of terminal names when more than
3122 + correct typo in curs_threads.3x (report by Yanhui Shen on
3123 freebsd-hackers mailing list).
3126 + corrected 'op' for bterm (report by Samuel Thibault) -TD
3127 + modify test/background.c to demonstrate a background character
3128 holding a colored ACS_HLINE. The behavior differs from SVr4 due to
3129 the thick- and double-line extension (cf: 20091003).
3130 + modify handling of acs characters in PutAttrChar to avoid mapping an
3131 unmapped character to a space with A_ALTCHARSET set.
3132 + rewrite vt520 entry based on vt420 -TD
3135 + remove p6 (bold) from opus3n1+ for consistency -TD
3136 + remove acs stuff from env230 per clues in Ingres termcap -TD
3137 + modify env230 sgr/sgr0 to match other capabilities -TD
3138 + modify smacs/rmacs in bq300-8 to match sgr/sgr0 -TD
3139 + make sgr for dku7202 agree with other caps -TD
3140 + make sgr for ibmpc agree with other caps -TD
3141 + make sgr for tek4107 agree with other caps -TD
3142 + make sgr for ndr9500 agree with other caps -TD
3143 + make sgr for sco-ansi agree with other caps -TD
3144 + make sgr for d410 agree with other caps -TD
3145 + make sgr for d210 agree with other caps -TD
3146 + make sgr for d470c, d470c-7b agree with other caps -TD
3147 + remove redundant AC_DEFINE for NDEBUG versus Makefile definition.
3148 + fix a back-link in _nc_delink_entry(), which is needed if ncurses is
3149 configured with --enable-termcap and --disable-getcap.
3152 + fix some inconsistencies between vt320/vt420, e.g., cnorm/civis -TD
3153 + add eslok flag to dec+sl -TD
3154 + dec+sl applies to vt320 and up -TD
3155 + drop wsl width from xterm+sl -TD
3156 + reuse xterm+sl in putty and nsca-m -TD
3157 + add ansi+tabs to vt520 -TD
3158 + add ansi+enq to vt220-vt520 -TD
3159 + fix a compiler warning in example in ncurses-intro.doc (Paul Waring).
3160 + added paragraph in keyname manpage telling how extended capabilities
3161 are interpreted as key definitions.
3162 + modify tic's check of conflicting key definitions to include extended
3163 capability strings in addition to the existing check on predefined
3167 + improve cleanup of temporary files in tic using atexit().
3168 + add msgr to vt420, similar DEC vtXXX entries -TD
3169 + add several missing vt420 capabilities from vt220 -TD
3170 + factor out ansi+pp from several entries -TD
3171 + change xterm+sl and xterm+sl-twm to include only the status-line
3172 capabilities and not "use=xterm", making them more generally useful
3173 as building-blocks -TD
3174 + add dec+sl building block, as example -TD
3177 + add XT to some terminfo entries to improve usefulness for other
3178 applications than screen, which would like to pretend that xterm's
3179 title is a status-line. -TD
3180 + change use-clauses in ansi-mtabs, hp2626, and hp2622 based on review
3181 of ordering and overrides -TD
3182 + add consistency check in tic for screen's "XT" capability.
3183 + add section in terminfo.src summarizing the user-defined capabilities
3184 used in that file -TD
3187 + fix an inconsistency between tic/infocmp "-x" option; tic omits all
3188 non-standard capabilities, while infocmp was ignoring only the user
3189 definable capabilities.
3190 + improve special case in tic parsing of description to allow it to be
3191 followed by terminfo capabilities. Previously the description had to
3192 be the last field on an input line to allow tic to distinguish
3193 between termcap and terminfo format while still allowing commas to be
3194 embedded in the description.
3195 + correct variable name in gen_edit.sh which broke configurability of
3196 the --with-xterm-kbs option.
3197 + revert 2011-07-16 change to "linux" alias, return to "linux2.2" -TD
3198 + further amend 20110910 change, providing for configure-script
3199 override of the "linux" terminfo entry to install and changing the
3200 default for that to "linux2.2" (Debian #665959).
3203 + update Ada95/configure to use CF_DISABLE_ECHO (cf: 20120317).
3204 + correct order of use-clauses in st-256color -TD
3205 + modify configure script to look for gnatgcc if the Ada95 binding
3206 is built, in preference to the default gcc/cc (suggested by
3207 Nicolas Boulenguez).
3208 + modify configure script to ensure that the same -On option used for
3209 the C compiler in CFLAGS is used for ADAFLAGS rather than simply
3210 using "-O3" (suggested by Nicolas Boulenguez)
3213 + amend an old fix so that next_char() exits properly for empty files,
3214 e.g., from reading /dev/null (cf: 20080804).
3215 + modify tic so that it can read from the standard input, or from
3216 a character device. Because tic uses seek's, this requires writing
3217 the data to a temporary file first (prompted by remark by Sven
3218 Joachim) (cf: 20000923).
3221 + correct a check made in lib_napms.c, so that terminfo applications
3222 can again use napms() (cf: 20110604).
3223 + add a note in tic.h regarding required casts for ABSENT_BOOLEAN
3225 + correct scripting for --disable-echo option in test/configure.
3226 + amend check for missing c++ compiler to work when no error is
3227 reported, and no variables set (cf: 20021206).
3228 + add/use configure macro CF_DISABLE_ECHO.
3231 + fix some strict compiler warnings for abi6 and 64-bits.
3232 + use begin_va_copy/end_va_copy macros in lib_printw.c (cf: 20120303).
3233 + improve a limit-check in infocmp.c (Werner Fink):
3236 + minor tidying of terminfo.tail, clarify reason for limitation
3237 regarding mapping of \0 to \200
3238 + minor improvement to _nc_copy_termtype(), using memcpy to replace
3240 + fix no-leaks checking in test/demo_termcap.c to account for multiple
3241 calls to setupterm().
3242 + modified the libgpm change to show previous load as a problem in the
3244 > merge some patches from OpenSUSE rpm (Werner Fink):
3245 + ncurses-5.7-printw.dif, fixes for varargs handling in lib_printw.c
3246 + ncurses-5.7-gpm.dif, do not dlopen libgpm if already loaded by
3248 + ncurses-5.6-fallback.dif, do not free arrays and strings from static
3252 + fix breakage in tic/infocmp from 20120225 (report by Werner Fink).
3255 + modify configure script to allow creating dll's for MinGW when
3257 + add --enable-string-hacks option to control whether strlcat and
3258 strlcpy may be used. The same issue applies to OpenBSD's warnings
3259 about snprintf, noting that this function is weakly standardized.
3260 + add configure checks for strlcat, strlcpy and snprintf, to help
3261 reduce bogus warnings with OpenBSD builds.
3262 + build-fix for OpenBSD 4.9 to supply consistent intptr_t declaration
3264 + update config.guess, config.sub
3267 + correct CF_ETIP_DEFINES configure macro, making it exit properly on
3268 the first success (patch by Pierre Labastie).
3269 + improve configure macro CF_MKSTEMP by moving existence-check for
3270 mkstemp out of the AC_TRY_RUN, to help with cross-compiles.
3271 + improve configure macro CF_FUNC_POLL from luit changes to detect
3272 broken implementations, e.g., with Mac OS X.
3273 + add configure option --with-tparm-arg
3274 + build-fix for MinGW cross-compiling, so that make_hash does not
3275 depend on TTY definition (cf: 20111008).
3278 + make sgr for xterm-pcolor agree with other caps -TD
3279 + make sgr for att5425 agree with other caps -TD
3280 + make sgr for att630 agree with other caps -TD
3281 + make sgr for linux entries agree with other caps -TD
3282 + make sgr for tvi9065 agree with other caps -TD
3283 + make sgr for ncr260vt200an agree with other caps -TD
3284 + make sgr for ncr160vt100pp agree with other caps -TD
3285 + make sgr for ncr260vt300an agree with other caps -TD
3286 + make sgr for aaa-60-dec-rv, aaa+dec agree with other caps -TD
3287 + make sgr for cygwin, cygwinDBG agree with other caps -TD
3288 + add configure option --with-xterm-kbs to simplify configuration for
3289 Linux versus most other systems.
3292 + improved tic -D option, avoid making target directory and provide
3296 + add mach-gnu (Debian #614316, patch by Samuel Thibault)
3297 + add mach-gnu-color, tweaks to mach-gnu terminfo -TD
3298 + make sgr for sun-color agree with smso -TD
3299 + make sgr for prism9 agree with other caps -TD
3300 + make sgr for icl6404 agree with other caps -TD
3301 + make sgr for ofcons agree with other caps -TD
3302 + make sgr for att5410v1, att4415, att620 agree with other caps -TD
3303 + make sgr for aaa-unk, aaa-rv agree with other caps -TD
3304 + make sgr for avt-ns agree with other caps -TD
3305 + amend fix intended to separate fixups for acsc to allow "tic -cv" to
3306 give verbose warnings (cf: 20110730).
3307 + modify misc/gen-edit.sh to make the location of the tabset directory
3308 consistent with misc/Makefile.in, i.e., using ${datadir}/tabset
3309 (Debian #653435, patch by Sven Joachim).
3312 + add --with-lib-prefix option to allow configuring for old/new flavors
3314 + modify check for gnat version to allow for year, as used in FreeBSD
3316 + modify check_existence() in db_iterator.c to simply check if the
3317 path is a directory or file, according to the need. Checking for
3318 directory size also gives no usable result with OS/2 (cf: 20120107).
3319 + support OS/2 kLIBC (patch by KO Myung-Hun).
3322 + several improvements to test/movewindow.c (prompted by discussion on
3324 + modify movement commands to make them continuous
3325 + rewrote the test for mvderwin
3326 + rewrote the test for recursive mvwin
3327 + split-out reusable CF_WITH_NCURSES_ETC macro in test/configure.in
3328 + updated configure macro CF_XOPEN_SOURCE, build-fixes for Mac OS X
3330 + regenerated html manpages.
3333 + various improvements for MinGW (Juergen Pfeifer):
3334 + modify stat() calls to ignore the st_size member
3335 + drop mk-dlls.sh script.
3336 + change recommended regular expression library.
3337 + modify rain.c to allow for threaded configuraton.
3338 + modify tset.c to allow for case when size-change logic is not used.
3341 + modify toe's report when -a and -s options are combined, to add
3342 a column showing which entries belong to a given database.
3343 + add -s option to toe, to sort its output.
3344 + modify progs/toe.c, simplifying use of db-iterator results to use
3345 caching improvements from 20111001 and 20111126.
3346 + correct generation of pc-files when ticlib or termlib options are
3347 given to rename the corresponding tic- or tinfo-libraries (report
3351 + document a portability issue with tput, i.e., that scripts which work
3352 with ncurses may fail in other implementations that do no parameter
3354 + add putty-sco entry -TD
3357 + review/fix places in manpages where --program-prefix configure option
3359 + add -D option to infocmp, to show the database locations that it
3361 + fix build for the special case where term-driver, ticlib and termlib
3362 are all enabled. The terminal driver depends on a few features in
3363 the base ncurses library, so tic's dependencies include both ncurses
3365 + fix build work for term-driver when --enable-wgetch-events option is
3367 + use <stdint.h> types to fix some questionable casts to void*.
3370 + modify configure script to check if thread library provides
3371 pthread_mutexattr_settype(), e.g., not provided by Solaris 2.6
3372 + modify configure script to suppress check to define _XOPEN_SOURCE
3373 for IRIX64, since its header files have a conflict versus
3375 + modify configure script to add ".pc" files for tic- and
3376 tinfo-libraries, which were omitted in recent change (cf: 20111126).
3377 + fix inconsistent checks on $PKG_CONFIG variable in configure script.
3380 + modify configure-check for etip.h dependencies, supplying a temporary
3381 copy of ncurses_dll.h since it is a generated file (prompted by
3383 + modify CF_CPP_PARAM_INIT "main" function to work with current C++.
3386 + correct database iterator's check for duplicate entries
3388 + modify database iterator to ignore $TERMCAP when it is not an
3390 + add -D option to tic, to show the database locations that it could
3392 + improve description of database locations in tic manpage.
3393 + modify the configure script to generate a list of the ".pc" files to
3394 generate, rather than deriving the list from the libraries which have
3395 been built (patch by Mike Frysinger).
3396 + use AC_CHECK_TOOLS in preference to AC_PATH_PROGS when searching for
3397 ncurses*-config, e.g., in Ada95/configure and test/configure (adapted
3398 from patch by Mike Frysinger).
3401 + remove obsolete/conflicting fallback definition for _POSIX_SOURCE
3402 from curses.priv.h, fixing a regression with IRIX64 and Tru64
3404 + modify _nc_tic_dir() to ensure that its return-value is nonnull,
3405 i.e., the database iterator was not initialized. This case is needed
3406 to when tic is translating to termcap, rather than loading the
3407 database (cf: 20111001).
3410 + add pccon entries for OpenBSD console (Alexei Malinin).
3411 + build-fix for OpenBSD 4.9 with gcc 4.2.1, setting _XOPEN_SOURCE to
3412 600 to work around inconsistent ifdef'ing of wcstof between C and
3414 + modify capconvert script to accept more than exact match on "xterm",
3415 e.g., the "xterm-*" variants, to exclude from the conversion (patch
3417 + add -lc_r as alternative for -lpthread, allows build of threaded code
3418 in older FreeBSD machines.
3419 + build-fix for MirBSD, which fails when either _XOPEN_SOURCE or
3420 _POSIX_SOURCE are defined.
3421 + fix a typo misc/Makefile.in, used in uninstalling pc-files.
3424 + modify make_db_path() to allow creating "terminfo.db" in the same
3425 directory as an existing "terminfo" directory. This fixes a case
3426 where switching between hashed/filesystem databases would cause the
3427 new hashed database to be installed in the next best location -
3428 root's home directory.
3429 + add variable cf_cv_prog_gnat_correct to those passed to
3430 config.status, fixing a problem with Ada95 builds (cf: 20111022).
3431 + change feature test from _XPG5 to _XOPEN_SOURCE in two places, to
3432 accommodate broken implementations for _XPG6.
3433 + eliminate usage of NULL symbol from etip.h, to reduce header
3435 + add configure check to decide when to add _XOPEN_SOURCE define to
3436 compiler options, i.e., for Solaris 10 and later (cf: 20100403).
3437 This is a workaround for gcc 4.6, which fails to build the c++
3438 binding if that symbol is defined by the application, due to
3439 incorrectly combining the corresponding feature test macros
3440 (report by Peter Kruse).
3443 + correct logic for discarding mouse events, retaining the partial
3444 events used to build up click, double-click, etc, until needed
3446 + fix configure script to avoid creating unused Ada95 makefile when
3448 + cleanup width-related gcc 3.4.3 warnings for 64-bit platform, for the
3449 internal functions of libncurses. The external interface of courses
3450 uses bool, which still produces these warnings.
3453 + improve description of --disable-tic-depends option to make it
3454 clear that it may be useful whether or not the --with-termlib
3455 option is also given (report by Sven Joachim).
3456 + amend termcap equivalent for set_pglen_inch to use the X/Open
3457 "YI" rather than the obsolete Solaris 2.5 "sL" (cf: 990109).
3458 + improve manpage for tgetent differences from termcap library.
3461 + moved static data from db_iterator.c to lib_data.c
3462 + modify db_iterator.c for memory-leak checking, fix one leak.
3463 + modify misc/gen-pkgconfig.in to use Requires.private for the parts
3464 of ncurses rather than Requires, as well as Libs.private for the
3465 other library dependencies (prompted by Debian #644728).
3468 + modify tic "-K" option to only set the strict-flag rather than force
3469 source-output. That allows the same flag to control the parser for
3470 input and output of termcap source.
3471 + modify _nc_getent() to ignore backslash at the end of a comment line,
3472 making it consistent with ncurses' parser.
3473 + restore a special-case check for directory needed to make termcap
3474 text files load as if they were databases (cf: 20110924).
3475 + modify tic's resolution/collision checking to attempt to remove the
3476 conflicting alias from the second entry in the pair, which is
3477 normally following in the source file. Also improved the warning
3478 message to make it simpler to see which alias is the problem.
3479 + improve performance of the database iterator by caching search-list.
3482 + add a missing "else" in changes to _nc_read_tic_entry().
3485 + modify _nc_read_tic_entry() so that hashed-database is checked before
3487 + updated CF_CURSES_LIBS check in test/configure script.
3488 + modify configure script and makefiles to split TIC_ARGS and
3489 TINFO_ARGS into pieces corresponding to LDFLAGS and LIBS variables,
3490 to help separate searches for tic- and tinfo-libraries (patch by Nick
3492 + build-fix for lib_mouse.c changes (cf: 20110917).
3495 + fix compiler warning for clang 2.9
3496 + improve merging of mouse events (integrated patch by Damien
3498 + correct mask-check used in lib_mouse for wheel mouse buttons 4/5
3499 (patch by Damien Guibouret).
3502 + modify misc/gen_edit.sh to select a "linux" entry which works with
3503 the current kernel rather than assuming it is always "linux3.0"
3505 + revert a change to getmouse() which had the undesirable side-effect
3506 of suppressing button-release events (report by Damien Guibouret,
3508 + add xterm+kbs fragment from xterm #272 -TD
3509 + add configure option --with-pkg-config-libdir to provide control over
3510 the actual directory into which pc-files are installed, do not use
3511 the pkg-config environment variables (discussion with Frederic L W
3513 + add link to mailing-list archive in announce.html.in, as done in
3514 FAQ (prompted by question by Andrius Bentkus).
3515 + improve manpage install by adjusting the "#include" examples to
3516 show the ncurses-subdirectory used when --disable-overwrite option
3518 + install an alias for "curses" to the ncurses manpage, tied to the
3519 --with-curses-h configure option (suggested by Reuben Thomas).
3522 + propagate error-returns from wresize, i.e., the internal
3523 increase_size and decrease_size functions through resize_term (report
3524 by Tim van der Molen, cf: 20020713).
3525 + fix typo in tset manpage (patch by Sven Joachim).
3528 + add a check to ensure that termcap files which might have "^?" do
3529 not use the terminfo interpretation as "\177".
3530 + minor cleanup of X-terminal emulator section of terminfo.src -TD
3531 + add terminator entry -TD
3532 + add simpleterm entry -TD
3533 + improve wattr_get macros by ensuring that if the window pointer is
3534 null, then the attribute and color values returned will be zero
3538 + add substitution for $RPATH_LIST to misc/ncurses-config.in
3539 + improve performance of tic with hashed-database by caching the
3540 database connection, using atexit() to cleanup.
3541 + modify treatment of 2-character aliases at the beginning of termcap
3542 entries so they are not counted in use-resolution, since these are
3543 guaranteed to be unique. Also ignore these aliases when reporting
3544 the primary name of the entry (cf: 20040501)
3545 + double-check gn (generic) flag in terminal descriptions to
3546 accommodate old/buggy termcap databases which misused that feature.
3547 + minor fixes to _nc_tgetent(), ensure buffer is initialized even on
3551 + improve rpath fix from 20110730 by ensuring that the new $RPATH_LIST
3552 variable is defined in the makefiles which use it.
3553 + build-fix for DragonFlyBSD's pkgsrc in test/configure script.
3554 + build-fixes for NetBSD 5.1 with termcap support enabled.
3555 + corrected k9 in dg460-ansi, add other features based on manuals -TD
3556 + improve trimming of whitespace at the end of terminfo/termcap output
3558 + when writing termcap source, ensure that colons in the description
3559 field are translated to a non-delimiter, i.e., "=".
3560 + add "-0" option to tic/infocmp, to make the termcap/terminfo source
3562 + add a null-pointer check when handling the $CC variable.
3565 + modify configure script and makefiles in c++ and progs to allow the
3566 directory used for rpath option to be overridden, e.g., to work
3567 around updates to the variables used by tic during an install.
3568 + add -K option to tic/infocmp, to provide stricter BSD-compatibility
3570 + add _nc_strict_bsd variable in tic library which controls the
3571 "strict" BSD termcap compatibility from 20110723, plus these
3573 + allow escapes such as "\8" and "\9" when reading termcap
3574 + disallow "\a", "\e", "\l", "\s" and "\:" escapes when reading
3575 termcap files, passing through "a", "e", etc.
3576 + expand "\:" as "\072" on output.
3577 + modify _nc_get_token() to reset the token's string value in case
3578 there is a string-typed token lacking the "=" marker.
3579 + fix a few memory leaks in _nc_tgetent.
3580 + fix a few places where reading from a termcap file could refer to
3582 + add an overflow check when converting terminfo/termcap numeric
3583 values, since terminfo stores those in a short, and they must be
3585 + correct internal variables used for translating to termcap "%>"
3586 feature, and translating from termcap %B to terminfo, needed by
3587 tctest (cf: 19991211).
3588 + amend a minor fix to acsc when loading a termcap file to separate it
3589 from warnings needed for tic (cf: 20040710)
3590 + modify logic in _nc_read_entry() and _nc_read_tic_entry() to allow
3591 a termcap file to be handled via TERMINFO_DIRS.
3592 + modify _nc_infotocap() to include non-mandatory padding when
3593 translating to termcap.
3594 + modify _nc_read_termcap_entry(), passing a flag in the case where
3595 getcap is used, to reduce interactive warning messages.
3598 + add a check in start_color() to limit color-pairs to 256 when
3599 extended colors are not supported (patch by David Benjamin).
3600 + modify setcchar to omit no-longer-needed OR'ing of color pair in
3601 the SetAttr() macro (patch by David Benjamin).
3602 + add kich1 to sun terminfo entry (Yuri Pankov)
3603 + use bold rather than reverse for smso in sun-color terminfo entry
3605 + improve generation of termcap using tic/infocmp -C option, e.g.,
3606 to correspond with 4.2BSD (prompted by discussion with Yuri Pankov
3607 regarding Schilling's test program):
3608 + translate %02 and %03 to %2 and %3 respectively.
3609 + suppress string capabilities which use %s, not supported by tgoto
3610 + use \040 rather than \s
3611 + expand null characters as \200 rather than \0
3612 + modify configure script to support shared libraries for DragonFlyBSD.
3615 + replace an assert() in _nc_Free_Argument() with a regular null
3616 pointer check (report/analysis by Franjo Ivancic).
3617 + modify configure --enable-pc-files option to take into account the
3618 PKG_CONFIG_PATH variable (report by Frederic L W Meunier).
3619 + add/use xterm+tmux chunk from xterm #271 -TD
3620 + resync xterm-new entry from xterm #271 -TD
3621 + add E3 extended capability to linux-basic (Miroslav Lichvar)
3622 + add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
3623 + add SI/SO change to linux2.6 entry (Debian #515609) -TD
3624 + fix inconsistent tabset path in pcmw (Todd C. Miller).
3625 + remove a backslash which continued comment, obscuring altos3
3626 definition with OpenBSD toolset (Nicholas Marriott).
3629 + add workaround from xterm #271 changes to ensure that compiler flags
3630 are not used in the $CC variable.
3631 + improve support for shared libraries, tested with AIX 5.3, 6.1 and
3632 7.1 with both gcc 4.2.4 and cc.
3633 + modify configure checks for AIX to include release 7.x
3634 + add loader flags/libraries to libtool options so that dynamic loading
3635 works properly, adapted from ncurses-5.7-ldflags-with-libtool.patch
3636 at gentoo prefix repository (patch by Michael Haubenwallner).
3639 + move include of nc_termios.h out of term_entry.h, since the latter
3640 is installed, e.g., for tack while the former is not (report by
3644 + improve cleanup() function in lib_tstp.c, using _exit() rather than
3645 exit() and checking for SIGTERM rather than SIGQUIT (prompted by
3646 comments forwarded by Nicholas Marriott).
3647 + reduce name pollution from term.h, moving fallback #define's for
3648 tcgetattr(), etc., to new private header nc_termios.h (report by
3650 + two minor fixes for tracing (patch by Vassili Courzakis).
3651 + improve trace initialization by starting it in use_env() and
3653 + review old email, add details for some changelog entries.
3656 + update minix entry to minix 3.2 (Thomas Cort).
3657 + fix a strict compiler warning in change to wattr_get (cf: 20110528).
3660 + fixes for MirBSD port:
3661 + set default prefix to /usr.
3662 + add support for shared libraries in configure script.
3663 + use S_ISREG and S_ISDIR consistently, with fallback definitions.
3664 + add a few more checks based on ncurses/link_test.
3665 + modify MKlib_gen.sh to handle sp-funcs renaming of NCURSES_OUTC type.
3668 + add case to CF_SHARED_OPTS for Interix (patch by Markus Duft).
3669 + used ncurses/link_test to check for behavior when the terminal has
3670 not been initialized and when an application passes null pointers
3671 to the library. Added checks to cover this (prompted by Redhat
3673 + modify MKlib_gen.sh to make its main() function call each function
3674 with zero parameters, to help find inconsistent checking for null
3678 + fix warnings from clang 2.7 "--analyze"
3681 + compiler-warning fixes in panel and progs.
3682 + modify CF_PKG_CONFIG macro, from changes to tin -TD
3683 + modify CF_CURSES_FUNCS configure macro, used in test directory
3685 + work around (non-optimizer) bug in gcc 4.2.1 which caused
3686 test-expression to be omitted from executable.
3687 + force the linker to see a link-time expression of a symbol, to
3688 help work around weak-symbol issues.
3691 + update discussion of MKfallback.sh script in INSTALL; normally the
3692 script is used automatically via the configured makefiles. However
3693 there are still occasions when it might be used directly by packagers
3694 (report by Gunter Schaffler).
3695 + modify misc/ncurses-config.in to omit the "-L" option from the
3696 "--libs" output if the library directory is /usr/lib.
3697 + change order of tests for curses.h versus ncurses.h headers in the
3698 configure scripts for Ada95 and test-directories, to look for
3699 ncurses.h, from fixes to tin -TD
3700 + modify ncurses/tinfo/access.c to account for Tandem's root uid
3701 (report by Joachim Schmitz).
3704 + modify rules in Ada95/src/Makefile.in to ensure that the PIC option
3705 is not used when building a static library (report by Nicolas
3707 + Ada95 build-fix for big-endian architectures such as sparc. This
3708 undoes one of the fixes from 20110319, which added an "Unused" member
3709 to representation clauses, replacing that with pragmas to suppress
3710 warnings about unused bits (patch by Nicolas Boulenguez).
3713 + add check in test/configure for use_window, use_screen.
3714 + add configure-checks for getopt's variables, which may be declared
3715 as different types on some Unix systems.
3716 + add check in test/configure for some legacy curses types of the
3717 function pointer passed to tputs().
3718 + modify init_pair() to accept -1's for color value after
3719 assume_default_colors() has been called (Debian #337095).
3720 + modify test/background.c, adding commmand-line options to demonstrate
3721 assume_default_colors() and use_default_colors().
3724 + modify configure script/source-code to only define _POSIX_SOURCE if
3725 the checks for sigaction and/or termios fail, and if _POSIX_C_SOURCE
3726 and _XOPEN_SOURCE are undefined (report by Valentin Ochs).
3727 + update config.guess, config.sub
3730 + fixes to build c++ binding with clang 3.0 (patch by Alexander
3732 + add check for unctrl.h in test/configure, to work around breakage in
3733 some ncurses packages.
3734 + add "--disable-widec" option to test/configure script.
3735 + add "--with-curses-colr" and "--with-curses-5lib" options to the
3736 test/configure script to address testing with very old machines.
3738 20110404 5.9 release for upload to ftp.gnu.org
3741 + various build-fixes for the rpm/dpkg scripts.
3742 + add "--enable-rpath-link" option to Ada95/configure, to allow
3743 packages to suppress the rpath feature which is normally used for
3744 the in-tree build of sample programs.
3745 + corrected definition of libdir variable in Ada95/src/Makefile.in,
3746 needed for rpm script.
3747 + add "--with-shared" option to Ada95/configure script, to allow
3748 making the C-language parts of the binding use appropriate compiler
3749 options if building a shared library with gnat.
3752 > portability fixes for Ada95 binding:
3753 + add configure check to ensure that SIGINT works with gnat. This is
3754 needed for the "rain" sample program. If SIGINT does not work, omit
3755 that sample program.
3756 + correct typo in check of $PKG_CONFIG variable in Ada95/configure
3757 + add ncurses_compat.c, to supply functions used in the Ada95 binding
3758 which were added in 5.7 and later.
3759 + modify sed expression in CF_NCURSES_ADDON to eliminate a dependency
3763 + add special check in Ada95/configure script for ncurses6 reentrant
3765 + regen Ada html documentation.
3766 + build-fix for Ada shared libraries versus the varargs workaround.
3767 + add rpm and dpkg scripts for Ada95 and test directories, for test
3769 + update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and
3771 + add configure check to determine if gnat's project feature supports
3772 libraries, i.e., collections of .ali files.
3773 + make all dereferences in Ada95 samples explicit.
3774 + fix typo in comment in lib_add_wch.c (patch by Petr Pavlu).
3775 + add configure check for, ifdef's for math.h which is in a separate
3776 package on Solaris and potentially not installed (report by Petr
3778 > fixes for Ada95 binding (Nicolas Boulenguez):
3779 + improve type-checking in Ada95 by eliminating a few warning-suppress
3781 + suppress unreferenced warnings.
3782 + make all dereferences in binding explicit.
3785 + regen Ada html documentation.
3786 + change order of -I options from ncurses*-config script when the
3787 --disable-overwrite option was used, so that the subdirectory include
3789 + modify the make-tar.sh scripts to add a MANIFEST and NEWS file.
3790 + modify configure script to provide value for HTML_DIR in
3791 Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is
3792 distributed separately (report by Nicolas Boulenguez).
3793 + modify configure script to add "-g" and/or "-O3" to ADAFLAGS if the
3794 CFLAGS for the build has these options.
3795 + amend change from 20070324, to not add 1 to the result of getmaxx
3796 and getmaxy in the Ada binding (report by Nicolas Boulenguez for
3797 thread in comp.lang.ada).
3798 + build-fix Ada95/samples for gnat 4.5
3799 + spelling fixes for Ada95/samples/explain.txt
3800 > fixes for Ada95 binding (Nicolas Boulenguez):
3801 + add item in Trace_Attribute_Set corresponding to TRACE_ATTRS.
3802 + add workaround for binding to set_field_type(), which uses varargs.
3803 The original binding from 990220 relied on the prevalent
3804 implementation of varargs which did not support or need va_copy().
3805 + add dependency on gen/Makefile.in needed for *-panels.ads
3806 + add Library_Options to library.gpr
3807 + add Languages to library.gpr, for gprbuild
3810 + revert changes to limit-checks from 20110122 (Debian #616711).
3811 > minor type-cleanup of Ada95 binding (Nicolas Boulenguez):
3812 + corrected a minor sign error in a field of Low_Level_Field_Type, to
3814 + replaced C_Int by Curses_Bool as return type for some callbacks, see
3816 + modify samples/sample-explain.adb to provide explicit message when
3817 explain.txt is not found.
3820 + improve makefiles for Ada95 tree (patch by Nicolas Boulenguez).
3821 + fix an off-by-one error in _nc_slk_initialize() from 20100605 fixes
3822 for compiler warnings (report by Nicolas Boulenguez).
3823 + modify Ada95/gen/gen.c to declare unused bits in generated layouts,
3824 needed to compile when chtype is 64-bits using gnat 4.4.5
3826 20110226 5.8 release for upload to ftp.gnu.org
3829 + update release notes, for 5.8.
3830 + regenerated html manpages.
3831 + change open() in _nc_read_file_entry() to fopen() for consistency
3833 + modify misc/run_tic.in to create parent directory, in case this is
3834 a new install of hashed database.
3835 + fix typo in Ada95/mk-1st.awk which causes error with original awk.
3838 + configure script rpath fixes from xterm #269.
3839 + workaround for cygwin's non-functional features.h, to force ncurses'
3840 configure script to define _XOPEN_SOURCE_EXTENDED when building
3841 wide-character configuration.
3842 + build-fix in run_tic.sh for OS/2 EMX install
3843 + add cons25-debian entry (patch by Brian M Carlson, Debian #607662).
3846 + regenerated html manpages.
3847 + use _tracef() in show_where() function of tic, to work correctly with
3848 special case of trace configuration.
3851 + add xterm-utf8 entry as a demo of the U8 feature -TD
3852 + add U8 feature to denote entries for terminal emulators which do not
3853 support VT100 SI/SO when processing UTF-8 encoding -TD
3854 + improve the NCURSES_NO_UTF8_ACS feature by adding a check for an
3855 extended terminfo capability U8 (prompted by mailing list
3859 + start documenting interface changes for upcoming 5.8 release.
3860 + correct limit-checks in derwin().
3861 + correct limit-checks in newwin(), to ensure that windows have nonzero
3862 size (report by Garrett Cooper).
3863 + fix a missing "weak" declaration for pthread_kill (patch by Nicholas
3865 + improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted
3866 by discussion with Kevin Martin).
3869 + modify Ada95/configure script to make the --with-curses-dir option
3870 work without requiring the --with-ncurses option.
3871 + modify test programs to allow them to be built with NetBSD curses.
3872 + document thick- and double-line symbols in curs_add_wch.3x manpage.
3873 + document WACS_xxx constants in curs_add_wch.3x manpage.
3874 + fix some warnings for clang 2.6 "--analyze"
3875 + modify Ada95 makefiles to make html-documentation with the project
3876 file configuration if that is used.
3877 + update config.guess, config.sub
3880 + regenerated html manpages.
3881 + minor fixes to enable lint when trace is not enabled, e.g., with
3883 + fix typo in man/default_colors.3x (patch by Tim van der Molen).
3884 + update ncurses/llib-lncurses*
3887 + fix remaining strict compiler warnings in ncurses library ABI=5,
3888 except those dealing with function pointers, etc.
3891 + modify nc_tparm.h, adding guards against repeated inclusion, and
3892 allowing TPARM_ARG to be overridden.
3893 + fix some strict compiler warnings in ncurses library.
3896 + suppress ncv in screen entry, allowing underline (patch by Alejandro
3898 + also suppress ncv in konsole-base -TD
3899 + fixes in wins_nwstr() and related functions to ensure that special
3900 characters, i.e., control characters are handled properly with the
3901 wide-character configuration.
3902 + correct a comparison in wins_nwstr() (Redhat #661506).
3903 + correct help-messages in some of the test-programs, which still
3904 referred to quitting with 'q'.
3907 + add special case to _nc_infotocap() to recognize the setaf/setab
3908 strings from xterm+256color and xterm+88color, and provide a reduced
3909 version which works with termcap.
3910 + remove obsolete emacs "Local Variables" section from documentation
3911 (request by Sven Joachim).
3912 + update doc/html/index.html to include NCURSES-Programming-HOWTO.html
3913 (report by Sven Joachim).
3916 + modify test/configure and test/Makefile.in to handle this special
3917 case of building within a build-tree (Debian #34182):
3918 mkdir -p build && cd build && ../test/configure && make
3921 + miscellaneous build-fixes for Ada95 and test-directories when built
3923 + use VPATH in makefiles to simplify out-of-tree builds (Debian #34182).
3924 + fix typo in rmso for tek4106 entry -Goran Weinholt
3927 + improve checks in test/configure for X libraries, from xterm #267
3929 + modify test/configure to allow it to use the build-tree's libraries
3930 e.g., when using that to configure the test-programs without the
3931 rpath feature (request by Sven Joachim).
3932 + repurpose "gnome" terminfo entries as "vte", retaining "gnome" items
3933 for compatibility, but generally deprecating those since the VTE
3934 library is what actually defines the behavior of "gnome", etc.,
3938 + compiler warning fixes for test programs.
3939 + various build-fixes for test-programs with pdcurses.
3940 + updated configure checks for X packages in test/configure from xterm
3942 + add configure check to gnatmake, to accommodate cygwin.
3945 + correct list of sub-directories needed in Ada95 tree for building as
3947 + modify scripts in test-directory to improve builds as a separate
3951 + correct parsing of relative tab-stops in tabs program (report by
3953 + adjust configure script so that "t" is not added to library suffix
3954 when weak-symbols are used, allowing the pthread configuration to
3955 more closely match the non-thread naming (report by Werner Fink).
3956 + modify configure check for tic program, used for fallbacks, to a
3957 warning if not found. This makes it simpler to use additonal
3958 scripts to bootstrap the fallbacks code using tic from the build
3959 tree (report by Werner Fink).
3960 + fix several places in configure script using ${variable-value} form.
3961 + modify configure macro CF_LDFLAGS_STATIC to accommodate some loaders
3962 which do not support selectively linking against static libraries
3963 (report by John P. Hartmann)
3964 + fix an unescaped dash in man/tset.1 (report by Sven Joachim).
3967 + correct comparison used for setting 16-colors in linux-16color
3968 entry (Novell #644831) -TD
3969 + improve linux-16color entry, using "dim" for color-8 which makes it
3970 gray rather than black like color-0 -TD
3971 + drop misc/ncu-indent and misc/jpf-indent; they are provided by an