]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/terminfo.src
ncurses 5.9 - patch 20140322
[ncurses.git] / misc / terminfo.src
index 8cdda291fd58afa4eac5330e4793b52a155c3388..c67ccae1ffd3544ad7a2f0ace9dac8ffc61f0f87 100644 (file)
@@ -6,8 +6,8 @@
 # Report bugs and new terminal descriptions to
 #      bug-ncurses@gnu.org
 #
-#      $Revision: 1.477 $
-#      $Date: 2013/05/11 20:03:48 $
+#      $Revision: 1.486 $
+#      $Date: 2014/03/22 18:26:51 $
 #
 # 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
@@ -664,7 +664,7 @@ ansi.sys|ANSI.SYS 3.1 and later versions,
        kf42=\0m, kf43=\0n, kf44=\0o, kf45=\0p, kf46=\0q,
        kf47=\0\213, kf48=\0\214, kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B,
        kf9=\0C, khome=\0G, kich1=\0R, knp=\0Q, kpp=\0I,
-       pfkey=\E[0;%?%p1%{11}%<%t%'\:'%e%?%p1%{13}%<%t%'z'%e%?%p1%{23}%<%t%'G'%e%?%p1%{25}%<%t%'p'%e%?%p1%'#'%<%t%'E'%e%?%p1%'%'%<%t%'f'%e%?%p1%'/'%<%t%'C'%e%{92}%;%;%;%;%;%;%;%p1%+%d;%p2"%s"p,
+       pfkey=\E[0;%?%p1%{11}%<%t%'\:'%e%p1%{13}%<%t%'z'%e%p1%{23}%<%t%'G'%e%p1%{25}%<%t%'p'%e%p1%'#'%<%t%'E'%e%p1%'%'%<%t%'f'%e%p1%'/'%<%t%'C'%e%{92}%;%p1%+%d;%p2"%s"p,
        use=ansi.sys-old,
 
 #
@@ -1076,9 +1076,7 @@ nsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-char
 
 # compare with xterm+sl-twm
 nsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support,
-       hs,
-       wsl#50,
-       dsl=\E]2;\007, fsl=^G, tsl=\E]2;,
+       wsl#50, use=xterm+sl-twm,
 
 nsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors),
        op=\E[0m, use=ibm+16color,
@@ -1210,6 +1208,21 @@ nsterm-16color|AppKit Terminal.app v240.2+ with Mac OS X version 10.5,
 #   xterm-256color.  However, it adds "nsterm", so it is possible to use the
 #   nsterm entry from this file to override the MacPorts (20110404) or
 #   system (20081102) copy of this file.
+# + In OS X 10.8 (Mountain Lion) the TERM which can be set in the preferences
+#   dialog defaults to xterm-256color.  Alternative selections are ansi,
+#   dtterm, rxvt, vt52, vt100, vt102, xterm and xterm-16color.  However,
+#   the menu says "Declare terminal as" without promising to actually emulate
+#   the corresponding terminals.  Indeed, changing TERM does not affect the
+#   emulation itself.  This means that
+#   + the function-keys do not match for dtterm for kf1-kf4 as well as
+#     khome/kend
+#   + the color model is the same for each setting of TERM (does not match
+#     ansi or dtterm).
+#   + the shift/control/meta key modifiers from rxvt and xterm variants are not
+#     recognised except for a few special cases, i.e., kRIT5 and kLFT5.
+#   + the vt52 emulation does not give a usable shell because screen-clearing
+#     does not work as expected.
+#   + selecting "xterm" or "xterm-16color" sets TERM to "xterm-256color".
 nsterm-bce|AppKit Terminal.app v71+/v100.1.8+ with Mac OS X version 10.3/10.4 (bce),
        bce, use=nsterm-16color,
 
@@ -1638,7 +1651,7 @@ linux|linux console,
 #      https://bugzilla.novell.com/show_bug.cgi?id=418613
 # apparently from
 #      http://lkml.org/lkml/2008/4/26/305
-#      http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/87f98338f0d636bb/aa96e8b86cee0d1e?lnk=st&q=#aa96e8b86cee0d1e
+#      http://lkml.org/lkml/2008/10/3/66
 linux2.6.26|linux console w/o bce,
        bce@, use=linux2.6,
 
@@ -1792,7 +1805,7 @@ mach-gnu-color|Mach Console with ANSI color,
 #
 # Reading the source, RIS resets cnorm, but not xmous.
 hurd|The GNU Hurd console server,
-       am, bce, bw, eo, km, mir, msgr, xon,
+       am, bce, bw, eo, km, mir, msgr, xenl, xon,
        colors#8, it#8, ncv#18, pairs#64,
        acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
@@ -2359,6 +2372,43 @@ wsvt25|NetBSD wscons in 25 line DEC VT220 mode,
 wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,
        km, use=wsvt25,
 
+# NetBSD 6.x still uses wscons, with minor changes (2014/02/22) -TD
+#
+# TERM is by default vt100 for the console, wsvt25 for other ttys.
+# Initial testing set TERM=xterm, based on comments by developers, found too
+# many differences to continue in that path.  However, test-results may be
+# useful to people curious about compatibility with xterm.
+#
+# Testing with tack:
+# -----------------
+# Failed: cbt, bel, flash, cvvis, smul (color), blink, invis
+# There is color-bleeding in the color-pairs screen.
+# Attributes do not work with color
+# Failed: vpa/hpa
+# Failed: kf1-kf4, kf13-kf48, khome, kend
+#      (effectively xterm-r6 for function-keys)
+# None of the function or cursor key-modifiers are encoded.
+# Console hangs in the smm/rmm test if TERM=xterm, does not show test
+#
+# Testing with vttest:
+# -------------------
+# Identifies as vt220 with selective erase
+#      (however, selective erase refers to DECSCA, SPA)
+# Does not implement vt52
+# Uses spaces to simulate double-size characters
+# Does not support 8-bit controls
+# Does not support VT220 reports
+# Does not support send/receive mode
+# Supports ECH (like rxvt)
+# Does not support DECSCA
+# Does not support any of the ISO-6429 cursor-movement
+# Does not support any of the ISO-6429 miscellaneous tests
+#      (SL/SR also leave unexpected char on screen too)
+# Background does not change in menu 11.6.9 (SGR 22-27)
+# None of the xterm special features tests work
+netbsd6|NetBSD wscons in 25 line DEC VT100 mode,
+       kbs=\177, use=wsvt25,
+
 # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
 # DECstation/pmax.
 rcons|BSD rasterconsole,
@@ -2510,6 +2560,52 @@ cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines),
 cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
        lines#60, use=cons25l1-m,
 
