]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 6.2 - patch 20200418
authorThomas E. Dickey <dickey@invisible-island.net>
Sun, 19 Apr 2020 02:02:25 +0000 (02:02 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Sun, 19 Apr 2020 02:02:25 +0000 (02:02 +0000)
+ 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

54 files changed:
NEWS
VERSION
dist.mk
doc/html/man/adacurses6-config.1.html
doc/html/man/captoinfo.1m.html
doc/html/man/clear.1.html
doc/html/man/curs_print.3x.html
doc/html/man/form.3x.html
doc/html/man/form_field.3x.html
doc/html/man/form_field_buffer.3x.html
doc/html/man/form_field_new.3x.html
doc/html/man/form_field_userptr.3x.html
doc/html/man/form_fieldtype.3x.html
doc/html/man/form_new.3x.html
doc/html/man/form_requestname.3x.html
doc/html/man/form_userptr.3x.html
doc/html/man/infocmp.1m.html
doc/html/man/infotocap.1m.html
doc/html/man/menu.3x.html
doc/html/man/menu_items.3x.html
doc/html/man/menu_mark.3x.html
doc/html/man/menu_new.3x.html
doc/html/man/menu_pattern.3x.html
doc/html/man/menu_requestname.3x.html
doc/html/man/menu_userptr.3x.html
doc/html/man/mitem_current.3x.html
doc/html/man/mitem_name.3x.html
doc/html/man/mitem_new.3x.html
doc/html/man/mitem_userptr.3x.html
doc/html/man/ncurses.3x.html
doc/html/man/ncurses6-config.1.html
doc/html/man/panel.3x.html
doc/html/man/resizeterm.3x.html
doc/html/man/tabs.1.html
doc/html/man/terminfo.5.html
doc/html/man/tic.1m.html
doc/html/man/toe.1m.html
doc/html/man/tput.1.html
doc/html/man/tset.1.html
doc/html/man/user_caps.5.html
man/curs_variables.3x
man/manhtml.aliases
man/manhtml.externs
man/user_caps.5
misc/terminfo.src
ncurses/base/wresize.c
package/debian-mingw/changelog
package/debian-mingw64/changelog
package/debian/changelog
package/mingw-ncurses.nsi
package/mingw-ncurses.spec
package/ncurses.spec
package/ncursest.spec
test/tracemunch

diff --git a/NEWS b/NEWS
index ec05495936a43ed6eb6dfb20b32f2c65fb087d70..abc1f01b7963ce097252e746de27255c2bcea83a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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 @@ See the AUTHORS file for the corresponding full names.
 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).
diff --git a/VERSION b/VERSION
index 570cd2b2396190fc16aee436bc72f708829095ad..64b56c4429196d27b138de1b7b1752860111d9ac 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-5:0:10 6.2     20200411
+5:0:10 6.2     20200418
diff --git a/dist.mk b/dist.mk
index a186c9f852da65b1fa8934f9b75f3af98ad766c0..5186f35786d4c95b0f48b806d8fa53515353fe47 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -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 @@ SHELL = /bin/sh
 # 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 fcf97309e46b7594b1bc04711703b838aac4dfc6..df0568849edb2440ee57fbb799d5b35aa4aad5c8 100644 (file)
 </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 1bb8adac863d894e840c64fdf2b5a63ea83db8c2..660d651f2c9fe879d4c7d00b71722af78490a316 100644 (file)
 </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 436e878ec22d64e41a0f0bd271eebf61ca3aefbd..a7a779a8f975d8d84548155c5332095495c39746 100644 (file)
 </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 76d7886b00613e0e90c86b133e8aa6127f3895f1..d5a9a55ee6016040ee94f5237a5f665c826cb3dc 100644 (file)
@@ -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 a1fd58a57d25930c843875a4b39b1b9598b7df8d..51272fcabea59f41e7d1ab95cd9656132b0b83b6 100644 (file)
@@ -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>
 
 
 </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:
        <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 1c6060bb5d94e9aa0bc3fb130678ea157236ff14..b8d8bc64ae68ebedb761cca2f7a50a95e6f3dfd6 100644 (file)
@@ -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 b4fc8d0d438979ea616f397f2287e4ee7635b982..3cde7991c60ba1ecda1104e95e3fc02a35a92564 100644 (file)
@@ -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>
 
 
 </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 aa680053bf65e3975910fb2c5ed9bdf6d55400e1..ac197ecc129568b9382c3ef6de6ba97cfcebf74e 100644 (file)
