]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/terminfo.src
ncurses 6.3 - patch 20220312
[ncurses.git] / misc / terminfo.src
index c1047e43984a4299326f1287ad206c21d8030511..39b2db3d261ca917960998d76ce841a2e3519e19 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.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 @@ 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 +5084,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,
@@ -8068,7 +8075,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
@@ -8232,6 +8239,53 @@ tmux-direct|tmux with direct-color indexing,
              %{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 @@ 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
+#
 ######## SHANTIH!  SHANTIH!  SHANTIH!