Hello community, here is the log from the commit of package ncurses for openSUSE:Factory checked in at 2020-04-25 20:08:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ncurses (Old) and /work/SRC/openSUSE:Factory/.ncurses.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ncurses" Sat Apr 25 20:08:32 2020 rev:172 rq:795662 version:6.2.MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/ncurses/ncurses.changes 2020-04-19 21:34:57.966330346 +0200 +++ /work/SRC/openSUSE:Factory/.ncurses.new.2738/ncurses.changes 2020-04-25 20:08:43.643597604 +0200 @@ -1,0 +2,16 @@ +Mon Apr 20 06:39:46 UTC 2020 - Dr. Werner Fink <[email protected]> + +- Add ncurses patch 20200418 + + improve tracemunch logic for "RUN" compaction. + + fix a special case in wresize() where copying the old text did not + check if the last cell on a row was the beginning of a fullwidth + character (adapted from patch by Benno Schulenberg). + + use vt52+keypad in xterm-vt52, from xterm #354 -TD + + improve see-also section of user_caps.5 +- Add ncurses patch 20200411 + + fix find_pair(), overlooked when refactoring for _nc_reserve_pairs() + (report/testcase by Brad Town, cf: 20170812). + + add a trailing null for magic-string in putwin, flagged by gcc 10 + + update check for gcc version versus gnat to work with gcc 10.x + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ncurses-6.2-patches.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches/ncurses-6.2-20200411.patch new/patches/ncurses-6.2-20200411.patch --- old/patches/ncurses-6.2-20200411.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches/ncurses-6.2-20200411.patch 2020-04-20 08:35:27.274275457 +0200 @@ -0,0 +1,300 @@ +# ncurses 6.2 - patch 20200411 - Thomas E. Dickey +# +# ------------------------------------------------------------------------------ +# +# Ncurses 6.2 is at +# ftp.gnu.org:/pub/gnu +# +# Patches for ncurses 6.2 can be found at +# ftp://ftp.invisible-island.net/ncurses/6.2 +# http://invisible-mirror.net/archives/ncurses/6.2 +# +# ------------------------------------------------------------------------------ +# ftp://ftp.invisible-island.net/ncurses/6.2/ncurses-6.2-20200411.patch.gz +# patch by Thomas E. Dickey <[email protected]> +# created Sun Apr 12 01:22:49 UTC 2020 +# ------------------------------------------------------------------------------ +# NEWS | 8 +++++++- +# VERSION | 2 +- +# configure | 2 +- +# dist.mk | 4 ++-- +# ncurses/base/lib_screen.c | 4 ++-- +# ncurses/base/new_pair.c | 23 +++++++++++++++-------- +# ncurses/new_pair.h | 5 ++--- +# package/debian-mingw/changelog | 4 ++-- +# package/debian-mingw64/changelog | 4 ++-- +# package/debian/changelog | 4 ++-- +# package/mingw-ncurses.nsi | 4 ++-- +# package/mingw-ncurses.spec | 2 +- +# package/ncurses.spec | 2 +- +# package/ncursest.spec | 2 +- +# 14 files changed, 41 insertions(+), 29 deletions(-) +# ------------------------------------------------------------------------------ +Index: NEWS +Prereq: 1.3471 +--- ncurses-6.2-20200404+/NEWS 2020-04-04 21:07:47.000000000 +0000 ++++ ncurses-6.2-20200411/NEWS 2020-04-11 17:01:12.000000000 +0000 +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3471 2020/04/04 21:07:47 tom Exp $ ++-- $Id: NEWS,v 1.3475 2020/04/11 17:01:12 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,12 @@ + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20200411 ++ + fix find_pair(), overlooked when refactoring for _nc_reserve_pairs() ++ (report/testcase by Brad Town, cf: 20170812). ++ + add a trailing null for magic-string in putwin, flagged by gcc 10 ++ + update check for gcc version versus gnat to work with gcc 10.x ++ + 20200404 + + modify -fvisibility check to work with g++ + > fixes for building with Visual Studio C++ and msys2 (patches by +Index: VERSION +--- ncurses-6.2-20200404+/VERSION 2020-04-04 09:17:00.000000000 +0000 ++++ ncurses-6.2-20200411/VERSION 2020-04-11 13:11:52.000000000 +0000 +@@ -1 +1 @@ +-5:0:10 6.2 20200404 ++5:0:10 6.2 20200411 +Index: configure +--- ncurses-6.2-20200404+/configure 2020-04-04 23:34:23.000000000 +0000 ++++ ncurses-6.2-20200411/configure 2020-04-05 13:41:48.000000000 +0000 +@@ -24744,7 +24744,7 @@ + test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no + + case $cf_cv_gnat_version in +-(3.1[1-9]*|3.[2-9]*|[4-9].*|20[0-9][0-9]) ++(3.1[1-9]*|3.[2-9]*|[4-9].*|20[0-9][0-9]|[1-9][0-9].*) + cf_cv_prog_gnat_correct=yes + ;; + (*) +Index: dist.mk +Prereq: 1.1344 +--- ncurses-6.2-20200404+/dist.mk 2020-04-04 09:17:00.000000000 +0000 ++++ ncurses-6.2-20200411/dist.mk 2020-04-11 13:11:52.000000000 +0000 +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1344 2020/04/04 09:17:00 tom Exp $ ++# $Id: dist.mk,v 1.1345 2020/04/11 13:11:52 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 2 +-NCURSES_PATCH = 20200404 ++NCURSES_PATCH = 20200411 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +Index: ncurses/base/lib_screen.c +Prereq: 1.97 +--- ncurses-6.2-20200404+/ncurses/base/lib_screen.c 2020-02-02 23:34:34.000000000 +0000 ++++ ncurses-6.2-20200411/ncurses/base/lib_screen.c 2020-04-06 00:33:50.000000000 +0000 +@@ -42,7 +42,7 @@ + #define CUR SP_TERMTYPE + #endif + +-MODULE_ID("$Id: lib_screen.c,v 1.97 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: lib_screen.c,v 1.98 2020/04/06 00:33:50 tom Exp $") + + #define MAX_SIZE 0x3fff /* 16k is big enough for a window or pad */ + +@@ -67,7 +67,7 @@ + * format. It happens to be unused in the file 5.22 database (2015/03/07). + */ + static const char my_magic[] = +-{'\210', '\210', '\210', '\210'}; ++{'\210', '\210', '\210', '\210', 0}; + + #if NCURSES_EXT_PUTWIN + typedef enum { +Index: ncurses/base/new_pair.c +Prereq: 1.19 +--- ncurses-6.2-20200404+/ncurses/base/new_pair.c 2020-02-02 23:34:34.000000000 +0000 ++++ ncurses-6.2-20200411/ncurses/base/new_pair.c 2020-04-11 16:06:56.000000000 +0000 +@@ -61,7 +61,7 @@ + + #endif + +-MODULE_ID("$Id: new_pair.c,v 1.19 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: new_pair.c,v 1.20 2020/04/11 16:06:56 tom Exp $") + + #if NCURSES_EXT_COLORS + +@@ -144,17 +144,16 @@ + _nc_find_color_pair(SCREEN *sp, int fg, int bg) + { + colorpair_t find; +- int result; ++ int result = -1; + void *pp; + + find.fg = fg; + find.bg = bg; +- if (sp != 0 && +- (pp = tfind(&find, &sp->_ordered_pairs, compare_data)) != 0) { +- colorpair_t *temp = *(colorpair_t **) pp; +- result = (int) (temp - sp->_color_pairs); +- } else { +- result = -1; ++ if (sp != 0) { ++ if ((pp = tfind(&find, &sp->_ordered_pairs, compare_data)) != 0) { ++ colorpair_t *temp = *(colorpair_t **) pp; ++ result = (int) (temp - sp->_color_pairs); ++ } + } + return result; + } +@@ -197,7 +196,10 @@ + _nc_reset_color_pair(SCREEN *sp, int pair, colorpair_t * next) + { + colorpair_t *last; ++ + if (ValidPair(sp, pair)) { ++ bool used; ++ + ReservePairs(sp, pair); + last = &(sp->_color_pairs[pair]); + delink_color_pair(sp, pair); +@@ -205,6 +207,11 @@ + (last->fg != next->fg || last->bg != next->bg)) { + /* remove the old entry from fast index */ + tdelete(last, &sp->_ordered_pairs, compare_data); ++ used = FALSE; ++ } else { ++ used = (last->mode != cpFREE); ++ } ++ if (!used) { + /* create a new entry in fast index */ + *last = *next; + tsearch(last, &sp->_ordered_pairs, compare_data); +Index: ncurses/new_pair.h +Prereq: 1.10 +--- ncurses-6.2-20200404+/ncurses/new_pair.h 2020-02-02 23:34:34.000000000 +0000 ++++ ncurses-6.2-20200411/ncurses/new_pair.h 2020-04-11 16:43:47.000000000 +0000 +@@ -34,7 +34,7 @@ + /* + * Common type definitions and macros for new_pair.c, lib_color.c + * +- * $Id: new_pair.h,v 1.10 2020/02/02 23:34:34 tom Exp $ ++ * $Id: new_pair.h,v 1.11 2020/04/11 16:43:47 tom Exp $ + */ + + #ifndef NEW_PAIR_H +@@ -77,8 +77,7 @@ + typedef enum { + cpKEEP = -1, /* color pair 0 */ + cpFREE = 0, /* free for use */ +- cpINIT = 1, /* init_pair() */ +- cpAUTO = 1 /* alloc_pair() */ ++ cpINIT = 1 /* initialized */ + } CPMODE; + + typedef struct _color_pairs +Index: package/debian-mingw/changelog +--- ncurses-6.2-20200404+/package/debian-mingw/changelog 2020-04-04 09:17:00.000000000 +0000 ++++ ncurses-6.2-20200411/package/debian-mingw/changelog 2020-04-11 13:11:52.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6 (6.2+20200404) unstable; urgency=low ++ncurses6 (6.2+20200411) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <[email protected]> Sat, 04 Apr 2020 05:17:00 -0400 ++ -- Thomas E. Dickey <[email protected]> Sat, 11 Apr 2020 09:11:52 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +Index: package/debian-mingw64/changelog +--- ncurses-6.2-20200404+/package/debian-mingw64/changelog 2020-04-04 09:17:00.000000000 +0000 ++++ ncurses-6.2-20200411/package/debian-mingw64/changelog 2020-04-11 13:11:52.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6 (6.2+20200404) unstable; urgency=low ++ncurses6 (6.2+20200411) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <[email protected]> Sat, 04 Apr 2020 05:17:00 -0400 ++ -- Thomas E. Dickey <[email protected]> Sat, 11 Apr 2020 09:11:52 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +Index: package/debian/changelog +--- ncurses-6.2-20200404+/package/debian/changelog 2020-04-04 09:17:00.000000000 +0000 ++++ ncurses-6.2-20200411/package/debian/changelog 2020-04-11 13:11:52.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6 (6.2+20200404) unstable; urgency=low ++ncurses6 (6.2+20200411) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <[email protected]> Sat, 04 Apr 2020 05:17:00 -0400 ++ -- Thomas E. Dickey <[email protected]> Sat, 11 Apr 2020 09:11:52 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +Index: package/mingw-ncurses.nsi +Prereq: 1.388 +--- ncurses-6.2-20200404+/package/mingw-ncurses.nsi 2020-04-04 09:17:00.000000000 +0000 ++++ ncurses-6.2-20200411/package/mingw-ncurses.nsi 2020-04-11 13:11:52.000000000 +0000 +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.388 2020/04/04 09:17:00 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.389 2020/04/11 13:11:52 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "2" + !define VERSION_YYYY "2020" +-!define VERSION_MMDD "0404" ++!define VERSION_MMDD "0411" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +Index: package/mingw-ncurses.spec +--- ncurses-6.2-20200404+/package/mingw-ncurses.spec 2020-04-04 09:17:00.000000000 +0000 ++++ ncurses-6.2-20200411/package/mingw-ncurses.spec 2020-04-11 13:11:52.000000000 +0000 +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.2 +-Release: 20200404 ++Release: 20200411 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +Index: package/ncurses.spec +--- ncurses-6.2-20200404+/package/ncurses.spec 2020-04-04 09:17:00.000000000 +0000 ++++ ncurses-6.2-20200411/package/ncurses.spec 2020-04-11 13:11:52.000000000 +0000 +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.2 +-Release: 20200404 ++Release: 20200411 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +Index: package/ncursest.spec +--- ncurses-6.2-20200404+/package/ncursest.spec 2020-04-04 09:17:00.000000000 +0000 ++++ ncurses-6.2-20200411/package/ncursest.spec 2020-04-11 13:11:52.000000000 +0000 +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.2 +-Release: 20200404 ++Release: 20200411 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches/ncurses-6.2-20200418.patch new/patches/ncurses-6.2-20200418.patch --- old/patches/ncurses-6.2-20200418.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches/ncurses-6.2-20200418.patch 2020-04-20 08:36:00.173649560 +0200 @@ -0,0 +1,1204 @@ +# ncurses 6.2 - patch 20200418 - Thomas E. Dickey +# +# ------------------------------------------------------------------------------ +# +# Ncurses 6.2 is at +# ftp.gnu.org:/pub/gnu +# +# Patches for ncurses 6.2 can be found at +# ftp://ftp.invisible-island.net/ncurses/6.2 +# http://invisible-mirror.net/archives/ncurses/6.2 +# +# ------------------------------------------------------------------------------ +# ftp://ftp.invisible-island.net/ncurses/6.2/ncurses-6.2-20200418.patch.gz +# patch by Thomas E. Dickey <[email protected]> +# created Sun Apr 19 02:02:25 UTC 2020 +# ------------------------------------------------------------------------------ +# NEWS | 10 ++++- +# VERSION | 2 - +# dist.mk | 4 +- +# doc/html/man/adacurses6-config.1.html | 2 - +# doc/html/man/captoinfo.1m.html | 2 - +# doc/html/man/clear.1.html | 2 - +# doc/html/man/curs_print.3x.html | 4 +- +# doc/html/man/form.3x.html | 6 +-- +# doc/html/man/form_field.3x.html | 4 +- +# doc/html/man/form_field_buffer.3x.html | 4 +- +# doc/html/man/form_field_new.3x.html | 6 +-- +# doc/html/man/form_field_userptr.3x.html | 4 +- +# doc/html/man/form_fieldtype.3x.html | 4 +- +# doc/html/man/form_new.3x.html | 4 +- +# doc/html/man/form_requestname.3x.html | 6 +-- +# doc/html/man/form_userptr.3x.html | 4 +- +# doc/html/man/infocmp.1m.html | 2 - +# doc/html/man/infotocap.1m.html | 2 - +# doc/html/man/menu.3x.html | 2 - +# doc/html/man/menu_items.3x.html | 4 +- +# doc/html/man/menu_mark.3x.html | 4 +- +# doc/html/man/menu_new.3x.html | 4 +- +# doc/html/man/menu_pattern.3x.html | 4 +- +# doc/html/man/menu_requestname.3x.html | 6 +-- +# doc/html/man/menu_userptr.3x.html | 4 +- +# doc/html/man/mitem_current.3x.html | 4 +- +# doc/html/man/mitem_name.3x.html | 4 +- +# doc/html/man/mitem_new.3x.html | 4 +- +# doc/html/man/mitem_userptr.3x.html | 4 +- +# doc/html/man/ncurses.3x.html | 4 +- +# doc/html/man/ncurses6-config.1.html | 2 - +# doc/html/man/panel.3x.html | 2 - +# doc/html/man/resizeterm.3x.html | 2 - +# doc/html/man/tabs.1.html | 2 - +# doc/html/man/terminfo.5.html | 2 - +# doc/html/man/tic.1m.html | 2 - +# doc/html/man/toe.1m.html | 2 - +# doc/html/man/tput.1.html | 2 - +# doc/html/man/tset.1.html | 2 - +# doc/html/man/user_caps.5.html | 10 ++++- +# man/curs_variables.3x | 4 +- +# man/manhtml.aliases | 9 +++- +# man/manhtml.externs | 4 +- +# man/user_caps.5 | 15 +++++++- +# misc/terminfo.src | 9 +++- +# ncurses/base/wresize.c | 12 +++++- +# package/debian-mingw/changelog | 4 +- +# package/debian-mingw64/changelog | 4 +- +# package/debian/changelog | 4 +- +# package/mingw-ncurses.nsi | 4 +- +# package/mingw-ncurses.spec | 2 - +# package/ncurses.spec | 2 - +# package/ncursest.spec | 2 - +# test/tracemunch | 56 +++++++++++++++++++++++++----- +# 54 files changed, 181 insertions(+), 98 deletions(-) +# ------------------------------------------------------------------------------ +Index: NEWS +Prereq: 1.3475 +--- ncurses-6.2-20200411+/NEWS 2020-04-11 17:01:12.000000000 +0000 ++++ ncurses-6.2-20200418/NEWS 2020-04-18 23:57:32.000000000 +0000 +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.3475 2020/04/11 17:01:12 tom Exp $ ++-- $Id: NEWS,v 1.3477 2020/04/18 23:57:32 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,14 @@ + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20200418 ++ + improve tracemunch logic for "RUN" compaction. ++ + fix a special case in wresize() where copying the old text did not ++ check if the last cell on a row was the beginning of a fullwidth ++ character (adapted from patch by Benno Schulenberg). ++ + use vt52+keypad in xterm-vt52, from xterm #354 -TD ++ + improve see-also section of user_caps.5 ++ + 20200411 + + fix find_pair(), overlooked when refactoring for _nc_reserve_pairs() + (report/testcase by Brad Town, cf: 20170812). +Index: VERSION +--- ncurses-6.2-20200411+/VERSION 2020-04-11 13:11:52.000000000 +0000 ++++ ncurses-6.2-20200418/VERSION 2020-04-18 09:00:18.000000000 +0000 +@@ -1 +1 @@ +-5:0:10 6.2 20200411 ++5:0:10 6.2 20200418 +Index: dist.mk +Prereq: 1.1345 +--- ncurses-6.2-20200411+/dist.mk 2020-04-11 13:11:52.000000000 +0000 ++++ ncurses-6.2-20200418/dist.mk 2020-04-18 09:00:18.000000000 +0000 +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1345 2020/04/11 13:11:52 tom Exp $ ++# $Id: dist.mk,v 1.1346 2020/04/18 09:00:18 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 2 +-NCURSES_PATCH = 20200411 ++NCURSES_PATCH = 20200418 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +Index: doc/html/man/adacurses6-config.1.html +--- ncurses-6.2-20200411+/doc/html/man/adacurses6-config.1.html 2020-03-22 00:34:59.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/adacurses6-config.1.html 2020-04-18 09:36:12.000000000 +0000 +@@ -126,7 +126,7 @@ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + +Index: doc/html/man/captoinfo.1m.html +--- ncurses-6.2-20200411+/doc/html/man/captoinfo.1m.html 2020-03-22 00:34:59.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/captoinfo.1m.html 2020-04-18 09:36:12.000000000 +0000 +@@ -199,7 +199,7 @@ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> +Index: doc/html/man/clear.1.html +--- ncurses-6.2-20200411+/doc/html/man/clear.1.html 2020-03-22 00:35:00.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/clear.1.html 2020-04-18 09:36:12.000000000 +0000 +@@ -149,7 +149,7 @@ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + +Index: doc/html/man/curs_print.3x.html +--- ncurses-6.2-20200411+/doc/html/man/curs_print.3x.html 2020-02-03 01:26:26.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/curs_print.3x.html 2020-04-18 09:36:15.000000000 +0000 +@@ -27,7 +27,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_print.3x,v 1.14 2020/02/02 23:34:34 tom Exp @ ++ * @Id: curs_print.3x,v 1.15 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -71,7 +71,7 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + The <STRONG>mcprint</STRONG> function returns <STRONG>ERR</STRONG> if the write operation aborted for +- some reason. In this case, errno will contain either an error associ- ++ some reason. In this case, <STRONG>errno</STRONG> will contain either an error associ- + ated with <STRONG>write(2)</STRONG> or one of the following: + + ENODEV +Index: doc/html/man/form.3x.html +--- ncurses-6.2-20200411+/doc/html/man/form.3x.html 2020-03-22 00:35:02.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/form.3x.html 2020-04-18 09:36:16.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: form.3x,v 1.34 2020/02/02 23:34:34 tom Exp @ ++ * @Id: form.3x,v 1.35 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -168,7 +168,7 @@ + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +- Routines that return pointers return <STRONG>NULL</STRONG> on error, and set errno to ++ Routines that return pointers return <STRONG>NULL</STRONG> on error, and set <STRONG>errno</STRONG> to + the corresponding error-code returned by functions returning an inte- + ger. Routines that return an integer return one of the following error + codes: +@@ -247,7 +247,7 @@ + <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> and related pages whose names begin "form_" for detailed + descriptions of the entry points. + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + +Index: doc/html/man/form_field.3x.html +--- ncurses-6.2-20200411+/doc/html/man/form_field.3x.html 2020-02-03 01:26:27.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/form_field.3x.html 2020-04-18 09:36:16.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: form_field.3x,v 1.14 2020/02/02 23:34:34 tom Exp @ ++ * @Id: form_field.3x,v 1.15 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -73,7 +73,7 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + The function <STRONG>form_fields</STRONG> returns a pointer (which may be <STRONG>NULL</STRONG>). It +- does not set errno. ++ does not set <STRONG>errno</STRONG>. + + The function <STRONG>field_count</STRONG> returns <STRONG>ERR</STRONG> if the <EM>form</EM> parameter is <STRONG>NULL</STRONG>. + +Index: doc/html/man/form_field_buffer.3x.html +--- ncurses-6.2-20200411+/doc/html/man/form_field_buffer.3x.html 2020-02-03 01:26:27.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/form_field_buffer.3x.html 2020-04-18 09:36:16.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: form_field_buffer.3x,v 1.25 2020/02/02 23:34:34 tom Exp @ ++ * @Id: form_field_buffer.3x,v 1.26 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -103,7 +103,7 @@ + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +- The <STRONG>field_buffer</STRONG> function returns NULL on error. It sets errno accord- ++ The <STRONG>field_buffer</STRONG> function returns NULL on error. It sets <STRONG>errno</STRONG> accord- + ing to their success: + + <STRONG>E_OK</STRONG> The routine succeeded. +Index: doc/html/man/form_field_new.3x.html +--- ncurses-6.2-20200411+/doc/html/man/form_field_new.3x.html 2020-02-03 01:26:27.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/form_field_new.3x.html 2020-04-18 09:36:16.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: form_field_new.3x,v 1.21 2020/02/02 23:34:34 tom Exp @ ++ * @Id: form_field_new.3x,v 1.22 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -81,8 +81,8 @@ + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +- The function, <STRONG>new_field</STRONG>, <STRONG>dup_field</STRONG>, <STRONG>link_field</STRONG> return <STRONG>NULL</STRONG> on error. +- They set errno according to their success: ++ The functions <STRONG>new_field</STRONG>, <STRONG>dup_field</STRONG>, <STRONG>link_field</STRONG> return <STRONG>NULL</STRONG> on error. ++ They set <STRONG>errno</STRONG> according to their success: + + <STRONG>E_OK</STRONG> The routine succeeded. + +Index: doc/html/man/form_field_userptr.3x.html +--- ncurses-6.2-20200411+/doc/html/man/form_field_userptr.3x.html 2020-02-03 01:26:27.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/form_field_userptr.3x.html 2020-04-18 09:36:16.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: form_field_userptr.3x,v 1.13 2020/02/02 23:34:34 tom Exp @ ++ * @Id: form_field_userptr.3x,v 1.14 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -66,7 +66,7 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + The function <STRONG>field_userptr</STRONG> returns a pointer (which may be <STRONG>NULL</STRONG>). It +- does not set errno. ++ does not set <STRONG>errno</STRONG>. + + The function <STRONG>set_field_userptr</STRONG> returns <STRONG>E_OK</STRONG> (success). + +Index: doc/html/man/form_fieldtype.3x.html +--- ncurses-6.2-20200411+/doc/html/man/form_fieldtype.3x.html 2020-02-03 01:26:27.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/form_fieldtype.3x.html 2020-04-18 09:36:16.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: form_fieldtype.3x,v 1.20 2020/02/02 23:34:34 tom Exp @ ++ * @Id: form_fieldtype.3x,v 1.21 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -109,7 +109,7 @@ + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +- The pointer-valued routines return NULL on error. They set errno ++ The pointer-valued routines return NULL on error. They set <STRONG>errno</STRONG> + according to their success: + + <STRONG>E_OK</STRONG> The routine succeeded. +Index: doc/html/man/form_new.3x.html +--- ncurses-6.2-20200411+/doc/html/man/form_new.3x.html 2020-02-03 01:26:27.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/form_new.3x.html 2020-04-18 09:36:16.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: form_new.3x,v 1.12 2020/02/02 23:34:34 tom Exp @ ++ * @Id: form_new.3x,v 1.13 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -66,7 +66,7 @@ + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +- The function <STRONG>new_form</STRONG> returns <STRONG>NULL</STRONG> on error. It sets errno according ++ The function <STRONG>new_form</STRONG> returns <STRONG>NULL</STRONG> on error. It sets <STRONG>errno</STRONG> according + to the function's success: + + <STRONG>E_OK</STRONG> The routine succeeded. +Index: doc/html/man/form_requestname.3x.html +--- ncurses-6.2-20200411+/doc/html/man/form_requestname.3x.html 2020-02-03 01:26:27.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/form_requestname.3x.html 2020-04-18 09:36:16.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: form_requestname.3x,v 1.12 2020/02/02 23:34:34 tom Exp @ ++ * @Id: form_requestname.3x,v 1.13 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -67,10 +67,10 @@ + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +- <STRONG>form_request_name</STRONG> returns <STRONG>NULL</STRONG> on error and sets errno to <STRONG>E_BAD_ARGU-</STRONG> ++ <STRONG>form_request_name</STRONG> returns <STRONG>NULL</STRONG> on error and sets <STRONG>errno</STRONG> to <STRONG>E_BAD_ARGU-</STRONG> + <STRONG>MENT</STRONG>. + <STRONG>form_request_by_name</STRONG> returns <STRONG>E_NO_MATCH</STRONG> on error. It does not set +- errno. ++ <STRONG>errno</STRONG>. + + + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> +Index: doc/html/man/form_userptr.3x.html +--- ncurses-6.2-20200411+/doc/html/man/form_userptr.3x.html 2020-02-03 01:26:27.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/form_userptr.3x.html 2020-04-18 09:36:16.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: form_userptr.3x,v 1.16 2020/02/02 23:34:34 tom Exp @ ++ * @Id: form_userptr.3x,v 1.17 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -66,7 +66,7 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + The function <STRONG>form_userptr</STRONG> returns a pointer (which may be <STRONG>NULL</STRONG>). It +- does not set errno. ++ does not set <STRONG>errno</STRONG>. + + The function <STRONG>set_form_userptr</STRONG> returns <STRONG>E_OK</STRONG> (success). + +Index: doc/html/man/infocmp.1m.html +--- ncurses-6.2-20200411+/doc/html/man/infocmp.1m.html 2020-03-22 00:35:03.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/infocmp.1m.html 2020-04-18 09:36:17.000000000 +0000 +@@ -513,7 +513,7 @@ + + https://invisible-island.net/ncurses/tctest.html + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> +Index: doc/html/man/infotocap.1m.html +--- ncurses-6.2-20200411+/doc/html/man/infotocap.1m.html 2020-03-22 00:35:03.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/infotocap.1m.html 2020-04-18 09:36:17.000000000 +0000 +@@ -91,7 +91,7 @@ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> +Index: doc/html/man/menu.3x.html +--- ncurses-6.2-20200411+/doc/html/man/menu.3x.html 2020-03-22 00:35:03.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/menu.3x.html 2020-04-18 09:36:17.000000000 +0000 +@@ -222,7 +222,7 @@ + <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> and related pages whose names begin "menu_" for detailed + descriptions of the entry points. + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + +Index: doc/html/man/menu_items.3x.html +--- ncurses-6.2-20200411+/doc/html/man/menu_items.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/menu_items.3x.html 2020-04-18 09:36:17.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: menu_items.3x,v 1.14 2020/02/02 23:34:34 tom Exp @ ++ * @Id: menu_items.3x,v 1.15 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -70,7 +70,7 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + The function <STRONG>menu_items</STRONG> returns a pointer (which may be <STRONG>NULL</STRONG>). It does +- not set errno. ++ not set <STRONG>errno</STRONG>. + + The function <STRONG>item_count</STRONG> returns <STRONG>ERR</STRONG> (the general <STRONG>curses</STRONG> error return + value) if its <EM>menu</EM> parameter is <STRONG>NULL</STRONG>. +Index: doc/html/man/menu_mark.3x.html +--- ncurses-6.2-20200411+/doc/html/man/menu_mark.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/menu_mark.3x.html 2020-04-18 09:36:17.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: menu_mark.3x,v 1.15 2020/02/02 23:34:34 tom Exp @ ++ * @Id: menu_mark.3x,v 1.16 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -76,7 +76,7 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + The function <STRONG>menu_mark</STRONG> returns a pointer (which may be <STRONG>NULL</STRONG>). It does +- not set errno. ++ not set <STRONG>errno</STRONG>. + + The function <STRONG>set_menu_mark</STRONG> may return the following error codes: + +Index: doc/html/man/menu_new.3x.html +--- ncurses-6.2-20200411+/doc/html/man/menu_new.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/menu_new.3x.html 2020-04-18 09:36:17.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: menu_new.3x,v 1.15 2020/02/02 23:34:34 tom Exp @ ++ * @Id: menu_new.3x,v 1.16 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -66,7 +66,7 @@ + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +- The function <STRONG>new_menu</STRONG> returns <STRONG>NULL</STRONG> on error. It sets errno according ++ The function <STRONG>new_menu</STRONG> returns <STRONG>NULL</STRONG> on error. It sets <STRONG>errno</STRONG> according + to the function's failure: + + <STRONG>E_NOT_CONNECTED</STRONG> +Index: doc/html/man/menu_pattern.3x.html +--- ncurses-6.2-20200411+/doc/html/man/menu_pattern.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/menu_pattern.3x.html 2020-04-18 09:36:17.000000000 +0000 +@@ -27,7 +27,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: menu_pattern.3x,v 1.18 2020/02/02 23:34:34 tom Exp @ ++ * @Id: menu_pattern.3x,v 1.19 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -71,7 +71,7 @@ + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + The function <STRONG>menu_pattern</STRONG> returns a pointer, which is <STRONG>NULL</STRONG> if the <EM>menu</EM> + parameter is <STRONG>NULL</STRONG>. Otherwise, it is a pointer to a string which is +- empty if no pattern has been set. It does not set errno. ++ empty if no pattern has been set. It does not set <STRONG>errno</STRONG>. + + The function <STRONG>set_menu_pattern</STRONG> may return the following error codes: + +Index: doc/html/man/menu_requestname.3x.html +--- ncurses-6.2-20200411+/doc/html/man/menu_requestname.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/menu_requestname.3x.html 2020-04-18 09:36:18.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: menu_requestname.3x,v 1.12 2020/02/02 23:34:34 tom Exp @ ++ * @Id: menu_requestname.3x,v 1.13 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -67,10 +67,10 @@ + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +- <STRONG>menu_request_name</STRONG> returns <STRONG>NULL</STRONG> on error and sets errno to <STRONG>E_BAD_ARGU-</STRONG> ++ <STRONG>menu_request_name</STRONG> returns <STRONG>NULL</STRONG> on error and sets <STRONG>errno</STRONG> to <STRONG>E_BAD_ARGU-</STRONG> + <STRONG>MENT</STRONG>. + <STRONG>menu_request_by_name</STRONG> returns <STRONG>E_NO_MATCH</STRONG> on error. It does not set +- errno. ++ <STRONG>errno</STRONG>. + + + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> +Index: doc/html/man/menu_userptr.3x.html +--- ncurses-6.2-20200411+/doc/html/man/menu_userptr.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/menu_userptr.3x.html 2020-04-18 09:36:18.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: menu_userptr.3x,v 1.13 2020/02/02 23:34:34 tom Exp @ ++ * @Id: menu_userptr.3x,v 1.14 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -66,7 +66,7 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + <STRONG>menu_userptr</STRONG> returns a pointer (which may be <STRONG>NULL</STRONG>). It does not set +- errno. ++ <STRONG>errno</STRONG>. + + <STRONG>set_menu_userptr</STRONG> returns <STRONG>E_OK</STRONG> (success). + +Index: doc/html/man/mitem_current.3x.html +--- ncurses-6.2-20200411+/doc/html/man/mitem_current.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/mitem_current.3x.html 2020-04-18 09:36:18.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: mitem_current.3x,v 1.17 2020/02/02 23:34:34 tom Exp @ ++ * @Id: mitem_current.3x,v 1.18 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -77,7 +77,7 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + <STRONG>current_item</STRONG> returns a pointer (which may be <STRONG>NULL</STRONG>). It does not set +- errno. ++ <STRONG>errno</STRONG>. + + <STRONG>top_row</STRONG> and <STRONG>item_index</STRONG> return <STRONG>ERR</STRONG> (the general <STRONG>curses</STRONG> error value) if + their <EM>menu</EM> parameter is <STRONG>NULL</STRONG>. +Index: doc/html/man/mitem_name.3x.html +--- ncurses-6.2-20200411+/doc/html/man/mitem_name.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/mitem_name.3x.html 2020-04-18 09:36:18.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: mitem_name.3x,v 1.11 2020/02/02 23:34:34 tom Exp @ ++ * @Id: mitem_name.3x,v 1.12 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -65,7 +65,7 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + These routines return a pointer (which may be <STRONG>NULL</STRONG>). They do not set +- errno. ++ <STRONG>errno</STRONG>. + + + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> +Index: doc/html/man/mitem_new.3x.html +--- ncurses-6.2-20200411+/doc/html/man/mitem_new.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/mitem_new.3x.html 2020-04-18 09:36:18.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: mitem_new.3x,v 1.16 2020/02/02 23:34:34 tom Exp @ ++ * @Id: mitem_new.3x,v 1.17 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -69,7 +69,7 @@ + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +- The function <STRONG>new_item</STRONG> returns <STRONG>NULL</STRONG> on error. It sets errno according ++ The function <STRONG>new_item</STRONG> returns <STRONG>NULL</STRONG> on error. It sets <STRONG>errno</STRONG> according + to the function's failure: + + <STRONG>E_BAD_ARGUMENT</STRONG> +Index: doc/html/man/mitem_userptr.3x.html +--- ncurses-6.2-20200411+/doc/html/man/mitem_userptr.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/mitem_userptr.3x.html 2020-04-18 09:36:18.000000000 +0000 +@@ -28,7 +28,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: mitem_userptr.3x,v 1.14 2020/02/02 23:34:34 tom Exp @ ++ * @Id: mitem_userptr.3x,v 1.15 2020/03/28 19:06:28 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -66,7 +66,7 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + The function <STRONG>item_userptr</STRONG> returns a pointer (possibly <STRONG>NULL</STRONG>). It does +- not set errno. ++ not set <STRONG>errno</STRONG>. + + The <STRONG>set_item_userptr</STRONG> always returns <STRONG>E_OK</STRONG> (success). + +Index: doc/html/man/ncurses.3x.html +--- ncurses-6.2-20200411+/doc/html/man/ncurses.3x.html 2020-03-22 00:35:04.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/ncurses.3x.html 2020-04-18 14:32:34.000000000 +0000 +@@ -60,7 +60,7 @@ + method of updating character screens with reasonable optimization. + This implementation is "new curses" (ncurses) and is the approved + replacement for 4.4BSD classic curses, which has been discontinued. +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + The <STRONG>ncurses</STRONG> library emulates the curses library of System V Release 4 + UNIX, and XPG4 (X/Open Portability Guide) curses (also known as XSI +@@ -259,7 +259,7 @@ + Each cell (row and column) in a <STRONG>WINDOW</STRONG> is stored as a + <STRONG>cchar_t</STRONG>. + +- The <STRONG><A HREF="setcchar.3x.html">setcchar(3x)</A></STRONG> and <STRONG><A HREF="getcchar.3x.html">getcchar(3x)</A></STRONG> functions store and ++ The <STRONG><A HREF="curs_getcchar.3x.html">setcchar(3x)</A></STRONG> and <STRONG><A HREF="curs_getcchar.3x.html">getcchar(3x)</A></STRONG> functions store and + retrieve the data from a <STRONG>cchar_t</STRONG> structure. + + <STRONG>wchar_t</STRONG> +Index: doc/html/man/ncurses6-config.1.html +--- ncurses-6.2-20200411+/doc/html/man/ncurses6-config.1.html 2020-03-22 00:35:04.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/ncurses6-config.1.html 2020-04-18 09:36:18.000000000 +0000 +@@ -113,7 +113,7 @@ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + +Index: doc/html/man/panel.3x.html +--- ncurses-6.2-20200411+/doc/html/man/panel.3x.html 2020-03-22 00:35:04.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/panel.3x.html 2020-04-18 09:36:18.000000000 +0000 +@@ -281,7 +281,7 @@ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>, + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> +Index: doc/html/man/resizeterm.3x.html +--- ncurses-6.2-20200411+/doc/html/man/resizeterm.3x.html 2020-02-03 01:26:28.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/resizeterm.3x.html 2020-04-18 14:32:34.000000000 +0000 +@@ -76,7 +76,7 @@ + </PRE><H3><a name="h3-resize_term">resize_term</a></H3><PRE> + Most of the work is done by the inner function <STRONG>resize_term</STRONG>. The outer + function <STRONG>resizeterm</STRONG> adds bookkeeping for the <STRONG>SIGWINCH</STRONG> handler, as well +- as repainting the soft-key area (see <STRONG><A HREF="slk_touch.3x.html">slk_touch(3x)</A></STRONG>). ++ as repainting the soft-key area (see <STRONG><A HREF="curs_slk.3x.html">slk_touch(3x)</A></STRONG>). + + When resizing the windows, <STRONG>resize_term</STRONG> blank-fills the areas that are + extended. The calling application should fill in these areas with +Index: doc/html/man/tabs.1.html +--- ncurses-6.2-20200411+/doc/html/man/tabs.1.html 2020-03-22 00:35:04.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/tabs.1.html 2020-04-18 09:36:19.000000000 +0000 +@@ -206,7 +206,7 @@ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + +Index: doc/html/man/terminfo.5.html +--- ncurses-6.2-20200411+/doc/html/man/terminfo.5.html 2020-03-22 00:35:04.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/terminfo.5.html 2020-04-18 09:36:19.000000000 +0000 +@@ -105,7 +105,7 @@ + have, by specifying how to perform screen operations, and by specifying + padding requirements and initialization sequences. + +- This manual describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This manual describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + </PRE><H3><a name="h3-Terminfo-Entry-Syntax">Terminfo Entry Syntax</a></H3><PRE> +Index: doc/html/man/tic.1m.html +--- ncurses-6.2-20200411+/doc/html/man/tic.1m.html 2020-03-22 00:35:04.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/tic.1m.html 2020-04-18 09:36:19.000000000 +0000 +@@ -461,7 +461,7 @@ + <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="toe.1m.html">toe(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, + <STRONG><A HREF="term.5.html">term(5)</A></STRONG>. <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. <STRONG><A HREF="user_caps.5.html">user_caps(5)</A></STRONG>. + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> +Index: doc/html/man/toe.1m.html +--- ncurses-6.2-20200411+/doc/html/man/toe.1m.html 2020-03-22 00:35:04.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/toe.1m.html 2020-04-18 09:36:19.000000000 +0000 +@@ -171,7 +171,7 @@ + <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG>ter-</STRONG> + <STRONG><A HREF="terminfo.5.html">minfo(5)</A></STRONG>. + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + +Index: doc/html/man/tput.1.html +--- ncurses-6.2-20200411+/doc/html/man/tput.1.html 2020-03-22 00:35:04.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/tput.1.html 2020-04-18 09:36:19.000000000 +0000 +@@ -523,7 +523,7 @@ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="clear.1.html">clear(1)</A></STRONG>, <STRONG>stty(1)</STRONG>, <STRONG><A HREF="tabs.1.html">tabs(1)</A></STRONG>, <STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>, <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>. + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + +Index: doc/html/man/tset.1.html +--- ncurses-6.2-20200411+/doc/html/man/tset.1.html 2020-03-22 00:35:04.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/tset.1.html 2020-04-18 09:36:19.000000000 +0000 +@@ -390,7 +390,7 @@ + <STRONG>csh(1)</STRONG>, <STRONG>sh(1)</STRONG>, <STRONG>stty(1)</STRONG>, <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>, <STRONG>tty(4)</STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>, + <STRONG>ttys(5)</STRONG>, <STRONG>environ(7)</STRONG> + +- This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200321). ++ This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20200418). + + + +Index: doc/html/man/user_caps.5.html +--- ncurses-6.2-20200411+/doc/html/man/user_caps.5.html 2020-02-03 01:26:29.000000000 +0000 ++++ ncurses-6.2-20200418/doc/html/man/user_caps.5.html 2020-04-18 14:32:35.000000000 +0000 +@@ -27,7 +27,7 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: user_caps.5,v 1.12 2020/02/02 23:34:34 tom Exp @ ++ * @Id: user_caps.5,v 1.15 2020/04/18 10:29:43 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> +@@ -372,6 +372,14 @@ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>. + ++ The terminal database section <EM>NCURSES</EM> <EM>USER-DEFINABLE</EM> <EM>CAPABILITIES</EM> sum- ++ marizes commonly-used user-defined capabilities which are used in the ++ terminal descriptions. Some of those features are mentioned in ++ <STRONG>screen(1)</STRONG> or <STRONG>tmux(1)</STRONG>. ++ ++ <EM>XTerm</EM> <EM>Control</EM> <EM>Sequences</EM> provides further information on the <STRONG>xterm</STRONG> fea- ++ tures which are used in these extended capabilities. ++ + + </PRE><H2><a name="h2-AUTHORS">AUTHORS</a></H2><PRE> + Thomas E. Dickey +Index: man/curs_variables.3x +Prereq: 1.14 +--- ncurses-6.2-20200411+/man/curs_variables.3x 2020-02-02 23:34:34.000000000 +0000 ++++ ncurses-6.2-20200418/man/curs_variables.3x 2020-04-18 14:29:07.000000000 +0000 +@@ -27,7 +27,7 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_variables.3x,v 1.14 2020/02/02 23:34:34 tom Exp $ ++.\" $Id: curs_variables.3x,v 1.15 2020/04/18 14:29:07 tom Exp $ + .TH curs_variables 3X "" + .ie \n(.g .ds `` \(lq + .el .ds `` `` +@@ -112,7 +112,7 @@ + .SS TABSIZE + This variable holds the number of columns used by the \fIcurses\fP library + when converting a tab character to spaces as it adds the tab to a window +-(see curs_addch(3X). ++(see \fBcurs_addch\fP(3X). + .SS The Current Screen + This implementation of curses uses a special window \fBcurscr\fP to + record its updates to the terminal screen. +Index: man/manhtml.aliases +Prereq: 1.16 +--- ncurses-6.2-20200411+/man/manhtml.aliases 2020-02-15 21:02:48.000000000 +0000 ++++ ncurses-6.2-20200418/man/manhtml.aliases 2020-04-18 14:30:44.000000000 +0000 +@@ -1,4 +1,4 @@ +-# $Id: manhtml.aliases,v 1.16 2020/02/15 21:02:48 tom Exp $ ++# $Id: manhtml.aliases,v 1.17 2020/04/18 14:30:44 tom Exp $ + #*************************************************************************** + # Copyright 2019,2020 Thomas E. Dickey * + # Copyright 2013,2017 Free Software Foundation, Inc. * +@@ -28,14 +28,15 @@ + # authorization. * + #*************************************************************************** + # Items in this list will be linked to the corresponding manpages by man2html +-assume_default_colors(3X) default_colors(3X) + addch(3X) curs_addch(3X) ++assume_default_colors(3X) default_colors(3X) + curs_set(3X) curs_kernel(3X) + delscreen(3X) curs_initscr(3X) + doupdate(3X) curs_refresh(3X) + endwin(3X) curs_initscr(3X) + filter(3X) curs_util(3X) + get_wch(3X) curs_get_wch(3X) ++getcchar(3X) curs_getcchar(3X) + getch(3X) curs_getch(3X) + inch(3X) curs_inch(3X) + infocmp(1) infocmp(1M) +@@ -51,14 +52,16 @@ + reset_shell_mode(3X) curs_kernel(3X) + set_fieldtype(3X) form_fieldtype(3X) + set_term(3X) curs_initscr(3X) ++setcchar(3X) curs_getcchar(3X) + setupterm(3X) curs_terminfo(3X) + slk_init(3X) curs_slk(3X) ++slk_touch(3X) curs_slk(3X) + tic(1) tic(1M) + tigetstr(3X) curs_terminfo(3X) + tparm(3X) curs_terminfo(3X) + tputs(3X) curs_terminfo(3X) +-use_env(3X) curs_util(3X) + use_default_colors(3X) default_colors(3X) ++use_env(3X) curs_util(3X) + use_extended_names(3X) curs_extend(3X) + vidputs(3X) curs_terminfo(3X) + wgetch(3X) curs_getch(3X) +Index: man/manhtml.externs +Prereq: 1.13 +--- ncurses-6.2-20200411+/man/manhtml.externs 2020-02-02 23:34:34.000000000 +0000 ++++ ncurses-6.2-20200418/man/manhtml.externs 2020-04-18 09:48:50.000000000 +0000 +@@ -1,4 +1,4 @@ +-# $Id: manhtml.externs,v 1.13 2020/02/02 23:34:34 tom Exp $ ++# $Id: manhtml.externs,v 1.14 2020/04/18 09:48:50 tom Exp $ + # Items in this list will not be linked by man2html + #*************************************************************************** + # Copyright 2019,2020 Thomas E. Dickey * +@@ -51,12 +51,14 @@ + putwc(3) + read(2) + scanf(3) ++screen(1) + sh(1) + sscanf(3) + stdio(3) + stty(1) + system(3) + termios(3) ++tmux(1) + tty(4) + ttys(5) + vprintf(3) +Index: man/user_caps.5 +Prereq: 1.12 +--- ncurses-6.2-20200411+/man/user_caps.5 2020-02-02 23:34:34.000000000 +0000 ++++ ncurses-6.2-20200418/man/user_caps.5 2020-04-18 10:29:43.000000000 +0000 +@@ -27,7 +27,7 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: user_caps.5,v 1.12 2020/02/02 23:34:34 tom Exp $ ++.\" $Id: user_caps.5,v 1.15 2020/04/18 10:29:43 tom Exp $ + .TH user_caps 5 + .ie \n(.g .ds `` \(lq + .el .ds `` `` +@@ -409,16 +409,29 @@ + ask \fBkey_defined\fP(3X) for the \fIkey-code\fP which + would be returned for those keys by \fBwgetch\fP(3X). + .PP ++.\" + .SH PORTABILITY + .PP + The \*(``\-x\*('' extension feature of \fB@TIC@\fP and \fB@INFOCMP@\fP + has been adopted in NetBSD curses. + That implementation stores user-defined capabilities, + but makes no use of these capabilities itself. ++.\" + .SH SEE ALSO + .PP + \fB@TIC@\fR(1M), + \fB@INFOCMP@\fR(1M). ++.PP ++The terminal database section ++.I "NCURSES USER-DEFINABLE CAPABILITIES" ++summarizes commonly-used user-defined capabilities ++which are used in the terminal descriptions. ++Some of those features are mentioned in \fBscreen\fR(1) or \fBtmux\fR(1). ++.PP ++.I "XTerm Control Sequences" ++provides further information on the \fBxterm\fP features ++which are used in these extended capabilities. ++.\" + .SH AUTHORS + .PP + Thomas E. Dickey +Index: misc/terminfo.src +--- ncurses-6.2-20200411+/misc/terminfo.src 2020-02-22 23:05:24.000000000 +0000 ++++ ncurses-6.2-20200418/misc/terminfo.src 2020-04-18 16:46:32.000000000 +0000 +@@ -6,8 +6,8 @@ + # Report bugs and new terminal descriptions to + # [email protected] + # +-# $Revision: 1.787 $ +-# $Date: 2020/02/22 23:05:24 $ ++# $Revision: 1.788 $ ++# $Date: 2020/04/18 16:46:32 $ + # + # The original header is preserved below for reference. It is noted that there + # is a "newer" version which differs in some cosmetic details (but actually +@@ -5059,7 +5059,7 @@ + cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK, + home=\EH, ht=^I, ind=\n, kcub1=\ED, kcud1=\EB, kcuf1=\EC, + kcuu1=\EA, nel=\r\n, ri=\EI, rmacs=\EG, smacs=\EF, +- use=xterm+kbs, ++ use=xterm+kbs, use=vt52+keypad, + + xterm-noapp|xterm with cursor keys in normal mode, + rmcup@, rmkx=\E>, smcup@, smkx=\E=, use=xterm+noapp, +@@ -26476,4 +26476,7 @@ + # + improve vt50h and vt52 based on DECScope manual -TD + # + add/use vt52+keypad and vt52-basic -TD + # ++# 2020-04-18 ++# + use vt52+keypad in xterm-vt52, from xterm #354 -TD ++# + ######## SHANTIH! SHANTIH! SHANTIH! +Index: ncurses/base/wresize.c +Prereq: 1.39 +--- ncurses-6.2-20200411+/ncurses/base/wresize.c 2020-02-02 23:34:34.000000000 +0000 ++++ ncurses-6.2-20200418/ncurses/base/wresize.c 2020-04-18 21:01:00.000000000 +0000 +@@ -34,7 +34,7 @@ + + #include <curses.priv.h> + +-MODULE_ID("$Id: wresize.c,v 1.39 2020/02/02 23:34:34 tom Exp $") ++MODULE_ID("$Id: wresize.c,v 1.41 2020/04/18 21:01:00 tom Exp $") + + static int + cleanup_lines(struct ldat *data, int length) +@@ -176,7 +176,15 @@ + if (s == 0) + returnCode(cleanup_lines(new_lines, row)); + for (col = 0; col <= ToCols; ++col) { +- s[col] = (col <= size_x ++ bool valid = (col <= size_x); ++ if_WIDEC({ ++ if (col == ToCols ++ && col < size_x ++ && isWidecBase(win->_line[row].text[col])) { ++ valid = FALSE; ++ } ++ }); ++ s[col] = (valid + ? win->_line[row].text[col] + : win->_nc_bkgd); + } +Index: package/debian-mingw/changelog +--- ncurses-6.2-20200411+/package/debian-mingw/changelog 2020-04-11 13:11:52.000000000 +0000 ++++ ncurses-6.2-20200418/package/debian-mingw/changelog 2020-04-18 09:00:18.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6 (6.2+20200411) unstable; urgency=low ++ncurses6 (6.2+20200418) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <[email protected]> Sat, 11 Apr 2020 09:11:52 -0400 ++ -- Thomas E. Dickey <[email protected]> Sat, 18 Apr 2020 05:00:18 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +Index: package/debian-mingw64/changelog +--- ncurses-6.2-20200411+/package/debian-mingw64/changelog 2020-04-11 13:11:52.000000000 +0000 ++++ ncurses-6.2-20200418/package/debian-mingw64/changelog 2020-04-18 09:00:18.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6 (6.2+20200411) unstable; urgency=low ++ncurses6 (6.2+20200418) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <[email protected]> Sat, 11 Apr 2020 09:11:52 -0400 ++ -- Thomas E. Dickey <[email protected]> Sat, 18 Apr 2020 05:00:18 -0400 + + ncurses6 (5.9-20131005) unstable; urgency=low + +Index: package/debian/changelog +--- ncurses-6.2-20200411+/package/debian/changelog 2020-04-11 13:11:52.000000000 +0000 ++++ ncurses-6.2-20200418/package/debian/changelog 2020-04-18 09:00:18.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6 (6.2+20200411) unstable; urgency=low ++ncurses6 (6.2+20200418) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <[email protected]> Sat, 11 Apr 2020 09:11:52 -0400 ++ -- Thomas E. Dickey <[email protected]> Sat, 18 Apr 2020 05:00:18 -0400 + + ncurses6 (5.9-20120608) unstable; urgency=low + +Index: package/mingw-ncurses.nsi +Prereq: 1.389 +--- ncurses-6.2-20200411+/package/mingw-ncurses.nsi 2020-04-11 13:11:52.000000000 +0000 ++++ ncurses-6.2-20200418/package/mingw-ncurses.nsi 2020-04-18 09:00:18.000000000 +0000 +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.389 2020/04/11 13:11:52 tom Exp $ ++; $Id: mingw-ncurses.nsi,v 1.390 2020/04/18 09:00:18 tom Exp $ + + ; TODO add examples + ; TODO bump ABI to 6 +@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6" + !define VERSION_MINOR "2" + !define VERSION_YYYY "2020" +-!define VERSION_MMDD "0411" ++!define VERSION_MMDD "0418" + !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} + + !define MY_ABI "5" +Index: package/mingw-ncurses.spec +--- ncurses-6.2-20200411+/package/mingw-ncurses.spec 2020-04-11 13:11:52.000000000 +0000 ++++ ncurses-6.2-20200418/package/mingw-ncurses.spec 2020-04-18 09:00:18.000000000 +0000 +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.2 +-Release: 20200411 ++Release: 20200418 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +Index: package/ncurses.spec +--- ncurses-6.2-20200411+/package/ncurses.spec 2020-04-11 13:11:52.000000000 +0000 ++++ ncurses-6.2-20200418/package/ncurses.spec 2020-04-18 09:00:18.000000000 +0000 +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.2 +-Release: 20200411 ++Release: 20200418 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +Index: package/ncursest.spec +--- ncurses-6.2-20200411+/package/ncursest.spec 2020-04-11 13:11:52.000000000 +0000 ++++ ncurses-6.2-20200418/package/ncursest.spec 2020-04-18 09:00:18.000000000 +0000 +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.2 +-Release: 20200411 ++Release: 20200418 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +Index: test/tracemunch +Prereq: 1.28 +--- ncurses-6.2-20200411+/test/tracemunch 2020-03-08 12:22:49.000000000 +0000 ++++ ncurses-6.2-20200418/test/tracemunch 2020-04-18 23:52:24.000000000 +0000 +@@ -1,5 +1,5 @@ + #!/usr/bin/env perl +-# $Id: tracemunch,v 1.28 2020/03/08 12:22:49 tom Exp $ ++# $Id: tracemunch,v 1.29 2020/04/18 23:52:24 tom Exp $ + ############################################################################## + # Copyright 2018-2019,2020 Thomas E. Dickey # + # Copyright 1998-2005,2017 Free Software Foundation, Inc. # +@@ -43,7 +43,27 @@ + 'PutAttrChar\(\{\{ ' . "'(.)'" + . ' = 0[0-7]+ \}\}\) at \(([0-9]+), ([0-9]+)\)'; + our $waddnstr = +- 'waddnstr\(0x([[:xdigit:]]+),"([^\"]+)",[0-9]+\) called \{A_NORMAL\}'; ++'^called \{waddnstr\((0x[[:xdigit:]]+|window\d+),"((\\.|[^\"]*))",[-]?[0-9]+\)'; ++ ++our %TR = qw( ++ DISABLE 0x0000 ++ TIMES 0x0001 ++ TPUTS 0x0002 ++ UPDATE 0x0004 ++ MOVE 0x0008 ++ CHARPUT 0x0010 ++ ORDINARY 0x001F ++ CALLS 0x0020 ++ VIRTPUT 0x0040 ++ IEVENT 0x0080 ++ BITS 0x0100 ++ ICALLS 0x0200 ++ CCALLS 0x0400 ++ DATABASE 0x0800 ++ ATTRS 0x1000 ++); ++ ++our $tracelevel = 0; + + # If the trace is complete, we can infer addresses using the return value from + # newwin, etc. But if it is incomplete, we can still check for special cases +@@ -457,6 +477,14 @@ + $_ =~ s/\r\n/\n/g; + $_ =~ s/\r/\n/g; + ++ if ( $_ =~ ++ /^TRACING NCURSES version.*\(tracelevel=(0x[[:xdigit:]]+)\)/ ) ++ { ++ $tracelevel = hex $1; ++ print; ++ next; ++ } ++ + my $thread = ""; + if ( $_ =~ /^(0x[[:xdigit:]]+):/ ) { + $thr_addr{$1} = ++$thr_nums unless defined $thr_addr{$1}; +@@ -520,8 +548,9 @@ + } + } + +- # Compactify runs of PutAttrChar calls (TR_CHARPUT) +- if ( $_ =~ /$putattr/ ) { ++ # Compactify runs of PutAttrChar ++ if ( ( ( $tracelevel & $TR{CHARPUT} ) != 0 ) and $_ =~ /$putattr/ ) ++ { + my $putattr_chars = $1; + my $starty = $2; + my $startx = $3; +@@ -530,19 +559,23 @@ + $putattr_chars .= $1; + } + else { ++ next if ( $_ =~ /^PUTC 0x[[:xdigit:]]+.*/ ); ++ next if ( $_ =~ /^\.\.\.skip.*/ ); ++ next if ( $_ =~ /^forced to blank.*/ ); + last; + } + } +- print +-"RUN of PutAttrChar()s: \"$putattr_chars\" from ${starty}, ${startx}\n"; ++ print "RUN of PutAttrChar()s:" ++ . " \"$putattr_chars\" from ${starty}, ${startx}\n"; + redo CLASSIFY; + } + +- # Compactify runs of waddnstr calls (TR_CALLS) +- if ( $_ =~ /$waddnstr/ ) { ++ # Compactify runs of waddnstr calls ++ if ( ( ( $tracelevel & $TR{CALLS} ) != 0 ) and $_ =~ /$waddnstr/ ) { + my $waddnstr_chars = $2; + my $winaddr = $1; + while (<$STDIN>) { ++ next if ( $_ =~ /^return \}0/ ); + if ( $_ =~ /$waddnstr/ && $1 eq $winaddr ) { + $waddnstr_chars .= $2; + } +@@ -551,7 +584,8 @@ + } + } + my $winaddstr = &transaddr($winaddr); +- print "RUN of waddnstr()s: $winaddr, \"$waddnstr_chars\"\n"; ++ print "RUN of waddnstr()s:" ++ . " $winaddstr, \"$waddnstr_chars\"\n"; + redo CLASSIFY; + } + +@@ -580,6 +614,10 @@ + } + } + ++for my $tr ( keys %TR ) { ++ $TR{$tr} = hex $TR{$tr}; ++} ++ + if ( $#ARGV >= 0 ) { + while ( $#ARGV >= 0 ) { + my $file = shift @ARGV;