@@ -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 3545f5a1aa19771ac9d75ff106b49217b002a075..62d7fbbb08e0be16c1a4af6fc70d0cad1e8220a7 100644 (file)
@@ -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 4b350132985cc8703bb1b64661e8b81e1f7fe060..56d682d436520a65dcc3e3fa2706e166c6e7e601 100644 (file)
@@ -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>
 
 
 </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 fc2710363a09263803d0fd2dc9d28227c786362e..ed4c893e6486f80d39af88ab42444334d93448f7 100644 (file)
@@ -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 9245e4b6881799d29076e09bcea66afd11b7a737..77b03fa85c3bcbce1aeae317590044ddeea0ab71 100644 (file)
@@ -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>
 
 
 </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 4675f5438d8e419d59177643d77945e8202a2665..3718613676e3779b4f574af91d2ed9fa577dd1ea 100644 (file)
@@ -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 2eef4f8c3df080412b9be6f1af49c24095f31d46..a079ff3661f9d6858f6d9ca0662934b4b650aea5 100644 (file)
 
        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 46caeaa6ce715aa5ebe870fa0041c14ab56df632..33ee96267a77c18e4c36b3b361f12d064061f8ac 100644 (file)
@@ -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 5a3b7057ae2d9d97af32347a184802669142df55..7629a65d6ce173d0d2c56a2b2c155f14a6173ea1 100644 (file)
        <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 e5cdf9cf5ee584b4ccdb9dff05a335fc609d289d..dda9991da7cfe58158bcddd04d5af0d032a7a8da 100644 (file)
@@ -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 d023db27d35782495479d93f0dab6d4661ef6185..22c804801b12fc934fd9813ef938de2bc74b169f 100644 (file)
@@ -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 5838d7f0c39cdbde7640924e4faee89c1fc3cd9c..e436240ff8e196538fa6a0dab6eb2f0bca3a34ce 100644 (file)
@@ -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 1be9d1bf5dbae30f19260a2ed2cc859b6aa927fb..01212b4bc6b1592b36ff70fb94409dc89e112395 100644 (file)
@@ -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 7b7674b6d7f07cfcfb8075fc0d53ff89c30fdf52..e0d2c5ad19267d61a157d72cc7625cd44053c860 100644 (file)
@@ -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>
 
 
 </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 9ced809349402523788c986d4b52d0bd1c94e2ec..aac3a0564465381f40ac4e55fe40d9f3987af9a8 100644 (file)
@@ -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 77f2616838578b63cce1b91ca20ee5a983a9c48e..a6663c010b28204f4d9581b15951c09dea66d188 100644 (file)
@@ -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 a22e0c94de76ec6cca942552f922fba3943a8e8a..aee591bdc1626c49cc8e4da4f50fc40ff9eb6af0 100644 (file)
@@ -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 f9db946af1afde2e6dcb94ce689109356c540881..6fb45e5888aa68593ddba0b8bb85f7dcea8ecbd8 100644 (file)
@@ -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 00d0a4baa452192c3e677e50d83665f902c1eae2..d2c6090e728aa57bd01daaaecc75ddcaf79c86f4 100644 (file)
@@ -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 3f47873bc775702570b1d5eda839ea352d8bf62f..de942e64f40f7c2bcb631bc96d6b0f9269d0e555 100644 (file)
@@ -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
                     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 26e4e84e162fd409095ee8bcb943c3362681ef71..e8c45cd69f5d87b281cc40ee7ff84e602da7a8ba 100644 (file)
 </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 7ebcbce6c15ab96d2b93c38aa7d5f05a47eb94be..76a8ab2805e401d5aad0bcb4ff233093fdf7d93b 100644 (file)
 </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 3705e3c78d47aa6e0d160c364d62493e8608fff3..b19559d9982eabaa54bb2eafa0df81bb0e17ee1e 100644 (file)
@@ -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 af46c4139aeb8219c5181ca3e3793fad522d99f7..8f2e188ae9547b98cf3c61c164e474519a751155 100644 (file)
 </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 0c4b20bf80d917132e5a12aef71807cafa6e91f0..4bccd4aae29bdbd20a57d1c0a69d8170fca57816 100644 (file)
        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 4054464c255b44c94df9ffba82b977cfda5d72cb..d325fb09acc7a07e65b6a741efa0315a99af8792 100644 (file)
        <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 5bf6b2ad619d4bffb8793ba40538aa8c6d8058a4..eda95e44e6aa7499c160e0827433f0ec9d6521f2 100644 (file)
        <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 090a8f37ae11fd6111d6d6b31ddeada3a12a61ca..e25ff673dd8ac8876eef66648315f634f924f40d 100644 (file)
 </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 f113a4f24d32f4e76e3d5ec7333464ebc5770df3..904116ae957714d05abd0ba342907739664d1d47 100644 (file)
        <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 95bb74d17ba1c57bba5fe4263495c0ce6ff4ed9e..8626b0b43b14257ea218f316dcca6f4cef31a705 100644 (file)
