# Report bugs and new terminal descriptions to
# bug-ncurses@gnu.org
#
-# $Revision: 1.1137 $
-# $Date: 2024/01/27 21:52:22 $
+# $Revision: 1.1144 $
+# $Date: 2024/05/25 19:34:27 $
#
# 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
use=vt100+pfkeys, use=xterm+alt47, use=xterm+sl-twm,
use=xterm+x11mouse, use=xterm+256setaf, use=vt220+cvis,
-# iTerm2 3.0.15
+# iTerm2
#
# https://iterm2.com/
# https://github.com/gnachman/iTerm2
# ~/Library/Preferences/com.googlecode.iterm2.plist
# "iTerm" stalled in 2009. A different set of developers began "iTerm2".
#
+# iTerm2 3.5.0
+#
+# NOTES:
+# with esctest:
+# 365 tests passed, 196 known bugs, 2 tests fail intermittently
+# the known bugs include several of the cursor-movement tests
+# the ED, EL tests include those failing intermittently
+# DECCOLM, DECERA, DECSED, DECSERA and SPA do not work
+# most of the DECRPM, DECRQSS reports fail
+# with vttest:
+# reports primary DA as VT420
+# VT420 rectangular operations, as well as DECBI/DEVFI work with margins
+# SRM does not work
+# DECSED, and SPA do not work
+# REP and SD work, SL/SR/SU do not work
+# with tack:
+# status-line does not work
+#
+# The default settings have blinking-text and keypad-application mode disabled.
+# Enabling the latter make it half-working (numlock sends an escape character).
+# About half of the modified function-keys are untestable due to preassigned
+# features.
+#
+# iTerm2 3.5.0 comes with a 4-year-old copy of xterm's terminfo (June 2020),
+# which is modified:
+# + xterm-nrc and xterm+pcfN are removed
+# + the developer made changes to adapt it to the 16-year-old version of
+# ncurses bundled with MacOS, i.e., changing the mouse protocol to the
+# legacy X11 format and reducing the number of colors to 32k (in more than
+# one place). In the former case, the developer was confused about why that
+# was necessary. In the latter, the developer clearly misunderstood how the
+# tools work.
+# + vt420+lrmm is modified, removing smglr and corrupting mgc (again, developer
+# confusion).
+# + the developer added a couple of features, misnaming them as "xterm" blocks:
+# + a copy of kitty+setal renamed to xterm+setulc (and Setulc) is added, but
+# the feature is first mentioned in iTerm2 changes in May 2020, while
+# it is first mention in kitty changes in December 2016.
+# + Smulx is added
+#
+# iTerm2 3.4.0
+#
+# NOTES:
+# with esctest:
+# 293 tests pass, 270 tests fail
+# with tack:
+# minor improvements which do not alter the terminfo
+#
+# iTerm2 3.0.15
+#
# NOTES:
# with vttest:
# reports primary DA as VT100 with AVO: \E[?1;2c
rs2=\E[!p\E[?3;4l\E[4l\E>\E[?1000l,
sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?
%p5%t;2%;m%?%p9%t\016%e\017%;,
- kDN3=\E\E[B, kDN4=\E[1;10B, kDN5=\E[1;5B, kDN6=\E[1;6B,
- kEND3=\E[1;9F, kEND4=\E[1;10F, kEND6=\E[1;6F,
- kEND7=\E[1;13F, kEND8=\E[1;14F, kHOM3=\E[1;9H,
- kHOM4=\E[1;10H, kHOM6=\E[1;6H, kHOM7=\E[1;13H,
- kHOM8=\E[1;14H, kLFT3=\E\E[D, kLFT4=\E[1;10D,
- kLFT5=\E[1;5D, kLFT6=\E[1;6D, kNXT3=\E\E[6~,
- kPRV3=\E\E[5~, kRIT3=\E\E[C, kRIT4=\E[1;10C,
- kRIT5=\E[1;5C, kRIT6=\E[1;6C, kUP3=\E\E[A, kUP4=\E[1;10A,
- kUP5=\E[1;5A, kUP6=\E[1;6A, use=ecma+index,
- use=xterm+alt+title, use=ecma+italics, use=iterm,
- use=bracketed+paste,
+ Smulx=\E[4:%p1%dm, kDN3=\E\E[B, kDN4=\E[1;10B,
+ kDN5=\E[1;5B, kDN6=\E[1;6B, kEND3=\E[1;9F,
+ kEND4=\E[1;10F, kEND6=\E[1;6F, kEND7=\E[1;13F,
+ kEND8=\E[1;14F, kHOM3=\E[1;9H, kHOM4=\E[1;10H,
+ kHOM6=\E[1;6H, kHOM7=\E[1;13H, kHOM8=\E[1;14H,
+ kLFT3=\E\E[D, kLFT4=\E[1;10D, kLFT5=\E[1;5D,
+ kLFT6=\E[1;6D, kNXT3=\E\E[6~, kPRV3=\E\E[5~,
+ kRIT3=\E\E[C, kRIT4=\E[1;10C, kRIT5=\E[1;5C,
+ kRIT6=\E[1;6C, kUP3=\E\E[A, kUP4=\E[1;10A, kUP5=\E[1;5A,
+ kUP6=\E[1;6A, use=ecma+index, use=xterm+alt+title,
+ use=ecma+italics, use=iterm, use=bracketed+paste,
+ use=kitty+setal,
# xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
#
kf42=\E[63~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
kf8=\E[19~, kf9=\E[20~,
+vt100+noapp|fragment with cursor keys in normal mode,
+ kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
+ use=vt100+noapp+pc,
+
xterm+noapp|fragment with cursor keys in normal mode,
kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F,
khome=\E[H,
xterm+app|fragment with cursor keys in application mode,
- kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\EOF,
- khome=\EOH,
+ kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
+ use=xterm+app+pc,
+
+vt100+noapp+pc|fragment for noapp pc-style home/end,
+ kend=\E[F, khome=\E[H,
+
+xterm+app+pc|fragment for app pc-style home/end,
+ kend=\EOF, khome=\EOH,
#
# The "PC-style" modifier scheme was introduced in xterm patch #94 (1999/3/27)
# and revised in xterm patch #167 (2002/8/24). Some other terminal emulators
xterm+edit|fragment for 6-key editing-keypad,
use=xterm+pc+edit, use=vt220+pcedit,
+xterm+decedit|fragment for vt220 6-key editing-keypad,
+ kdch1=\E[3~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
+ use=xterm+vt+edit,
+
xterm+pc+edit|fragment for pc-style editing keypad,
kend=\E[4~, khome=\E[1~,
# does nothing with those, even after installing the app-defaults file which
# was overlooked by the Debian packager.
xgterm|graphic terminal for IRAF,
- use=xterm+acs, use=xterm-r5, use=xterm+keypad,
+ enacs=\E(B\E)0, rmacs=^O,
+ sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t
+ \016%e\017%;,
+ sgr0=\E[m\017, smacs=^N, use=xterm+acs, use=xterm-r5,
+ use=xterm+keypad,
# The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
# As of January 2018, this was the most recent release,
# e.g., with gnome-terminal 3.26.2
vte-2017|VTE 0.50.2,
- use=ecma+strikeout, use=vte-2014,
+ E3=\E[3J, use=ecma+strikeout, use=vte-2014,
# VTE 0.51.2 and gnome-terminal 3.28.2 copied a feature from KovId's TTY
# late in 2017 for changing the appearance of underlines, which was
# to trim -TD
# + NetBSD-related fixes for x68k and wsvt52 (patch by Thomas Klausner)
#
+# 2024-02-11
+# + add vt100+noapp, vt100+noapp+pc, xterm+app+pc, xterm+decedit from
+# xterm #389 -TD
+#
+# 2024-03-09
+# + modify xgterm to work around line-drawing bug -TD
+# + use CSI 3J in vte-2017 (report by Sven Joachim)
+#
+# 2024-05-25
+# + review/update iTerm2 for 3.5.0 -TD
+#
######## SHANTIH! SHANTIH! SHANTIH!