]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/terminfo.src
ncurses 6.3 - patch 20220319
[ncurses.git] / misc / terminfo.src
index 52b0b72308e8077e66181958faa17c2414f17a75..831792153ce07e1cc6567d95e29f2b5c9a7b5ad1 100644 (file)
@@ -6,8 +6,8 @@
 # Report bugs and new terminal descriptions to
 #      bug-ncurses@gnu.org
 #
-#      $Revision: 1.970 $
-#      $Date: 2021/11/27 21:53:31 $
+#      $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,
@@ -7531,7 +7564,26 @@ alacritty+common|base fragment for alacritty,
 #      http://lists.gnu.org/archive/html/bug-ncurses/2018-09/msg00005.html
 #      https://github.com/kovidgoyal/kitty/issues/879
 #
-# Version 0.19.1
+# Version 0.21.2 (June 28, 2021)
+# changes since 0.19.1
+# Notes:
+#      Repeatable tests with tack and vttest assume a standard screensize --
+#      measured in characters.  However, kitty uses pixel-measurements and
+#      does not readily use characters.
+#      Resizing with twm shows only pixel-based hint rather than characters
+#      manual page states that it is possible to override initial window size,
+#      but configuration file has no effect on initial window size.
+#      The same problem with XFCE4, but editing the cached json file works
+#      for setting the window size (the "c" suffix for cells does not):
+#              {"window-size": [720, 440]}
+#      though the values depend upon the font in use.
+# vttest
+# tack
+#      flash works
+#      invisible text still does not work
+#      function/special key modifiers finally work
+#
+# Version 0.19.1 (October 6, 2020)
 # changes since 0.13.3:
 # vttest
 #      ISO-6429
@@ -7547,7 +7599,7 @@ alacritty+common|base fragment for alacritty,
 #      rs1 adds an empty string for resetting title- and other OSC-strings.
 #      italics work
 #
-# Version 0.13.3
+# Version 0.13.3 (January 19, 2019)
 # Notes:
 #      initial screensize 71x22
 #      does not respond to "resize -s"
@@ -7625,30 +7677,35 @@ kitty+common|KovId's TTY common properties,
        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
        flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
        ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
-       ind=\n, kbs=^?, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB,
-       kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\EOF, kf1=\EOP,
-       kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[1;2P,
-       kf14=\E[1;2Q, kf15=\E[1;2R, kf16=\E[1;2S, kf17=\E[15;2~,
-       kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~,
-       kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
-       kf24=\E[24;2~, kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R,
-       kf28=\E[1;5S, kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~,
-       kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~,
-       kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf4=\EOS,
-       kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
-       khome=\EOH, kich1=\E[2~, kind=\E[1;2B, knp=\E[6~,
-       kpp=\E[5~, kri=\E[1;2A, op=\E[39;49m, rc=\E8, rev=\E[7m,
-       ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l,
+       ind=\n, kBEG=\E[1;2E, kbeg=\EOE, kbs=^?, kcbt=\E[Z,
+       kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
+       kdch1=\E[3~, kend=\EOF, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
+       kf12=\E[24~, kf13=\E[1;2P, kf14=\E[1;2Q, kf15=\E[1;2R,
+       kf16=\E[1;2S, kf17=\E[15;2~, kf18=\E[17;2~,
+       kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~,
+       kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~,
+       kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R, kf28=\E[1;5S,
+       kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~,
+       kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~,
+       kf35=\E[23;5~, kf36=\E[24;5~, kf4=\EOS, kf5=\E[15~,
+       kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\EOH,
+       kich1=\E[2~, kind=\E[1;2B, knp=\E[6~, kpp=\E[5~,
+       kri=\E[1;2A, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
+       rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l,
        rmso=\E[27m, rmul=\E[24m, rs1=\E]\E\\\Ec, sc=\E7,
        sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;
            %?%p1%p3%|%t;7%;m,
        sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
        smkx=\E[?1h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
-       vpa=\E[%i%p1%dd, use=ansi+enq, use=ansi+rep,
-       use=xterm+sm+1006, use=ecma+index, use=xterm+sl-twm,
-       use=ecma+strikeout, use=xterm+pce2, use=xterm+pcc2,
-       use=ecma+italics, use=xterm+alt1049, use=att610+cvis,
-       use=xterm+tmux,
+       vpa=\E[%i%p1%dd, Smulx=\E[4:%p1%dm, use=ansi+enq,
+       use=ansi+rep, use=xterm+sm+1006, use=ecma+index,
+       use=xterm+pcfkeys, use=xterm+sl-twm,
+       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
 
@@ -8048,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
@@ -8208,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
 
@@ -27320,4 +27422,19 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #      + fix errata in description fields (report by Eric Lindblad) -TD
 #      + add x10term+sl, aixterm+sl, ncr260vp+sl, ncr260vp+vt, wyse+sl -TD
 #
+# 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!