@@ -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>
 </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 cd0c86651c61b7e279f571bb234a0f426746b1f9..25294dfeabf55678e0d3e8e5d2d7ceb7af29abc4 100644 (file)
@@ -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 @@ i.e., the number of lines.
 .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 4fff94b5a40e19cb8985bf69b0193c615a32d361..68357971a61c2d718f95fe2fad918338b3c2f418 100644 (file)
@@ -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.                       *
 # 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 @@ refresh(3X)         curs_refresh(3X)
 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 c6fcace7235173993c100084493bca6410d859c2..8787b2ce17787c07f5bd8e9100754267720014cf 100644 (file)
@@ -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 @@ putchar(3)
 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 31f4f72db7a2e0a97c697a95b80a9f1b447c384f..8f29cbdf3cf07f888177cfc3c73f0ed7ee7310a5 100644 (file)
@@ -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 @@ given the list of values,
 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 7b08ffb9c6cbbeaa1a728ece1a6c6d0f8b6653fe..ab2e471f77096f853ea35682b8b1912c0e1f74c0 100644 (file)
@@ -6,8 +6,8 @@
 # Report bugs and new terminal descriptions to
 #      bug-ncurses@gnu.org
 #
-#      $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 @@ xterm-vt52|xterm emulating dec vt52,
        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 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      + 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 93276ef5c42b201006cfd8b53943f1f865db87f9..30718b8878fd660766b5c90863fd661d240421bf 100644 (file)
@@ -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 @@ wresize(WINDOW *win, int ToLines, int ToCols)
                    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 a2d3d3049a9e7c04154c69c1512abe426896176e..787bc2db69c703309c378dec6772953afdbf556d 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.2+20200411) unstable; urgency=low
+ncurses6 (6.2+20200418) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 11 Apr 2020 09:11:52 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 18 Apr 2020 05:00:18 -0400
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
index a2d3d3049a9e7c04154c69c1512abe426896176e..787bc2db69c703309c378dec6772953afdbf556d 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.2+20200411) unstable; urgency=low
+ncurses6 (6.2+20200418) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 11 Apr 2020 09:11:52 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 18 Apr 2020 05:00:18 -0400
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
index 13d22d0f27787b5357e0d2897c2e9d326a61a92c..2ee20423b2edce8e4025a603448894e4fe5fdcc7 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.2+20200411) unstable; urgency=low
+ncurses6 (6.2+20200418) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 11 Apr 2020 09:11:52 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 18 Apr 2020 05:00:18 -0400
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
index 2d891b1922a78a8d417f86252254240addc172a7..73c5ccb0c45d1c23eecd22a9ce8f2f0e7a1533f5 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: mingw-ncurses.nsi,v 1.389 2020/04/11 13:11:52 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.390 2020/04/18 09:00:18 tom Exp $\r
 \r
 ; TODO add examples\r
 ; TODO bump ABI to 6\r
@@ -10,7 +10,7 @@
 !define VERSION_MAJOR "6"\r
 !define VERSION_MINOR "2"\r
 !define VERSION_YYYY  "2020"\r
-!define VERSION_MMDD  "0411"\r
+!define VERSION_MMDD  "0418"\r
 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
 \r
 !define MY_ABI   "5"\r
index 083b9448bd8d4116f3265b34f874d717496f68a9..446bb27f28ac8f43bce6eb5ecca34be1b3dd6077 100644 (file)
@@ -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 6d9f928d7e438833ef27cc1ff0308e5aeebe1ffe..d12d2a1db9a99c56fa62c3e5258f9a7a6595368f 100644 (file)
@@ -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 fcb76d018dcd562d2e8b218010791c94fb9a4904..91b56209c70c28512d2349db2121b24064ba437d 100644 (file)
@@ -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 4de41963f979fabb76a3c53f17205a80973728a0..9d15dd58fbcb3dcd80bb659b1734a3953b9dadf6 100755 (executable)
@@ -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 @@ our $putattr =
     '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 @@ sub muncher($) {
             $_ =~ 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 @@ sub muncher($) {
                 }
             }
 
-            # 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 @@ sub muncher($) {
                         $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 @@ sub muncher($) {
                     }
                 }
                 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 @@ sub muncher($) {
     }
 }
 
+for my $tr ( keys %TR ) {
+    $TR{$tr} = hex $TR{$tr};
+}
+
 if ( $#ARGV >= 0 ) {
     while ( $#ARGV >= 0 ) {
         my $file = shift @ARGV;