1# ncurses 6.1 - patch 20190720 - Thomas E. Dickey
2#
3# ------------------------------------------------------------------------------
4#
5# Ncurses 6.1 is at
6# 	ftp.gnu.org:/pub/gnu
7#
8# Patches for ncurses 6.1 can be found at
9# 	ftp://ftp.invisible-island.net/ncurses/6.1
10#	http://invisible-mirror.net/archives/ncurses/6.1
11#
12# ------------------------------------------------------------------------------
13# ftp://ftp.invisible-island.net/ncurses/6.1/ncurses-6.1-20190720.patch.gz
14# patch by Thomas E. Dickey <dickey@invisible-island.net>
15# created  Sun Jul 21 01:22:45 UTC 2019
16# ------------------------------------------------------------------------------
17# NEWS                                  |    9 ++
18# VERSION                               |    2
19# dist.mk                               |    4 -
20# doc/html/man/adacurses6-config.1.html |    2
21# doc/html/man/captoinfo.1m.html        |    2
22# doc/html/man/clear.1.html             |    2
23# doc/html/man/curs_get_wstr.3x.html    |   23 +++---
24# doc/html/man/curs_getstr.3x.html      |    8 +-
25# doc/html/man/form.3x.html             |    2
26# doc/html/man/infocmp.1m.html          |   47 ++++++++++--
27# doc/html/man/infotocap.1m.html        |    2
28# doc/html/man/menu.3x.html             |    2
29# doc/html/man/ncurses.3x.html          |    2
30# doc/html/man/ncurses6-config.1.html   |    2
31# doc/html/man/panel.3x.html            |    2
32# doc/html/man/tabs.1.html              |    2
33# doc/html/man/terminfo.5.html          |   36 ++++++++-
34# doc/html/man/tic.1m.html              |  118 ++++++++++++++++++++++++++------
35# doc/html/man/toe.1m.html              |   65 ++++++++++++++++-
36# doc/html/man/tput.1.html              |    2
37# doc/html/man/tset.1.html              |    2
38# include/tic.h                         |    4 -
39# man/curs_get_wstr.3x                  |    8 +-
40# man/curs_getstr.3x                    |    8 +-
41# man/infocmp.1m                        |   30 +++++++-
42# man/man_db.renames                    |    3
43# man/terminfo.tail                     |   35 ++++++++-
44# man/tic.1m                            |   92 +++++++++++++++++++++++-
45# man/toe.1m                            |   78 ++++++++++++++++++++-
46# ncurses/base/lib_mouse.c              |    8 +-
47# ncurses/base/lib_screen.c             |    8 +-
48# ncurses/tinfo/make_hash.c             |   12 +--
49# ncurses/tinfo/read_entry.c            |    6 -
50# package/debian-mingw/changelog        |    4 -
51# package/debian-mingw64/changelog      |    4 -
52# package/debian/changelog              |    4 -
53# package/mingw-ncurses.nsi             |    4 -
54# package/mingw-ncurses.spec            |    2
55# package/ncurses.spec                  |    2
56# package/ncursest.spec                 |    2
57# 40 files changed, 531 insertions(+), 119 deletions(-)
58# ------------------------------------------------------------------------------
59Index: NEWS
60Prereq:  1.3347
61--- ncurses-6.1-20190713+/NEWS	2019-07-13 23:10:57.000000000 +0000
62+++ ncurses-6.1-20190720/NEWS	2019-07-21 00:33:00.000000000 +0000
63@@ -25,7 +25,7 @@
64 -- sale, use or other dealings in this Software without prior written        --
65 -- authorization.                                                            --
66 -------------------------------------------------------------------------------
67--- $Id: NEWS,v 1.3347 2019/07/13 23:10:57 tom Exp $
68+-- $Id: NEWS,v 1.3351 2019/07/21 00:33:00 tom Exp $
69 -------------------------------------------------------------------------------
70
71 This is a log of changes that ncurses has gone through since Zeyd started
72@@ -45,6 +45,13 @@
73 Changes through 1.9.9e did not credit all contributions;
74 it is not possible to add this information.
75
76+20190720
77+	+ fix a few warnings for gcc 4.x
78+	+ add some portability/historical details to the tic, toe and infocmp
79+	  manual pages.
80+	+ correct fix for broken link from terminfo(5) to tabs(1) manpage
81+	  (report by Sven Joachim).
82+
83 20190713
84 	+ change reset's behavior for margins to simply clear soft-margins if
85 	  possible, rather than clearing and then setting them according to the
86Index: VERSION
87--- ncurses-6.1-20190713+/VERSION	2019-07-13 20:42:44.000000000 +0000
88+++ ncurses-6.1-20190720/VERSION	2019-07-20 10:26:30.000000000 +0000
89@@ -1 +1 @@
90-5:0:10	6.1	20190713
91+5:0:10	6.1	20190720
92Index: dist.mk
93Prereq:  1.1294
94--- ncurses-6.1-20190713+/dist.mk	2019-07-13 20:42:44.000000000 +0000
95+++ ncurses-6.1-20190720/dist.mk	2019-07-20 10:26:30.000000000 +0000
96@@ -25,7 +25,7 @@
97 # use or other dealings in this Software without prior written               #
98 # authorization.                                                             #
99 ##############################################################################
100-# $Id: dist.mk,v 1.1294 2019/07/13 20:42:44 tom Exp $
101+# $Id: dist.mk,v 1.1296 2019/07/20 10:26:30 tom Exp $
102 # Makefile for creating ncurses distributions.
103 #
104 # This only needs to be used directly as a makefile by developers, but
105@@ -37,7 +37,7 @@
106 # These define the major/minor/patch versions of ncurses.
107 NCURSES_MAJOR = 6
108 NCURSES_MINOR = 1
109-NCURSES_PATCH = 20190713
110+NCURSES_PATCH = 20190720
111
112 # We don't append the patch to the version, since this only applies to releases
113 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
114Index: doc/html/man/adacurses6-config.1.html
115--- ncurses-6.1-20190713+/doc/html/man/adacurses6-config.1.html	2019-07-13 23:50:33.000000000 +0000
116+++ ncurses-6.1-20190720/doc/html/man/adacurses6-config.1.html	2019-07-20 18:53:10.000000000 +0000
117@@ -125,7 +125,7 @@
118 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
119        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>
120
121-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
122+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
123
124
125
126Index: doc/html/man/captoinfo.1m.html
127--- ncurses-6.1-20190713+/doc/html/man/captoinfo.1m.html	2019-07-13 23:50:33.000000000 +0000
128+++ ncurses-6.1-20190720/doc/html/man/captoinfo.1m.html	2019-07-20 18:53:10.000000000 +0000
129@@ -190,7 +190,7 @@
130 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
131        <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>
132
133-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
134+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
135
136
137 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
138Index: doc/html/man/clear.1.html
139--- ncurses-6.1-20190713+/doc/html/man/clear.1.html	2019-07-13 23:50:33.000000000 +0000
140+++ ncurses-6.1-20190720/doc/html/man/clear.1.html	2019-07-20 18:53:10.000000000 +0000
141@@ -148,7 +148,7 @@
142 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
143        <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
144
145-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
146+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
147
148
149
150Index: doc/html/man/curs_get_wstr.3x.html
151--- ncurses-6.1-20190713+/doc/html/man/curs_get_wstr.3x.html	2019-03-16 19:34:43.000000000 +0000
152+++ ncurses-6.1-20190720/doc/html/man/curs_get_wstr.3x.html	2019-07-20 19:16:42.000000000 +0000
153@@ -1,6 +1,6 @@
154 <!--
155   ****************************************************************************
156-  * Copyright (c) 2002-2017,2018 Free Software Foundation, Inc.              *
157+  * Copyright (c) 2002-2018,2019 Free Software Foundation, Inc.              *
158   *                                                                          *
159   * Permission is hereby granted, free of charge, to any person obtaining a  *
160   * copy of this software and associated documentation files (the            *
161@@ -26,7 +26,7 @@
162   * sale, use or other dealings in this Software without prior written       *
163   * authorization.                                                           *
164   ****************************************************************************
165-  * @Id: curs_get_wstr.3x,v 1.16 2018/09/01 20:58:10 tom Exp @
166+  * @Id: curs_get_wstr.3x,v 1.18 2019/07/20 19:14:56 tom Exp @
167 -->
168 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
169 <HTML>
170@@ -141,22 +141,23 @@
171        <STRONG>wchar_t</STRONG>  is  a  unsigned type.  All of the vendors implement this using
172        <STRONG>wint_t</STRONG>, following the standard.
173
174-       X/Open Curses issue 7 is unclear regarding whether the terminating <EM>null</EM>
175-       <STRONG>wchar_t</STRONG>  value is counted in the length parameter <EM>n</EM>.  X/Open Curses is-
176-       sue 7 revised the corresponding description of <STRONG>wgetnstr</STRONG> to address this
177-       issue.   The unrevised description of <STRONG>wget_nwstr</STRONG> can be interpreted ei-
178-       ther way.  This implementation counts the terminator in the length.
179+       X/Open Curses, Issue 7 (2009) is unclear regarding whether  the  termi-
180+       nating <EM>null</EM> <STRONG>wchar_t</STRONG> value is counted in the length parameter <EM>n</EM>.  X/Open
181+       Curses, Issue 7 revised the corresponding description  of  <STRONG>wgetnstr</STRONG>  to
182+       address this issue.  The unrevised description of <STRONG>wget_nwstr</STRONG> can be in-
183+       terpreted either way.  This implementation counts the terminator in the
184+       length.
185
186-       X/Open Curses does not specify what happens if the length  <EM>n</EM>  is  nega-
187+       X/Open  Curses  does  not specify what happens if the length <EM>n</EM> is nega-
188        tive.
189
190-       <STRONG>o</STRONG>   For  analogy  with  <STRONG>wgetnstr</STRONG>,  ncurses  6.2  uses a limit (based on
191+       <STRONG>o</STRONG>   For analogy with <STRONG>wgetnstr</STRONG>, ncurses  6.2  uses  a  limit  (based  on
192            <STRONG>LINE_MAX</STRONG>).
193
194-       <STRONG>o</STRONG>   Some other implementations (such as Solaris xcurses) do  the  same,
195+       <STRONG>o</STRONG>   Some  other  implementations (such as Solaris xcurses) do the same,
196            while others (PDCurses) do not allow this.
197
198-       <STRONG>o</STRONG>   NetBSD  7 curses imitates ncurses 6.1 in this regard, treating a <STRONG>-1</STRONG>
199+       <STRONG>o</STRONG>   NetBSD 7 curses imitates ncurses 6.1 in this regard, treating a  <STRONG>-1</STRONG>
200            as an indefinite number of characters.
201
202
203Index: doc/html/man/curs_getstr.3x.html
204--- ncurses-6.1-20190713+/doc/html/man/curs_getstr.3x.html	2019-03-16 19:34:43.000000000 +0000
205+++ ncurses-6.1-20190720/doc/html/man/curs_getstr.3x.html	2019-07-20 19:16:43.000000000 +0000
206@@ -1,6 +1,6 @@
207 <!--
208   ****************************************************************************
209-  * Copyright (c) 1998-2017,2018 Free Software Foundation, Inc.              *
210+  * Copyright (c) 1998-2018,2019 Free Software Foundation, Inc.              *
211   *                                                                          *
212   * Permission is hereby granted, free of charge, to any person obtaining a  *
213   * copy of this software and associated documentation files (the            *
214@@ -26,7 +26,7 @@
215   * sale, use or other dealings in this Software without prior written       *
216   * authorization.                                                           *
217   ****************************************************************************
218-  * @Id: curs_getstr.3x,v 1.26 2018/09/01 20:34:52 tom Exp @
219+  * @Id: curs_getstr.3x,v 1.28 2019/07/20 19:14:56 tom Exp @
220   * X/Open says also until EOf
221   * X/Open says then an EOS is added to the result
222   * X/Open doesn't mention n&lt;0
223@@ -125,9 +125,9 @@
224        The  functions  <STRONG>getnstr</STRONG>, <STRONG>mvgetnstr</STRONG>, and <STRONG>mvwgetnstr</STRONG> were present but not
225        documented in SVr4.
226
227-       X/Open Curses issue 5 (2007) stated that these functions "read at  most
228+       X/Open Curses, Issue 5 (2007) stated that these functions "read at most
229        <EM>n</EM>  bytes"  but  did not state whether the terminating NUL is counted in
230-       that limit.  X/Open Curses issue 7 (2009)  changed  that  to  say  they
231+       that limit.  X/Open Curses, Issue 7 (2009) changed  that  to  say  they
232        "read at most <EM>n</EM>-1 bytes" to allow for the terminating NUL.  As of 2018,
233        some implementations do, some do not count it:
234
235Index: doc/html/man/form.3x.html
236--- ncurses-6.1-20190713+/doc/html/man/form.3x.html	2019-07-13 23:50:35.000000000 +0000
237+++ ncurses-6.1-20190720/doc/html/man/form.3x.html	2019-07-20 18:53:12.000000000 +0000
238@@ -246,7 +246,7 @@
239        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>  and  related  pages  whose names begin "form_" for detailed
240        descriptions of the entry points.
241
242-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
243+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
244
245
246
247Index: doc/html/man/infocmp.1m.html
248--- ncurses-6.1-20190713+/doc/html/man/infocmp.1m.html	2019-07-13 23:50:36.000000000 +0000
249+++ ncurses-6.1-20190720/doc/html/man/infocmp.1m.html	2019-07-20 18:53:13.000000000 +0000
250@@ -27,7 +27,7 @@
251   * sale, use or other dealings in this Software without prior written       *
252   * authorization.                                                           *
253   ****************************************************************************
254-  * @Id: infocmp.1m,v 1.74 2019/05/18 22:00:55 tom Exp @
255+  * @Id: infocmp.1m,v 1.75 2019/07/20 18:42:11 tom Exp @
256 -->
257 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
258 <HTML>
259@@ -457,17 +457,48 @@
260        /usr/share/terminfo Compiled terminal description database.
261
262
263+</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE>
264+       Although System V Release 2 provided a terminfo library, it had no doc-
265+       umented tool for decompiling the terminal  descriptions.   Tony  Hansen
266+       (AT&amp;T) wrote the first <STRONG>infocmp</STRONG> in early 1984, for System V Release 3.
267+
268+       Eric  Raymond used the AT&amp;T documentation in 1995 to provide an equiva-
269+       lent <STRONG>infocmp</STRONG> for ncurses.  In addition, he added  a  few  new  features
270+       such as:
271+
272+       <STRONG>o</STRONG>   the  <STRONG>-e</STRONG> option, to support <EM>fallback</EM> (compiled-in) terminal descrip-
273+           tions
274+
275+       <STRONG>o</STRONG>   the <STRONG>-i</STRONG> option, to help with analysis
276+
277+       Later, Thomas Dickey added the <STRONG>-x</STRONG> (user-defined  capabilities)  option,
278+       and  the  <STRONG>-E</STRONG> option to support fallback entries with user-defined capa-
279+       bilities.
280+
281+       For a complete list, see the <EM>EXTENSIONS</EM> section.
282+
283+       In 2010, Roy Marples provided an <STRONG>infocmp</STRONG> program  for  NetBSD.   It  is
284+       less  capable  than  the  SVr4  or ncurses versions (e.g., it lacks the
285+       sorting options documented in X/Open), but does include the  <STRONG>-x</STRONG>  option
286+       adapted from ncurses.
287+
288+
289+</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
290+       X/Open  Curses,  Issue  7 (2009) provides a description of <STRONG>infocmp</STRONG>.  It
291+       does not mention the options used for converting to termcap format.
292+
293+
294 </PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE>
295-       The  <STRONG>-0</STRONG>, <STRONG>-1</STRONG>, <STRONG>-E</STRONG>, <STRONG>-F</STRONG>, <STRONG>-G</STRONG>, <STRONG>-Q</STRONG>, <STRONG>-R</STRONG>, <STRONG>-T</STRONG>, <STRONG>-V</STRONG>, <STRONG>-a</STRONG>, <STRONG>-e</STRONG>, <STRONG>-f</STRONG>, <STRONG>-g</STRONG>, <STRONG>-i</STRONG>, <STRONG>-l</STRONG>, <STRONG>-p</STRONG>, <STRONG>-q</STRONG>
296+       The <STRONG>-0</STRONG>, <STRONG>-1</STRONG>, <STRONG>-E</STRONG>, <STRONG>-F</STRONG>, <STRONG>-G</STRONG>, <STRONG>-Q</STRONG>, <STRONG>-R</STRONG>, <STRONG>-T</STRONG>, <STRONG>-V</STRONG>, <STRONG>-a</STRONG>, <STRONG>-e</STRONG>, <STRONG>-f</STRONG>, <STRONG>-g</STRONG>, <STRONG>-i</STRONG>, <STRONG>-l</STRONG>, <STRONG>-p</STRONG>,  <STRONG>-q</STRONG>
297        and <STRONG>-t</STRONG> options are not supported in SVr4 curses.
298
299        SVr4 infocmp does not distinguish between absent and cancelled capabil-
300        ities.  Also, it shows missing integer capabilities as <STRONG>-1</STRONG> (the internal
301-       value used to represent missing integers).  This  implementation  shows
302+       value  used  to represent missing integers).  This implementation shows
303        those as "NULL", for consistency with missing strings.
304
305-       The  <STRONG>-r</STRONG>  option's  notion of "termcap" capabilities is System V Release
306-       4's.  Actual BSD curses versions will have a more restricted  set.   To
307+       The <STRONG>-r</STRONG> option's notion of "termcap" capabilities is  System  V  Release
308+       4's.   Actual  BSD curses versions will have a more restricted set.  To
309        see only the 4.4BSD set, use <STRONG>-r</STRONG> <STRONG>-RBSD</STRONG>.
310
311
312@@ -476,12 +507,12 @@
313
314
315 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
316-       <STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>,   <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>,   <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>,  <STRONG><A HREF="toe.1m.html">toe(1m)</A></STRONG>,  <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>,  <STRONG>ter-</STRONG>
317+       <STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>,  <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>,  <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>,  <STRONG><A HREF="toe.1m.html">toe(1m)</A></STRONG>,   <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>,   <STRONG>ter-</STRONG>
318        <STRONG><A HREF="terminfo.5.html">minfo(5)</A></STRONG>.  <STRONG><A HREF="user_caps.5.html">user_caps(5)</A></STRONG>.
319
320        https://invisible-island.net/ncurses/tctest.html
321
322-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
323+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
324
325
326 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
327@@ -506,6 +537,8 @@
328 </ul>
329 </li>
330 <li><a href="#h2-FILES">FILES</a></li>
331+<li><a href="#h2-HISTORY">HISTORY</a></li>
332+<li><a href="#h2-PORTABILITY">PORTABILITY</a></li>
333 <li><a href="#h2-EXTENSIONS">EXTENSIONS</a></li>
334 <li><a href="#h2-BUGS">BUGS</a></li>
335 <li><a href="#h2-SEE-ALSO">SEE ALSO</a></li>
336Index: doc/html/man/infotocap.1m.html
337--- ncurses-6.1-20190713+/doc/html/man/infotocap.1m.html	2019-07-13 23:50:36.000000000 +0000
338+++ ncurses-6.1-20190720/doc/html/man/infotocap.1m.html	2019-07-20 18:53:13.000000000 +0000
339@@ -85,7 +85,7 @@
340 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
341        <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>
342
343-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
344+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
345
346
347 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
348Index: doc/html/man/menu.3x.html
349--- ncurses-6.1-20190713+/doc/html/man/menu.3x.html	2019-07-13 23:50:36.000000000 +0000
350+++ ncurses-6.1-20190720/doc/html/man/menu.3x.html	2019-07-20 18:53:13.000000000 +0000
351@@ -221,7 +221,7 @@
352        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>  and  related  pages  whose names begin "menu_" for detailed
353        descriptions of the entry points.
354
355-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
356+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
357
358
359
360Index: doc/html/man/ncurses.3x.html
361--- ncurses-6.1-20190713+/doc/html/man/ncurses.3x.html	2019-07-13 23:50:37.000000000 +0000
362+++ ncurses-6.1-20190720/doc/html/man/ncurses.3x.html	2019-07-20 18:53:14.000000000 +0000
363@@ -59,7 +59,7 @@
364        method of updating  character  screens  with  reasonable  optimization.
365        This  implementation  is  "new  curses"  (ncurses)  and is the approved
366        replacement for 4.4BSD classic curses,  which  has  been  discontinued.
367-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
368+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
369
370        The  <STRONG>ncurses</STRONG>  library emulates the curses library of System V Release 4
371        UNIX, and XPG4 (X/Open Portability Guide) curses  (also  known  as  XSI
372Index: doc/html/man/ncurses6-config.1.html
373--- ncurses-6.1-20190713+/doc/html/man/ncurses6-config.1.html	2019-07-13 23:50:37.000000000 +0000
374+++ ncurses-6.1-20190720/doc/html/man/ncurses6-config.1.html	2019-07-20 18:53:14.000000000 +0000
375@@ -112,7 +112,7 @@
376 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
377        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>
378
379-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
380+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
381
382
383
384Index: doc/html/man/panel.3x.html
385--- ncurses-6.1-20190713+/doc/html/man/panel.3x.html	2019-07-13 23:50:37.000000000 +0000
386+++ ncurses-6.1-20190720/doc/html/man/panel.3x.html	2019-07-20 18:53:14.000000000 +0000
387@@ -204,7 +204,7 @@
388 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
389        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>,
390
391-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
392+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
393
394
395 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
396Index: doc/html/man/tabs.1.html
397--- ncurses-6.1-20190713+/doc/html/man/tabs.1.html	2019-07-13 23:50:37.000000000 +0000
398+++ ncurses-6.1-20190720/doc/html/man/tabs.1.html	2019-07-20 18:53:15.000000000 +0000
399@@ -205,7 +205,7 @@
400 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
401        <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>.
402
403-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
404+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
405
406
407
408Index: doc/html/man/terminfo.5.html
409--- ncurses-6.1-20190713+/doc/html/man/terminfo.5.html	2019-07-13 23:50:37.000000000 +0000
410+++ ncurses-6.1-20190720/doc/html/man/terminfo.5.html	2019-07-20 18:53:15.000000000 +0000
411@@ -33,10 +33,34 @@
412   ****************************************************************************
413   * @Id: terminfo.head,v 1.36 2019/07/13 23:17:33 tom Exp @
414   * Head of terminfo man page ends here
415-  * @Id: terminfo.tail,v 1.95 2019/07/13 23:29:04 tom Exp @
416-  * Beginning of terminfo.tail file
417-  * This file is part of ncurses.
418-  * See "terminfo.head" for copyright.
419+  ****************************************************************************
420+  * Copyright (c) 1998-2018,2019 Free Software Foundation, Inc.              *
421+  *                                                                          *
422+  * Permission is hereby granted, free of charge, to any person obtaining a  *
423+  * copy of this software and associated documentation files (the            *
424+  * "Software"), to deal in the Software without restriction, including      *
425+  * without limitation the rights to use, copy, modify, merge, publish,      *
426+  * distribute, distribute with modifications, sublicense, and/or sell       *
427+  * copies of the Software, and to permit persons to whom the Software is    *
428+  * furnished to do so, subject to the following conditions:                 *
429+  *                                                                          *
430+  * The above copyright notice and this permission notice shall be included  *
431+  * in all copies or substantial portions of the Software.                   *
432+  *                                                                          *
433+  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
434+  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
435+  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
436+  * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
437+  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
438+  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
439+  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
440+  *                                                                          *
441+  * Except as contained in this notice, the name(s) of the above copyright   *
442+  * holders shall not be used in advertising or otherwise to promote the     *
443+  * sale, use or other dealings in this Software without prior written       *
444+  * authorization.                                                           *
445+  ****************************************************************************
446+  * @Id: terminfo.tail,v 1.97 2019/07/20 10:20:57 tom Exp @
447   *.in -2
448   *.in +2
449   *.in -2
450@@ -74,7 +98,7 @@
451        <EM>Terminfo</EM> describes terminals by giving a set of capabilities which they
452        have, by specifying how to perform screen operations, and by specifying
453        padding  requirements  and  initialization  sequences.   This describes
454-       <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
455+       <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
456
457
458 </PRE><H3><a name="h3-Terminfo-Entry-Syntax">Terminfo Entry Syntax</a></H3><PRE>
459@@ -2457,7 +2481,7 @@
460
461
462 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
463-       <STRONG><A HREF="tabs.1m.html">tabs(1m)</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="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>, <STRONG>curs_vari-</STRONG>
464+       <STRONG><A HREF="tabs.1.html">tabs(1)</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="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>, <STRONG>curs_vari-</STRONG>
465        <STRONG><A HREF="curs_variables.3x.html">ables(3x)</A></STRONG>, <STRONG>printf(3)</STRONG>, <STRONG><A HREF="term.5.html">term(5)</A></STRONG>.  <STRONG><A HREF="term_variables.3x.html">term_variables(3x)</A></STRONG>.  <STRONG><A HREF="user_caps.5.html">user_caps(5)</A></STRONG>.
466
467
468Index: doc/html/man/tic.1m.html
469--- ncurses-6.1-20190713+/doc/html/man/tic.1m.html	2019-07-13 23:50:37.000000000 +0000
470+++ ncurses-6.1-20190720/doc/html/man/tic.1m.html	2019-07-20 18:53:15.000000000 +0000
471@@ -26,7 +26,7 @@
472   * sale, use or other dealings in this Software without prior written       *
473   * authorization.                                                           *
474   ****************************************************************************
475-  * @Id: tic.1m,v 1.69 2019/05/18 22:48:40 tom Exp @
476+  * @Id: tic.1m,v 1.74 2019/07/20 17:57:09 tom Exp @
477 -->
478 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
479 <HTML>
480@@ -324,35 +324,108 @@
481        will be printed.
482
483
484-</PRE><H2><a name="h2-COMPATIBILITY">COMPATIBILITY</a></H2><PRE>
485-       There is  some  evidence  that  historic  <STRONG>tic</STRONG>  implementations  treated
486-       description  fields with no whitespace in them as additional aliases or
487+</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE>
488+       System V Release 2 provided  a  <STRONG>tic</STRONG>  utility.   It  accepted  a  single
489+       option:  <STRONG>-v</STRONG>  (optionally  followed  by  a  number).   According to Ross
490+       Ridge's comment in <EM>mytinfo</EM>, this version of <STRONG>tic</STRONG> was unable to represent
491+       cancelled capabilities.
492+
493+       System  V  Release 3 provided a different <STRONG>tic</STRONG> utility, written by Pavel
494+       Curtis, (originally named "compile" in <EM>pcurses</EM>).  This added an  option
495+       <STRONG>-c</STRONG>  to check the file for errors, with the caveat that errors in "use="
496+       links would not be reported.  System V Release 3 documented a few warn-
497+       ing messages which did not appear in <EM>pcurses</EM>.  While the program itself
498+       was changed little as development continued with System  V  Release  4,
499+       the table of capabilities grew from 180 (<EM>pcurses</EM>) to 464 (Solaris).
500+
501+       In  early  development of ncurses (1993), Zeyd Ben-Halim used the table
502+       from <EM>mytinfo</EM> to extend the  <EM>pcurses</EM>  table  to  469  capabilities  (456
503+       matched  SVr4, 8 were only in SVr4, 13 were not in SVr4).  Of those 13,
504+       11 were ultimately discarded (perhaps to  match  the  draft  of  X/Open
505+       Curses).   The exceptions were <STRONG>memory_lock_above</STRONG> and <STRONG>memory_unlock</STRONG> (see
506+       <STRONG><A HREF="user_caps.5.html">user_caps(5)</A></STRONG>).
507+
508+       Eric Raymond incorporated parts of <EM>mytinfo</EM> into  ncurses  to  implement
509+       the  termcap-to-terminfo  source conversion, and extended that to begin
510+       development of the corresponding terminfo-to-termcap source conversion,
511+       Thomas  Dickey  completed  that  development over the course of several
512+       years.
513+
514+       In 1999, Thomas Dickey added the  <STRONG>-x</STRONG>  option  to  support  user-defined
515+       capabilities.
516+
517+       In  2010,  Roy  Marples provided a <STRONG>tic</STRONG> program and terminfo library for
518+       NetBSD.  This implementation  adapts  several  features  from  ncurses,
519+       including <STRONG>tic</STRONG>'s <STRONG>-x</STRONG> option.
520+
521+       The  <STRONG>-c</STRONG>  option  tells <STRONG>tic</STRONG> to check for problems in the terminfo source
522+       file.  Continued development provides additional checks:
523+
524+       <STRONG>o</STRONG>   <EM>pcurses</EM> had 8 warnings
525+
526+       <STRONG>o</STRONG>   ncurses in 1996 had 16 warnings
527+
528+       <STRONG>o</STRONG>   Solaris (SVr4) curses has 28 warnings
529+
530+       <STRONG>o</STRONG>   NetBSD tic in 2019 has 19 warnings.
531+
532+       <STRONG>o</STRONG>   ncurses in 2019 has 96 warnings
533+
534+       The checking done in ncurses' <STRONG>tic</STRONG> helps with the conversion to termcap,
535+       as well as pointing out errors and inconsistencies.  It is also used to
536+       ensure consistency with the user-defined capabilities.  There  are  527
537+       distinct  capabilities  in ncurses' terminal database; 128 of those are
538+       user-defined.
539+
540+
541+</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
542+       X/Open Curses, Issue 7 (2009) provides a brief description of <STRONG>tic</STRONG>.   It
543+       lists  one  option:  <STRONG>-c</STRONG>.  The omission of <STRONG>-v</STRONG> is unexpected.  The change
544+       history states that  the  description  is  derived  from  True64  UNIX.
545+       According  to  its  manual  pages,  that  system  also supported the <STRONG>-v</STRONG>
546+       option.
547+
548+       Shortly after Issue 7 was released,  Tru64  was  discontinued.   As  of
549+       2019,  the  surviving  implementations  of <STRONG>tic</STRONG> are SVr4 (AIX, HP-UX and
550+       Solaris), ncurses and NetBSD curses.
551+
552+       The X/Open rationale states that some implementations of <STRONG>tic</STRONG> read  ter-
553+       minal  descriptions  from  the  standard input if the <EM>file</EM> parameter is
554+       omitted.  None of these implementations do that.  Further, it  comments
555+       that some may choose to read from "./terminfo.src" but that is obsoles-
556+       cent behavior from SVr2, and is not (for example) a documented  feature
557+       of SVr3.
558+
559+
560+</PRE><H3><a name="h3-COMPATIBILITY">COMPATIBILITY</a></H3><PRE>
561+       There  is  some  evidence  that  historic  <STRONG>tic</STRONG>  implementations treated
562+       description fields with no whitespace in them as additional aliases  or
563        short names.  This <STRONG>tic</STRONG> does not do that, but it does warn when descrip-
564-       tion  fields may be treated that way and check them for dangerous char-
565+       tion fields may be treated that way and check them for dangerous  char-
566        acters.
567
568
569-</PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE>
570-       Unlike the SVr4 <STRONG>tic</STRONG> command, this implementation can  actually  compile
571-       termcap  sources.   In fact, entries in terminfo and termcap syntax can
572-       be mixed in a single source file.  See  <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>  for  the  list  of
573+</PRE><H3><a name="h3-EXTENSIONS">EXTENSIONS</a></H3><PRE>
574+       Unlike  the  SVr4 <STRONG>tic</STRONG> command, this implementation can actually compile
575+       termcap sources.  In fact, entries in terminfo and termcap  syntax  can
576+       be  mixed  in  a  single  source file.  See <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> for the list of
577        termcap names taken to be equivalent to terminfo names.
578
579-       The  SVr4  manual  pages  are not clear on the resolution rules for <STRONG>use</STRONG>
580-       capabilities.  This implementation of <STRONG>tic</STRONG> will find  <STRONG>use</STRONG>  targets  any-
581-       where  in  the source file, or anywhere in the file tree rooted at <STRONG>TER-</STRONG>
582-       <STRONG>MINFO</STRONG> (if <STRONG>TERMINFO</STRONG> is defined), or in the user's <EM>$HOME/.terminfo</EM>  data-
583+       The SVr4 manual pages are not clear on the  resolution  rules  for  <STRONG>use</STRONG>
584+       capabilities.   This  implementation  of <STRONG>tic</STRONG> will find <STRONG>use</STRONG> targets any-
585+       where in the source file, or anywhere in the file tree rooted  at  <STRONG>TER-</STRONG>
586+       <STRONG>MINFO</STRONG>  (if <STRONG>TERMINFO</STRONG> is defined), or in the user's <EM>$HOME/.terminfo</EM> data-
587        base (if it exists), or (finally) anywhere in the system's file tree of
588        compiled entries.
589
590-       The error messages from this <STRONG>tic</STRONG> have the same format as  GNU  C  error
591+       The  error  messages  from this <STRONG>tic</STRONG> have the same format as GNU C error
592        messages, and can be parsed by GNU Emacs's compile facility.
593
594-       The  <STRONG>-0</STRONG>, <STRONG>-1</STRONG>, <STRONG>-C</STRONG>, <STRONG>-G</STRONG>, <STRONG>-I</STRONG>, <STRONG>-N</STRONG>, <STRONG>-R</STRONG>, <STRONG>-T</STRONG>, <STRONG>-V</STRONG>, <STRONG>-a</STRONG>, <STRONG>-e</STRONG>, <STRONG>-f</STRONG>, <STRONG>-g</STRONG>, <STRONG>-o</STRONG>, <STRONG>-r</STRONG>, <STRONG>-s</STRONG>, <STRONG>-t</STRONG>
595+       The <STRONG>-0</STRONG>, <STRONG>-1</STRONG>, <STRONG>-C</STRONG>, <STRONG>-G</STRONG>, <STRONG>-I</STRONG>, <STRONG>-N</STRONG>, <STRONG>-R</STRONG>, <STRONG>-T</STRONG>, <STRONG>-V</STRONG>, <STRONG>-a</STRONG>, <STRONG>-e</STRONG>, <STRONG>-f</STRONG>, <STRONG>-g</STRONG>, <STRONG>-o</STRONG>, <STRONG>-r</STRONG>, <STRONG>-s</STRONG>,  <STRONG>-t</STRONG>
596        and <STRONG>-x</STRONG> options are not supported under SVr4.  The SVr4 <STRONG>-c</STRONG> mode does not
597-       report bad use links.
598+       report bad "use=" links.
599
600-       System  V  does  not  compile  entries  to  or  read  entries from your
601+       System V does  not  compile  entries  to  or  read  entries  from  your
602        <EM>$HOME/.terminfo</EM> database unless TERMINFO is explicitly set to it.
603
604
605@@ -365,7 +438,7 @@
606        <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>,
607        <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>.
608
609-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
610+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
611
612
613 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
614@@ -387,8 +460,13 @@
615 <li><a href="#h3-PROCESSING">PROCESSING</a></li>
616 </ul>
617 </li>
618-<li><a href="#h2-COMPATIBILITY">COMPATIBILITY</a></li>
619-<li><a href="#h2-EXTENSIONS">EXTENSIONS</a></li>
620+<li><a href="#h2-HISTORY">HISTORY</a></li>
621+<li><a href="#h2-PORTABILITY">PORTABILITY</a>
622+<ul>
623+<li><a href="#h3-COMPATIBILITY">COMPATIBILITY</a></li>
624+<li><a href="#h3-EXTENSIONS">EXTENSIONS</a></li>
625+</ul>
626+</li>
627 <li><a href="#h2-FILES">FILES</a></li>
628 <li><a href="#h2-SEE-ALSO">SEE ALSO</a></li>
629 <li><a href="#h2-AUTHOR">AUTHOR</a></li>
630Index: doc/html/man/toe.1m.html
631--- ncurses-6.1-20190713+/doc/html/man/toe.1m.html	2019-07-13 23:50:37.000000000 +0000
632+++ ncurses-6.1-20190720/doc/html/man/toe.1m.html	2019-07-20 19:10:50.000000000 +0000
633@@ -1,6 +1,6 @@
634 <!--
635   ****************************************************************************
636-  * Copyright (c) 1998-2015,2017 Free Software Foundation, Inc.              *
637+  * Copyright (c) 1998-2017,2019 Free Software Foundation, Inc.              *
638   *                                                                          *
639   * Permission is hereby granted, free of charge, to any person obtaining a  *
640   * copy of this software and associated documentation files (the            *
641@@ -26,7 +26,7 @@
642   * sale, use or other dealings in this Software without prior written       *
643   * authorization.                                                           *
644   ****************************************************************************
645-  * @Id: toe.1m,v 1.29 2017/02/18 17:10:26 tom Exp @
646+  * @Id: toe.1m,v 1.31 2019/07/20 19:06:44 tom Exp @
647 -->
648 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
649 <HTML>
650@@ -104,16 +104,73 @@
651               and exits.
652
653
654+</PRE><H2><a name="h2-EXAMPLES">EXAMPLES</a></H2><PRE>
655+       Without sorting, the <STRONG>-a</STRONG> option reports all of the names found in all of
656+       the terminal databases found by the <STRONG>TERMINFO</STRONG> and <STRONG>TERMINFO_DIRS</STRONG> environ-
657+       ment variables:
658+
659+           MtxOrb162      16x2 Matrix Orbital LCD display
660+           MtxOrb204      20x4 Matrix Orbital LCD display
661+           MtxOrb         Generic Matrix Orbital LCD display
662+           qvt101+        qume qvt 101 PLUS product
663+           qvt119+-25     QVT 119 PLUS with 25 data lines
664+           qansi-g        QNX ANSI
665+           qvt103         qume qvt 103
666+           qnxw           QNX4 windows
667+           qansi-w        QNX ansi for windows
668+           qnxm           QNX4 with mouse events
669+           qvt203-25-w    QVT 203 PLUS with 25 by 132 columns
670+           qansi-t        QNX ansi without console writes
671+           . . .
672+
673+       Use the <STRONG>-a</STRONG> and <STRONG>-s</STRONG> options together to show where each terminal descrip-
674+       tion was found:
675+
676+           --&gt; /usr/local/ncurses/share/terminfo
677+           ----&gt; /usr/share/terminfo
678+           *-+-:     9term          Plan9 terminal emulator for X
679+           *---:     Eterm          Eterm with xterm-style color support (X Window System)
680+           *-*-:     Eterm-256color Eterm with xterm 256-colors
681+           *-*-:     Eterm-88color  Eterm with 88 colors
682+           *-+-:     MtxOrb         Generic Matrix Orbital LCD display
683+           *-+-:     MtxOrb162      16x2 Matrix Orbital LCD display
684+           *-+-:     MtxOrb204      20x4 Matrix Orbital LCD display
685+           *-*-:     NCR260VT300WPP NCR 2900_260 vt300 wide mode pc+  kybd
686+           *-+-:     aaa            ann arbor ambassador/30 lines
687+           *-+-:     aaa+dec        ann arbor ambassador in dec vt100 mode
688+           *-+-:     aaa+rv         ann arbor ambassador in reverse video
689+           . . .
690+
691+
692 </PRE><H2><a name="h2-FILES">FILES</a></H2><PRE>
693        <STRONG>/usr/share/terminfo/?/*</STRONG>
694             Compiled terminal description database.
695
696
697+</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE>
698+       This  utility  is  not  provided by other implementations.  There is no
699+       relevant X/Open or POSIX standard for <STRONG>toe</STRONG>.
700+
701+       The program name refers to a developer's pun:
702+
703+       <STRONG>o</STRONG>   <STRONG>tic</STRONG>,
704+
705+       <STRONG>o</STRONG>   <STRONG>tac</STRONG> (now <STRONG>tack</STRONG>),
706+
707+       <STRONG>o</STRONG>   <STRONG>toe</STRONG>.
708+
709+       It replaced a <STRONG>-T</STRONG> option which was  briefly  supported  by  the  ncurses
710+       <STRONG>infocmp</STRONG> utility in 1995.
711+
712+       The  <STRONG>-a</STRONG>  and <STRONG>-s</STRONG> options were added to <STRONG>toe</STRONG> several years later (2006 and
713+       2011, respectively).
714+
715+
716 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
717        <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>
718        <STRONG><A HREF="terminfo.5.html">minfo(5)</A></STRONG>.
719
720-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
721+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
722
723
724
725@@ -124,7 +181,9 @@
726 <li><a href="#h2-NAME">NAME</a></li>
727 <li><a href="#h2-SYNOPSIS">SYNOPSIS</a></li>
728 <li><a href="#h2-DESCRIPTION">DESCRIPTION</a></li>
729+<li><a href="#h2-EXAMPLES">EXAMPLES</a></li>
730 <li><a href="#h2-FILES">FILES</a></li>
731+<li><a href="#h2-HISTORY">HISTORY</a></li>
732 <li><a href="#h2-SEE-ALSO">SEE ALSO</a></li>
733 </ul>
734 </div>
735Index: doc/html/man/tput.1.html
736--- ncurses-6.1-20190713+/doc/html/man/tput.1.html	2019-07-13 23:50:37.000000000 +0000
737+++ ncurses-6.1-20190720/doc/html/man/tput.1.html	2019-07-20 18:53:15.000000000 +0000
738@@ -522,7 +522,7 @@
739 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
740        <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>.
741
742-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
743+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
744
745
746
747Index: doc/html/man/tset.1.html
748--- ncurses-6.1-20190713+/doc/html/man/tset.1.html	2019-07-13 23:50:37.000000000 +0000
749+++ ncurses-6.1-20190720/doc/html/man/tset.1.html	2019-07-20 18:53:15.000000000 +0000
750@@ -389,7 +389,7 @@
751        <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>,
752        <STRONG>ttys(5)</STRONG>, <STRONG>environ(7)</STRONG>
753
754-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190713).
755+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20190720).
756
757
758
759Index: include/tic.h
760Prereq:  1.78
761--- ncurses-6.1-20190713+/include/tic.h	2019-03-10 00:06:02.000000000 +0000
762+++ ncurses-6.1-20190720/include/tic.h	2019-07-20 20:19:54.000000000 +0000
763@@ -33,7 +33,7 @@
764  ****************************************************************************/
765
766 /*
767- * $Id: tic.h,v 1.78 2019/03/10 00:06:02 tom Exp $
768+ * $Id: tic.h,v 1.79 2019/07/20 20:19:54 tom Exp $
769  *	tic.h - Global variables and structures for the terminfo compiler.
770  */
771
772@@ -93,7 +93,7 @@
773
774 #define IS_TIC_MAGIC(p)	(LOW_MSB(p) == MAGIC || LOW_MSB(p) == MAGIC2)
775
776-#define quick_prefix(s) (!strncmp((s), "b64:", 4) || !strncmp((s), "hex:", 4))
777+#define quick_prefix(s) (!strncmp((s), "b64:", (size_t)4) || !strncmp((s), "hex:", (size_t)4))
778
779 /*
780  * The "maximum" here is misleading; XSI guarantees minimum values, which a
781Index: man/curs_get_wstr.3x
782Prereq:  1.16
783--- ncurses-6.1-20190713+/man/curs_get_wstr.3x	2018-09-01 20:58:10.000000000 +0000
784+++ ncurses-6.1-20190720/man/curs_get_wstr.3x	2019-07-20 19:14:56.000000000 +0000
785@@ -1,5 +1,5 @@
786 .\"***************************************************************************
787-.\" Copyright (c) 2002-2017,2018 Free Software Foundation, Inc.              *
788+.\" Copyright (c) 2002-2018,2019 Free Software Foundation, Inc.              *
789 .\"                                                                          *
790 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
791 .\" copy of this software and associated documentation files (the            *
792@@ -26,7 +26,7 @@
793 .\" authorization.                                                           *
794 .\"***************************************************************************
795 .\"
796-.\" $Id: curs_get_wstr.3x,v 1.16 2018/09/01 20:58:10 tom Exp $
797+.\" $Id: curs_get_wstr.3x,v 1.18 2019/07/20 19:14:56 tom Exp $
798 .TH curs_get_wstr 3X ""
799 .de bP
800 .ie n  .IP \(bu 4
801@@ -189,10 +189,10 @@
802 while \fBwchar_t\fP is a unsigned type.
803 All of the vendors implement this using \fBwint_t\fR, following the standard.
804 .PP
805-X/Open Curses issue 7 is unclear regarding whether
806+X/Open Curses, Issue 7 (2009) is unclear regarding whether
807 the terminating \fInull \fP\fBwchar_t\fP
808 value is counted in the length parameter \fIn\fP.
809-X/Open Curses issue 7 revised the corresponding description
810+X/Open Curses, Issue 7 revised the corresponding description
811 of \fBwgetnstr\fP to address this issue.
812 The unrevised description of \fBwget_nwstr\fP can be interpreted either way.
813 This implementation counts the terminator in the length.
814Index: man/curs_getstr.3x
815Prereq:  1.26
816--- ncurses-6.1-20190713+/man/curs_getstr.3x	2018-09-01 20:34:52.000000000 +0000
817+++ ncurses-6.1-20190720/man/curs_getstr.3x	2019-07-20 19:14:56.000000000 +0000
818@@ -1,5 +1,5 @@
819 .\"***************************************************************************
820-.\" Copyright (c) 1998-2017,2018 Free Software Foundation, Inc.              *
821+.\" Copyright (c) 1998-2018,2019 Free Software Foundation, Inc.              *
822 .\"                                                                          *
823 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
824 .\" copy of this software and associated documentation files (the            *
825@@ -26,7 +26,7 @@
826 .\" authorization.                                                           *
827 .\"***************************************************************************
828 .\"
829-.\" $Id: curs_getstr.3x,v 1.26 2018/09/01 20:34:52 tom Exp $
830+.\" $Id: curs_getstr.3x,v 1.28 2019/07/20 19:14:56 tom Exp $
831 .TH curs_getstr 3X ""
832 .ie \n(.g .ds `` \(lq
833 .el       .ds `` ``
834@@ -140,10 +140,10 @@
835 The functions \fBgetnstr\fR, \fBmvgetnstr\fR, and \fBmvwgetnstr\fR were
836 present but not documented in SVr4.
837 .PP
838-X/Open Curses issue 5 (2007) stated that these functions
839+X/Open Curses, Issue 5 (2007) stated that these functions
840 \*(``read at most \fIn\fP bytes\*(''
841 but did not state whether the terminating NUL is counted in that limit.
842-X/Open Curses issue 7 (2009) changed that to say they
843+X/Open Curses, Issue 7 (2009) changed that to say they
844 \*(``read at most \fIn\fP\-1 bytes\*(''
845 to allow for the terminating NUL.
846 As of 2018, some implementations do, some do not count it:
847Index: man/infocmp.1m
848Prereq:  1.74
849--- ncurses-6.1-20190713+/man/infocmp.1m	2019-05-18 22:00:55.000000000 +0000
850+++ ncurses-6.1-20190720/man/infocmp.1m	2019-07-20 18:42:11.000000000 +0000
851@@ -27,7 +27,7 @@
852 .\" authorization.                                                           *
853 .\"***************************************************************************
854 .\"
855-.\" $Id: infocmp.1m,v 1.74 2019/05/18 22:00:55 tom Exp $
856+.\" $Id: infocmp.1m,v 1.75 2019/07/20 18:42:11 tom Exp $
857 .TH @INFOCMP@ 1M ""
858 .ie \n(.g .ds `` \(lq
859 .el       .ds `` ``
860@@ -560,6 +560,34 @@
861 .TP 20
862 \*d
863 Compiled terminal description database.
864+.SH HISTORY
865+Although System V Release 2 provided a terminfo library,
866+it had no documented tool for decompiling the terminal descriptions.
867+Tony Hansen (AT&T) wrote the first \fBinfocmp\fP in early 1984,
868+for System V Release 3.
869+.PP
870+Eric Raymond used the AT&T documentation in 1995 to provide an equivalent
871+\fB@INFOCMP@\fP for ncurses.
872+In addition, he added a few new features such as:
873+.bP
874+the \fB\-e\fP option, to support \fIfallback\fP
875+(compiled-in) terminal descriptions
876+.bP
877+the \fB\-i\fP option, to help with analysis
878+.PP
879+Later, Thomas Dickey added the \fB\-x\fP (user-defined capabilities)
880+option, and the \fB\-E\fP option to support fallback entries with
881+user-defined capabilities.
882+.PP
883+For a complete list, see the \fIEXTENSIONS\fP section.
884+.PP
885+In 2010, Roy Marples provided an \fBinfocmp\fP program for NetBSD.
886+It is less capable than the SVr4 or ncurses versions
887+(e.g., it lacks the sorting options documented in X/Open),
888+but does include the \fB\-x\fP option adapted from ncurses.
889+.SH PORTABILITY
890+X/Open Curses, Issue 7 (2009) provides a description of \fBinfocmp\fP.
891+It does not mention the options used for converting to termcap format.
892 .SH EXTENSIONS
893 The
894 \fB\-0\fR,
895Index: man/man_db.renames
896Prereq:  1.54
897--- ncurses-6.1-20190713+/man/man_db.renames	2019-06-23 19:12:27.000000000 +0000
898+++ ncurses-6.1-20190720/man/man_db.renames	2019-07-20 10:18:12.000000000 +0000
899@@ -25,7 +25,7 @@
900 # use or other dealings in this Software without prior written               #
901 # authorization.                                                             #
902 ##############################################################################
903-# $Id: man_db.renames,v 1.54 2019/06/23 19:12:27 tom Exp $
904+# $Id: man_db.renames,v 1.55 2019/07/20 10:18:12 Sven.Joachim Exp $
905 # Manual-page renamings for the man_db program
906 #
907 # Files:
908@@ -171,7 +171,6 @@
909 wresize.3x			wresize.3ncurses
910 #
911 # Other:
912-tabs.1m				tabs.1
913 tack.1m				tack.1
914 #
915 getty.1				getty.8
916Index: man/terminfo.tail
917Prereq:  1.95
918--- ncurses-6.1-20190713+/man/terminfo.tail	2019-07-13 23:29:04.000000000 +0000
919+++ ncurses-6.1-20190720/man/terminfo.tail	2019-07-20 10:20:57.000000000 +0000
920@@ -1,7 +1,32 @@
921-.\" $Id: terminfo.tail,v 1.95 2019/07/13 23:29:04 tom Exp $
922-.\" Beginning of terminfo.tail file
923-.\" This file is part of ncurses.
924-.\" See "terminfo.head" for copyright.
925+.\"***************************************************************************
926+.\" Copyright (c) 1998-2018,2019 Free Software Foundation, Inc.              *
927+.\"                                                                          *
928+.\" Permission is hereby granted, free of charge, to any person obtaining a  *
929+.\" copy of this software and associated documentation files (the            *
930+.\" "Software"), to deal in the Software without restriction, including      *
931+.\" without limitation the rights to use, copy, modify, merge, publish,      *
932+.\" distribute, distribute with modifications, sublicense, and/or sell       *
933+.\" copies of the Software, and to permit persons to whom the Software is    *
934+.\" furnished to do so, subject to the following conditions:                 *
935+.\"                                                                          *
936+.\" The above copyright notice and this permission notice shall be included  *
937+.\" in all copies or substantial portions of the Software.                   *
938+.\"                                                                          *
939+.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
940+.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
941+.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
942+.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
943+.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
944+.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
945+.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
946+.\"                                                                          *
947+.\" Except as contained in this notice, the name(s) of the above copyright   *
948+.\" holders shall not be used in advertising or otherwise to promote the     *
949+.\" sale, use or other dealings in this Software without prior written       *
950+.\" authorization.                                                           *
951+.\"***************************************************************************
952+.\"
953+.\" $Id: terminfo.tail,v 1.97 2019/07/20 10:20:57 tom Exp $
954 .ps +1
955 .SS User-Defined Capabilities
956 .
957@@ -1879,7 +1904,7 @@
958 \*d/?/*
959 files containing terminal descriptions
960 .SH SEE ALSO
961-\fB@TABS@\fR(1M),
962+\fB@TABS@\fR(1),
963 \fB@TIC@\fR(1M),
964 \fB@INFOCMP@\fR(1M),
965 \fBcurses\fR(3X),
966Index: man/tic.1m
967Prereq:  1.69
968--- ncurses-6.1-20190713+/man/tic.1m	2019-05-18 22:48:40.000000000 +0000
969+++ ncurses-6.1-20190720/man/tic.1m	2019-07-20 17:57:09.000000000 +0000
970@@ -26,7 +26,7 @@
971 .\" authorization.                                                           *
972 .\"***************************************************************************
973 .\"
974-.\" $Id: tic.1m,v 1.69 2019/05/18 22:48:40 tom Exp $
975+.\" $Id: tic.1m,v 1.74 2019/07/20 17:57:09 tom Exp $
976 .TH @TIC@ 1M ""
977 .ie \n(.g .ds `` \(lq
978 .el       .ds `` ``
979@@ -402,14 +402,98 @@
980 (32 characters on systems with long filenames, 14 characters otherwise)
981 will be truncated to the maximum alias length
982 and a warning message will be printed.
983-.SH COMPATIBILITY
984+.SH HISTORY
985+.PP
986+System V Release 2 provided a \fBtic\fP utility.
987+It accepted a single option: \fB\-v\fP (optionally followed by a number).
988+According to Ross Ridge's comment in \fImytinfo\fP,
989+this version of \fBtic\fP was
990+unable to represent cancelled capabilities.
991+.PP
992+System V Release 3 provided a different \fBtic\fP utility,
993+written by Pavel Curtis,
994+(originally named \*(``compile\*('' in \fIpcurses\fP).
995+This added an option \fB\-c\fP to check the file for
996+errors, with the caveat that errors in \*(``use=\*('' links
997+would not be reported.
998+System V Release 3 documented a few warning messages which
999+did not appear in \fIpcurses\fP.
1000+While the program itself was changed little as development
1001+continued with System V Release 4,
1002+the table of capabilities grew from 180 (\fIpcurses\fP) to 464 (Solaris).
1003+.PP
1004+In early development of ncurses (1993),
1005+Zeyd Ben-Halim used the table from \fImytinfo\fP to
1006+extend the \fIpcurses\fP table to 469 capabilities
1007+(456 matched SVr4, 8 were only in SVr4, 13 were not in SVr4).
1008+Of those 13, 11 were ultimately discarded
1009+(perhaps to match the draft of X/Open Curses).
1010+The exceptions were
1011+\fBmemory_lock_above\fP and
1012+\fBmemory_unlock\fP (see \fBuser_caps\fP(5)).
1013+.PP
1014+Eric Raymond incorporated parts of \fImytinfo\fP into ncurses
1015+to implement the termcap-to-terminfo source conversion,
1016+and extended that to begin development of
1017+the corresponding terminfo-to-termcap source conversion,
1018+Thomas Dickey completed that development over the course of several years.
1019+.PP
1020+In 1999, Thomas Dickey added the \fB\-x\fP option
1021+to support user-defined capabilities.
1022+.PP
1023+In 2010, Roy Marples provided a \fBtic\fP program
1024+and terminfo library for NetBSD.
1025+This implementation adapts several features from ncurses,
1026+including \fB@TIC@\fP's \fB\-x\fP option.
1027+.PP
1028+The \fB\-c\fP option tells \fB@TIC@\fP to check for problems in the
1029+terminfo source file.
1030+Continued development provides additional checks:
1031+.bP
1032+\fIpcurses\fP had 8 warnings
1033+.bP
1034+ncurses in 1996 had 16 warnings
1035+.bP
1036+Solaris (SVr4) curses has 28 warnings
1037+.bP
1038+NetBSD tic in 2019 has 19 warnings.
1039+.bP
1040+ncurses in 2019 has 96 warnings
1041+.PP
1042+The checking done in ncurses' \fB@TIC@\fP helps with the conversion to
1043+termcap, as well as pointing out errors and inconsistencies.
1044+It is also used to ensure consistency with the user-defined capabilities.
1045+There are 527 distinct capabilities in ncurses' terminal database;
1046+128 of those are user-defined.
1047+.SH PORTABILITY
1048+.PP
1049+X/Open Curses, Issue 7 (2009) provides a brief description of \fBtic\fP.
1050+It lists one option: \fB\-c\fP.
1051+The omission of \fB\-v\fP is unexpected.
1052+The change history states that the description is derived from True64 UNIX.
1053+According to its manual pages, that system also supported the \fB\-v\fP option.
1054+.PP
1055+Shortly after Issue 7 was released, Tru64 was discontinued.
1056+As of 2019, the surviving implementations of \fBtic\fP
1057+are SVr4 (AIX, HP-UX and Solaris),
1058+ncurses
1059+and NetBSD curses.
1060+.PP
1061+The X/Open rationale states that some implementations of \fBtic\fP
1062+read terminal descriptions from the standard input if the \fIfile\fP
1063+parameter is omitted.
1064+None of these implementations do that.
1065+Further, it comments that some may choose to read from \*(''./terminfo.src\*(''
1066+but that is obsolescent behavior from SVr2,
1067+and is not (for example) a documented feature of SVr3.
1068+.SS COMPATIBILITY
1069 There is some evidence that historic \fB@TIC@\fR implementations treated
1070 description fields with no whitespace in them as additional aliases or
1071 short names.
1072 This \fB@TIC@\fR does not do that, but it does warn when
1073 description fields may be treated that way and check them for dangerous
1074 characters.
1075-.SH EXTENSIONS
1076+.SS EXTENSIONS
1077 Unlike the SVr4 \fB@TIC@\fR command, this implementation can actually
1078 compile termcap sources.
1079 In fact, entries in terminfo and termcap syntax can
1080@@ -451,7 +535,7 @@
1081 \fB\-x\fR
1082 options
1083 are not supported under SVr4.
1084-The SVr4 \fB\-c\fR mode does not report bad use links.
1085+The SVr4 \fB\-c\fR mode does not report bad \*(``use=\*('' links.
1086 .PP
1087 System V does not compile entries to or read entries from your
1088 \fI$HOME/.terminfo\fR database unless TERMINFO is explicitly set to it.
1089Index: man/toe.1m
1090Prereq:  1.29
1091--- ncurses-6.1-20190713+/man/toe.1m	2017-02-18 17:10:26.000000000 +0000
1092+++ ncurses-6.1-20190720/man/toe.1m	2019-07-20 19:06:44.000000000 +0000
1093@@ -1,5 +1,5 @@
1094 .\"***************************************************************************
1095-.\" Copyright (c) 1998-2015,2017 Free Software Foundation, Inc.              *
1096+.\" Copyright (c) 1998-2017,2019 Free Software Foundation, Inc.              *
1097 .\"                                                                          *
1098 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
1099 .\" copy of this software and associated documentation files (the            *
1100@@ -26,12 +26,30 @@
1101 .\" authorization.                                                           *
1102 .\"***************************************************************************
1103 .\"
1104-.\" $Id: toe.1m,v 1.29 2017/02/18 17:10:26 tom Exp $
1105+.\" $Id: toe.1m,v 1.31 2019/07/20 19:06:44 tom Exp $
1106 .TH @TOE@ 1M ""
1107+.de bP
1108+.ie n  .IP \(bu 4
1109+.el    .IP \(bu 2
1110+..
1111 .ie \n(.g .ds `` \(lq
1112 .el       .ds `` ``
1113 .ie \n(.g .ds '' \(rq
1114 .el       .ds '' ''
1115+.de NS
1116+.ie n  .sp
1117+.el    .sp .5
1118+.ie n  .in +4
1119+.el    .in +2
1120+.nf
1121+.ft C			\" Courier
1122+..
1123+.de NE
1124+.fi
1125+.ft R
1126+.ie n  .in -4
1127+.el    .in -2
1128+..
1129 .ds n 5
1130 .ds d @TERMINFO@
1131 .SH NAME
1132@@ -103,10 +121,66 @@
1133 \fB\-V\fR
1134 reports the version of ncurses which was used in this program,
1135 and exits.
1136+.SH EXAMPLES
1137+.PP
1138+Without sorting, the \fB\-a\fP option reports all of the names found
1139+in all of the terminal databases found by the \fBTERMINFO\fP and
1140+\fBTERMINFO_DIRS\fP environment variables:
1141+.NS
1142+MtxOrb162 	16x2 Matrix Orbital LCD display
1143+MtxOrb204 	20x4 Matrix Orbital LCD display
1144+MtxOrb    	Generic Matrix Orbital LCD display
1145+qvt101+   	qume qvt 101 PLUS product
1146+qvt119+-25	QVT 119 PLUS with 25 data lines
1147+qansi-g   	QNX ANSI
1148+qvt103    	qume qvt 103
1149+qnxw      	QNX4 windows
1150+qansi-w   	QNX ansi for windows
1151+qnxm      	QNX4 with mouse events
1152+qvt203-25-w	QVT 203 PLUS with 25 by 132 columns
1153+qansi-t   	QNX ansi without console writes
1154+\&.\ .\ .
1155+.NE
1156+.PP
1157+Use the \fB\-a\fP and \fB\-s\fP options together to show where each terminal
1158+description was found:
1159+.NS
1160+--> /usr/local/ncurses/share/terminfo
1161+----> /usr/share/terminfo
1162+*-+-:	9term     	Plan9 terminal emulator for X
1163+*---:	Eterm     	Eterm with xterm-style color support (X Window System)
1164+*-*-:	Eterm-256color	Eterm with xterm 256-colors
1165+*-*-:	Eterm-88color	Eterm with 88 colors
1166+*-+-:	MtxOrb    	Generic Matrix Orbital LCD display
1167+*-+-:	MtxOrb162 	16x2 Matrix Orbital LCD display
1168+*-+-:	MtxOrb204 	20x4 Matrix Orbital LCD display
1169+*-*-:	NCR260VT300WPP	NCR 2900_260 vt300 wide mode pc+  kybd
1170+*-+-:	aaa       	ann arbor ambassador/30 lines
1171+*-+-:	aaa+dec   	ann arbor ambassador in dec vt100 mode
1172+*-+-:	aaa+rv    	ann arbor ambassador in reverse video
1173+\&.\ .\ .
1174+.NE
1175 .SH FILES
1176 .TP 5
1177 \fB\*d/?/*\fR
1178 Compiled terminal description database.
1179+.SH HISTORY
1180+This utility is not provided by other implementations.
1181+There is no relevant X/Open or POSIX standard for \fB@TOE@\fP.
1182+.PP
1183+The program name refers to a developer's pun:
1184+.bP
1185+\fBtic\fP,
1186+.bP
1187+\fBtac\fP (now \fBtack\fP),
1188+.bP
1189+\fBtoe\fP.
1190+.PP
1191+It replaced a \fB\-T\fP option which was briefly supported by
1192+the ncurses \fBinfocmp\fP utility in 1995.
1193+.PP
1194+The \fB\-a\fP and \fB\-s\fP options were added to
1195+\fB@TOE@\fR several years later (2006 and 2011, respectively).
1196 .SH SEE ALSO
1197 \fB@TIC@\fR(1M),
1198 \fB@INFOCMP@\fR(1M),
1199Index: ncurses/base/lib_mouse.c
1200Prereq:  1.181
1201--- ncurses-6.1-20190713+/ncurses/base/lib_mouse.c	2018-11-24 17:28:37.000000000 +0000
1202+++ ncurses-6.1-20190720/ncurses/base/lib_mouse.c	2019-07-20 20:42:43.000000000 +0000
1203@@ -1,5 +1,5 @@
1204 /****************************************************************************
1205- * Copyright (c) 1998-2017,2018 Free Software Foundation, Inc.              *
1206+ * Copyright (c) 1998-2018,2019 Free Software Foundation, Inc.              *
1207  *                                                                          *
1208  * Permission is hereby granted, free of charge, to any person obtaining a  *
1209  * copy of this software and associated documentation files (the            *
1210@@ -84,7 +84,7 @@
1211 #define CUR SP_TERMTYPE
1212 #endif
1213
1214-MODULE_ID("$Id: lib_mouse.c,v 1.181 2018/11/24 17:28:37 tom Exp $")
1215+MODULE_ID("$Id: lib_mouse.c,v 1.182 2019/07/20 20:42:43 tom Exp $")
1216
1217 #include <tic.h>
1218
1219@@ -1103,7 +1103,7 @@
1220 #else
1221 			    sp->_ifd,
1222 #endif
1223-			    kbuf + grabbed, 1);
1224+			    (kbuf + grabbed), (size_t) 1);
1225 	if (res == -1)
1226 	    break;
1227 	grabbed += (size_t) res;
1228@@ -1188,7 +1188,7 @@
1229 #else
1230 			    sp->_ifd,
1231 #endif
1232-			    kbuf + grabbed, 1);
1233+			    (kbuf + grabbed), (size_t) 1);
1234 	if (res == -1)
1235 	    break;
1236 	if ((grabbed + MAX_KBUF) >= (int) sizeof(kbuf)) {
1237Index: ncurses/base/lib_screen.c
1238Prereq:  1.95
1239--- ncurses-6.1-20190713+/ncurses/base/lib_screen.c	2019-05-04 20:31:31.000000000 +0000
1240+++ ncurses-6.1-20190720/ncurses/base/lib_screen.c	2019-07-20 20:23:21.000000000 +0000
1241@@ -41,7 +41,7 @@
1242 #define CUR SP_TERMTYPE
1243 #endif
1244
1245-MODULE_ID("$Id: lib_screen.c,v 1.95 2019/05/04 20:31:31 tom Exp $")
1246+MODULE_ID("$Id: lib_screen.c,v 1.96 2019/07/20 20:23:21 tom Exp $")
1247
1248 #define MAX_SIZE 0x3fff		/* 16k is big enough for a window or pad */
1249
1250@@ -514,13 +514,13 @@
1251      * Read the first 4 bytes to determine first if this is an old-format
1252      * screen-dump, or new-format.
1253      */
1254-    if (read_block(&tmp, 4, filep) < 0) {
1255+    if (read_block(&tmp, (size_t) 4, filep) < 0) {
1256 	returnWin(0);
1257     }
1258     /*
1259      * If this is a new-format file, and we do not support it, give up.
1260      */
1261-    if (!memcmp(&tmp, my_magic, 4)) {
1262+    if (!memcmp(&tmp, my_magic, (size_t) 4)) {
1263 #if NCURSES_EXT_PUTWIN
1264 	if (read_win(&tmp, filep) < 0)
1265 #endif
1266@@ -823,7 +823,7 @@
1267 	    attr_t attr;
1268
1269 	    *buffer = '\0';
1270-	    if (!strncmp(name, "_pad.", 5) && !(win->_flags & _ISPAD)) {
1271+	    if (!strncmp(name, "_pad.", (size_t) 5) && !(win->_flags & _ISPAD)) {
1272 		continue;
1273 	    }
1274 	    switch (scr_params[y].type) {
1275Index: ncurses/tinfo/make_hash.c
1276Prereq:  1.26
1277--- ncurses-6.1-20190713+/ncurses/tinfo/make_hash.c	2019-03-10 01:10:15.000000000 +0000
1278+++ ncurses-6.1-20190720/ncurses/tinfo/make_hash.c	2019-07-20 20:14:46.000000000 +0000
1279@@ -43,7 +43,7 @@
1280
1281 #include <ctype.h>
1282
1283-MODULE_ID("$Id: make_hash.c,v 1.26 2019/03/10 01:10:15 tom Exp $")
1284+MODULE_ID("$Id: make_hash.c,v 1.27 2019/07/20 20:14:46 tom Exp $")
1285
1286 /*
1287  *	_nc_make_hash_table()
1288@@ -222,16 +222,16 @@
1289 {
1290     static char result[40];
1291     unsigned n;
1292-    strcpy(result, L_PAREN);
1293+    _nc_STRCPY(result, L_PAREN, sizeof(result));
1294     for (n = 0; n < 3; ++n) {
1295 	if ((1 << n) & type_mask) {
1296 	    if (result[1])
1297-		strcat(result, "|");
1298-	    strcat(result, "1<<");
1299-	    strcat(result, typenames[n]);
1300+		_nc_STRCAT(result, "|", sizeof(result));
1301+	    _nc_STRCAT(result, "1<<", sizeof(result));
1302+	    _nc_STRCAT(result, typenames[n], sizeof(result));
1303 	}
1304     }
1305-    strcat(result, R_PAREN);
1306+    _nc_STRCAT(result, R_PAREN, sizeof(result));
1307     return result;
1308 }
1309
1310Index: ncurses/tinfo/read_entry.c
1311Prereq:  1.154
1312--- ncurses-6.1-20190713+/ncurses/tinfo/read_entry.c	2019-03-23 23:47:16.000000000 +0000
1313+++ ncurses-6.1-20190720/ncurses/tinfo/read_entry.c	2019-07-20 20:23:11.000000000 +0000
1314@@ -41,7 +41,7 @@
1315
1316 #include <tic.h>
1317
1318-MODULE_ID("$Id: read_entry.c,v 1.154 2019/03/23 23:47:16 tom Exp $")
1319+MODULE_ID("$Id: read_entry.c,v 1.155 2019/07/20 20:23:11 tom Exp $")
1320
1321 #define TYPE_CALLOC(type,elts) typeCalloc(type, (unsigned)(elts))
1322
1323@@ -694,7 +694,7 @@
1324     char *base = target;
1325     int result = 0;
1326
1327-    if (!strncmp(source, "b64:", 4)) {
1328+    if (!strncmp(source, "b64:", (size_t) 4)) {
1329 	source += 4;
1330 	while (*source != '\0') {
1331 	    int bits[4];
1332@@ -712,7 +712,7 @@
1333 		}
1334 	    }
1335 	}
1336-    } else if (!strncmp(source, "hex:", 4)) {
1337+    } else if (!strncmp(source, "hex:", (size_t) 4)) {
1338 	source += 4;
1339 	while (*source != '\0') {
1340 	    int ch = decode_hex(&source);
1341Index: package/debian-mingw/changelog
1342--- ncurses-6.1-20190713+/package/debian-mingw/changelog	2019-07-13 20:42:44.000000000 +0000
1343+++ ncurses-6.1-20190720/package/debian-mingw/changelog	2019-07-20 10:26:30.000000000 +0000
1344@@ -1,8 +1,8 @@
1345-ncurses6 (6.1+20190713) unstable; urgency=low
1346+ncurses6 (6.1+20190720) unstable; urgency=low
1347
1348   * latest weekly patch
1349
1350- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 13 Jul 2019 16:42:44 -0400
1351+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 20 Jul 2019 06:26:30 -0400
1352
1353 ncurses6 (5.9-20131005) unstable; urgency=low
1354
1355Index: package/debian-mingw64/changelog
1356--- ncurses-6.1-20190713+/package/debian-mingw64/changelog	2019-07-13 20:42:44.000000000 +0000
1357+++ ncurses-6.1-20190720/package/debian-mingw64/changelog	2019-07-20 10:26:30.000000000 +0000
1358@@ -1,8 +1,8 @@
1359-ncurses6 (6.1+20190713) unstable; urgency=low
1360+ncurses6 (6.1+20190720) unstable; urgency=low
1361
1362   * latest weekly patch
1363
1364- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 13 Jul 2019 16:42:44 -0400
1365+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 20 Jul 2019 06:26:30 -0400
1366
1367 ncurses6 (5.9-20131005) unstable; urgency=low
1368
1369Index: package/debian/changelog
1370--- ncurses-6.1-20190713+/package/debian/changelog	2019-07-13 20:42:44.000000000 +0000
1371+++ ncurses-6.1-20190720/package/debian/changelog	2019-07-20 10:26:30.000000000 +0000
1372@@ -1,8 +1,8 @@
1373-ncurses6 (6.1+20190713) unstable; urgency=low
1374+ncurses6 (6.1+20190720) unstable; urgency=low
1375
1376   * latest weekly patch
1377
1378- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 13 Jul 2019 16:42:44 -0400
1379+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 20 Jul 2019 06:26:30 -0400
1380
1381 ncurses6 (5.9-20120608) unstable; urgency=low
1382
1383Index: package/mingw-ncurses.nsi
1384Prereq:  1.340
1385--- ncurses-6.1-20190713+/package/mingw-ncurses.nsi	2019-07-13 20:42:44.000000000 +0000
1386+++ ncurses-6.1-20190720/package/mingw-ncurses.nsi	2019-07-20 10:26:30.000000000 +0000
1387@@ -1,4 +1,4 @@
1388-; $Id: mingw-ncurses.nsi,v 1.340 2019/07/13 20:42:44 tom Exp $
1389+; $Id: mingw-ncurses.nsi,v 1.342 2019/07/20 10:26:30 tom Exp $
1390
1391 ; TODO add examples
1392 ; TODO bump ABI to 6
1393@@ -10,7 +10,7 @@
1394 !define VERSION_MAJOR "6"
1395 !define VERSION_MINOR "1"
1396 !define VERSION_YYYY  "2019"
1397-!define VERSION_MMDD  "0713"
1398+!define VERSION_MMDD  "0720"
1399 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
1400
1401 !define MY_ABI   "5"
1402Index: package/mingw-ncurses.spec
1403--- ncurses-6.1-20190713+/package/mingw-ncurses.spec	2019-07-13 20:42:44.000000000 +0000
1404+++ ncurses-6.1-20190720/package/mingw-ncurses.spec	2019-07-20 10:26:30.000000000 +0000
1405@@ -3,7 +3,7 @@
1406 Summary: shared libraries for terminal handling
1407 Name: mingw32-ncurses6
1408 Version: 6.1
1409-Release: 20190713
1410+Release: 20190720
1411 License: X11
1412 Group: Development/Libraries
1413 Source: ncurses-%{version}-%{release}.tgz
1414Index: package/ncurses.spec
1415--- ncurses-6.1-20190713+/package/ncurses.spec	2019-07-13 20:42:44.000000000 +0000
1416+++ ncurses-6.1-20190720/package/ncurses.spec	2019-07-20 10:26:30.000000000 +0000
1417@@ -1,7 +1,7 @@
1418 Summary: shared libraries for terminal handling
1419 Name: ncurses6
1420 Version: 6.1
1421-Release: 20190713
1422+Release: 20190720
1423 License: X11
1424 Group: Development/Libraries
1425 Source: ncurses-%{version}-%{release}.tgz
1426Index: package/ncursest.spec
1427--- ncurses-6.1-20190713+/package/ncursest.spec	2019-07-13 20:42:44.000000000 +0000
1428+++ ncurses-6.1-20190720/package/ncursest.spec	2019-07-20 10:26:30.000000000 +0000
1429@@ -1,7 +1,7 @@
1430 Summary: Curses library with POSIX thread support.
1431 Name: ncursest6
1432 Version: 6.1
1433-Release: 20190713
1434+Release: 20190720
1435 License: X11
1436 Group: Development/Libraries
1437 Source: ncurses-%{version}-%{release}.tgz
1438