summaryrefslogtreecommitdiff
path: root/system/ncurses/ncurses-6.3-20220312.patch
blob: e0259e911cd3f6966e7974e9c6e33fc3b2da9af3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
# ncurses 6.3 - patch 20220312 - Thomas E. Dickey
#
# ------------------------------------------------------------------------------
#
# Ncurses 6.3 is at
# 	ftp://ftp.invisible-island.net/ncurses/
#	https://invisible-mirror.net/archives/ncurses/
#	https://ftp.gnu.org/gnu/ncurses/
#
# Patches for ncurses 6.3 can be found at
# 	ftp://ftp.invisible-island.net/ncurses/6.3
#	https://invisible-mirror.net/archives/ncurses/6.3
#
# ------------------------------------------------------------------------------
# ftp://ftp.invisible-island.net/ncurses/6.3/ncurses-6.3-20220312.patch.gz
# patch by Thomas E. Dickey <dickey@invisible-island.net>
# created  Sun Mar 13 00:52:29 UTC 2022
# ------------------------------------------------------------------------------
# NEWS                             |    8 +++-
# VERSION                          |    2 -
# dist.mk                          |    4 +-
# misc/terminfo.src                |   70 ++++++++++++++++++++++++++++++++++---
# package/debian-mingw/changelog   |    4 +-
# package/debian-mingw64/changelog |    4 +-
# package/debian/changelog         |    4 +-
# package/mingw-ncurses.nsi        |    4 +-
# package/mingw-ncurses.spec       |    2 -
# package/ncurses.spec             |    2 -
# package/ncursest.spec            |    2 -
# 11 files changed, 86 insertions(+), 20 deletions(-)
# ------------------------------------------------------------------------------
Index: NEWS
Prereq:  1.3784 
--- ncurses-6.3-20220305+/NEWS	2022-03-05 22:15:20.000000000 +0000
+++ ncurses-6.3-20220312/NEWS	2022-03-12 19:32:10.000000000 +0000
@@ -26,7 +26,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.3784 2022/03/05 22:15:20 tom Exp $
+-- $Id: NEWS,v 1.3786 2022/03/12 19:32:10 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -46,6 +46,12 @@
 Changes through 1.9.9e did not credit all contributions;
 it is not possible to add this information.
 
+20220312
+	+ add xterm+acs building-block -TD
+	+ add xterm-p370, for use in older terminals -TD
+	+ add dec+sl to xterm-new, per patch #371 -TD
+	+ add mosh and mosh-256color -TD
+
 20220305
 	+ replace obsolescent "-gnatg" option with "-gnatwa" and "-gnatyg", to
 	  work around build problems with gnat 12.
Index: VERSION
--- ncurses-6.3-20220305+/VERSION	2022-03-05 12:07:05.000000000 +0000
+++ ncurses-6.3-20220312/VERSION	2022-03-12 11:56:09.000000000 +0000
@@ -1 +1 @@
-5:0:10	6.3	20220305
+5:0:10	6.3	20220312
Index: dist.mk
Prereq:  1.1469 
--- ncurses-6.3-20220305+/dist.mk	2022-03-05 12:07:05.000000000 +0000
+++ ncurses-6.3-20220312/dist.mk	2022-03-12 11:56:09.000000000 +0000
@@ -26,7 +26,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: dist.mk,v 1.1469 2022/03/05 12:07:05 tom Exp $
+# $Id: dist.mk,v 1.1470 2022/03/12 11:56:09 tom Exp $
 # Makefile for creating ncurses distributions.
 #
 # This only needs to be used directly as a makefile by developers, but
@@ -38,7 +38,7 @@
 # These define the major/minor/patch versions of ncurses.
 NCURSES_MAJOR = 6
 NCURSES_MINOR = 3
-NCURSES_PATCH = 20220305
+NCURSES_PATCH = 20220312
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
Index: misc/terminfo.src
--- ncurses-6.3-20220305+/misc/terminfo.src	2022-01-23 22:33:01.000000000 +0000
+++ ncurses-6.3-20220312/misc/terminfo.src	2022-03-12 19:04:55.000000000 +0000
@@ -6,8 +6,8 @@
 # Report bugs and new terminal descriptions to
 #	bug-ncurses@gnu.org
 #
