1# ncurses 6.1 - patch 20191026 - 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-20191026.patch.gz
14# patch by Thomas E. Dickey <dickey@invisible-island.net>
15# created  Sun Oct 27 01:34:14 UTC 2019
16# ------------------------------------------------------------------------------
17# NEWS                                  |   10 ++-
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_add_wch.3x.html     |  103 +++++++++++++++++---------------
24# doc/html/man/form.3x.html             |    2
25# doc/html/man/infocmp.1m.html          |    2
26# doc/html/man/infotocap.1m.html        |    2
27# doc/html/man/menu.3x.html             |    2
28# doc/html/man/ncurses.3x.html          |    2
29# doc/html/man/ncurses6-config.1.html   |    2
30# doc/html/man/panel.3x.html            |    2
31# doc/html/man/tabs.1.html              |    2
32# doc/html/man/terminfo.5.html          |    2
33# doc/html/man/tic.1m.html              |    2
34# doc/html/man/toe.1m.html              |    2
35# doc/html/man/tput.1.html              |    2
36# doc/html/man/tset.1.html              |    2
37# man/curs_add_wch.3x                   |   56 ++++++++++-------
38# misc/terminfo.src                     |   16 ++++
39# ncurses/tinfo/lib_tgoto.c             |   13 +++-
40# package/debian-mingw/changelog        |    4 -
41# package/debian-mingw64/changelog      |    4 -
42# package/debian/changelog              |    4 -
43# package/mingw-ncurses.nsi             |    4 -
44# package/mingw-ncurses.spec            |    2
45# package/ncurses.spec                  |    2
46# package/ncursest.spec                 |    2
47# 30 files changed, 152 insertions(+), 106 deletions(-)
48# ------------------------------------------------------------------------------
49Index: NEWS
50Prereq:  1.3396
51--- ncurses-6.1-20191019+/NEWS	2019-10-19 21:16:45.000000000 +0000
52+++ ncurses-6.1-20191026/NEWS	2019-10-27 00:10:51.000000000 +0000
53@@ -25,7 +25,7 @@
54 -- sale, use or other dealings in this Software without prior written        --
55 -- authorization.                                                            --
56 -------------------------------------------------------------------------------
57--- $Id: NEWS,v 1.3396 2019/10/19 21:16:45 tom Exp $
58+-- $Id: NEWS,v 1.3399 2019/10/27 00:10:51 tom Exp $
59 -------------------------------------------------------------------------------
60
61 This is a log of changes that ncurses has gone through since Zeyd started
62@@ -45,6 +45,14 @@
63 Changes through 1.9.9e did not credit all contributions;
64 it is not possible to add this information.
65
66+20191026
67+	+ add a note in man/curs_add_wch.3x about Unicode terminology for the
68+	  line-drawing characters (report by Nick Black).
69+	+ improve comment in lib_tgoto.c regarding the use of \200 where a
70+	  \0 would be intended by the caller (report by "64 bit", cf: 20000923).
71+	+ modify linux-16color to accommodate Linux console driver change in
72+	  early 2018 (report by Dino Petrucci).
73+
74 20191019
75 	+ modify make_hash to not require --disable-leaks, to simplify building
76 	  with address-sanitizer.
77Index: VERSION
78--- ncurses-6.1-20191019+/VERSION	2019-10-19 12:47:53.000000000 +0000
79+++ ncurses-6.1-20191026/VERSION	2019-10-26 08:56:47.000000000 +0000
80@@ -1 +1 @@
81-5:0:10	6.1	20191019
82+5:0:10	6.1	20191026
83Index: dist.mk
84Prereq:  1.1311
85--- ncurses-6.1-20191019+/dist.mk	2019-10-19 12:47:53.000000000 +0000
86+++ ncurses-6.1-20191026/dist.mk	2019-10-26 08:56:47.000000000 +0000
87@@ -25,7 +25,7 @@
88 # use or other dealings in this Software without prior written               #
89 # authorization.                                                             #
90 ##############################################################################
91-# $Id: dist.mk,v 1.1311 2019/10/19 12:47:53 tom Exp $
92+# $Id: dist.mk,v 1.1312 2019/10/26 08:56:47 tom Exp $
93 # Makefile for creating ncurses distributions.
94 #
95 # This only needs to be used directly as a makefile by developers, but
96@@ -37,7 +37,7 @@
97 # These define the major/minor/patch versions of ncurses.
98 NCURSES_MAJOR = 6
99 NCURSES_MINOR = 1
100-NCURSES_PATCH = 20191019
101+NCURSES_PATCH = 20191026
102
103 # We don't append the patch to the version, since this only applies to releases
104 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
105Index: doc/html/man/adacurses6-config.1.html
106--- ncurses-6.1-20191019+/doc/html/man/adacurses6-config.1.html	2019-10-12 21:32:36.000000000 +0000
107+++ ncurses-6.1-20191026/doc/html/man/adacurses6-config.1.html	2019-10-27 00:15:46.000000000 +0000
108@@ -125,7 +125,7 @@
109 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
110        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>
111
112-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
113+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
114
115
116
117Index: doc/html/man/captoinfo.1m.html
118--- ncurses-6.1-20191019+/doc/html/man/captoinfo.1m.html	2019-10-12 21:32:36.000000000 +0000
119+++ ncurses-6.1-20191026/doc/html/man/captoinfo.1m.html	2019-10-27 00:15:46.000000000 +0000
120@@ -198,7 +198,7 @@
121 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
122        <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>
123
124-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
125+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
126
127
128 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
129Index: doc/html/man/clear.1.html
130--- ncurses-6.1-20191019+/doc/html/man/clear.1.html	2019-10-12 21:32:36.000000000 +0000
131+++ ncurses-6.1-20191026/doc/html/man/clear.1.html	2019-10-27 00:15:46.000000000 +0000
132@@ -148,7 +148,7 @@
133 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
134        <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
135
136-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
137+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
138
139
140
141Index: doc/html/man/curs_add_wch.3x.html
142--- ncurses-6.1-20191019+/doc/html/man/curs_add_wch.3x.html	2019-03-16 19:34:43.000000000 +0000
143+++ ncurses-6.1-20191026/doc/html/man/curs_add_wch.3x.html	2019-10-27 00:15:46.000000000 +0000
144@@ -1,6 +1,6 @@
145 <!--
146   ****************************************************************************
147-  * Copyright (c) 2001-2015,2017 Free Software Foundation, Inc.              *
148+  * Copyright (c) 2001-2017,2019 Free Software Foundation, Inc.              *
149   *                                                                          *
150   * Permission is hereby granted, free of charge, to any person obtaining a  *
151   * copy of this software and associated documentation files (the            *
152@@ -26,7 +26,7 @@
153   * sale, use or other dealings in this Software without prior written       *
154   * authorization.                                                           *
155   ****************************************************************************
156-  * @Id: curs_add_wch.3x,v 1.24 2017/11/18 23:47:37 tom Exp @
157+  * @Id: curs_add_wch.3x,v 1.25 2019/10/27 00:07:13 tom Exp @
158 -->
159 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
160 <HTML>
161@@ -138,7 +138,24 @@
162        WACS_VLINE        0x2502     |         x       vertical line
163
164        The wide-character configuration of ncurses also  defines  symbols  for
165-       double-lines:
166+       thick lines (<STRONG>acsc</STRONG> "J" to "V"):
167+
168+       <STRONG>ACS</STRONG>               <STRONG>Unicode</STRONG>   <STRONG>ASCII</STRONG>     <STRONG>acsc</STRONG>    <STRONG>Glyph</STRONG>
169+       <STRONG>Name</STRONG>              <STRONG>Default</STRONG>   <STRONG>Default</STRONG>   <STRONG>char</STRONG>    <STRONG>Name</STRONG>
170+       -----------------------------------------------------------------------
171+       WACS_T_BTEE       0x253b    +         V       thick tee pointing up
172+       WACS_T_HLINE      0x2501    -         Q       thick horizontal line
173+       WACS_T_LLCORNER   0x2517    +         M       thick lower left corner
174+       WACS_T_LRCORNER   0x251b    +         J       thick lower right corner
175+       WACS_T_LTEE       0x252b    +         T       thick tee pointing right
176+       WACS_T_PLUS       0x254b    +         N       thick large plus
177+       WACS_T_RTEE       0x2523    +         U       thick tee pointing left
178+       WACS_T_TTEE       0x2533    +         W       thick tee pointing down
179+       WACS_T_ULCORNER   0x250f    +         L       thick upper left corner
180+       WACS_T_URCORNER   0x2513    +         K       thick upper right corner
181+       WACS_T_VLINE      0x2503    |         X       thick vertical line
182+
183+       and for double-lines (<STRONG>acsc</STRONG> "A" to "I"):
184
185        <STRONG>ACS</STRONG>               <STRONG>Unicode</STRONG>   <STRONG>ASCII</STRONG>     <STRONG>acsc</STRONG>    <STRONG>Glyph</STRONG>
186        <STRONG>Name</STRONG>              <STRONG>Default</STRONG>   <STRONG>Default</STRONG>   <STRONG>char</STRONG>    <STRONG>Name</STRONG>
187@@ -155,28 +172,22 @@
188        WACS_D_URCORNER   0x2557    +         B       double upper right corner
189        WACS_D_VLINE      0x2551    |         Y       double vertical line
190
191-       and for thick lines:
192+       Unicode's  descriptions  for  these  characters  differs  slightly from
193+       ncurses, by introducing the term "light"  (along  with  less  important
194+       details).   Here are its descriptions for the normal, thick, and double
195+       horizontal lines:
196
197-       <STRONG>ACS</STRONG>               <STRONG>Unicode</STRONG>   <STRONG>ASCII</STRONG>     <STRONG>acsc</STRONG>    <STRONG>Glyph</STRONG>
198-       <STRONG>Name</STRONG>              <STRONG>Default</STRONG>   <STRONG>Default</STRONG>   <STRONG>char</STRONG>    <STRONG>Name</STRONG>
199-       -----------------------------------------------------------------------
200-       WACS_T_BTEE       0x253b    +         V       thick tee pointing up
201-       WACS_T_HLINE      0x2501    -         Q       thick horizontal line
202-       WACS_T_LLCORNER   0x2517    +         M       thick lower left corner
203-       WACS_T_LRCORNER   0x251b    +         J       thick lower right corner
204-       WACS_T_LTEE       0x252b    +         T       thick tee pointing right
205-       WACS_T_PLUS       0x254b    +         N       thick large plus
206-       WACS_T_RTEE       0x2523    +         U       thick tee pointing left
207-       WACS_T_TTEE       0x2533    +         W       thick tee pointing down
208-       WACS_T_ULCORNER   0x250f    +         L       thick upper left corner
209-       WACS_T_URCORNER   0x2513    +         K       thick upper right corner
210-       WACS_T_VLINE      0x2503    |         X       thick vertical line
211+       <STRONG>o</STRONG>   U+2500 BOX DRAWINGS LIGHT HORIZONTAL
212+
213+       <STRONG>o</STRONG>   U+2501 BOX DRAWINGS HEAVY HORIZONTAL
214+
215+       <STRONG>o</STRONG>   U+2550 BOX DRAWINGS DOUBLE HORIZONTAL
216
217
218 </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
219        All routines return the integer <STRONG>ERR</STRONG> upon failure and <STRONG>OK</STRONG> on success.
220
221-       Functions  with  a  "mv"  prefix  first perform a cursor movement using
222+       Functions with a "mv" prefix first  perform  a  cursor  movement  using
223        <STRONG>wmove</STRONG>, and return an error if the position is outside the window, or if
224        the window pointer is null.
225
226@@ -186,71 +197,71 @@
227
228
229 </PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
230-       All  of these functions are described in the XSI Curses standard, Issue
231-       4.  The defaults specified for line-drawing  characters  apply  in  the
232+       All of these functions are described in the XSI Curses standard,  Issue
233+       4.   The  defaults  specified  for line-drawing characters apply in the
234        POSIX locale.
235
236-       X/Open  Curses  makes it clear that the WACS_ symbols should be defined
237+       X/Open Curses makes it clear that the WACS_ symbols should  be  defined
238        as a pointer to <STRONG>cchar_t</STRONG> data, e.g., in the discussion of <STRONG>border_set</STRONG>.  A
239        few implementations are problematic:
240
241        <STRONG>o</STRONG>   NetBSD curses defines the symbols as a <STRONG>wchar_t</STRONG> within a <STRONG>cchar_t</STRONG>.
242
243        <STRONG>o</STRONG>   HPUX curses equates some of the <EM>ACS</EM><STRONG>_</STRONG> symbols to the analogous <EM>WACS</EM><STRONG>_</STRONG>
244-           symbols as if the <EM>ACS</EM><STRONG>_</STRONG> symbols were wide  characters.   The  misde-
245-           fined  symbols  are the arrows and other symbols which are not used
246+           symbols  as  if  the <EM>ACS</EM><STRONG>_</STRONG> symbols were wide characters.  The misde-
247+           fined symbols are the arrows and other symbols which are  not  used
248            for line-drawing.
249
250        X/Open Curses does not define symbols for thick- or double-lines.  SVr4
251-       curses  implementations  defined their line-drawing symbols in terms of
252-       intermediate symbols.  This implementation extends those symbols,  pro-
253+       curses implementations defined their line-drawing symbols in  terms  of
254+       intermediate  symbols.  This implementation extends those symbols, pro-
255        viding new definitions which are not in the SVr4 implementations.
256
257-       Not  all  Unicode-capable  terminals  provide  support  for VT100-style
258+       Not all  Unicode-capable  terminals  provide  support  for  VT100-style
259        alternate character sets (i.e., the <STRONG>acsc</STRONG> capability), with their corre-
260-       sponding  line-drawing  characters.   X/Open Curses did not address the
261-       aspect of integrating Unicode with line-drawing  characters.   Existing
262-       implementations  of  Unix curses (AIX, HPUX, Solaris) use only the <STRONG>acsc</STRONG>
263-       character-mapping to provide this feature.  As a result,  those  imple-
264-       mentations  can  only use single-byte line-drawing characters.  Ncurses
265-       5.3 (2002) provided a table of Unicode values to solve these  problems.
266+       sponding line-drawing characters.  X/Open Curses did  not  address  the
267+       aspect  of  integrating Unicode with line-drawing characters.  Existing
268+       implementations of Unix curses (AIX, HPUX, Solaris) use only  the  <STRONG>acsc</STRONG>
269+       character-mapping  to  provide this feature.  As a result, those imple-
270+       mentations can only use single-byte line-drawing  characters.   Ncurses
271+       5.3  (2002) provided a table of Unicode values to solve these problems.
272        NetBSD curses incorporated that table in 2010.
273
274        In this implementation, the Unicode values are used instead of the ter-
275-       minal description's <STRONG>acsc</STRONG> mapping as discussed in  <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>  for  the
276-       environment  variable  <STRONG>NCURSES_NO_UTF8_ACS</STRONG>.   In contrast, for the same
277+       minal  description's  <STRONG>acsc</STRONG>  mapping as discussed in <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> for the
278+       environment variable <STRONG>NCURSES_NO_UTF8_ACS</STRONG>.  In contrast,  for  the  same
279        cases, the line-drawing characters described in <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG> will use
280        only the ASCII default values.
281
282-       Having  Unicode available does not solve all of the problems with line-
283+       Having Unicode available does not solve all of the problems with  line-
284        drawing for curses:
285
286-       <STRONG>o</STRONG>   The closest Unicode equivalents to the VT100 graphics  <EM>S1</EM>,  <EM>S3</EM>,  <EM>S7</EM>
287-           and  <EM>S9</EM> frequently are not displayed at the regular intervals which
288+       <STRONG>o</STRONG>   The  closest  Unicode  equivalents to the VT100 graphics <EM>S1</EM>, <EM>S3</EM>, <EM>S7</EM>
289+           and <EM>S9</EM> frequently are not displayed at the regular intervals  which
290            the terminal used.
291
292-       <STRONG>o</STRONG>   The <EM>lantern</EM> is a special case.  It originated with  the  AT&amp;T  4410
293-           terminal  in the early 1980s.  There is no accessible documentation
294+       <STRONG>o</STRONG>   The  <EM>lantern</EM>  is  a special case.  It originated with the AT&amp;T 4410
295+           terminal in the early 1980s.  There is no accessible  documentation
296            depicting the lantern symbol on the AT&amp;T terminal.
297
298            Lacking documentation, most readers assume that a <EM>storm</EM> <EM>lantern</EM> was
299            intended.  But there are several possibilities, all with problems.
300
301-           Unicode  6.0  (2010)  does provide two lantern symbols: U+1F383 and
302-           U+1F3EE.  Those were not available  in  2002,  and  are  irrelevant
303-           since  they  lie  outside the BMP and as a result are not generally
304+           Unicode 6.0 (2010) does provide two lantern  symbols:  U+1F383  and
305+           U+1F3EE.   Those  were  not  available  in 2002, and are irrelevant
306+           since they lie outside the BMP and as a result  are  not  generally
307            available in terminals.  They are not storm lanterns, in any case.
308
309            Most <EM>storm</EM> <EM>lanterns</EM> have a tapering glass chimney (to guard against
310            tipping); some have a wire grid protecting the chimney.
311
312-           For  the  tapering  appearance,   U+2603 was adequate.  In use on a
313+           For the tapering appearance,  U+2603 was adequate.   In  use  on  a
314            terminal, no one can tell what the image represents.  Unicode calls
315            it a snowman.
316
317-           Others  have suggested these alternatives: S U+00A7 (section mark),
318+           Others have suggested these alternatives: S U+00A7 (section  mark),
319            <STRONG>O</STRONG> U+0398 (theta), <STRONG>O</STRONG> U+03A6 (phi), d U+03B4 (delta),  U+2327 (x in a
320-           rectangle),   U+256C  (forms  double  vertical and horizontal), and
321+           rectangle),  U+256C (forms double  vertical  and  horizontal),  and
322            U+2612 (ballot box with x).
323
324
325Index: doc/html/man/form.3x.html
326--- ncurses-6.1-20191019+/doc/html/man/form.3x.html	2019-10-12 21:32:38.000000000 +0000
327+++ ncurses-6.1-20191026/doc/html/man/form.3x.html	2019-10-27 00:15:49.000000000 +0000
328@@ -246,7 +246,7 @@
329        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>  and  related  pages  whose names begin "form_" for detailed
330        descriptions of the entry points.
331
332-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
333+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
334
335
336
337Index: doc/html/man/infocmp.1m.html
338--- ncurses-6.1-20191019+/doc/html/man/infocmp.1m.html	2019-10-12 21:32:39.000000000 +0000
339+++ ncurses-6.1-20191026/doc/html/man/infocmp.1m.html	2019-10-27 00:15:50.000000000 +0000
340@@ -512,7 +512,7 @@
341
342        https://invisible-island.net/ncurses/tctest.html
343
344-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
345+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
346
347
348 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
349Index: doc/html/man/infotocap.1m.html
350--- ncurses-6.1-20191019+/doc/html/man/infotocap.1m.html	2019-10-12 21:32:39.000000000 +0000
351+++ ncurses-6.1-20191026/doc/html/man/infotocap.1m.html	2019-10-27 00:15:50.000000000 +0000
352@@ -90,7 +90,7 @@
353 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
354        <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>
355
356-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
357+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
358
359
360 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
361Index: doc/html/man/menu.3x.html
362--- ncurses-6.1-20191019+/doc/html/man/menu.3x.html	2019-10-12 21:32:39.000000000 +0000
363+++ ncurses-6.1-20191026/doc/html/man/menu.3x.html	2019-10-27 00:15:50.000000000 +0000
364@@ -221,7 +221,7 @@
365        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>  and  related  pages  whose names begin "menu_" for detailed
366        descriptions of the entry points.
367
368-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
369+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
370
371
372
373Index: doc/html/man/ncurses.3x.html
374--- ncurses-6.1-20191019+/doc/html/man/ncurses.3x.html	2019-10-12 21:32:40.000000000 +0000
375+++ ncurses-6.1-20191026/doc/html/man/ncurses.3x.html	2019-10-27 00:15:51.000000000 +0000
376@@ -59,7 +59,7 @@
377        method of updating  character  screens  with  reasonable  optimization.
378        This  implementation  is  "new  curses"  (ncurses)  and is the approved
379        replacement for 4.4BSD classic curses,  which  has  been  discontinued.
380-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
381+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
382
383        The  <STRONG>ncurses</STRONG>  library emulates the curses library of System V Release 4
384        UNIX, and XPG4 (X/Open Portability Guide) curses  (also  known  as  XSI
385Index: doc/html/man/ncurses6-config.1.html
386--- ncurses-6.1-20191019+/doc/html/man/ncurses6-config.1.html	2019-10-12 21:32:40.000000000 +0000
387+++ ncurses-6.1-20191026/doc/html/man/ncurses6-config.1.html	2019-10-27 00:15:51.000000000 +0000
388@@ -112,7 +112,7 @@
389 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
390        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>
391
392-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
393+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
394
395
396
397Index: doc/html/man/panel.3x.html
398--- ncurses-6.1-20191019+/doc/html/man/panel.3x.html	2019-10-12 21:32:40.000000000 +0000
399+++ ncurses-6.1-20191026/doc/html/man/panel.3x.html	2019-10-27 00:15:51.000000000 +0000
400@@ -204,7 +204,7 @@
401 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
402        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>,
403
404-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
405+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
406
407
408 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
409Index: doc/html/man/tabs.1.html
410--- ncurses-6.1-20191019+/doc/html/man/tabs.1.html	2019-10-12 21:32:40.000000000 +0000
411+++ ncurses-6.1-20191026/doc/html/man/tabs.1.html	2019-10-27 00:15:51.000000000 +0000
412@@ -205,7 +205,7 @@
413 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
414        <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>.
415
416-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
417+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
418
419
420
421Index: doc/html/man/terminfo.5.html
422--- ncurses-6.1-20191019+/doc/html/man/terminfo.5.html	2019-10-12 21:32:41.000000000 +0000
423+++ ncurses-6.1-20191026/doc/html/man/terminfo.5.html	2019-10-27 00:15:51.000000000 +0000
424@@ -103,7 +103,7 @@
425        have, by specifying how to perform screen operations, and by specifying
426        padding requirements and initialization sequences.
427
428-       This manual describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
429+       This manual describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
430
431
432 </PRE><H3><a name="h3-Terminfo-Entry-Syntax">Terminfo Entry Syntax</a></H3><PRE>
433Index: doc/html/man/tic.1m.html
434--- ncurses-6.1-20191019+/doc/html/man/tic.1m.html	2019-10-12 21:32:41.000000000 +0000
435+++ ncurses-6.1-20191026/doc/html/man/tic.1m.html	2019-10-27 00:15:51.000000000 +0000
436@@ -460,7 +460,7 @@
437        <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>,
438        <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>.
439
440-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
441+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
442
443
444 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
445Index: doc/html/man/toe.1m.html
446--- ncurses-6.1-20191019+/doc/html/man/toe.1m.html	2019-10-12 21:32:41.000000000 +0000
447+++ ncurses-6.1-20191026/doc/html/man/toe.1m.html	2019-10-27 00:15:51.000000000 +0000
448@@ -170,7 +170,7 @@
449        <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>
450        <STRONG><A HREF="terminfo.5.html">minfo(5)</A></STRONG>.
451
452-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
453+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
454
455
456
457Index: doc/html/man/tput.1.html
458--- ncurses-6.1-20191019+/doc/html/man/tput.1.html	2019-10-12 21:32:41.000000000 +0000
459+++ ncurses-6.1-20191026/doc/html/man/tput.1.html	2019-10-27 00:15:51.000000000 +0000
460@@ -522,7 +522,7 @@
461 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
462        <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>.
463
464-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
465+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
466
467
468
469Index: doc/html/man/tset.1.html
470--- ncurses-6.1-20191019+/doc/html/man/tset.1.html	2019-10-12 21:32:41.000000000 +0000
471+++ ncurses-6.1-20191026/doc/html/man/tset.1.html	2019-10-27 00:15:51.000000000 +0000
472@@ -389,7 +389,7 @@
473        <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>,
474        <STRONG>ttys(5)</STRONG>, <STRONG>environ(7)</STRONG>
475
476-       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191012).
477+       This describes <STRONG>ncurses</STRONG> version 6.1 (patch 20191026).
478
479
480
481Index: man/curs_add_wch.3x
482Prereq:  1.24
483--- ncurses-6.1-20191019+/man/curs_add_wch.3x	2017-11-18 23:47:37.000000000 +0000
484+++ ncurses-6.1-20191026/man/curs_add_wch.3x	2019-10-27 00:07:13.000000000 +0000
485@@ -1,5 +1,5 @@
486 .\"***************************************************************************
487-.\" Copyright (c) 2001-2015,2017 Free Software Foundation, Inc.              *
488+.\" Copyright (c) 2001-2017,2019 Free Software Foundation, Inc.              *
489 .\"                                                                          *
490 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
491 .\" copy of this software and associated documentation files (the            *
492@@ -26,7 +26,7 @@
493 .\" authorization.                                                           *
494 .\"***************************************************************************
495 .\"
496-.\" $Id: curs_add_wch.3x,v 1.24 2017/11/18 23:47:37 tom Exp $
497+.\" $Id: curs_add_wch.3x,v 1.25 2019/10/27 00:07:13 tom Exp $
498 .TH curs_add_wch 3X ""
499 .ie \n(.g .ds `` \(lq
500 .el       .ds `` ``
501@@ -155,7 +155,28 @@
502 .TE
503 .PP
504 The wide-character configuration of ncurses also defines symbols
505-for double-lines:
506+for thick lines (\fBacsc\fP \*(``J\*('' to \*(``V\*(''):
507+.TS
508+l l l l l
509+l l l l l
510+_ _ _ _ _
511+lw(1.5i) lw5 lw5 lw5 lw20.
512+\fBACS\fR	\fBUnicode\fP	\fBASCII\fR	\fBacsc\fP	\fBGlyph\fR
513+\fBName\fR	\fBDefault\fP	\fBDefault\fR	\fBchar\fP	\fBName\fR
514+WACS_T_BTEE	0x253b	+	V	thick tee pointing up
515+WACS_T_HLINE	0x2501	-	Q	thick horizontal line
516+WACS_T_LLCORNER	0x2517	+	M	thick lower left corner
517+WACS_T_LRCORNER	0x251b	+	J	thick lower right corner
518+WACS_T_LTEE	0x252b	+	T	thick tee pointing right
519+WACS_T_PLUS	0x254b	+	N	thick large plus
520+WACS_T_RTEE	0x2523	+	U	thick tee pointing left
521+WACS_T_TTEE	0x2533	+	W	thick tee pointing down
522+WACS_T_ULCORNER	0x250f	+	L	thick upper left corner
523+WACS_T_URCORNER	0x2513	+	K	thick upper right corner
524+WACS_T_VLINE	0x2503	|	X	thick vertical line
525+.TE
526+.PP
527+and for double-lines (\fBacsc\fP \*(``A\*('' to \*(``I\*(''):
528 .PP
529 .TS
530 l l l l l
531@@ -177,26 +198,15 @@
532 WACS_D_VLINE	0x2551	|	Y	double vertical line
533 .TE
534 .PP
535-and for thick lines:
536-.TS
537-l l l l l
538-l l l l l
539-_ _ _ _ _
540-lw(1.5i) lw5 lw5 lw5 lw20.
541-\fBACS\fR	\fBUnicode\fP	\fBASCII\fR	\fBacsc\fP	\fBGlyph\fR
542-\fBName\fR	\fBDefault\fP	\fBDefault\fR	\fBchar\fP	\fBName\fR
543-WACS_T_BTEE	0x253b	+	V	thick tee pointing up
544-WACS_T_HLINE	0x2501	-	Q	thick horizontal line
545-WACS_T_LLCORNER	0x2517	+	M	thick lower left corner
546-WACS_T_LRCORNER	0x251b	+	J	thick lower right corner
547-WACS_T_LTEE	0x252b	+	T	thick tee pointing right
548-WACS_T_PLUS	0x254b	+	N	thick large plus
549-WACS_T_RTEE	0x2523	+	U	thick tee pointing left
550-WACS_T_TTEE	0x2533	+	W	thick tee pointing down
551-WACS_T_ULCORNER	0x250f	+	L	thick upper left corner
552-WACS_T_URCORNER	0x2513	+	K	thick upper right corner
553-WACS_T_VLINE	0x2503	|	X	thick vertical line
554-.TE
555+Unicode's descriptions for these characters differs slightly from ncurses,
556+by introducing the term \*(``light\*('' (along with less important details).
557+Here are its descriptions for the normal, thick, and double horizontal lines:
558+.bP
559+U+2500 BOX DRAWINGS LIGHT HORIZONTAL
560+.bP
561+U+2501 BOX DRAWINGS HEAVY HORIZONTAL
562+.bP
563+U+2550 BOX DRAWINGS DOUBLE HORIZONTAL
564 .SH RETURN VALUE
565 .PP
566 All routines return the integer \fBERR\fR upon failure and \fBOK\fR on success.
567Index: misc/terminfo.src
568--- ncurses-6.1-20191019+/misc/terminfo.src	2019-09-22 18:48:45.000000000 +0000
569+++ ncurses-6.1-20191026/misc/terminfo.src	2019-10-26 17:00:56.000000000 +0000
570@@ -6,8 +6,8 @@
571 # Report bugs and new terminal descriptions to
572 #	bug-ncurses@gnu.org
573 #
574-#	$Revision: 1.765 $
575-#	$Date: 2019/09/22 18:48:45 $
576+#	$Revision: 1.766 $
577+#	$Date: 2019/10/26 17:00:56 $
578 #
579 # The original header is preserved below for reference.  It is noted that there
580 # is a "newer" version which differs in some cosmetic details (but actually
581@@ -1126,10 +1126,16 @@
582 # console font but bright background colors turn into dim ones when
583 # you use a 512-character console font. This uses bold for bright
584 # foreground colors and blink for bright background colors.
585+#
586+# Interestingly, the original version of this entry in 2009 used a documented
587+# (but nonstandard) SGR 21, which was supported in the Linux console since 1992
588+# as an equivalent for SGR 22.  Long after (early 2018), someone modified the
589+# console driver to make it ignore SGR 21 because the ECMA-48 standard
590+# suggested a different use for that particular code.
591 linux-16color|linux console with 16 colors,
592 	colors#16, ncv#42, pairs#0x100,
593 	setab=\E[4%p1%{8}%m%d%?%p1%{7}%>%t;5%e;25%;m,
594-	setaf=\E[3%p1%{8}%m%d%?%p1%{7}%>%t;1%e;21%;m,
595+	setaf=\E[3%p1%{8}%m%d%?%p1%{7}%>%t;1%e;22%;m,
596 	use=linux,
597
598 # bterm (bogl 0.1.18)
599@@ -26375,4 +26381,8 @@
600 # 2019-09-22
601 #	+ correct a comment -TD
602 #
603+# 2019-10-26
604+#	+ modify linux-16color to accommodate Linux console driver change in
605+#	  early 2018 (report by Dino Petrucci).
606+#
607 ######## SHANTIH!  SHANTIH!  SHANTIH!
608Index: ncurses/tinfo/lib_tgoto.c
609Prereq:  1.17
610--- ncurses-6.1-20191019+/ncurses/tinfo/lib_tgoto.c	2018-04-07 21:11:48.000000000 +0000
611+++ ncurses-6.1-20191026/ncurses/tinfo/lib_tgoto.c	2019-10-26 22:43:48.000000000 +0000
612@@ -1,5 +1,5 @@
613 /****************************************************************************
614- * Copyright (c) 2000-2012,2018 Free Software Foundation, Inc.              *
615+ * Copyright (c) 2000-2018,2019 Free Software Foundation, Inc.              *
616  *                                                                          *
617  * Permission is hereby granted, free of charge, to any person obtaining a  *
618  * copy of this software and associated documentation files (the            *
619@@ -35,7 +35,7 @@
620 #include <ctype.h>
621 #include <termcap.h>
622
623-MODULE_ID("$Id: lib_tgoto.c,v 1.17 2018/04/07 21:11:48 tom Exp $")
624+MODULE_ID("$Id: lib_tgoto.c,v 1.18 2019/10/26 22:43:48 tom Exp $")
625
626 #if !PURE_TERMINFO
627 static bool
628@@ -125,7 +125,14 @@
629 			*value += 1;
630 			need_BC = TRUE;
631 		    } else {
632-			*value = 0200;	/* tputs will treat this as \0 */
633+			/* tputs will pretend this is \0, which will almost
634+			 * always work since ANSI-compatible terminals ignore
635+			 * the character.  ECMA-48 does not document a C1
636+			 * control for this value.  A few (obsolete) terminals
637+			 * can use this value in special cases, such as cursor
638+			 * addressing using single-byte coordinates.
639+			 */
640+			*value = 0200;
641 		    }
642 		}
643 		result[used++] = (char) *value++;
644Index: package/debian-mingw/changelog
645--- ncurses-6.1-20191019+/package/debian-mingw/changelog	2019-10-19 12:47:53.000000000 +0000
646+++ ncurses-6.1-20191026/package/debian-mingw/changelog	2019-10-26 08:56:47.000000000 +0000
647@@ -1,8 +1,8 @@
648-ncurses6 (6.1+20191019) unstable; urgency=low
649+ncurses6 (6.1+20191026) unstable; urgency=low
650
651   * latest weekly patch
652
653- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 19 Oct 2019 08:47:53 -0400
654+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 26 Oct 2019 04:56:47 -0400
655
656 ncurses6 (5.9-20131005) unstable; urgency=low
657
658Index: package/debian-mingw64/changelog
659--- ncurses-6.1-20191019+/package/debian-mingw64/changelog	2019-10-19 12:47:53.000000000 +0000
660+++ ncurses-6.1-20191026/package/debian-mingw64/changelog	2019-10-26 08:56:47.000000000 +0000
661@@ -1,8 +1,8 @@
662-ncurses6 (6.1+20191019) unstable; urgency=low
663+ncurses6 (6.1+20191026) unstable; urgency=low
664
665   * latest weekly patch
666
667- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 19 Oct 2019 08:47:53 -0400
668+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 26 Oct 2019 04:56:47 -0400
669
670 ncurses6 (5.9-20131005) unstable; urgency=low
671
672Index: package/debian/changelog
673--- ncurses-6.1-20191019+/package/debian/changelog	2019-10-19 12:47:53.000000000 +0000
674+++ ncurses-6.1-20191026/package/debian/changelog	2019-10-26 08:56:47.000000000 +0000
675@@ -1,8 +1,8 @@
676-ncurses6 (6.1+20191019) unstable; urgency=low
677+ncurses6 (6.1+20191026) unstable; urgency=low
678
679   * latest weekly patch
680
681- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 19 Oct 2019 08:47:53 -0400
682+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 26 Oct 2019 04:56:47 -0400
683
684 ncurses6 (5.9-20120608) unstable; urgency=low
685
686Index: package/mingw-ncurses.nsi
687Prereq:  1.357
688--- ncurses-6.1-20191019+/package/mingw-ncurses.nsi	2019-10-19 12:47:53.000000000 +0000
689+++ ncurses-6.1-20191026/package/mingw-ncurses.nsi	2019-10-26 08:56:47.000000000 +0000
690@@ -1,4 +1,4 @@
691-; $Id: mingw-ncurses.nsi,v 1.357 2019/10/19 12:47:53 tom Exp $
692+; $Id: mingw-ncurses.nsi,v 1.358 2019/10/26 08:56:47 tom Exp $
693
694 ; TODO add examples
695 ; TODO bump ABI to 6
696@@ -10,7 +10,7 @@
697 !define VERSION_MAJOR "6"
698 !define VERSION_MINOR "1"
699 !define VERSION_YYYY  "2019"
700-!define VERSION_MMDD  "1019"
701+!define VERSION_MMDD  "1026"
702 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
703
704 !define MY_ABI   "5"
705Index: package/mingw-ncurses.spec
706--- ncurses-6.1-20191019+/package/mingw-ncurses.spec	2019-10-19 12:47:53.000000000 +0000
707+++ ncurses-6.1-20191026/package/mingw-ncurses.spec	2019-10-26 08:56:47.000000000 +0000
708@@ -3,7 +3,7 @@
709 Summary: shared libraries for terminal handling
710 Name: mingw32-ncurses6
711 Version: 6.1
712-Release: 20191019
713+Release: 20191026
714 License: X11
715 Group: Development/Libraries
716 Source: ncurses-%{version}-%{release}.tgz
717Index: package/ncurses.spec
718--- ncurses-6.1-20191019+/package/ncurses.spec	2019-10-19 12:47:53.000000000 +0000
719+++ ncurses-6.1-20191026/package/ncurses.spec	2019-10-26 08:56:47.000000000 +0000
720@@ -1,7 +1,7 @@
721 Summary: shared libraries for terminal handling
722 Name: ncurses6
723 Version: 6.1
724-Release: 20191019
725+Release: 20191026
726 License: X11
727 Group: Development/Libraries
728 Source: ncurses-%{version}-%{release}.tgz
729Index: package/ncursest.spec
730--- ncurses-6.1-20191019+/package/ncursest.spec	2019-10-19 12:47:53.000000000 +0000
731+++ ncurses-6.1-20191026/package/ncursest.spec	2019-10-26 08:56:47.000000000 +0000
732@@ -1,7 +1,7 @@
733 Summary: Curses library with POSIX thread support.
734 Name: ncursest6
735 Version: 6.1
736-Release: 20191019
737+Release: 20191026
738 License: X11
739 Group: Development/Libraries
740 Source: ncurses-%{version}-%{release}.tgz
741