+# Starting with FreeBSD 8, an alternative configuration for syscons is provided,
+# which is intended to be xterm-compatible.  See for example
+#      http://svnweb.freebsd.org/base/stable/8/sys/dev/syscons/
+# in particular scterm-teken.c
+#
+# For FreeBSD 9 and 10:
+# --------------------
+# The /etc/ttys entries for console and other ttys are all configured to set
+# TERM=xterm.
+#
+# Testing with tack:
+# There is no VT100 line-drawing (uses +'s and -'s)
+# Shifted f1-f12 give cons25 codes, rather than xterm function-keys
+#
+# Testing with vttest:
+# Menu 2 diamonds don't work, blink ditto, light background ditto
+# The terminal identifies itself as VT100 with AVO
+# There is no VT52 support
+# There is no doublesize character support
+# The terminal supports ECH (like rxvt)
+# The terminal does not support send/receive mode
+# The terminal supports all of the ISO-6429 cursor-movement
+# The terminal supports some of the ISO-6429 miscellaneous tests
+#      (SL/SR also leave unexpected char on screen too)
+#
+# Considering cons25 as a base, the line-drawing mostly works, but is missing
+# the cells which happen to have ASCII control-character values:
+#      -    ^X    arrow pointing up
+#      .    ^Y    arrow pointing down
+#      i    ^Y    lantern
+#      `    ^D    diamond
+#
+# Those are removed from this entry's acsc string to avoid confusion.
+# The resulting description provides correct line-drawing and function-keys -TD
+teken|syscons with teken,
+       bw@, mir, xenl,
+       acsc=0\333a\260f\370g\361h\261j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
+       civis=\E[?25l, cnorm=\E[?25h, cvvis@, hpa=\E[%i%p1%dG,
+       hts=\EH, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
+       kdch1=\E[3~, kend=\E[F, kent=^M, kf1=\EOP, kf10=\E[21~,
+       kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
+       kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
+       khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmir=\E[4l,
+       smir=\E[4h, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
+       u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, use=cons25,
+
 #### 386BSD and BSD/OS Consoles
 #
 
@@ -4051,11 +4147,16 @@ xterm-88color|xterm with 88 colors,
 # These two are used to demonstrate the any-event mouse support, i.e., by
 # using an extended name "XM" which tells ncurses to put the terminal into
 # a special mode when initializing the xterm mouse.
-xterm-1002|testing xterm-mouse,
+xterm+sm+1002|testing xterm-mouse,
        XM=\E[?1002%?%p1%{1}%=%th%el%;, use=xterm-new,
-xterm-1003|testing xterm-mouse,
+xterm+sm+1003|testing xterm-mouse,
        XM=\E[?1003%?%p1%{1}%=%th%el%;, use=xterm-new,
 
+xterm-1002|testing xterm-mouse,
+       use=xterm+sm+1002, use=xterm-new,
+xterm-1003|testing xterm-mouse,
+       use=xterm+sm+1003, use=xterm-new,
+
 # This chunk is based on suggestions by Ailin Nemui and Nicholas Marriott, who
 # asked for some of xterm's advanced features to be added to its terminfo
 # entry.  It defines extended capabilities not found in standard terminfo or
@@ -4202,12 +4303,15 @@ xterm-utf8|xterm with no VT100 line-drawing in UTF-8 mode,
 #    window managers such as twm (and possibly window managers descended from
 #    it such as tvtwm, ctwm, and vtwm) track windows by icon-name. Thus, you
 #    don't want to mess with icon-name when using those window managers.
+#
+# The extension "TS" is preferable, because it does not accept a parameter.
+# However, if you are using a non-extended terminfo, "TS" is not visible.
 xterm+sl|access X title line and icon name,
        hs,
-       dsl=\E]0;\007, fsl=^G, tsl=\E]0;,
+       dsl=\E]0;\007, fsl=^G, tsl=\E]0;, TS=\E]0;,
 xterm+sl-twm|access X title line (pacify twm-descended window managers),
        hs,
-       dsl=\E]2;\007, fsl=^G, tsl=\E]2;,
+       dsl=\E]2;\007, fsl=^G, tsl=\E]2;, TS=\E]2;,
 
 # In contrast, this block can be used for a DEC vt320 and up.  There are two
 # controls used.
