# Report bugs and new terminal descriptions to
# bug-ncurses@gnu.org
#
-# $Revision: 1.386 $
-# $Date: 2011/06/11 18:16:55 $
+# $Revision: 1.392 $
+# $Date: 2011/07/16 20:24:43 $
#
# 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
# The 2.2.x kernels add a private mode that sets the cursor type; use that to
# get a block cursor for cvvis.
# reported by Frank Heckenbach <frank@g-n-u.de>.
-linux|linux console,
+linux2.2|linux 2.2.x console,
civis=\E[?25l\E[?1c, cnorm=\E[?25h\E[?0c,
cvvis=\E[?25h\E[?8c, use=linux-c-nc,
+# Linux 2.6.x has a fix for SI/SO to work with UTF-8 encoding added here:
+# http://lkml.indiana.edu/hypermail/linux/kernel/0602.2/0868.html
+# Using SI/SO has the drawback that it confuses screen. SCS would work.
+# However, SCS is buggy (see comment in Debian #515609) -TD
+linux2.6|linux 2.6.x console,
+ rmacs=^O,
+ sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
+ sgr0=\E[m\017, smacs=^N, use=linux2.2,
+
+# The 3.0 kernel adds support for clearing scrollback buffer (capability E3).
+linux3.0|linux 3.0 kernels,
+ E3=\E[3;J, use=linux2.6,
+
+linux|linux console,
+ use=linux3.0,
+
# Subject: linux 2.6.26 vt back_color_erase
# Changes to the Linux console driver broke bce model as reported in
# https://bugzilla.novell.com/show_bug.cgi?id=418613
# 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
linux2.6.26|linux console w/o bce,
- bce@, use=linux,
+ bce@, use=linux2.6,
# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
linux-nic|linux with ich/ich1 suppressed for non-curses programs,
# This version reflects the current xterm features.
xterm-new|modern xterm terminal emulator,
npc,
- indn=\E[%p1%dS, kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H,
- kIC=\E[2;2~, kNXT=\E[6;2~, kPRV=\E[5;2~, kb2=\EOE,
- kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
- kend=\EOF, kent=\EOM, khome=\EOH, kich1=\E[2~, kmous=\E[M,
- knp=\E[6~, kpp=\E[5~, rin=\E[%p1%dT, use=xterm+pcfkeys,
+ indn=\E[%p1%dS, kb2=\EOE, kcbt=\E[Z, kent=\EOM,
+ rin=\E[%p1%dT, use=xterm+pcfkeys, use=xterm+tmux,
use=xterm-basic,
#
# This fragment describes as much of XFree86 xterm's "pc-style" function
xterm-1003|testing xterm-mouse,
XM=\E[?1003%?%p1%{1}%=%th%el%;, 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
+# termcap. These are useful in tmux, for instance, hence the name.
+#
+# One caveat in adding extended capabilities in ncurses is that if the names
+# are longer than two characters, then they will not be visible through the
+# termcap interface.
+#
+# Ms modifies the selection/clipboard. Its parameters are
+# p1 = the storage unit (clipboard, selection or cut buffer)
+# p2 = the base64-encoded clipboard content.
+#
+# Ss is used to set the cursor style as described by the DECSCUSR
+# function to a block or underline.
+# Se resets the cursor style to the terminal power-on default.
+#
+# Cs and Ce set and reset the cursor colour.
+xterm+tmux|advanced xterm features used in tmux,
+ Cr=\E]112\007, Cs=\E]12;%p1%s\007,
+ Ms=\E]52;%p1%s;%p2%s\007, Se=\E[2 q, Ss=\E[%p1%d q,
+
# This is another variant, for XFree86 4.0 xterm (T.Dickey)
# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
# To use it, your decTerminalID resource must be set to 200 or above.
ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H,
kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\r\ED$<5/>,
- rc=\E8, rev=\E[7m$<2/>, rf=/usr/share/lib/tabset/vt100,
+ rc=\E8, rev=\E[7m$<2/>, rf=/usr/share/tabset/vt100,
ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>,
# :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
# :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
# :HL=^AP\r:SP=\E[i:\
-# :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
+# :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:
altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2,
altos4|alt4|altos-4|altos IV,
# * Replaced HP entries up to hpsub with purpose-built ones.
# * Blank rmir/smir/rmdc/smdc capabilities removed.
# * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
-# 9.4.8 (Fri Apr 7 09:36:34 EDT 1995):
+# 9.4.8 (Fri Apr 7 09:36:34 EDT 199):
# * Replaced the Ann Arbor entries with SCO's, the init strings are
# more efficient (but the entries otherwise identical).
# * Added dg211 from Shuford archive.
# * add screen.rxvt -TD
#
# 2008-04-28
-# * add screen+fkeys (prompted by Debian # 478094) -TD
+# * add screen+fkeys (prompted by Debian #478094) -TD
#
# 2008-06-28
# * add screen.mlterm -TD
# * add xterm-utf8 as a demo of the U8 feature -TD
#
# 2011-02-20
-# * add cons25-debian entry (Brian M Carlson, Debina #607662).
+# * add cons25-debian entry (Brian M Carlson, Debian #607662).
#
# 2011-06-11
# * update minix entry to minix 3.2 (Thomas Cort).
#
+# 2011-07-09
+# * fix inconsistent tabset path in pcmw (Todd C. Miller).
+# * remove a backslash which continued comment, obscuring altos3
+# definition with OpenBSD toolset (Nicholas Marriott).
+#
+# 2011-07-16
+# * add/use xterm+tmux chunk from xterm #271 -TD
+# * resync xterm-new entry from xterm #271 -TD
+# * add E3 extended capability to linux-basic (Miroslav Lichvar)
+# * add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
+# * add SI/SO change to linux2.6 entry (Debian #515609) -TD
+#
######## SHANTIH! SHANTIH! SHANTIH!