summaryrefslogtreecommitdiff
path: root/system/ncurses/ncurses-6.3-20220312.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/ncurses/ncurses-6.3-20220312.patch')
-rw-r--r--system/ncurses/ncurses-6.3-20220312.patch300
1 files changed, 300 insertions, 0 deletions
diff --git a/system/ncurses/ncurses-6.3-20220312.patch b/system/ncurses/ncurses-6.3-20220312.patch
new file mode 100644
index 000000000..e0259e911
--- /dev/null
+++ b/system/ncurses/ncurses-6.3-20220312.patch
@@ -0,0 +1,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