@@ -4648,6 +4752,19 @@ konsole-256color|KDE console window with xterm 256-colors,
        initc@, use=xterm+256color, use=konsole,
 
 #### MLTERM
+# http://mlterm.sourceforge.net/
+
+mlterm|multi lingual terminal emulator,
+       use=mlterm,
+
+# Tested mlterm 3.2.2:
+# mlterm 3.x has made changes, but they are not reflected in the included
+# mlterm.ti; this entry is based on testing with tack and vttest -TD
+mlterm3|multi lingual terminal emulator,
+       kf1=\E[11~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
+       use=xterm+app, use=xterm+pcf0, use=xterm+pcc2,
+       use=xterm+pce2, use=mlterm2,
+
 # This is mlterm 2.9.3's mlterm.ti, with some additions/corrections -TD
 #
 # It is nominally a vt102 emulator, with features borrowed from rxvt and
@@ -4667,7 +4784,7 @@ konsole-256color|KDE console window with xterm 256-colors,
 #      control/alt             kf1 to kf12     \E[11;7~ to \E[24;7~
 #      control/shift/alt       kf1 to kf12     \E[11;8~ to \E[24;8~
 #
-mlterm|multi lingual terminal emulator,
+mlterm2|multi lingual terminal emulator,
        am, eslok, km, mc5i, mir, msgr, npc, xenl, XT,
        colors#8, cols#80, it#8, lines#24, pairs#64,
        acsc=00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
@@ -4711,7 +4828,7 @@ mlterm+pcfkeys|fragment for PC-style fkeys,
        kUP4=\EO1;4A, kUP5=\EO1;5A, kUP6=\EO1;6A, kUP7=\EO1;7A,
 
 mlterm-256color|mlterm 3.0 with xterm 256-colors,
-       use=xterm+256color, use=rxvt,
+       use=xterm+256color, use=mlterm,
 
 #### RXVT
 # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
@@ -5312,10 +5429,10 @@ terminator|Terminator no line wrap,
        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
-       dl=\E[%p1%dM, dl1=\E[M, dsl=\E]2;\007, ed=\E[J, el=\E[K,
-       el1=\E[1K, enacs=\E(B\E)0, flash=^G, fsl=^G, home=\E[H,
-       hpa=\E[%i%p1%dG, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L,
-       ind=^J, is1=\E[?47l\E=\E[?1l,
+       dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
+       enacs=\E(B\E)0, flash=^G, home=\E[H, hpa=\E[%i%p1%dG,
+       ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
+       is1=\E[?47l\E=\E[?1l,
        is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
        kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
@@ -5331,8 +5448,68 @@ terminator|Terminator no line wrap,
        setaf=\E[38;5;%p1%dm,
        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
        sgr0=\E[m\E(B, smacs=\E(0, smcup=\E7\E[?47h, smir=\E[4h,
-       smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]2;%p1,
-       vpa=\E[%i%p1%dd,
+       smso=\E[7m, smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd,
+       use=xterm+sl-twm,
+
+#### TERMINOLOGY
+# http://enlightenment.org
+#
+# Tested terminology-0.3.0, using tack and vttest.  This is not a vt100
+# emulator, nor is it compatible with xterm, but it uses a few features from
+# both -TD
+#
+# General comments:
+#      cursor does not fill on focus
+#      there are pervasive problems with clearing/erasing parts of the screen
+#      resizing the window causes it to stop listening to the keyboard
+# tack -
+#      doesn't understand vt100 CPR needed for resize
+#      no CBT
+#      no cvvis
+#      has invis
+#      no blink
+#      uses bce model for colors, but (see below) fails the vttest screens
+#      has partial support for 256color feature.
+#      tack cursor-keys:
+#                      ctrl+shift (ignored)
+#              2       shift
+#                      shift-alt modifier -> shift (2)
+#              3       alt
+#              4
+#              5       ctrl
+#      tack modifiers do not work for fkeys
+#      ctrl + khome/kend works - none of the other modifiers do
+# vttest -
+#      spits lots of messages from termptyesc.c especially in vttest.
+#      no 132-column mode
+#      fails menu 1, 2 (definitely not vt100-compatible)
+#      primary and
+#      secondary report says (perhaps... vt420): \E[>41;285;0c
+#      CHA, HPR, VPA, CNL, CPL work
+#      BCE with ED/EL - fail
+#      BCE with ECH/indexing - fail
+#      SD/SU work
+#      unlike teken, background light/dark works
+#      can set title
+#      X10 and Normal mouse work
+#      Any-event mouse works
+#      Mouse button-event works
+terminology|EFL-based terminal emulator,
+       ccc@, mc5i@, xon@,
+       blink@, ed@, el@, el1@, initc@, invis=\E[8m, kLFT=\E[1;2D,
+       kRIT=\E[1;2C, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
+       kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
+       kind=\E[1;2B, kri=\E[1;2A,
+       sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;$<2>,
+       vpa=\E[%i%p1%dd, kDC3=\E[3;3~, kDC4=\E[3;4~,
+       kDC5=\E[3;5~, kDC6=\E[3;6~, kDC7=\E[3;7~, kDN=\E[1;2B,
+       kDN3=\E[1;3B, kDN4=\E[1;4B, kDN5=\E[1;5B, kDN6=\E[1;6B,
+       kDN7=\E[1;7B, kEND5=\E[1;5F, kHOM5=\E[1;5H,
+       kLFT3=\E[1;3D, kLFT4=\E[1;4D, kLFT5=\E[1;5D,
+       kLFT6=\E[1;6D, kLFT7=\E[1;7D, kRIT3=\E[1;3C,
+       kRIT4=\E[1;4C, kRIT5=\E[1;5C, kRIT6=\E[1;6C,
+       kRIT7=\E[1;7C, kUP=\E[1;2A, use=vt100,
+       use=xterm+256color,
 
 ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
 #
@@ -21480,6 +21657,8 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 # Ss is a string capability with one numeric parameter.  It is used to set the
 #    cursor style as described by the DECSCUSR function to a block or
 #    underline.
+# TS is a string capability which acts like "tsl", but uses no parameter and
+#    goes to the first column of the "status line".
 # XM is a string capability which overrides ncurses's built-in string which
 #    enables xterm mouse mode.
 #
@@ -23000,4 +23179,29 @@ v3220|LANPAR Vision II model 3220/3221/3222,
 #        plausible "ansi consoles" -TD
 #      * additional cleanup of table-of-contents by reordering -TD
 #
+# 2013-06-07
+#      * added note to clarify Terminal.app's non-emulation of the various
+#        terminal types listed in the preferences dialog -TD
+#
+# 2013-11-02
+#      * use TS extension to describe xterm's title-escapes -TD
+#      * modify terminator and nsterm-s to use xterm+sl-twm building block -TD
+#      * update hurd.ti, add xenl to reflect 2011-03-06 change in
+#        http://git.savannah.gnu.org/cgit/hurd/hurd.git/log/console/display.c
+#        (Debian #727119).
+#      * simplify pfkey expression in ansi.sys -TD
+#
+# 2013-11-10
+#      * split-out building blocks xterm+sm+1002 and xterm+sm+1003 -TD
+#
+# 2014-02-22
+#      * updated notes for wsvt25 based on tack and vttest -TD
+#      * add teken entry to show actual properties of FreeBSD's "xterm"
+#        console -TD
+#
+# 2014-03-22
+#      * add terminology entry -TD
+#      * add mlterm3 entry, use that as "mlterm" -TD
+#      * inherit mlterm-256color from mlterm -TD
+#
 ######## SHANTIH!  SHANTIH!  SHANTIH!