]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/terminfo.src
ncurses 6.3 - patch 20220319
[ncurses.git] / misc / terminfo.src
index c1047e43984a4299326f1287ad206c21d8030511..831792153ce07e1cc6567d95e29f2b5c9a7b5ad1 100644 (file)
@@ -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.985 $
+#      $Date: 2022/03/20 00:10:41 $
 #
 # 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
@@ -4233,9 +4233,7 @@ mintty|Cygwin Terminal,
        setal=\E[5%p1%dm, use=xterm+256color,
        use=mintty+common,
 mintty-direct|Cygwin Terminal direct-color,
-       setal=\E[%?%p1%{8}%<%t5%p1%d%e58:2::%p1%{65536}%/%d:%p1
-             %{256}%/%{255}%&%d:%p1%{255}%&%d%;m,
-       use=xterm+direct, use=mintty+common,
+       use=kitty+setal, use=xterm+direct, use=mintty+common,
 mintty+common|shared capabilities for mintty,
        km@, npc,
        kcbt=\E[Z, kent=\EOM, rmm@, rmpch=\E[10m,
@@ -4659,6 +4657,7 @@ xterm-r5|xterm R5 version,
        sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
        smul=\E[4m, tbc=\E[3g, use=vt220+pcedit, use=vt100+enq,
        use=xterm+kbs,
+
 # Compatible with the R6 xterm
 # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
 # added khome/kend, hts based on the R6 xterm code - TD
@@ -4817,13 +4816,16 @@ xterm+nofkeys|building block for xterm fkey-variants,
        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 +5083,10 @@ xterm+r6f2|xterm with oldFunctionKeys and modifyFunctionKeys:2,
        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,
@@ -5806,6 +5812,30 @@ color_xterm|cx|cx100|color_xterm color terminal emulator for X,
        smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
        smul=\E[4m, use=ecma+color, use=vt220+keypad,
 
+# The IRAF source has a terminfo using "xterm-r5", but line-drawing does not
+# work in that case.  This entry uses xterm+acs, to work around that problem.
+#
+# Home/end keys do not work, due to a bug in the X Consortium xterm on which
+# this is based:
+#
+#      https://invisible-island.net/xterm/xterm.faq.html#bug_xterm_r6
+#
+# Comparing to the X11R5 source, xgterm has dynamic and ANSI colors (probably
+# not bce).  It interchanges mouse buttons 2/3 for menus.
+#
+# It also has a few features found in later versions of xterm:
+# - vi-button and dired-button,
+# - i18n stuff like X11R6.
+# - colorBD, colorUL
+# - scrollBarRight
+#
+# Debian provides a package for xgterm (and iraf).  Although the source for
+# xgterm implements the control-sequences for ANSI color, the packaged xgterm
+# 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,
+
 # 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
 # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
@@ -6024,8 +6054,11 @@ vte-2017|VTE 0.50.2,
 # 2018, respectively. Overline (Smol/Rmol) has been supported since December
 # 2017.
 vte-2018|VTE 0.51.2,
+       blink=\E[5m, enacs=\E(B\E)0,
+       sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;
+           8%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;,
        Rmol=\E[55m, Smol=\E[53m, Smulx=\E[4:%p1%dm,
-       use=vte-2017,
+       use=kitty+setal, use=vte-2017,
 
 vte|VTE aka GNOME Terminal,
        use=vte-2018,
@@ -7670,6 +7703,10 @@ kitty+common|KovId's TTY common properties,
        use=ecma+strikeout, use=ecma+italics,
        use=xterm+alt1049, use=att610+cvis, use=xterm+tmux,
 
+kitty+setal|set underline colors (nonstandard),
+       setal=\E[58:2::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1
+             %{255}%&%dm,
+
 ######## WAYLAND CLIENTS
 
 #### Foot
@@ -8068,7 +8105,7 @@ screen.xterm-xfree86|screen.xterm-new|screen customized for modern xterm,
        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
@@ -8228,9 +8265,54 @@ tmux-256color|tmux with 256 colors,
        use=xterm+256setaf, use=tmux,
 
 tmux-direct|tmux with direct-color indexing,
-       setal=\E[%?%p1%{8}%<%t5%p1%d%e58:2::%p1%{65536}%/%d:%p1
-             %{256}%/%{255}%&%d:%p1%{255}%&%d%;m,
-       use=xterm+direct, use=tmux,
+       use=kitty+setal, 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
 
@@ -27343,4 +27425,16 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 # 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
+#
+# 2022-03-19
+#      + add xgterm -TD
+#      + correct setal in mintty/tmux entries, add to vte-2018 (report by
+#        Robert Lange)
+#      + add blink to vte-2018 (report by Robert Lange)
+#
 ######## SHANTIH!  SHANTIH!  SHANTIH!