]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/terminfo.src
ncurses 6.4 - patch 20231230
[ncurses.git] / misc / terminfo.src
index 9f9cb5450da9db80cf5d3908b9af15f87932be8d..fc14735ecb278e05c7a6c4f9018cb36e3d47e5da 100644 (file)
@@ -6,8 +6,8 @@
 # Report bugs and new terminal descriptions to
 #      bug-ncurses@gnu.org
 #
-#      $Revision: 1.1085 $
-#      $Date: 2023/12/16 13:48:44 $
+#      $Revision: 1.1092 $
+#      $Date: 2023/12/30 18:05:02 $
 #
 # 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
@@ -4632,6 +4632,78 @@ ms-vt100+|vt100+|windows XP VT100+ (sic),
 ms-vt-utf8|vt-utf8|UTF-8 flavor of VT100+,
        use=ms-vt100+,
 
+# VT-UTF-8 and VT100+ Protocols
+# https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-vuvp/969416c0-ccd6-4a75-a9b3-597d7713845b
+#
+# This Microsoft "protocol" adapted the aixterm 16-color feature from xterm's
+# documentation in 2015, as seen in successive revisions:
+#
+# 2013/07/22 has 8 colors
+# 2015/10/16 has 16 colors using SGR 90-97, 100-107 as well as SGR 24 and 27,
+#            adds "informative" reference to xterm's ctlseqs
+#
+# The cnorm/civis definitions added in 2015 are unrelated to any standard.
+ms-vt100-16color|VT-UTF-8 and VT100+,
+       civis=\E[?h, cnorm=\E[?l, rmso=\E[27m, rmul=\E[24m,
+       use=ibm+16color, use=ms-vt100+,
+
+# Based on
+# https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences
+# We use this scheme to map function keys
+#       terminfo        modifier        code    keys
+#       kf13-kf24       shift           2       F1 to F12
+#       kf25-kf36       alt             3       F1 to F12
+#       kf37-kf48       control         4       F1 to F12
+#       kf49-kf60       ctrl-alt        7       F1 to F12
+#
+# Unclear: smam and rmam implemented?
+# Unclear: rmkx, smkx, rmir, smir - irrelevant?
+#
+# TD:
+# +    According to tack, tbc and cbt fail.
+# +    The line-drawing (acsc) does not work in telnet or ssh.  I added the
+#      U8 extension to tell ncurses to use UTF-8 for line-drawing (when the
+#      locale uses UTF-8).  That won't work for telnet (which uses ASCII),
+#      but seems to work for OpenSSH's ssh.  I set the codepage to 65001,
+#      of course.
+# +    Function keys... do not work consistently in telnet and ssh.  With
+#      telnet, kf1-kf4 are \EOP to \EOS, and kf5-kf12 match the terminfo.
+#      But with ssh, it's entirely different (reminds me of rxvt).
+winconsole|Windows 10 new console,
+       am, km, mir, msgr, xenl, AX,
+       ncv@, U8#1,
+       acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxy
+            yzz~~,
+       bel=^G, blink@, cr=\r, ech=\E[%p1%dX, el1=\E[0K, ich1@, ind=\n,
+       invis@, is1=\E[!p, kdch1=\E[3~, kend=\E[4~, kf1=\E[11~,
+       kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~,
+       kf14=\E[12;2~, kf15=\E[13;2~, kf16=\E[14;2~,
+       kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~,
+       kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
+       kf23=\E[24;2~, kf24=\E[25;2~, kf25=\E[11;3~,
+       kf26=\E[12;3~, kf27=\E[13;3~, kf28=\E[14;3~,
+       kf29=\E[15;3~, kf3=\E[13~, kf30=\E[17;3~, kf31=\E[18;3~,
+       kf32=\E[19;3~, kf33=\E[20;3~, kf34=\E[21;3~,
+       kf35=\E[24;3~, kf36=\E[25;3~, kf37=\E[11;4~,
+       kf38=\E[12;4~, kf39=\E[13;4~, kf4=\E[14~, kf40=\E[14;4~,
+       kf41=\E[15;4~, kf42=\E[17;4~, kf43=\E[18;4~,
+       kf44=\E[19;4~, kf45=\E[20;4~, kf46=\E[21;4~,
+       kf47=\E[24;4~, kf48=\E[25;4~, kf49=\E[11;7~, kf5=\E[15~,
+       kf50=\E[12;7~, kf51=\E[13;7~, kf52=\E[14;7~,
+       kf53=\E[15;7~, kf54=\E[17;7~, kf55=\E[18;7~,
+       kf56=\E[19;7~, kf57=\E[20;7~, kf58=\E[21;7~,
+       kf59=\E[24;7~, kf6=\E[17~, kf60=\E[25;7~, kf7=\E[18~,
+       kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
+       knp=\E[6~, kpp=\E[5~, nel=\r\n, ri=\E[T, rmacs=\E(B, rmir@,
+       rmpch@, rs1=\E[!p,
+       sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t
+           \E(0%e\E(B%;,
+       sgr0=\E[0m\E(B, smacs=\E(0, smir@, smpch@, use=ansi+arrows,
+       use=ansi+csr, use=ansi+cup, use=ansi+erase, use=ansi+idc,
+       use=ansi+idl, use=ecma+index, use=ansi+inittabs,
+       use=ansi+local, use=ecma+sgr, use=ecma+color,
+       use=vt220+cvis,
+
 # Windows Terminal (Preview)
 # https://github.com/microsoft/terminal
 #
@@ -6035,6 +6107,23 @@ xterm-pcolor|xterm with color used for highlights and status line,
            %t;7;31%;%?%p3%t;7;34%;m,
        smso=\E[7;31m, smul=\E[4;42m, use=xterm+sl, use=xterm-r6,
 
+# This was mentioned
+#      http://unix.stackexchange.com/questions/119/colors-in-man-pages
+# pointing to
+#      http://nion.modprobe.de/blog/archives/569-colored-manpages.html
+#      (blog posting by Nico Golde, June 24 2007)
+# archive:
+#      https://web-beta.archive.org/web/20070921042430/http://nion.modprobe.de/mostlike.txt
+# The comment hints where it started, but there are differences:
+#      Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm-pcolor
+mostlike|manpages with color looking like most,
+       OTbs@,
+       bold=\E[1m\E[31m,
+       is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H,
+       meml@, memu@, rev=\E[7m\E[34m,
+       rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sgr@,
+       smso=\E[1;30m\E[47m, smul=\E[32m, TS@, use=xterm-pcolor,
+
 # This describes the capabilities of color_xterm, an xterm variant from
 # before ECMA-48 color support was folded into the main-line xterm release.
 # This entry is straight from color_xterm's maintainer.
@@ -7806,6 +7895,13 @@ alacritty+common|base fragment for alacritty,
        use=xterm+sl-twm, use=ecma+italics, use=xterm+pce2,
        use=xterm+pcc2, use=xterm+pcf2, use=bracketed+paste,
 
+# https://github.com/raphamorim/rio
+# derived from alacritty
+rio|fork of alacritty,
+       use=alacritty,
+rio-direct|fork of alacritty,
+       use=alacritty-direct,
+
 #### Kitty
 # https://github.com/kovidgoyal/kitty
 # Project started in 2016/10 (see alacritty), but is a Python script rather
@@ -8069,6 +8165,149 @@ domterm|DomTerm web client,
        use=xterm+pcfkeys, use=xterm-basic,
        use=bracketed+paste,
 
+######## Miscellaneous
+
+#### WezTerm
+# https://wezfurlong.org/wezterm/
+# https://github.com/wez/wezterm
+#
+# which says:
+# "wezterm is a terminal emulator with support for modern features
+#  such as fonts with ligatures, hyperlinks, tabs and multiple windows."
+#
+# wezterm-20230712_072601_f4abf8fd-1.fedora38.x86_64
+# tested with MacOS and Fedora 38/39.
+#
+# General:
+# + written in Rust.
+# + initial screensize is odd, i.e., 81x24
+#   provides no visual feedback on resize
+#   ignores "resize -s"
+#   manual resize and then running resize got off-by-one adjustment
+# + leaves debris (unerased cells) when switching between normal/alternate
+#   screens.
+# + sets TERM=xterm-256color
+# tack:
+# + misplaced message in "am" screen
+# + fails xenl (should be false)
+# + cvvis is same as cnorm, block
+# + has blink and dim
+# + in bce test, blue isn't really blue but some pale purple
+# + modified keys mostly work, but its tab control interferes with some
+# + rmm/smm don't work (always uses escape-prefix)
+# wraptest:
+# + poor (doesn't copy anyone, most of the results are wrong)
+# vttest:
+# + DA is VT5xx with sixel, selective erase, user windows, color
+# + DA2 is VT220 version 277
+# + only the VT100 character set works, contrary to DA/DA2.
+# + no NRCS, either
+# + double-sized character work, with some debris
+# + doesn't switch between 80/132 columns.
+# + numeric keypad ANSI application mode escapes don't work.
+# + numeric keypad ANSI mode misses "0", ".", ","
+# + uses PC-style editing keypad \E[H and \E[F for Find and Select
+# + no VT52
+# + DECSED selective erase doesn't work
+# + SRM doesn't work
+# + 8-bit controls don't work
+# + DECNCSM doesn't work
+# + most DECRQSS do not work (DECSCL, DECSTBM, DECSLRM respond)
+# + DECRQM/DECRPM don't work (most reply permanently reset)
+# + DECLRMM responds to DECRPM, but VT420 rectangle tests do not work.
+#   Some of the left/right margin tests work with the cursor-movement screen,
+#   but DECFI/DECBI do not work.  The other cursor-movement tests are buggy.
+# + implements ECMA-48 cursor movement, but not SL/SR or protected area
+# + implements xterm normal, any-event and button-event mouse, none of the rest
+# + reports window size, none of the other window reports
+wezterm|Wez's Terminal Emulator,
+       km@, xenl@,
+       cvvis@, rmkx=\E[?1l, rmm@, smkx=\E[?1h, smm@,
+       use=xterm-256color,
+
+#### Contour
+# https://github.com/contour-terminal/contour
+#
+# "Modern C++ Terminal Emulator"
+# Contour is a modern and actually fast, modal, virtual terminal emulator,
+# for everyday use. It is aiming for power users with a modern feature mindset.
+#
+# That is three occurrences of "modern" too many -TD
+#
+# MacOS
+# - cannot run, because the package is not signed.
+#
+# Fedora rawhide
+# contour-terminal-0.3.12.262-6.fc39.x86_64
+# - dumps core, cannot test
+#
+# Fedora 39
+# contour-terminal-0.4.0.6245-1.fc38.x86_64
+# - starts but doesn't display
+#
+# Fedora 38
+# contour-terminal-0.4.0.6245-1.fc38.x86_64
+# - starts but doesn't display
+# contour-terminal-0.3.12.262-1.fc38.x86_64
+# + testable (see below)
+# + initial screensize 62x23, no visual feedback on resize, no "resize -s"
+#
+# Sets TERM=contour (which is preferable to xterm).
+#
+# tack:
+# + cvvis is same as cnorm, "|"
+# + sitm/ritm don't work
+# + rmm/smm don't work (always uses escape, but terminfo defines km)
+# + initp interchanges red/blue (bug in tack?)
+# + modified F1-F4 are wrong, sending SS3 with modifier numbers
+# + shifted editing-keypad doesn't send anything
+# + meta key doesn't work
+# + status-line works (based on xterm, including window-resizing)
+# + dots don't line up for home test
+#
+# wraptest:
+# + poor 7/25 differences from xterm (perhaps copying iTerm2)
+#
+# vttest:
+# + hangs in menu 1, etc., when it tries to resize
+#
+# infocmp vs xterm-256color
+# + missing XM/xm
+# + rmcup/smcup doesn't use title-stack (but is implemented)
+# + doesn't use SGR mouse (but is implemented)
+# + sgr doesn't define dim, but dim capability is in terminfo (implemented)
+#
+# Developer's terminfo (compiled-in) uses some extensions.
+contour|contour-latest|Contour Terminal Emulator,
+       am, bce, eslok, hs, km, mc5i, mir, msgr, npc, xenl, xvpa,
+       cols#80, it#8, lines#24, pairs#0x7fff,
+       acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+       bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=\r,
+       cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\n,
+       cuf=\E[%p1%dC, cuf1=\E[C, cuu=\E[%p1%dA, cuu1=\E[A,
+       dim=\E[2m, dsl=\E[$~, ech=\E[%p1%dX, el1=\E[1K,
+       flash=\E[?5h$<100/>\E[?5l, fsl=\E[$}, hpa=\E[%i%p1%dG,
+       ht=^I, hts=\EH, ind=\n, indn=\E[%p1%dS, invis=\E[8m, ka1=,
+       ka3=, kbs=^?, kc1=, kc3=, kcbt=\E[Z, kend=\EOF, khlp=,
+       kmous=\E[M, kund=, oc=\E]104\E\\, op=\E[39;49m, rev=\E[7m,
+       ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l,
+       rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m, rs1=\E]\E\\\Ec,
+       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, smacs=\E(0, smam=\E[?7h, smkx=\E[?1h,
+       smso=\E[7m, smul=\E[4m, tbc=\E[3g,
+       tsl=\E[2$~\E[1$}\E[H\E[2J, vpa=\E[%i%p1%dd,
+       Cs=\E]12;%p1%s\E\\, E3=\E[3J, Rmol=\E[55m, Se=\E[ q,
+       Smol=\E[53m, Smulx=\E[4:%p1%dm, Ss=\E[%p1%d q,
+       use=ansi+apparrows, use=ansi+cup, use=ansi+csr,
+       use=ansi+erase, use=ansi+idc, use=ansi+idl, use=ansi+rep,
+       use=att610+cvis, use=ecma+italics, use=ecma+strikeout,
+       use=xterm+256color, use=xterm+alt1049, use=xterm+pcc2,
+       use=xterm+pce2, use=xterm+pcf2,
+
+contour-direct|Contour terminal with direct colors,
+       use=xterm+direct, use=contour,
+
 ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
 #
 
@@ -27781,4 +28020,10 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 # 2023-12-16
 #      + used "infocmp -u" to help trim redundant capabilities -TD
 #
+# 2023-12-30
+#      + add ms-vt100-16color, winconsole -TD
+#      + add rio, rio-direct -TD
+#      + add mostlike -TD
+#      + add wezterm, contour -TD
+#
 ######## SHANTIH!  SHANTIH!  SHANTIH!