1# ncurses 6.1 - patch 20191109 - 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-20191109.patch.gz
14# patch by Thomas E. Dickey <dickey@invisible-island.net>
15# created  Sun Nov 10 00:43:22 UTC 2019
16# ------------------------------------------------------------------------------
17# NEWS                             |   11 +++
18# VERSION                          |    2
19# dist.mk                          |    4 -
20# misc/terminfo.src                |  115 ++++++++++++++++++++++---------------
21# package/debian-mingw/changelog   |    4 -
22# package/debian-mingw64/changelog |    4 -
23# package/debian/changelog         |    4 -
24# package/mingw-ncurses.nsi        |    4 -
25# package/mingw-ncurses.spec       |    2
26# package/ncurses.spec             |    2
27# package/ncursest.spec            |    2
28# progs/tic.c                      |    5 -
29# 12 files changed, 96 insertions(+), 63 deletions(-)
30# ------------------------------------------------------------------------------
31Index: NEWS
32Prereq:  1.3401
33--- ncurses-6.1-20191102+/NEWS	2019-11-03 00:12:08.000000000 +0000
34+++ ncurses-6.1-20191109/NEWS	2019-11-10 00:18:59.000000000 +0000
35@@ -25,7 +25,7 @@
36 -- sale, use or other dealings in this Software without prior written        --
37 -- authorization.                                                            --
38 -------------------------------------------------------------------------------
39--- $Id: NEWS,v 1.3401 2019/11/03 00:12:08 tom Exp $
40+-- $Id: NEWS,v 1.3404 2019/11/10 00:18:59 tom Exp $
41 -------------------------------------------------------------------------------
42
43 This is a log of changes that ncurses has gone through since Zeyd started
44@@ -45,6 +45,15 @@
45 Changes through 1.9.9e did not credit all contributions;
46 it is not possible to add this information.
47
48+20191109
49+	+ add warning-check in tic for terminals with parm_dch vs parm_ich.
50+	+ drop ich1 from rxvt-basic, Eterm and mlterm to improve compatibility
51+	  with old non-curses programs -TD
52+	+ reviewed st 0.8.2, updated some details -TD
53+	+ use ansi+rep several places -TD
54+	+ corrected tic's check for ich1 (report by Sebastian J. Bronner,
55+	  cf: 20020901).
56+
57 20191102
58 	+ check parameter of set_escdelay, return ERR if negative.
59 	+ check parameter of set_tabsize, return ERR if not greater than zero
60Index: VERSION
61--- ncurses-6.1-20191102+/VERSION	2019-11-02 09:43:29.000000000 +0000
62+++ ncurses-6.1-20191109/VERSION	2019-11-06 09:37:05.000000000 +0000
63@@ -1 +1 @@
64-5:0:10	6.1	20191102
65+5:0:10	6.1	20191109
66Index: dist.mk
67Prereq:  1.1313
68--- ncurses-6.1-20191102+/dist.mk	2019-11-02 09:43:29.000000000 +0000
69+++ ncurses-6.1-20191109/dist.mk	2019-11-06 09:37:05.000000000 +0000
70@@ -25,7 +25,7 @@
71 # use or other dealings in this Software without prior written               #
72 # authorization.                                                             #
73 ##############################################################################
74-# $Id: dist.mk,v 1.1313 2019/11/02 09:43:29 tom Exp $
75+# $Id: dist.mk,v 1.1314 2019/11/06 09:37:05 tom Exp $
76 # Makefile for creating ncurses distributions.
77 #
78 # This only needs to be used directly as a makefile by developers, but
79@@ -37,7 +37,7 @@
80 # These define the major/minor/patch versions of ncurses.
81 NCURSES_MAJOR = 6
82 NCURSES_MINOR = 1
83-NCURSES_PATCH = 20191102
84+NCURSES_PATCH = 20191109
85
86 # We don't append the patch to the version, since this only applies to releases
87 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
88Index: misc/terminfo.src
89--- ncurses-6.1-20191102+/misc/terminfo.src	2019-11-02 16:55:15.000000000 +0000
90+++ ncurses-6.1-20191109/misc/terminfo.src	2019-11-09 23:52:28.000000000 +0000
91@@ -6,8 +6,8 @@
92 # Report bugs and new terminal descriptions to
93 #	bug-ncurses@gnu.org
94 #
95-#	$Revision: 1.767 $
96-#	$Date: 2019/11/02 16:55:15 $
97+#	$Revision: 1.773 $
98+#	$Date: 2019/11/09 23:52:28 $
99 #
100 # The original header is preserved below for reference.  It is noted that there
101 # is a "newer" version which differs in some cosmetic details (but actually
102@@ -1404,9 +1404,8 @@
103 	kopt=\ENk, kpp=\E[V, kref=\ENl, kres=\ENp, krfr=\ENg,
104 	kri=\E[b, krpl=\ENr, krst=\ENj, ksav=\ENq, kslt=\E[T,
105 	ktbc=\ENd, kund=\ENu, ll=\E[99H, nel=\EE, op=\E[39;49m,
106-	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\E[T, rmacs=^O,
107-	rmam=\E[?7l, rmso=\E[27m, rmul=\E[24m,
108-	rs1=\017\E[?7h\E[0;39;49m$<2>\E>\E[?1l,
109+	rev=\E[7m, ri=\E[T, rmacs=^O, rmam=\E[?7l, rmso=\E[27m,
110+	rmul=\E[24m, rs1=\017\E[?7h\E[0;39;49m$<2>\E>\E[?1l,
111 	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
112 	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}
113 	     %=%t3%e%p1%d%;m,
114@@ -1416,7 +1415,8 @@
115 	    %|%t;7%;%?%p7%t;9%;m%?%p9%t\016%e\017%;,
116 	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smso=\E[7m,
117 	smul=\E[4m, tbc=\E[3g,
118-	tsl=\E7\E1;24r\E[?6l\E[25;%i%p1%dH, use=ecma+index,
119+	tsl=\E7\E1;24r\E[?6l\E[25;%i%p1%dH, use=ansi+rep,
120+	use=ecma+index,
121 #
122 qansi|QNX ansi with console writes,
123 	daisy, xhpa, use=qansi-g,
124@@ -5881,7 +5881,7 @@
125 	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
126 	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=,
127 	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
128-	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\n,
129+	il=\E[%p1%dL, il1=\E[L, ind=\n,
130 	is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^?,
131 	kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
132 	kdch1=\E[3~, kend=\EOF, kent=\EOM, kfnd=\E[1~, khome=\EOH,
133@@ -5950,8 +5950,8 @@
134 	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
135 	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
136 	enacs=\E(B\E)0, flash=\E[?5h$<100/>\E[?5l, home=\E[H,
137-	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
138-	il1=\E[L, ind=\n, is1=\E[?47l\E=\E[?1l,
139+	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
140+	ind=\n, is1=\E[?47l\E=\E[?1l,
141 	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
142 	kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
143 	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
144@@ -6202,8 +6202,7 @@
145 	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
146 	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
147 	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
148-	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\n,
149-	is1=\E[?47l\E>\E[?1l,
150+	il=\E[%p1%dL, il1=\E[L, ind=\n, is1=\E[?47l\E>\E[?1l,
151 	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kNXT@,
152 	kPRV@, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, kbeg=\EOu, kbs=^H,
153 	kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
154@@ -6508,7 +6507,29 @@
155 # st.suckless.org
156
157 st|stterm| simpleterm,
158-	use=st-0.7,
159+	use=st-0.8,
160+
161+# Reviewed 0.8.2:
162+# In tack,
163+#	there is some problem turning off line-drawing
164+#	shift+control function-keys do nothing; shift+control cursor keys work
165+#	the padding tests make the terminal non-functional.
166+# In vttest,
167+#	SD/SU work
168+#	SL/SR/REP do not work
169+#	ECMA-48 cursor movement works, e.g., CHA, CBT, etc.
170+#
171+# This entry discards the ccc/initc capabilities from st-0.7 because they
172+# belong in st-256color.
173+st-0.8|simpleterm 0.7,
174+	dim=\E[2m, kcbt@, kent@, oc=\E]104\007,
175+	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|
176+	    %t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m,
177+	Ms=\E]52;%p1%s;%p2%s\007, kDN3=\E[1;3B, kDN5=\E[1;5B,
178+	kLFT3=\E[1;3D, kLFT5=\E[1;5D, kNXT3=\E[6;3~,
179+	kNXT5=\E[6;5~, kPRV3=\E[5;3~, kPRV5=\E[5;5~,
180+	kRIT3=\E[1;3C, kRIT5=\E[1;5C, kUP3=\E[1;3A, kUP5=\E[1;5A,
181+	use=ecma+strikeout, use=st-0.6,
182
183 # Reviewed 0.7:
184 #	dim is intermittent, sometimes works, sometimes does not
185@@ -6660,14 +6681,15 @@
186 	use=ecma+index,
187 st-16color|stterm-16color|simpleterm with 16-colors,
188 	use=ibm+16color, use=st,
189-# 256 colors "works", but when running xterm's test-scripts, some garbage is
190-# shown in the titlebar.
191+# Tested with st 0.8.2
192+# The issue with the titlebar is fixed, though st is very slow.
193+# In st 0.7, 256 colors "works", but when running xterm's test-scripts, some
194+# garbage is shown in the titlebar.
195 #
196 # terminal wants to use TERM=stterm-256color, but that is longer than 14
197 # characters, making the choice nonportable.
198 st-256color|stterm-256color|simpleterm with 256 colors,
199-	ccc@,
200-	initc@, oc@, use=xterm+256color, use=st,
201+	use=xterm+256color, use=st,
202
203 #### TERMINATOR
204 # https://github.com/software-jessies-org/jessies/wiki/Terminator
205@@ -13307,16 +13329,15 @@
206 	kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, kf7=\ENh,
207 	kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2, mc0=\E[0i,
208 	mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE,
209-	pln=\E[%p1%dp%p2%:-16s, rc=\E8,
210-	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
211-	rmir=\E[4l, rmkx=\E[19;0|, rmln=\E<, rmso=\E[m, rmul=\E[m,
212-	rmxon=\E[29;1|, rs2=\E[5;0|, sc=\E7,
213+	pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
214+	rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|, rmln=\E<, rmso=\E[m,
215+	rmul=\E[m, rmxon=\E[29;1|, rs2=\E[5;0|, sc=\E7,
216 	sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6
217 	    %|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
218 	sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h,
219 	smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m,
220 	smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
221-	use=ecma+index,
222+	use=ansi+rep, use=ecma+index,
223
224 # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
225 att500|att513|AT&T 513 using page mode,
226@@ -13357,8 +13378,7 @@
227 	pfloc=\E[%p1%d;%p2%l%d;2;0p\s\s\sF%p1%d\s\s\s\s\s\s\s\s\s\s
228 	      \s%p2%s,
229 	pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s,
230-	pln=\E[%p1%dp%p2%:-16s, rc=\E8,
231-	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
232+	pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
233 	rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l,
234 	rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m,
235 	rmul=\E[m,
236@@ -13369,7 +13389,7 @@
237 	    %|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
238 	sgr0=\E[m\017, smacs=^N, smir=\E[4h,
239 	smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m,
240-	smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
241+	smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, use=ansi+rep,
242
243 # 01-07-88
244 # printer must be set to EMUL ANSI to accept ESC codes
245@@ -13803,15 +13823,15 @@
246 	mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
247 	pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t\s\s\sF%p1%1d\s\s\s\s\s
248 	    \s\s\s\s\s\s%;%p2%s,
249-	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
250-	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
251-	rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m,
252-	rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7,
253+	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
254+	ri=\EM, rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[27m,
255+	rmul=\E[24m, rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|,
256+	sc=\E7,
257 	sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1
258 	    %|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
259 	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m,
260 	smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g,
261-	tsl=\E7\E[99;%i%p1%dx,
262+	tsl=\E7\E[99;%i%p1%dx, use=ansi+rep,
263
264 # This entry was modified 3/13/90 by JWE.
265 # fixes include additions of <enacs>, correcting <rep>, and modification
266@@ -13858,15 +13878,15 @@
267 	pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}
268 	    %<%tq\s\s\sSYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
269 	pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s,
270-	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
271-	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
272-	rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m,
273-	rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7,
274+	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
275+	ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h,
276+	rmso=\E[27m, rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l,
277+	sc=\E7,
278 	sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1
279 	    %|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
280 	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
281 	smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h,
282-	swidm=\E#6, tsl=\E7\E[;%i%p1%dx,
283+	swidm=\E#6, tsl=\E7\E[;%i%p1%dx, use=ansi+rep,
284 att730-41|730MTG-41|AT&T 730-41 windowing terminal Version,
285 	lines#41, use=att730,
286 att730-24|730MTG-24|AT&T 730-24 windowing terminal Version,
287@@ -14340,8 +14360,7 @@
288 	kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC,
289 	kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI,
290 	khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i,
291-	mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8,
292-	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
293+	mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8, rev=\E[7m,
294 	rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E
295 	     \\,
296 	rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
297@@ -14351,7 +14370,7 @@
298 	smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E
299 	     \\,
300 	smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
301-	vpa=\E[%p1%{1}%+%dd,
302+	vpa=\E[%p1%{1}%+%dd, use=ansi+rep,
303
304 aaa+rv|ann arbor ambassador in reverse video,
305 	blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
306@@ -15455,17 +15474,16 @@
307 	kf4=\EOS, khome=\E[H, kich1=\E\001\r, kil1=\E\003\r,
308 	ll=\E[24H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
309 	pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#,
310-	prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
311-	ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n,
312-	rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{,
313-	sc=\E7,
314+	prot=\E[99m, rc=\E8, rev=\E[7m, ri=\EM$<4>, rmacs=\016$<1>,
315+	rmcup=\E[w\E2\r\n, rmir=\E[4l, rmkx=\E[!z\E[0;2u,
316+	rmso=\E[7!{, rmul=\E[4!{, sc=\E7,
317 	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;
318 	    %;%?%p7%t8;%;%?%p8%t99;%;m%?%p5%t\E[1!{%;%?%p9%t\017%e
319 	    \016%;$<1>,
320 	sgr0=\E[m\016$<1>, smacs=\017$<1>,
321 	smcup=\E[=4l\E[1;24w\E2\r, smir=\E[4h,
322 	smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
323-	vpa=\E[%p1%{1}%+%dd,
324+	vpa=\E[%p1%{1}%+%dd, use=ansi+rep,
325 avt-rv-ns|concept avt in reverse video mode/no status line,
326 	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
327 	use=avt-ns,
328@@ -19546,13 +19564,12 @@
329 	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG,
330 	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
331 	il1=\E[L, ind=\n, invis=\E[8m, kbs=^H, kcub1=\E[D,
332-	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
333-	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,
334-	rmso=\E[m, rmul=\E[m,
335+	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rev=\E[7m,
336+	rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
337 	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;
338 	    %;%?%p7%t8;%;m,
339 	sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
340-	vpa=\E[%p1%{1}%+%dd,
341+	vpa=\E[%p1%{1}%+%dd, use=ansi+rep,
342 # The tek4125 emulates a vt100 incorrectly - the scrolling region
343 # command is ignored.  The following entry replaces <csr> with the needed
344 # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
345@@ -26397,4 +26414,10 @@
346 # 2019-11-02
347 #	+ add "xterm-mono" to help packagers (report by Sven Joachim) -TD
348 #
349+# 2019-11-09
350+#	+ drop ich1 from rxvt-basic, Eterm and mlterm to improve compatibility
351+#	  with old non-curses programs -TD
352+#	+ reviewed st 0.8.2, updated some details -TD
353+#	+ use ansi+rep several places -TD
354+#
355 ######## SHANTIH!  SHANTIH!  SHANTIH!
356Index: package/debian-mingw/changelog
357--- ncurses-6.1-20191102+/package/debian-mingw/changelog	2019-11-02 09:43:29.000000000 +0000
358+++ ncurses-6.1-20191109/package/debian-mingw/changelog	2019-11-06 09:37:05.000000000 +0000
359@@ -1,8 +1,8 @@
360-ncurses6 (6.1+20191102) unstable; urgency=low
361+ncurses6 (6.1+20191109) unstable; urgency=low
362
363   * latest weekly patch
364
365- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 02 Nov 2019 05:43:29 -0400
366+ -- Thomas E. Dickey <dickey@invisible-island.net>  Wed, 06 Nov 2019 04:37:04 -0500
367
368 ncurses6 (5.9-20131005) unstable; urgency=low
369
370Index: package/debian-mingw64/changelog
371--- ncurses-6.1-20191102+/package/debian-mingw64/changelog	2019-11-02 09:43:29.000000000 +0000
372+++ ncurses-6.1-20191109/package/debian-mingw64/changelog	2019-11-06 09:37:05.000000000 +0000
373@@ -1,8 +1,8 @@
374-ncurses6 (6.1+20191102) unstable; urgency=low
375+ncurses6 (6.1+20191109) unstable; urgency=low
376
377   * latest weekly patch
378
379- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 02 Nov 2019 05:43:29 -0400
380+ -- Thomas E. Dickey <dickey@invisible-island.net>  Wed, 06 Nov 2019 04:37:05 -0500
381
382 ncurses6 (5.9-20131005) unstable; urgency=low
383
384Index: package/debian/changelog
385--- ncurses-6.1-20191102+/package/debian/changelog	2019-11-02 09:43:29.000000000 +0000
386+++ ncurses-6.1-20191109/package/debian/changelog	2019-11-06 09:37:05.000000000 +0000
387@@ -1,8 +1,8 @@
388-ncurses6 (6.1+20191102) unstable; urgency=low
389+ncurses6 (6.1+20191109) unstable; urgency=low
390
391   * latest weekly patch
392
393- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 02 Nov 2019 05:43:29 -0400
394+ -- Thomas E. Dickey <dickey@invisible-island.net>  Wed, 06 Nov 2019 04:37:04 -0500
395
396 ncurses6 (5.9-20120608) unstable; urgency=low
397
398Index: package/mingw-ncurses.nsi
399Prereq:  1.359
400--- ncurses-6.1-20191102+/package/mingw-ncurses.nsi	2019-11-02 09:43:29.000000000 +0000
401+++ ncurses-6.1-20191109/package/mingw-ncurses.nsi	2019-11-06 09:37:05.000000000 +0000
402@@ -1,4 +1,4 @@
403-; $Id: mingw-ncurses.nsi,v 1.359 2019/11/02 09:43:29 tom Exp $
404+; $Id: mingw-ncurses.nsi,v 1.360 2019/11/06 09:37:05 tom Exp $
405
406 ; TODO add examples
407 ; TODO bump ABI to 6
408@@ -10,7 +10,7 @@
409 !define VERSION_MAJOR "6"
410 !define VERSION_MINOR "1"
411 !define VERSION_YYYY  "2019"
412-!define VERSION_MMDD  "1102"
413+!define VERSION_MMDD  "1109"
414 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
415
416 !define MY_ABI   "5"
417Index: package/mingw-ncurses.spec
418--- ncurses-6.1-20191102+/package/mingw-ncurses.spec	2019-11-02 09:43:29.000000000 +0000
419+++ ncurses-6.1-20191109/package/mingw-ncurses.spec	2019-11-06 09:37:05.000000000 +0000
420@@ -3,7 +3,7 @@
421 Summary: shared libraries for terminal handling
422 Name: mingw32-ncurses6
423 Version: 6.1
424-Release: 20191102
425+Release: 20191109
426 License: X11
427 Group: Development/Libraries
428 Source: ncurses-%{version}-%{release}.tgz
429Index: package/ncurses.spec
430--- ncurses-6.1-20191102+/package/ncurses.spec	2019-11-02 09:43:29.000000000 +0000
431+++ ncurses-6.1-20191109/package/ncurses.spec	2019-11-06 09:37:05.000000000 +0000
432@@ -1,7 +1,7 @@
433 Summary: shared libraries for terminal handling
434 Name: ncurses6
435 Version: 6.1
436-Release: 20191102
437+Release: 20191109
438 License: X11
439 Group: Development/Libraries
440 Source: ncurses-%{version}-%{release}.tgz
441Index: package/ncursest.spec
442--- ncurses-6.1-20191102+/package/ncursest.spec	2019-11-02 09:43:29.000000000 +0000
443+++ ncurses-6.1-20191109/package/ncursest.spec	2019-11-06 09:37:05.000000000 +0000
444@@ -1,7 +1,7 @@
445 Summary: Curses library with POSIX thread support.
446 Name: ncursest6
447 Version: 6.1
448-Release: 20191102
449+Release: 20191109
450 License: X11
451 Group: Development/Libraries
452 Source: ncurses-%{version}-%{release}.tgz
453Index: progs/tic.c
454Prereq:  1.279
455--- ncurses-6.1-20191102+/progs/tic.c	2019-10-15 22:18:29.000000000 +0000
456+++ ncurses-6.1-20191109/progs/tic.c	2019-11-09 18:51:36.000000000 +0000
457@@ -48,7 +48,7 @@
458 #include <parametrized.h>
459 #include <transform.h>
460
461-MODULE_ID("$Id: tic.c,v 1.279 2019/10/15 22:18:29 tom Exp $")
462+MODULE_ID("$Id: tic.c,v 1.281 2019/11/09 18:51:36 tom Exp $")
463
464 #define STDIN_NAME "<stdin>"
465
466@@ -2939,6 +2939,7 @@
467      * These are probably both or none.
468      */
469     PAIRED(parm_index, parm_rindex);
470+    PAIRED(parm_ich, parm_dch);
471
472     /*
473      * These may be mismatched because the terminal description relies on
474@@ -3055,7 +3056,7 @@
475      * ncurses handles it.
476      */
477     if ((PRESENT(enter_insert_mode) || PRESENT(exit_insert_mode))
478-	&& PRESENT(parm_ich)) {
479+	&& PRESENT(insert_character)) {
480 	_nc_warning("non-curses applications may be confused by ich1 with smir/rmir");
481     }
482
483