-#	$Revision: 1.974 $
-#	$Date: 2022/01/23 22:33:01 $
+#	$Revision: 1.981 $
+#	$Date: 2022/03/12 19:04:55 $
 #
 # The original header is preserved below for reference.  It is noted that there
 # is a "newer" version which differs in some cosmetic details (but actually
@@ -4817,13 +4817,16 @@
 	use=xterm+sm+1006, use=xterm+tmux, use=ecma+italics,
 	use=xterm+keypad, use=xterm-basic,
 
-# This version reflects the current xterm features.
-xterm-new|modern xterm terminal emulator,
+xterm-p370|xterm patch #370,
 	npc,
 	kcbt=\E[Z, kent=\EOM, nel=\EE, use=ecma+index,
 	use=ansi+rep, use=ecma+strikeout, use=xterm+pcfkeys,
 	use=xterm+nofkeys,
 
+# This version reflects the current xterm features.
+xterm-new|modern xterm terminal emulator,
+	use=dec+sl, use=xterm-p370,
+
 # This fragment is for people who cannot agree on what the backspace key
 # should send.
 xterm+kbs|fragment for backspace key,
@@ -5081,6 +5084,10 @@
 	kf52=\E[14;3~, kf61=\E[11;4~, kf62=\E[12;4~,
 	kf63=\E[13;4~, use=xterm+pcf2,
 #
+xterm+acs|ISO-2022 alternate character-switching for xterm,
+	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+	enacs@, rmacs=\E(B, smacs=\E(0,
+
 # This chunk is used for building the VT220/Sun/PC keyboard variants.
 xterm-basic|modern xterm terminal emulator - common,
 	OTbs, am, bce, mir, msgr, xenl, AX, XT,
@@ -8068,7 +8075,7 @@
 	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|
 	    %t;7%;%?%p4%t;5%;%?%p5%t;2%;m,
 	E3@, use=screen+italics, use=screen+fkeys,
-	use=xterm+x11mouse, use=xterm-new,
+	use=xterm+x11mouse, use=xterm-p370,
 #:screen.xterm|screen for modern xterm,
 #:	use=screen.xterm-new,
 # xterm-r6 does not really support khome/kend unless it is propped up by
@@ -8232,6 +8239,53 @@
 	      %{256}%/%{255}%&%d:%p1%{255}%&%d%;m,
 	use=xterm+direct, use=tmux,
 
+#### Mosh
+# https://mosh.org/
+# mosh 1.3.2
+#
+# mosh's DA1 identifies it as a VT220, but sets $TERM to "xterm" or
+# "xterm-256color" (hard-coded), which in its pretense that it is xterm, is
+# several years out of date.
+#
+# There is little documentation; the existing manpages amount to a quarter of
+# the length of mosh.org's heavily promotional website.  This entry is based
+# on testing, and reading the source-code.  For the latter, analysis is aided
+# by the developer's extensive use of hard-coded strings.
+#
+# The website has an example "Tricky unicode", which shows a shell command
+# with a typo (i.e., assuming that a byte in octal uses 4 digits) and suggests
+# that mosh and OS X Terminal "gets it right".
+#
+# The example as shown would not work.  Correcting the typo, xterm gives the
+# result expected by the mosh developer.
+#
+# The other examples follow in a similar vein.
+#
+# It does not support these xterm features:
+#	use=ansi+rep (xterm patch #36, 1997)
+#	use=ecma+strikeout (xterm patch #305, 2014)
+#	use=vt420+lrmm (xterm patch #279, 2012)
+#	titlestack in smcup/rmcup has no effect (xterm patch #251, 2009)
+#	does not support "dim" (xterm patch #305, 2014)
+# In tack
+#	rmkx/smkx has no effect on numeric keypad
+#	acs stuff has no effect, is included here for ease of comparison
+#
+# Unlike screen and tmux, mosh has only limited awareness of a terminal
+# description.  It assumes that the underlying terminal is xterm, and would
+# not work well with terminals using other key-definitions, such as urxvt.
+mosh|mobile shell,
+	U8#1,
+	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|
+	    %t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
+	sgr0=\E(B\E[m, use=ansi+enq, use=xterm+meta,
+	use=ecma+italics, use=ecma+index, use=xterm+acs,
+	use=xterm+sm+1006, use=xterm+pcfkeys,
+	use=xterm-xfree86,
+
+mosh-256color|mosh using 256-colors,
+	use=xterm+256color, use=mosh,
+
 #### Dvtm
 
 # dvtwm 0.15
@@ -27343,4 +27397,10 @@
 # 2022-01-23
 #	+ update kitty -TD
 #
+# 2022-03-12
+#	+ add xterm+acs building-block -TD
+#	+ add xterm-p370, for use in older terminals -TD
+#	+ add dec+sl to xterm-new, per patch #371 -TD
+#	+ add mosh and mosh-256color -TD
+#
 ######## SHANTIH!  SHANTIH!  SHANTIH!
Index: package/debian-mingw/changelog
--- ncurses-6.3-20220305+/package/debian-mingw/changelog	2022-03-05 12:07:05.000000000 +0000
+++ ncurses-6.3-20220312/package/debian-mingw/changelog	2022-03-12 11:56:09.000000000 +0000
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20220305) unstable; urgency=low
+ncurses6 (6.3+20220312) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 05 Mar 2022 07:07:05 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 12 Mar 2022 06:56:09 -0500
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
Index: package/debian-mingw64/changelog
--- ncurses-6.3-20220305+/package/debian-mingw64/changelog	2022-03-05 12:07:05.000000000 +0000
+++ ncurses-6.3-20220312/package/debian-mingw64/changelog	2022-03-12 11:56:09.000000000 +0000
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20220305) unstable; urgency=low
+ncurses6 (6.3+20220312) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 05 Mar 2022 07:07:05 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 12 Mar 2022 06:56:09 -0500
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
Index: package/debian/changelog
--- ncurses-6.3-20220305+/package/debian/changelog	2022-03-05 12:07:05.000000000 +0000
+++ ncurses-6.3-20220312/package/debian/changelog	2022-03-12 11:56:09.000000000 +0000
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20220305) unstable; urgency=low
+ncurses6 (6.3+20220312) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 05 Mar 2022 07:07:05 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 12 Mar 2022 06:56:09 -0500
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
Index: package/mingw-ncurses.nsi
Prereq:  1.509 
--- ncurses-6.3-20220305+/package/mingw-ncurses.nsi	2022-03-05 12:07:05.000000000 +0000
+++ ncurses-6.3-20220312/package/mingw-ncurses.nsi	2022-03-12 11:56:09.000000000 +0000
@@ -1,4 +1,4 @@
-; $Id: mingw-ncurses.nsi,v 1.509 2022/03/05 12:07:05 tom Exp $
+; $Id: mingw-ncurses.nsi,v 1.510 2022/03/12 11:56:09 tom Exp $
 
 ; TODO add examples
 ; TODO bump ABI to 6
@@ -10,7 +10,7 @@
 !define VERSION_MAJOR "6"
 !define VERSION_MINOR "3"
 !define VERSION_YYYY  "2022"
-!define VERSION_MMDD  "0305"
+!define VERSION_MMDD  "0312"
 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
 
 !define MY_ABI   "5"
Index: package/mingw-ncurses.spec
--- ncurses-6.3-20220305+/package/mingw-ncurses.spec	2022-03-05 12:07:05.000000000 +0000
+++ ncurses-6.3-20220312/package/mingw-ncurses.spec	2022-03-12 11:56:09.000000000 +0000
@@ -3,7 +3,7 @@
 Summary: shared libraries for terminal handling
 Name: mingw32-ncurses6
 Version: 6.3
-Release: 20220305
+Release: 20220312
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
Index: package/ncurses.spec
--- ncurses-6.3-20220305+/package/ncurses.spec	2022-03-05 12:07:05.000000000 +0000
+++ ncurses-6.3-20220312/package/ncurses.spec	2022-03-12 11:56:09.000000000 +0000
@@ -1,7 +1,7 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Version: 6.3
-Release: 20220305
+Release: 20220312
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
Index: package/ncursest.spec
--- ncurses-6.3-20220305+/package/ncursest.spec	2022-03-05 12:07:05.000000000 +0000
+++ ncurses-6.3-20220312/package/ncursest.spec	2022-03-12 11:56:09.000000000 +0000
@@ -1,7 +1,7 @@
 Summary: Curses library with POSIX thread support.
 Name: ncursest6
 Version: 6.3
-Release: 20220305
+Release: 20220312
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz