Fix xterm termcap entry to support km and new xterms

This commit is contained in:
Paul Traina 1996-10-17 17:47:28 +00:00
parent 28fbb50335
commit babe800b42

View File

@ -30,7 +30,7 @@
# SUCH DAMAGE.
#
# @(#)termcap.src 8.2 (Berkeley) 11/17/93
# $Id: termcap.src,v 1.60 1996/10/05 18:37:31 wosch Exp $
# $Id: termcap.src,v 1.61 1996/10/06 07:50:08 ache Exp $
# Termcap source file
# John Kunze, Berkeley
@ -2505,18 +2505,63 @@ vt200-ws|vt220-ws|dec-vt220-ws|dec vt200 series; 132 col.; smooth scroll:\
:co#132:vt@:tc=vt200:
vt200-em|vt220-em|dec-vt200-em|dec-vt220-em|vt200 emulation (without semigraphics ):\
:as@:ae@:ac@:tc=vt200:
# @(#)termcap X10/6.6 11/7/86, minus alternate screen, plus :cs
xterm|vs100|xterm terminal emulator (X window system):\
:li#65:\
:hs:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:\
:is=\E>\E[?1;3;4;5l\E[?7;8h\E[1;65r\E[65;1H:\
:rs=\E>\E[?1;3;4;5l\E[?7;8h:\
:tc=vt220:
xterms|vs100s|xterm terminal emulator (small)(X window system):\
:is=\E>\E[?1;3;4;5l\E[?7;8h\E[1;24r\E[24;1H:\
:li#24:tc=xterm:
xterm-color|xterm-co|xterm with ANSI colors:\
:pa#64:Co#8:Sf=\E[3%dm:Sb=\E[4%dm:op=\E[m:tc=xterm:
# $XConsortium: termcap,v 1.13 94/10/13 21:24:32 gildea Exp $
# $XFree86: xc/programs/xterm/termcap,v 3.4 1996/09/01 04:50:57 dawes Exp $
#
# Note:
# termcap format is limited to 1023 characters. This set of descriptions
# is a subset of the terminfo, since not all features can be fit into
# that limit. The 'xterm' description supports color. The monochrome
# 'xtermm' drops color in favor of additional function keys. If you need
# both, use terminfo.
#
vs|xterm|xterm-24|xterms|vs100|xterm terminal emulator (X Window System):\
:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
:AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:DO=\E[%dB:UP=\E[%dA:\
:LE=\E[%dD:RI=\E[%dC:\
:al=\E[L:am:\
:bl=^G:\
:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:\
:cs=\E[%i%d;%dr:ct=\E[3g:\
:dc=\E[P:dl=\E[M:\
:ho=\E[H:\
:im=\E[4h:ei=\E[4l:mi:\
:ks=\E[?1h\E=:ke=\E[?1l\E>:\
:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
:k;=\E[21~:F1=\E[23~:F2=\E[24~:\
:kn#12:\
:@7=\EOF:kh=\EOH:\
:@0=\E[1~:kI=\E[2~:kD=\E[3~:\
:*6=\E[4~:kP=\E[5~:kN=\E[6~:\
:km:\
:kb=^H:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
:li#24:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:\
:eA=\E)0:as=^N:ae=^O:\
:ml=\El:mu=\Em:\
:sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[27m:sr=\EM:\
:st=\EH:\
:ti=\E7\E[?47h:te=\E[2J\E[?47l\E8:\
:vi=\E[?25l:ve=\E[?25h:\
:up=\E[A:us=\E[4m:ue=\E[24m:xn:\
:ut:Co#8:op=\E[100m:AB=\E[4%dm:AF=\E[3%dm:
v2|xterm-65|xterm with tall window 65x80 (X Window System):\
:li#65:tc=xterm:
vb|xterm-bold|xterm with bold instead of underline (X Window System):\
:us=\E[1m:tc=xterm:
vb|xterm-boldso|xterm with bold for standout (X Window System):\
:so=\E[1m:tc=xterm:
xtermm|monochrome xterm (X Window System):\
:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
:kn#20:\
:st@:ut@:Co@:NC@:op@:AB@:AF@:tc=xterm:
#
# vi may work better with this entry, because vi
# doesn't use insert mode much
vi|xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\
:im=:ei=:mi@:ic=\E[@:IC=\E[%d@:tc=xterm:
# vs100 emulator using tsim (from lai@decwrl)
vs100t|tsim|vs100-tsim:\
:bs:cm=\EM%+ %+ :ho=\EH:do=^J:up=^K:cl=\EE:ce=\EL:cs=\ES%+ %+ :\