1# ncurses 6.1 - patch 20190706 - 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-20190706.patch.gz
14# patch by Thomas E. Dickey <dickey@invisible-island.net>
15# created  Sun Jul  7 00:14:47 UTC 2019
16# ------------------------------------------------------------------------------
17# NEWS                             |    6 ++
18# VERSION                          |    2
19# dist.mk                          |    4 -
20# misc/terminfo.src                |   77 +++++++++++++++++++++++++++++++++----
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# 11 files changed, 89 insertions(+), 22 deletions(-)
29# ------------------------------------------------------------------------------
30Index: NEWS
31Prereq:  1.3342
32--- ncurses-6.1-20190630+/NEWS	2019-06-30 10:45:10.000000000 +0000
33+++ ncurses-6.1-20190706/NEWS	2019-07-06 20:51:46.000000000 +0000
34@@ -25,7 +25,7 @@
35 -- sale, use or other dealings in this Software without prior written        --
36 -- authorization.                                                            --
37 -------------------------------------------------------------------------------
38--- $Id: NEWS,v 1.3342 2019/06/30 10:45:10 tom Exp $
39+-- $Id: NEWS,v 1.3344 2019/07/06 20:51:46 tom Exp $
40 -------------------------------------------------------------------------------
41
42 This is a log of changes that ncurses has gone through since Zeyd started
43@@ -45,6 +45,10 @@
44 Changes through 1.9.9e did not credit all contributions;
45 it is not possible to add this information.
46
47+20190706
48+	+ add domterm -TD
49+	+ improve comments for recent changes, add alias xterm.js -TD
50+
51 20190630
52 	+ add --with-tic-path and --with-infocmp-path to work around problems
53 	  building fallback source using pre-6.0 tic/infocmp.
54Index: VERSION
55--- ncurses-6.1-20190630+/VERSION	2019-06-30 01:30:19.000000000 +0000
56+++ ncurses-6.1-20190706/VERSION	2019-07-06 09:10:26.000000000 +0000
57@@ -1 +1 @@
58-5:0:10	6.1	20190630
59+5:0:10	6.1	20190706
60Index: dist.mk
61Prereq:  1.1292
62--- ncurses-6.1-20190630+/dist.mk	2019-06-30 01:30:19.000000000 +0000
63+++ ncurses-6.1-20190706/dist.mk	2019-07-06 09:10:26.000000000 +0000
64@@ -25,7 +25,7 @@
65 # use or other dealings in this Software without prior written               #
66 # authorization.                                                             #
67 ##############################################################################
68-# $Id: dist.mk,v 1.1292 2019/06/30 01:30:19 tom Exp $
69+# $Id: dist.mk,v 1.1293 2019/07/06 09:10:26 tom Exp $
70 # Makefile for creating ncurses distributions.
71 #
72 # This only needs to be used directly as a makefile by developers, but
73@@ -37,7 +37,7 @@
74 # These define the major/minor/patch versions of ncurses.
75 NCURSES_MAJOR = 6
76 NCURSES_MINOR = 1
77-NCURSES_PATCH = 20190630
78+NCURSES_PATCH = 20190706
79
80 # We don't append the patch to the version, since this only applies to releases
81 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
82Index: misc/terminfo.src
83--- ncurses-6.1-20190630+/misc/terminfo.src	2019-06-30 20:05:21.000000000 +0000
84+++ ncurses-6.1-20190706/misc/terminfo.src	2019-07-06 20:35:26.000000000 +0000
85@@ -6,8 +6,8 @@
86 # Report bugs and new terminal descriptions to
87 #	bug-ncurses@gnu.org
88 #
89-#	$Revision: 1.749 $
90-#	$Date: 2019/06/30 20:05:21 $
91+#	$Revision: 1.757 $
92+#	$Date: 2019/07/06 20:35:26 $
93 #
94 # The original header is preserved below for reference.  It is noted that there
95 # is a "newer" version which differs in some cosmetic details (but actually
96@@ -4225,6 +4225,8 @@
97
98 # Windows 10 1903
99 # Version 0.2.1715.0
100+# https://github.com/microsoft/terminal
101+#
102 # The task manager shows this as "OpenConsole.exe", which differs
103 # from the "Windows Command Processor" used for the command-prompt.
104 #
105@@ -4247,9 +4249,9 @@
106 # - a few generic xterm features are supported (set window title), but
107 #   others are missing (such as the mouse).
108 # - the cursor visible/invisible works in the PowerShell tab, not in "Legacy"
109-# tack:
110+# tack:
111 # - blink, dim, bold, invis, protect do not work
112-# - bce works (but per vttest, with ED, EL, not BCE)
113+# - bce works (but per vttest, with ED, EL, not ECH)
114 # - does not support keypad application mode
115 # - implements most of the xterm modified keys; sometimes modifiers are ignored
116 #   or simply incorrect
117@@ -4262,7 +4264,8 @@
118 	use=xterm+pcfkeys, use=xterm-basic,
119
120 #### Visual Studio
121-# Visual Studio Code 1.35.1
122+# Visual Studio Code 1.35.1 uses xterm.js (see https://xtermjs.org/).
123+# https://code.visualstudio.com/docs/editor/integrated-terminal
124 #
125 # This sets TERM to xterm-256color, which is a little more successful than
126 # Windows Terminal.
127@@ -4289,11 +4292,11 @@
128 # - mouse mode is not reset by reset-sequence
129 # - supports italics and dim, but not cross-out or double-underline
130 # - color-palette cannot be changed
131-vscode|Visual Studio Code terminal,
132+vscode|xterm.js|Visual Studio Code terminal using xterm.js,
133 	npc,
134 	kcbt=\E[Z, rmkx=\E[?1l, smkx=\E[?1h, use=xterm+256setaf,
135 	use=ecma+index, use=xterm+sm+1006, use=xterm+pcfkeys,
136-	use=xterm-basic, use=xterm-basic,
137+	use=xterm-basic,
138 vscode-direct|Visual Studio Code with direct-colors,
139 	use=xterm+indirect, use=vscode,
140
141@@ -7012,6 +7015,62 @@
142 	use=xterm+pce2, use=xterm+pcc2, use=ecma+italics,
143 	use=xterm+alt1049,
144
145+######## WEB CLIENTS
146+
147+#### DomTerm
148+# https://domterm.org
149+#
150+# Quoting its webpage:
151+#	The domterm command runs a server that manages sessions (usually shell
152+#	processes).  The user interface and terminal emulation is handled by a
153+#	JavaScript library that can run in a regular web browser or an embedded
154+#	browser such as Electron, using Web Sockets to talk to the server.
155+#
156+# it can connect to, and display in, a web browser, or as a standalone Qt
157+# application.  Either way, it displays in the current desktop session.
158+#
159+# Testing current code (2019/07/06) with Fedora 30:
160+# tack
161+#	no flash
162+#	no beep
163+#	no dim
164+#	no blink
165+#	no invis
166+#	no italics
167+#	ok smxx/rmxx
168+#	bce screen shows diagonal lines...
169+#	kf6 sends nothing
170+#	kf11 toggles maximize
171+#	cursor-key application mode works
172+#	numeric keypad application does not work; keys always send face-codes
173+#	sends utf-8 for meta, like xterm
174+# vttest
175+#	has problems with menu #1 (wrapping)
176+#	DA = vt200 with 132 columns, color
177+#	DA2 = 990, 100300 ("\E[>990;100300;0c")
178+#	no VT52, no double-size characters
179+#	vt220 ECH test works, SRM, DECSCA do not
180+#	S7C1T/S8C1t does not work
181+#	DECUDK does not work
182+#	CNL does not work; the other ECMA-48 cursor-movement tests work
183+#	REP sort-of works (does not match xterm)
184+#	SD/SU work, but not SL/SR
185+#	window reporting: works for size in chars/pixels, but not other tests
186+#	X10 mouse clicks work -- but return 4 rather than 1 for codes
187+#	any-event mouse mode acts like any-button mode
188+#	implements SGR mouse-mode
189+# other:
190+#	does not implement initc
191+#	does accept either colons or semicolon in 38/48 SGR.
192+domterm|DomTerm web client,
193+	npc,
194+	bel@, blink@, dim@, invis@, kcbt=\E[Z, ritm@, rmkx=\E[?1l,
195+	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|
196+	    %t;7%;m,
197+	sitm@, smkx=\E[?1h, use=xterm+256setaf, use=ecma+index,
198+	use=xterm+sm+1006, use=xterm+pcfkeys, use=xterm-basic,
199+	use=xterm-basic,
200+
201 ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
202 #
203
204@@ -26282,4 +26341,8 @@
205 #	+ add vscode, vscode-direct -TD
206 #	+ use ecma+index in screen, st -TD
207 #
208+# 2019-07-06
209+#	+ add domterm -TD
210+#	+ improve comments for recent changes, add alias xterm.js -TD
211+#
212 ######## SHANTIH!  SHANTIH!  SHANTIH!
213Index: package/debian-mingw/changelog
214--- ncurses-6.1-20190630+/package/debian-mingw/changelog	2019-06-30 01:30:19.000000000 +0000
215+++ ncurses-6.1-20190706/package/debian-mingw/changelog	2019-07-06 09:10:26.000000000 +0000
216@@ -1,8 +1,8 @@
217-ncurses6 (6.1+20190630) unstable; urgency=low
218+ncurses6 (6.1+20190706) unstable; urgency=low
219
220   * latest weekly patch
221
222- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 29 Jun 2019 21:29:49 -0400
223+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 06 Jul 2019 05:10:26 -0400
224
225 ncurses6 (5.9-20131005) unstable; urgency=low
226
227Index: package/debian-mingw64/changelog
228--- ncurses-6.1-20190630+/package/debian-mingw64/changelog	2019-06-30 01:30:19.000000000 +0000
229+++ ncurses-6.1-20190706/package/debian-mingw64/changelog	2019-07-06 09:10:26.000000000 +0000
230@@ -1,8 +1,8 @@
231-ncurses6 (6.1+20190630) unstable; urgency=low
232+ncurses6 (6.1+20190706) unstable; urgency=low
233
234   * latest weekly patch
235
236- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 29 Jun 2019 21:29:49 -0400
237+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 06 Jul 2019 05:10:26 -0400
238
239 ncurses6 (5.9-20131005) unstable; urgency=low
240
241Index: package/debian/changelog
242--- ncurses-6.1-20190630+/package/debian/changelog	2019-06-30 01:30:19.000000000 +0000
243+++ ncurses-6.1-20190706/package/debian/changelog	2019-07-06 09:10:26.000000000 +0000
244@@ -1,8 +1,8 @@
245-ncurses6 (6.1+20190630) unstable; urgency=low
246+ncurses6 (6.1+20190706) unstable; urgency=low
247
248   * latest weekly patch
249
250- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 29 Jun 2019 21:29:49 -0400
251+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 06 Jul 2019 05:10:26 -0400
252
253 ncurses6 (5.9-20120608) unstable; urgency=low
254
255Index: package/mingw-ncurses.nsi
256Prereq:  1.338
257--- ncurses-6.1-20190630+/package/mingw-ncurses.nsi	2019-06-30 01:30:19.000000000 +0000
258+++ ncurses-6.1-20190706/package/mingw-ncurses.nsi	2019-07-06 09:10:26.000000000 +0000
259@@ -1,4 +1,4 @@
260-; $Id: mingw-ncurses.nsi,v 1.338 2019/06/30 01:30:19 tom Exp $
261+; $Id: mingw-ncurses.nsi,v 1.339 2019/07/06 09:10:26 tom Exp $
262
263 ; TODO add examples
264 ; TODO bump ABI to 6
265@@ -10,7 +10,7 @@
266 !define VERSION_MAJOR "6"
267 !define VERSION_MINOR "1"
268 !define VERSION_YYYY  "2019"
269-!define VERSION_MMDD  "0630"
270+!define VERSION_MMDD  "0706"
271 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
272
273 !define MY_ABI   "5"
274Index: package/mingw-ncurses.spec
275--- ncurses-6.1-20190630+/package/mingw-ncurses.spec	2019-06-30 18:34:07.000000000 +0000
276+++ ncurses-6.1-20190706/package/mingw-ncurses.spec	2019-07-06 09:10:26.000000000 +0000
277@@ -3,7 +3,7 @@
278 Summary: shared libraries for terminal handling
279 Name: mingw32-ncurses6
280 Version: 6.1
281-Release: 20190630
282+Release: 20190706
283 License: X11
284 Group: Development/Libraries
285 Source: ncurses-%{version}-%{release}.tgz
286Index: package/ncurses.spec
287--- ncurses-6.1-20190630+/package/ncurses.spec	2019-06-30 01:30:19.000000000 +0000
288+++ ncurses-6.1-20190706/package/ncurses.spec	2019-07-06 09:10:26.000000000 +0000
289@@ -1,7 +1,7 @@
290 Summary: shared libraries for terminal handling
291 Name: ncurses6
292 Version: 6.1
293-Release: 20190630
294+Release: 20190706
295 License: X11
296 Group: Development/Libraries
297 Source: ncurses-%{version}-%{release}.tgz
298Index: package/ncursest.spec
299--- ncurses-6.1-20190630+/package/ncursest.spec	2019-06-30 01:30:19.000000000 +0000
300+++ ncurses-6.1-20190706/package/ncursest.spec	2019-07-06 09:10:26.000000000 +0000
301@@ -1,7 +1,7 @@
302 Summary: Curses library with POSIX thread support.
303 Name: ncursest6
304 Version: 6.1
305-Release: 20190630
306+Release: 20190706
307 License: X11
308 Group: Development/Libraries
309 Source: ncurses-%{version}-%{release}.tgz
310