From: John Marino Date: Sat, 12 May 2012 15:20:54 +0000 (+0200) Subject: termcap: Sync with FreeBSD X-Git-Tag: v3.2.0~954 X-Git-Url: https://gitweb.dragonflybsd.org/~nant/dragonfly.git/commitdiff_plain/186f72aa170e6e2817e3b59c0888c4f8b4f3207d termcap: Sync with FreeBSD FreeBSD removed map3270 7 years ago... The last termcap sync was 3 DEC 2008 --- diff --git a/Makefile_upgrade.inc b/Makefile_upgrade.inc index e30cc2e8ff..6486907101 100644 --- a/Makefile_upgrade.inc +++ b/Makefile_upgrade.inc @@ -1981,6 +1981,7 @@ TO_REMOVE+=/usr/include/openssl/e_os.h TO_REMOVE+=/usr/include/openssl/eng_int.h TO_REMOVE+=/usr/include/openssl/ui_locl.h TO_REMOVE+=/usr/include/dev/disk/mpt/mpilib/mpi_inb.h +TO_REMOVE+=/usr/share/misc/map3270 .if ${MACHINE_ARCH} == "x86_64" TO_REMOVE+=/usr/libdata/stallion/2681.sys diff --git a/share/termcap/Makefile b/share/termcap/Makefile index e4a7e39905..592f482551 100644 --- a/share/termcap/Makefile +++ b/share/termcap/Makefile @@ -1,10 +1,9 @@ # @(#)Makefile 8.1 (Berkeley) 6/8/93 # $FreeBSD: src/share/termcap/Makefile,v 1.12.2.5 2002/07/17 15:10:20 ru Exp $ -# $DragonFly: src/share/termcap/Makefile,v 1.5 2006/12/30 15:27:08 swildner Exp $ MAN= termcap.5 -FILES= map3270 termcap.src termcap.db +FILES= termcap.src termcap.db FILESNAME_termcap.src= termcap FILESDIR= ${BINDIR}/misc CLEANFILES+= termcap.db diff --git a/share/termcap/map3270 b/share/termcap/map3270 deleted file mode 100644 index 6fbd0c6240..0000000000 --- a/share/termcap/map3270 +++ /dev/null @@ -1,1025 +0,0 @@ -# Copyright (c) 1989, 1993 -# The Regents of the University of California. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by the University of -# California, Berkeley and its contributors. -# 4. Neither the name of the University nor the names of its contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. -# -# @(#)map3270 8.2 (Berkeley) 4/1/94 -# - -# This file contains mappings between characters entered from the keyboard, -# and 3270 keys, for use by programs (like tn3270) doing 3270 emulation -# from unix. -# -# Inside the single quotes, a caret ("^") introduces a control character -# sequence (rub out = ^?, by the way). Also inside the single quotes, -# a backslash ('\') introduces an escaped character. Also, \n, \r, \t, -# are all as in C, and \E is another way of representing escape. -# -# NOTE that while we are defining lots of function, much of that -# function (ie: local editing keys) may not yet be available from tn3270. -# -# Please e-mail changes to termcap@berkeley.edu or uunet!ucbvax!termcap. -# - -3a | adm3a { - enter = '^m'; - clear = '^z'; - - nl = '^n'; - tab = '^i'; - btab = '^b' | '\E^i'; - left = '^h'; - right = '^l'; - up = '^k'; - down = '^j'; - home = '^@'; - - delete = '^d' | '^?'; # rubout - eeof = '^e'; - einp = '^w'; - insrt = '\E '; - dp = '^u'; - fm = '^y'; - - # pf keys - pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; - pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; - pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E:'; pfk12 = '\E-'; - pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; - pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; - pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; - - # program attention keys - pa1 = '^p1'; - pa2 = '^p2'; - pa3 = '^p3'; - - # other keys - cursel = '\E.'; - centsign = '^\'; - - # local control keys - - reset = '^t'; # well, there is a little confusion here... - master_reset = '^g'; - flinp = '^x'; - reshow = '^v'; # redisplay screen - escape = '^c'; # escape to telnet command mode - - # local editing keys - settab = '\E;'; - deltab = '\E\''; - clrtab = '\E+'; - setmrg = '\E('; - sethom = '\E!'; - coltab = '\Ei'; - colbak = '\Eb'; - indent = '\El'; - undent = '\Eh'; - -} # end of adm3a - -920c | tvi920c | 920b { # tvi920c definitions... - - # command keys - enter = '^m'; - clear = '^z'; - - # cursor movement keys - nl = '^^' | '^n'; # home - tab = '^i'; - btab = '^b' | '\E^i'; - left = '^h'; - right = '^l'; - up = '^k'; - down = '^j'; - home = '^@'; - - # edit control keys - delete = '^?' | '^d'; # delete - eeof = '^e'; - einp = '^w'; - insrt = '\E '; - dp = '^u'; - fm = '^y'; - - # program function keys - - # F1 to F11 - pfk1 = '^a@^m'; pfk2 = '^aA^m'; pfk3 = '^aB^m'; pfk4 = '^aC^m'; - pfk5 = '^aD^m'; pfk6 = '^aE^m'; pfk7 = '^aF^m'; pfk8 = '^aG^m'; - pfk9 = '^aH^m'; pfk10 = '^aI^m'; pfk11 = '^aJ^m'; - - # SHIFT-F11 - pfk12 = '^aj^m'; - - # ESC F1 to ESC F11 - pfk11 = '\E^a@^m'; pfk12 = '\E^aA^m'; - pfk13 = '\E^aB^m'; pfk14 = '\E^aC^m'; pfk15 = '\E^aD^m'; pfk16 = '\E^aE^m'; - pfk17 = '\E^aF^m'; pfk18 = '\E^aG^m'; pfk19 = '\E^aH^m'; pfk20 = '\E^aI^m'; - pfk21 = '\E^a`^m'; - - # ESC SHIFT-F1 to ESC SHIFT-F4 - pfk21 = '\E^a`^m'; pfk22 = '\E^aa^m'; pfk23 = '\E^ab^m'; pfk24 = '\E^ac^m'; - - pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; - pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; - pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E='; - pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; - pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; - pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; - - # program attention keys - - pa1 = '^a`^m' | '^p1'; - pa2 = '^aa^m' | '^p2'; - pa3 = '^ab^m' | '^p3'; - - # miscellaneous 3270 keys - - cursel = '\E.'; - centsign = '^\'; - - # local control keys - - reset = '^t'; # there is some confusion here... - master_reset = '^g'; - flinp = '^x'; - reshow = '^v'; - escape = '^c'; # escape to telnet command mode - - # local editing keys - - settab = '\E;'; - deltab = '\E\''; - clrtab = '\E:'; - setmrg = '\E*'; - sethom = '\E!'; - coltab = '\Ei' | '\EI'; - colbak = '\Eb' | '\EB'; - indent = '\El' | '\EL'; - undent = '\Eh' | '\EH'; -} # end of tvi920c table... - -925 | tvi925 | 925vb | tvi925vb | televideo 925 { - - # command keys - - enter = '^m'; - clear = '^z'; - - # cursor movement keys - - nl = '^j' | '^n'; - tab = '^i'; - btab = '\EI'; - left = '^h'; - right = '^l'; - up = '^k'; - down = '^v'; - home = '^^'; - - # edit control keys - - delete = '^?'; # that's rubout... - eeof = '^e'; - einp = '^w'; - insrt = '\E ' | '\EW'; - - # program function keys - - pfk1 = '^a@^m'; - pfk2 = '^aA^m'; - pfk3 = '^aB^m'; - pfk4 = '^aC^m'; - pfk5 = '^aD^m'; - pfk6 = '^aE^m'; - pfk7 = '^aF^m'; - pfk8 = '^aG^m'; - pfk9 = '^aH^m'; - pfk10 = '^aI^m'; - pfk11 = '^aJ^m'; - pfk12 = '\EQ'; - pfk13 = '\E^a@^m'; - pfk14 = '\E^aA^m'; - pfk15 = '\E^aB^m'; - pfk16 = '\E^aC^m'; - pfk17 = '\E^aD^m'; - pfk18 = '\E^aE^m'; - pfk19 = '\E^aF^m'; - pfk20 = '\E^aG^m'; - pfk21 = '\E^aH^m'; - pfk22 = '\E^aI^m'; - pfk23 = '\E^aJ^m'; - pfk24 = '\E\EQ'; - - pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; - pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; - pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E='; - pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; - pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; - pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; - - # program attention keys - - pa1 = '^a`^m'; - pa2 = '^aa^m'; - pa3 = '^ab^m'; - - # other keys - centsign = '^\'; - - # local control keys - - reset = '^t'; # again, there is some confusion here... - master_reset = '^g'; - flinp = '^x'; - reshow = '^b'; - escape = '^c'; # escape to telnet command mode - -# local editing keys - - settab = '\EY'; - deltab = '\Ey'; - clrtab = '\E:'; - setmrg = '\ET'; - sethom = '\Et'; - coltab = '^p'; - colbak = '^o'; - indent = '\ER'; - undent = '\EE'; -} - - -924 | tvi924 { - - # command keys - - enter = '^m'; - clear = '^z'; - - # cursor movement keys - - nl = '^j'; - tab = '^i'; - btab = '\EI'; - left = '^h'; - right = '^l'; - up = '^k'; - down = '^v'; - home = '^^'; - - # edit control keys - - delete = '^?'; # that's rubout... - eeof = '^e'; - einp = '^w'; - insrt = '\E ' | '\EW'; - dp = '^u'; - fm = '^y'; - - # program function keys - - pfk1 = '^a@^m'; - pfk2 = '^aA^m'; - pfk3 = '^aB^m'; - pfk4 = '^aC^m'; - pfk5 = '^aD^m'; - pfk6 = '^aE^m'; - pfk7 = '^aF^m'; - pfk8 = '^aG^m'; - pfk9 = '^aH^m'; - pfk10 = '^aI^m'; - pfk11 = '^aJ^m'; - pfk12 = '^aK^m'; - pfk13 = '^aL^m'; - pfk14 = '^aM^m'; - pfk15 = '^aN^m'; - pfk16 = '^aO^m'; - pfk17 = '^af^m'; - pfk18 = '^ag^m'; - pfk19 = '^ah^m'; - pfk20 = '^ai^m'; - pfk21 = '^aj^m'; - pfk22 = '^ak^m'; - pfk23 = '^al^m'; - pfk24 = '^am^m'; - - pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; - pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; - pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E='; - pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; - pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; - pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; - - # program attention keys - - pa1 = '^a`^m'; - pa2 = '^aa^m'; - pa3 = '^ab^m'; - - # other keys - centsign = '^\'; - - # local control keys - - reset = '^t'; # again, there is some confusion here... - master_reset = '^g'; - flinp = '^x'; - reshow = '^b'; - escape = '^c'; # escape to telnet command mode - - # local editing keys - - settab = '\EY'; - deltab = '\Ey'; - clrtab = '\E:'; - setmrg = '\ET'; - sethom = '\Et'; - coltab = '^p'; - colbak = '^o'; - indent = '\ER'; - undent = '\EE'; -} - -h19 | heath | h19b | heathkit | heath-19 | z19 | zenith { -enter = '^m'; -clear = '^z'; - -nl = '^n' | '^?'; -tab = '^i'; -btab = '^b'; -left = '^h'; -right = '^l'; -up = '^k'; -down = '^j'; -home = '^@'; - -delete = '^d'; -eeof = '^e'; -einp = '^w'; -insrt = '\E '; - -# pf keys -pfk1 = '\E?p\E?q'; pfk2 = '\E?p\E?r'; pfk3 = '\E?p\E?s'; pfk4 = '\E?p\E?t'; -pfk5 = '\E?p\E?u'; pfk6 = '\E?p\E?v'; pfk7 = '\E?p\E?w'; pfk8 = '\E?p\E?x'; -pfk9 = '\E?p\E?y'; pfk10 = '\E?q\E?p'; pfk11 = '\E?q\E?q'; pfk12 = '\E?q\E?r'; -pfk13 = '\E?q\E?s'; pfk14 = '\E?q\E?t'; pfk15 = '\E?q\E?u'; pfk16 = '\E?q\E?v'; -pfk17 = '\E?q\E?w'; pfk18 = '\E?q\E?x'; pfk19 = '\E?q\E?y'; pfk20 = '\E?r\E?p'; -pfk21 = '\E?r\E?q'; pfk22 = '\E?r\E?r'; pfk23 = '\E?r\E?s'; pfk24 = '\E?r\E?t'; - - pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; - pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; - pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '\E='; - pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; - pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; - pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; - -# program attention keys -pa1 = '\EP'; -pa2 = '\EQ'; -pa3 = '\ER'; - -# other keys - - centsign = '^\'; -# cursel = '\E.'; # find out what this does -master_reset = '^g'; - -# local control keys - -reset = '^t'; # well, there is a little confusion here... -flinp = '^x'; -reshow = '^v'; # redisplay screen -escape = '^c'; # escape to telnet command mode - -# local editing keys -settab = '\E;'; -clrtab = '\E:'; -setmrg = '\E\''; -sethom = '\E!'; -coltab = '\Ei'; -colbak = '\Eb'; -indent = '\El'; -undent = '\Eh'; - -} # end of h19 - - -co | c100 | concept | c100-4p | concept100 { -enter = '^m'; -clear = '^z' | '^\2'; - -nl = '^n'; -tab = '^i'; -btab = '^b'; -left = '^h' | '\E>'; -right = '^l' | '\E='; -up = '^k' | '\E;'; -down = '^j' | '\E<'; -home = '\E?'; - -delete = '^d' | '^?' | '^\1'; -eeof = '^e' | '^\3'; -einp = '^w'; -insrt = '^\0'; - -# pf keys -pfk1 = '\E\E1' | '^\5'; pfk2 = '\E\E2' | '^\6'; pfk3 = '\E\E3' | '^\7'; -pfk4 = '\E\E4' | '^\8'; pfk5 = '\E\E5' | '^\9'; pfk6 = '\E\E6' | '^\:'; -pfk7 = '\E\E7' | '^\;'; pfk8 = '\E\E8' | '^\<'; pfk9 = '\E\E9' | '^\='; -pfk10 = '\E\E0' | '^\>'; pfk11 = '\E\E-' | '^\?'; pfk12 = '^\@'; -pfk13 = '^\A'; pfk14 = '^\B'; pfk15 = '^\)'; pfk16 = '^\*'; -pfk17 = '^\+'; pfk18 = '^\,'; pfk19 = '^\-'; pfk20 = '^\.'; -pfk21 = '^\/'; pfk22 = '^\C'; pfk23 = '^\D'; pfk24 = '^\E'; - - pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; - pfk5 = '\E5'; pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; - pfk9 = '\E9'; pfk10 = '\E0'; pfk11 = '\E-'; pfk12 = '^f12'; - pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; - pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; - pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; - -# program attention keys -pa1 = '^\%'; -pa2 = '^\&' | '\E+'; -pa3 = '^\\''; - -# other keys -cursel = '\E.'; -aplon = '\E{'; -aplend = '\E}'; -aploff = '\E_'; -master_reset = '^g'; -centsign = '\E\\'; - -# local control keys - -reset = '^t'; # well, there is a little confusion here... -flinp = '^x'; -reshow = '^v'; # redisplay screen -escape = '^c'; # escape to telnet command mode - -# local editing keys -settab = '\E\E;'; -clrtab = '\E\E:'; -setmrg = '\E\E*'; -sethom = '\E\E!'; -coltab = '\E\Ei'; -colbak = '\E\Eb'; -indent = '\E\El'; -undent = '\E\Eh'; - -} # end of concept -avt | avt-8p-s | avt-4p-s | avt-rv { -enter = '^m'; -clear = '^z' | '\EOM'; - -nl = '^?'; -tab = '^i'; -btab = '^b'; -left = '^h' | '\E[D'; -right = '^l' | '\E[C'; -up = '^k' | '\E[A'; -down = '^j' | '\E[B'; -home = '\EOn'; - -delete = '^d'; -eeof = '^e'; -einp = '^w'; -insrt = '^ ' | '\E '; - -# pf keys -pfk1 = '\EOq' | '\E1'; pfk2 = '\EOr' | '\E2'; pfk3 = '\EOs' | '\E3'; -pfk4 = '\EOt' | '\E4'; pfk5 = '\EOu' | '\E5'; pfk6 = '\EOv' | '\E6'; -pfk7 = '\EOw' | '\E7'; pfk8 = '\EOx' | '\E8'; pfk9 = '\EOy' | '\E9'; -pfk10 = '\EOP\EOp' | '\E0'; pfk11 = '\EOP\EOq' | '\E-'; -pfk12 = '\EOP\EOr' | '\E='; pfk13 = '\EOP\EOs' | '^f13'; -pfk14 = '\EOP\EOt' | '^f14'; pfk15 = '\EOP\EOu' | '^f15'; -pfk16 = '\EOP\EOv' | '^f16'; pfk17 = '\EOP\EOw' | '^f17'; -pfk18 = '\EOP\EOx' | '^f18'; pfk19 = '\EOP\EOy' | '^f19'; -pfk20 = '\EOQ\EOp' | '^f20'; pfk21 = '\EOQ\EOq' | '^f21'; - - pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; - -# program attention keys -pa1 = '\E\EOP' | '^p1'; -pa2 = '\E\EOQ' | '^p2'; - -# local control keys - -escape = '^c'; # escape to telnet command mode -master_reset = '^g'; - centsign = '^\'; - -# local editing keys -settab = '\E;'; -deltab = '\E\''; -clrtab = '\E:'; -setmrg = '\E,'; -sethom = '\E.'; -coltab = '\E\E[B'; -colbak = '\E\E[A'; -indent = '\E\E[C'; -undent = '\E\E[D'; -} # end of avt, etc. - -tvipt | vp | televideopt { - enter = '^m'; - clear = '^z'; - - nl = '^n'; - tab = '^i'; - btab = '^b'; - left = '^h'; - right = '^l'; - up = '^k'; - down = '^j'; - home = '^^'; - - delete = '^?'; - eeof = '^e'; - einp = '^w'; - insrt = '\E '; - - # pf keys - pfk1 = '\E1' | '^A@^m'; - pfk2 = '\E2' | '^AA^m'; - pfk3 = '\E3' | '^AB^m'; - pfk4 = '\E4' | '^AC^m'; - pfk5 = '\E5' | '^AD^m'; - pfk6 = '\E6' | '^AE^m'; - pfk7 = '\E7' | '^AF^m'; - pfk8 = '\E8'; - pfk9 = '\E9'; - pfk10 = '\E0'; - pfk11 = '\E!' | '\E^A@^m'; - pfk12 = '\E@' | '\E^AA^m'; - pfk13 = '\E#' | '\E^AB^m'; - pfk14 = '\E$' | '\E^AC^m'; - pfk15 = '\E%' | '\E^AD^m'; - pfk16 = '\E^AE^m' | '\E\^'; - pfk17 = '\E&' | '\E^AF^m'; - pfk18 = '\E*'; - pfk19 = '\E('; - pfk20 = '\E)'; - - # program attention keys - pa1 = '^AG^m'; - pa2 = '^AH^m'; - pa3 = '^AI^m'; - - # other keys -# # cursel = '\E.'; - centsign = '^\'; - - # local control keys - - reset = '^t'; # well, there is a little confusion here... - master_reset = '^g'; - flinp = '^x'; - reshow = '^v'; # redisplay screen - escape = '^c'; # escape to telnet command mode - - # local editing keys - settab = '\E;'; - clrtab = '\E:'; - setmrg = '\E['; - sethom = '\E+'; - coltab = '\Ei' | '\EI'; - colbak = '\Eb' | '\EB'; - indent = '\El' | '\EL'; - undent = '\Eh' | '\EH'; -} # end of tvipt -vt100 | vt100nam | pt100 | vt125 | vt102 | direct831 | tek4125 | pcplot | microvax | vt220 | vt320 | xterm{ -enter = '^m'; -clear = '^z' | '\EOM'; - -nl = '^j'; -tab = '^i'; -btab = '^b'; -left = '^h' | '\E[D' | '\EOD'; -right = '^l' | '\E[C' | '\EOC'; -up = '^k' | '\E[A' | '\EOA'; -down = '\E[B' | '\EOB'; -home = '\EOn'; - -delete = '^d' | '^?'; -eeof = '^e'; -einp = '^w'; -insrt = '^ ' | '\E '; - -# pf keys -pfk1 = '\EOq' | '\E1'; pfk2 = '\EOr' | '\E2'; pfk3 = '\EOs' | '\E3'; -pfk4 = '\EOt' | '\E4'; pfk5 = '\EOu' | '\E5'; pfk6 = '\EOv' | '\E6'; -pfk7 = '\EOw' | '\E7'; pfk8 = '\EOx' | '\E8'; pfk9 = '\EOy' | '\E9'; -pfk10 = '\EOP\EOp' | '\E0'; pfk11 = '\EOP\EOq' | '\E-'; -pfk12 = '\EOP\EOr' | '\E='; pfk13 = '\EOP\EOs' | '^f13'; -pfk14 = '\EOP\EOt' | '^f14'; pfk15 = '\EOP\EOu' | '^f15'; -pfk16 = '\EOP\EOv' | '^f16'; pfk17 = '\EOP\EOw' | '^f17'; -pfk18 = '\EOP\EOx' | '^f18'; pfk19 = '\EOP\EOy' | '^f19'; -pfk20 = '\EOQ\EOp' | '^f20'; pfk21 = '\EOQ\EOq' | '^f21'; - -# program attention keys -pa1 = '\E\EOP' | '^p1'; -pa2 = '\E\EOQ' | '^p2'; - -# local control keys - -escape = '^c'; # escape to telnet command mode -master_reset = '^g'; - centsign = '^\'; - -# local editing keys -settab = '\E;'; -deltab = '\E\''; -clrtab = '\E:'; -setmrg = '\E,'; -sethom = '\E.'; -coltab = '\E\E[B'; -colbak = '\E\E[A'; -indent = '\E\E[C'; -undent = '\E\E[D'; -} # end of vt100, etc. - -sun { - enter = '^m'; - clear = '^z' | '\E[222z'; - - nl = '^j'; - tab = '^i'; - btab = '^b' | '\E[195z' | '\E[216z'; - left = '^h' | '\E[D' | '\EOD'; - right = '^l' | '\E[C' | '\EOC'; - up = '^k' | '\E[A' | '\EOA'; - down = '\E[B' | '\EOB'; - home = '\E[218z'; - - delete = '^d' | '^?'; - eeof = '^e' | '\E[214z'; - einp = '^w' | '\E[213z'; - insrt = '\E ' | '\E[220z'; - dp = '^u'; - fm = '^y'; - - # pf keys - pfk1 = '\E[224z' | '\E1'; pfk2 = '\E[225z' | '\E2'; - pfk3 = '\E[226z' | '\E3'; pfk4 = '\E[227z' | '\E4'; - pfk5 = '\E[228z' | '\E5'; pfk6 = '\E[229z' | '\E6'; - pfk7 = '\E[230z' | '\E7'; pfk8 = '\E[231z' | '\E8'; - pfk9 = '\E[232z' | '\E9'; pfk10 = '\E[208z' | '\E0'; - pfk11 = '\E[209z' | '\E-'; pfk12 = '\E[210z' | '\E='; - pfk13 = '^f13'; pfk14 = '^f14'; pfk15 = '^f15'; pfk16 = '^f16'; - pfk17 = '^f17'; pfk18 = '^f18'; pfk19 = '^f19'; pfk20 = '^f20'; - pfk21 = '^f21'; pfk22 = '^f22'; pfk23 = '^f23'; pfk24 = '^f24'; - - # program attention keys - pa1 = '^p1' | '\E[211z'; - pa2 = '^p2' | '\E[212z'; - pa3 = '^p3'; - - # other keys - cursel = '\E.'; - centsign = '^\'; - - # local control keys - - reset = '^t'; # well, there is a little confusion here... - master_reset = '^g'; - flinp = '^x'; - reshow = '^v'; # redisplay screen - escape = '^c'; # escape to telnet command mode - - # local editing keys - settab = '\E;'; - clrtab = '\E+'; - setmrg = '\E('; - sethom = '\E!'; - coltab = '\Ei'; - colbak = '\Eb'; - indent = '\El'; - undent = '\Eh'; -} # end of sun -# -# Works with /usr/ucb/tn3270 except tn3270pc which requires /usr/new/tn3270. -# -msk22714 | mskermit22714 | msk227 | mskermit227 { -# -# 9-5-86 gts -# MS-Kermit UCB 227.14 to Unix then tn3270 to CMS. -# Includes underlying ADM3A keystrokes for full S/1 compatibiliy. -# Attempts to work for both "do unix" and "do cms" keyboards. Differences are -# marked with (C) for CMS only or (U) for Unix only. Incidental effects are -# enclosed in square brackets []. -# New functions WERASE Ctrl-\ and FERASE Ctrl-_. - - enter = '^m'; # <--' - clear = '^z'; # keypad + (C) - - nl = '^n'; # keypad End (C) - tab = '^i'; # --->| - btab = '^b' | '\E^I'; # |<--- (C|U) - left = '^h'; # keypad Left - right = '^l'; # keypad Right - up = '^k'; # keypad Up - down = '^j' | '\EB'; # keypad Down (U|C) - # [ keypad End (U) ] - home = '^^' | '^@'; # keypad Home (U|C) - dp = '^u' | '^a'; # [ keypad PgUp (U) ] - fm = '^y'; - - delete = '^d' | '^?'; # keypad Del - # [ keypad PgDn (U) ] - eeof = '^e'; - einp = '^w'; # keypad - (C) - insrt = '\E ' | '\Ei'; # keypad Ins (C|U) - - # pf keys IBM PC/XT/AT and ADM3A Esc d - pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5'; - pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10= '\E0'; - # pf keys IBM PC/XT/AT Shift and ADM3A Ctrl-F nn - pfk11='^f11'; pfk12='^f12'; pfk13='^f13'; pfk14='^f14'; pfk15='^f15'; - pfk16='^f16'; pfk17='^f17'; pfk18='^f18'; pfk19='^f19'; pfk20='^f20'; - # pf keys IBM PC/XT/AT Ctrl- and ADM3A Ctrl-F nn - pfk21='^f21'; pfk22='^f22'; pfk23='^f23'; pfk24='^f24'; pfk25='^f25'; - pfk26='^f26'; pfk27='^f27'; pfk28='^f28'; pfk29='^f29'; pfk30='^f30'; - # pf keys IBM PC/XT/AT Ctrl-Shift- and ADM3A Ctrl-F nn - pfk31='^f31'; pfk32='^f32'; pfk33='^f33'; pfk34='^f34'; pfk35='^f35'; - pfk36='^f36'; - # pf keys IBM PC/XT/AT Alt-1 to Alt-= (generated as, Esc d, ^F 11, ^F 12) - # pf keys ADM3A Esc d (d = 1 to 0 interpreted as above) - pfk11 = '\E-'; pfk12 = '\E='; - - # program attention keys (same as ADM3A) - pa1 = '^p1'; # Alt-F1 - pa2 = '^p2'; # Alt-F2 - pa3 = '^p3'; # Alt-F3 - #pa4 = '^p4'; # Alt-F3 - #testreq = '^pr' | '^pR'; # Alt-F5 - - # other keys - cursel = '\E.'; - werase = '^\'; - ferase = '^_'; - - # local control keys - master_reset = '^g'; - reset = '^r' | '^t'; - flinp = '^x'; - reshow = '^v'; - escape = '^c'; # escape to telnet - - # local editing keys - settab = '\E;'; - deltab = '\E\''; - clrtab = '\E:' | '\E+'; - setmrg = '\E('; - sethom = '\E!'; - coltab = '\EI'; - #coltab = '\Ei' | '\EI'; # cannot use Esc i - colbak = '\Eb'; # on S/1 \EB is down - #colbak = '\Eb' | '\EB'; # cannot use Esc B - indent = '\El' | '\EL'; - undent = '\Eh' | '\EH'; # on S/1 \EH is Home - -} # end of msk22714 -# -ansisys | ansisysk | nansisys | nansisysk { -# -# 9-5-86 gts -# IBM PC/XT/AT using the ansi.sys | ansi.sysk | nansi.sys | nansi.sysk termcaps. -# -# PROBLEM: cannot use periods in termcap name until mset fixed (gts 9-5-86). -# -# PROBLEM: cannot use eval `mset ...` until Unix csh changed to allow more -# than 1024 characters in an environment string or until mset changed to -# return only the filename if the resulting string is longer than 1024. -# -# PROBLEM when NUL (^@) immediately follows a Return: Unix telent apparently -# ignores the NUL! (Can tn3270 negotiate a different newline?) -# -# Nearly identical to the map3270 for the IBM PC TN3270, which itself is nearly -# identical to the MS-Kermit UCB 227.14 keyboard which in turn was a modest -# improvement of the BIJOU Yterm keyboard. See HELP TN3270PC on CMS. -# Includes the underlying ADM3A keystrokes for full S/1 compatibility. -# Adds some Ctrl-keypad keys to compensate for TN3270 ROMBIOS dependency -# which prevents separate use of the keypad plus and minus keys. -# Adds new functions WERASE and FERASE. -# - - enter = '^m'; # <--' - clear = '^z' | '^@w'; # Ctrl-Home - - nl = '^n' | '^@O'; # keypad End - tab = '^i'; # --->| - btab = '^b' | '^@^O'; # |<--- - left = '^h' | '^@K'; # keypad Left - right = '^l' | '^@M'; # keypad Right - up = '^k' | '^@H'; # keypad Up - down = '^j' | '^@P'; # keypad Down - home = '^^' | '^@G'; # keypad Home - # (cannot use Ctrl-@) - dp = '^u'; - fm = '^y'; - - delete = '^d' | '^?' | '^@S'; # keypad Del - eeof = '^e' | '^@u'; # keypad Ctrl-End - einp = '^w'; - insrt = '\E ' | '^@R' | '\E\Ei'; # keypad Ins - - # pf keys IBM PC/XT/AT - pfk1 = '^@;'; pfk2 = '^@<'; pfk3 = '^@='; pfk4 = '^@>'; pfk5 = '^@?'; - pfk6 = '^@@'; pfk7 = '^@A'; pfk8 = '^@B'; pfk9 = '^@C'; pfk10= '^@D'; - # pf keys IBM PC/XT/AT Shift - pfk11 = '^@T'; pfk12 = '^@U'; pfk13 = '^@V'; pfk14 = '^@W'; pfk15 = '^@X'; - pfk16 = '^@Y'; pfk17 = '^@Z'; pfk18 = '^@['; pfk19 = '^@\\'; pfk20 = '^@]'; - # pf keys IBM PC/XT/AT Ctrl- - pfk21 = '^@\^';pfk22 = '^@_'; pfk23 = '^@`'; pfk24 = '^@a'; pfk25 = '^@b'; - pfk26 = '^@c'; pfk27 = '^@d'; pfk28 = '^@e'; pfk29 = '^@\f'; pfk30 = '^@g'; - # pf keys IBM PC/XT/AT Ctrl-Shift- (cannot be done yet with PC tn3270) - # pf keys IBM PC/XT/AT Alt-d - pfk1 = '^@x'; pfk2 = '^@y'; pfk3 = '^@z'; pfk4 = '^@{'; pfk5 = '^@|'; - pfk6 = '^@}'; pfk7 = '^@~'; pfk8 = '^@^?';pfk9 = '^@^@';pfk10= '^@^A'; - pfk11='^@^B'; pfk12= '^@^C'; - - # pf keys ADM3A Esc d - pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5'; - pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10= '\E0'; - pfk11 = '\E-'; pfk12 = '\E='; - # pf keys ADM3A Ctrl-F n n - pfk1 = '^f01'; pfk2 = '^f02'; pfk3 = '^f03'; pfk4 = '^f04'; pfk5= '^f05'; - pfk6 = '^f06'; pfk7 = '^f07'; pfk8 = '^f08'; pfk9 = '^f09'; pfk10= '^f10'; - pfk11= '^f11'; pfk12= '^f12'; pfk13= '^f13'; pfk14= '^f14'; pfk15= '^f15'; - pfk16= '^f16'; pfk17= '^f17'; pfk18= '^f18'; pfk19= '^f19'; pfk20= '^f20'; - pfk21= '^f21'; pfk22= '^f22'; pfk23= '^f23'; pfk24= '^f24'; pfk25= '^f25'; - pfk26= '^f26'; pfk27= '^f27'; pfk28= '^f28'; pfk29= '^f29'; pfk30= '^f30'; - pfk31= '^f31'; pfk32= '^f32'; pfk33= '^f33'; pfk34= '^f34'; pfk35= '^f35'; - pfk36= '^f36'; - - # program attention keys - pa1 = '^p1' | '^@h'; # Alt-F1 - pa2 = '^p2' | '^@i'; # Alt-F2 - pa3 = '^p3' | '^@j'; # Alt-F3 - #pa4 = '^p4' | '^@k'; # Alt-F4 - #testreq = '^pr' | '^pR' | '^@l' # Alt-F5 - - # other keys - cursel = '\E.'; - werase = '^\'; - ferase = '^_'; - pfk7 = '^@I' | '\E^U'; # keypad PgUp - pfk8 = '^@Q' | '\E^D'; # keypad PgDn - - # local control keys - reset = '^r' | '^t'; - master_reset = '^g'; - flinp = '^x'; - reshow = '^v'; - escape = '^c'; # escape to TN3270 command prompt - - # local editing keys - settab = '\E;'; - deltab = '\E\''; - clrtab = '\E:' | '\E+'; - setmrg = '\E('; - sethom = '\E!'; - coltab = '\Ei' | '\EI'; - colbak = '\Eb' | '\EB'; # on S/1 \EB is down - indent = '\El' | '\EL'; - undent = '\Eh' | '\EH'; # on S/1 \EH is Home - -} # end of ansi.sys -# -tn3270pc | ibm-3278-2 { -# -# 2-14-87 gts -# -# MAP3270 for the IBM PC logged into Unix with PC TN3270 with TERM=nansisys, -# nansisysk, ansisys or ansisysk, hence requires KETBD=tn3270pc. -# -# MAP3270 for the IBM PC -# Nearly identical to the MS-Kermit UCB 227.14 keyboard which in turn was -# an modest improvement of the BIJOU Yterm keyboard. -# Includes underlying ADM3A keystrokes for full S/1 compatibiliy. -# Adds some Ctrl-keypad keys to compensate for TN3270 ROMBIOS dependency -# which prevents separate use of the keypad plus and minus keys, and adds -# new functions WERASE, FERASE, WORDTAB, WORDBACKTAB, WORDEND and FIELDEND. -# Where possible these extensions are compatible with IBM PC keystroke usage -# (see XT technical reference manual Keyboard Usage Guidelines). -# Includes F11 and F12 keys from the new IBM PC/XT/AT keyboard. -# - - centsign = '\Ec' | '\EC'; # CentSign for input - enter = '^m'; # <--' - clear = '^z' | '^Aw'; # Ctrl-Home - - nl = '^n' | '^AO'; # keypad End - tab = '^i'; # --->| - btab = '^b' | '\E^I' | '^A^O'; # |<--- - left = '^h' | '^AK'; # keypad Left - right = '^l' | '^AM'; # keypad Right - up = '^k' | '^AH'; # keypad Up - down = '^j' | '^AP'; # keypad Down - home = '^^' | '^AG' | '^@'; # keypad Home - dp = '^u'; - fm = '^y'; - - delete = '^d' | '^AS'; # keypad Del - eeof = '^e' | '^Au'; # keypad End - einp = '^w'; - insrt = '\E ' | '^AR'; # keypad Ins - - # pf keys IBM PC/XT/AT - pfk1 = '^A;'; pfk2 = '^A<'; pfk3 = '^A='; pfk4 = '^A>'; pfk5 = '^A?'; - pfk6 = '^A@'; pfk7 = '^AA'; pfk8 = '^AB'; pfk9 = '^AC'; pfk10= '^AD'; - # pf keys IBM PC/XT/AT Shift - pfk11 = '^AT'; pfk12 = '^AU'; pfk13 = '^AV'; pfk14 = '^AW'; pfk15 = '^AX'; - pfk16 = '^AY'; pfk17 = '^AZ'; pfk18 = '^A['; pfk19 = '^A\\'; pfk20 = '^A]'; - # pf keys IBM PC/XT/AT Ctrl- - pfk21 = '^A\^';pfk22 = '^A_'; pfk23 = '^A`'; pfk24 = '^Aa'; pfk25 = '^Ab'; - pfk26 = '^Ac'; pfk27 = '^Ad'; pfk28 = '^Ae'; pfk29 = '^Af'; pfk30 = '^Ag'; - # pf keys IBM PC/XT/AT Alt-d - pfk1 = '^Ax'; pfk2 = '^Ay'; pfk3 = '^Az'; pfk4 = '^A{'; pfk5 = '^A|'; - pfk6 = '^A}'; pfk7 = '^A~'; pfk8 = '^A^?';pfk9 = '^A^A^@';pfk10= '^A^A^A'; - pfk11='^A^A^b'; pfk12= '^A^A^c'; - # pf keys NEW IBM PC/XT/AT Keyboard - pfk11='^A^A^e'; pfk12= '^A^A^f'; - - # pf keys ADM3A Esc d - pfk1 = '\E1'; pfk2 = '\E2'; pfk3 = '\E3'; pfk4 = '\E4'; pfk5 = '\E5'; - pfk6 = '\E6'; pfk7 = '\E7'; pfk8 = '\E8'; pfk9 = '\E9'; pfk10= '\E0'; - pfk11 = '\E-'; pfk12 = '\E='; - # pf keys ADM3A Ctrl-F n n - pfk1 = '^f01'; pfk2 = '^f02'; pfk3 = '^f03'; pfk4 = '^f04'; pfk5= '^f05'; - pfk6 = '^f06'; pfk7 = '^f07'; pfk8 = '^f08'; pfk9 = '^f09'; pfk10= '^f10'; - pfk11= '^f11'; pfk12= '^f12'; pfk13= '^f13'; pfk14= '^f14'; pfk15= '^f15'; - pfk16= '^f16'; pfk17= '^f17'; pfk18= '^f18'; pfk19= '^f19'; pfk20= '^f20'; - pfk21= '^f21'; pfk22= '^f22'; pfk23= '^f23'; pfk24= '^f24'; pfk25= '^f25'; - pfk26= '^f26'; pfk27= '^f27'; pfk28= '^f28'; pfk29= '^f29'; pfk30= '^f30'; - pfk31= '^f31'; pfk32= '^f32'; pfk33= '^f33'; pfk34= '^f34'; pfk35= '^f35'; - pfk36= '^f36'; - - # program attention keys - pa1 = '^p1' | '^Ah'; # Alt-F1 - pa2 = '^p2' | '^Ai'; # Alt-F2 - pa3 = '^p3' | '^Aj'; # Alt-F3 - treq = '^pr' | '^pR' | '^Al'; # Alt-F5 - - # other keys - cursel = '\E.'; - werase = '^\'; - ferase = '^_'; - wordtab = '^At'; # Ctrl-Right - wordbacktab = '^As'; # Ctrl-Left - wordend = '^A^A^d'; # Ctrl-PgUp - fieldend = '^Av'; # Ctrl-PgDn - pfk7 = '^AI'; # keypad PgUp - pfk8 = '^AQ'; # keypad PgDn - - # local control keys - reset = '^r' | '^t'; - master_reset = '^g'; - flinp = '^x'; - reshow = '^v'; - escape = '^c'; # to command prompt - disc = '^pS1D'; # disconnect (suspend)? - sync = '^pS1S'; # in sync with user? - - # local editing keys - settab = '\E;'; - deltab = '\E\''; - clrtab = '\E:' | '\E+'; - setmrg = '\E('; - sethom = '\E!'; - coltab = '\Ei' | '\EI'; - colbak = '\Eb' | '\EB'; # on S/1 \EB is down - indent = '\El' | '\EL'; - undent = '\Eh' | '\EH'; # on S/1 \EH is Home - -} # end of tn3270pc diff --git a/share/termcap/termcap.5 b/share/termcap/termcap.5 index 00b98a99b3..6c698313e6 100644 --- a/share/termcap/termcap.5 +++ b/share/termcap/termcap.5 @@ -51,10 +51,9 @@ .\" * * .\" ***************************************************************************/ .\" -.\" $FreeBSD: src/share/termcap/termcap.5,v 1.12.2.6 2002/08/15 08:30:27 ru Exp $ -.\" $DragonFly: src/share/termcap/termcap.5,v 1.7 2008/05/02 02:05:06 swildner Exp $ +.\" $FreeBSD$ .\" -.Dd April 16, 1994 +.Dd May 12, 2012 .Dt TERMCAP 5 .Os .Sh NAME @@ -160,11 +159,11 @@ move_standout_mode ms safe to move while in standout mode over_strike os terminal can overstrike status_line_esc_ok es escape can be used on the status line dest_tabs_magic_smso xt tabs destructive, magic so char (t1061) -tilde_glitch hz can't print ~'s (hazeltine) +tilde_glitch hz cannot print ~'s (hazeltine) transparent_underline ul underline character overstrikes xon_xoff xo terminal uses xon/xoff handshaking -needs_xon_xoff nx padding won't work, xon/xoff required -prtr_silent 5i printer won't echo on screen +needs_xon_xoff nx padding will not work, xon/xoff required +prtr_silent 5i printer will not echo on screen hard_cursor HC cursor is hard to see non_rev_rmcup NR enter_ca_mode does not reverse exit_ca_mode no_pad_char NP pad character does not exist @@ -210,7 +209,7 @@ magic_cookie_glitch_ul ug number of blanks left by underline # max_colors Co maximum numbers of colors on screen max_pairs pa maximum number of color-pairs on the screen -no_color_video NC video attributes that can't be used with +no_color_video NC video attributes that cannot be used with colors # # The following numeric capabilities are present in the SVr4.0 term @@ -1036,7 +1035,7 @@ and the Lear Siegler .Tn ADM Ns \-3 is described as .Bd -literal -offset indent -l3\||\|adm3\||\|3\||\|LSI \s-1ADM\s0-3:\e +l3\||\|adm3\||\|3\||\|LSI ADM-3:\e :am:bl=^G:cl=^Z:co#80:cr=^M:do=^J:le=^H:li#24:sf=^J: .Ed .Ss Parameterized Strings @@ -1387,7 +1386,7 @@ to enter and exit delete mode (which is any mode the terminal needs to be placed in for .Sy \&dc to work). -.Ss Highlighting, Underlining, and Visible Bells +.Ss Highlighting, Underlining, and Visible Bells If your terminal has one or more kinds of display attributes, these can be represented in a number of different ways. You should choose one display form as @@ -1822,7 +1821,7 @@ from the status line can be given as .Sy \&ts and .Sy \&fs . -.Pf ( Sy \&fs +.Pf ( Xr \&fs must leave the cursor position in the same place that it was before .Sy \&ts . If necessary, the @@ -1996,6 +1995,25 @@ Unfortunately, due to lack of a definition for string parameters in only .Xr terminfo 5 supports these capabilities. +.Pp +For the +.Xr xterm 1 +terminal emulator the traditional behavior in +.Fx +when exiting a pager such as +.Xr less 1 +or +.Xr more 1 , +or an editor such as +.Xr vi 1 +is +.Em NOT +to clear the screen after the program exits. +If you prefer to clear the screen there are a number of +.Dq xterm-clear +entries that add this capability in the +.Nm +file that you can use directly, or as examples. .Ss Glitches and Braindamage Hazeltine terminals, which do not allow `~' characters to be displayed, should indicate @@ -2102,15 +2120,11 @@ Hash database file containing terminal descriptions (see .Xr tset 1 , .Xr ul 1 , .Xr vi 1 , +.Xr xterm 1 , .Xr ncurses 3 , .Xr printf 3 , .Xr termcap 3 , .Xr term 5 -.Sh HISTORY -The -.Nm -file format appeared in -.Bx 3 . .Sh CAVEATS AND BUGS The .Em Note : @@ -2140,3 +2154,8 @@ The total length of a single entry (excluding only escaped newlines) may not exceed 1024. .Pp Not all programs support all entries. +.Sh HISTORY +The +.Nm +file format appeared in +.Bx 3 . diff --git a/share/termcap/termcap.src b/share/termcap/termcap.src index 7265fe9756..48e8081633 100644 --- a/share/termcap/termcap.src +++ b/share/termcap/termcap.src @@ -30,7 +30,7 @@ # SUCH DAMAGE. # # @(#)termcap.src 8.2 (Berkeley) 11/17/93 -# $FreeBSD: src/share/termcap/termcap.src,v 1.150 2008/01/08 16:00:24 rafan Exp $ +# $FreeBSD$ # Termcap source file # John Kunze, Berkeley @@ -1476,6 +1476,259 @@ nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi :al=\E[1L:dl=\E[1M:ic=\E[1@:dc=\E[1P:\ :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\ :tc=ansi.sysk: +# Hellmuth Michaelis +# pcvt vt220 terminal emulator console (pc keyboard & monitor) +# termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and +# 50 lines entries +# 80 columns +#--------------------------------------------------------------------------- +pcvt25|dec vt220 with 25 lines:\ + :li#25:\ + :co#80:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\ + :tc=pcvtXX: + +pcvt28|dec vt220 with 28 lines:\ + :li#28:\ + :co#80:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;28r\E[28;1H:\ + :tc=pcvtXX: + +pcvt35|dec vt220 with 35 lines:\ + :li#35:\ + :co#80:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;35r\E[35;1H:\ + :tc=pcvtXX: + +pcvt40|dec vt220 with 40 lines:\ + :li#40:\ + :co#80:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\ + :tc=pcvtXX: + +pcvt43|dec vt220 with 43 lines:\ + :li#43:\ + :co#80:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;43r\E[43;1H:\ + :tc=pcvtXX: + +pcvt50|dec vt220 with 50 lines:\ + :li#50:\ + :co#80:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;50r\E[50;1H:\ + :tc=pcvtXX: +# termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and +# 50 lines entries +# 132 columns +pcvt25w|dec vt220 with 25 lines and 132 cols:\ + :li#25:\ + :co#132:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\ + :tc=pcvtXX: + +pcvt28w|dec vt220 with 28 lines and 132 cols:\ + :li#28:\ + :co#132:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;28r\E[28;1H:\ + :tc=pcvtXX: + +pcvt35w|dec vt220 with 35 lines and 132 cols:\ + :li#35:\ + :co#132:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;35r\E[35;1H:\ + :tc=pcvtXX: + +pcvt40w|dec vt220 with 40 lines and 132 cols:\ + :li#40:\ + :co#132:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\ + :tc=pcvtXX: + +pcvt43w|dec vt220 with 43 lines and 132 cols:\ + :li#43:\ + :co#132:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;43r\E[43;1H:\ + :tc=pcvtXX: + +pcvt50w|dec vt220 with 50 lines and 132 cols:\ + :li#50:\ + :co#132:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;50r\E[50;1H:\ + :tc=pcvtXX: +# termcap entries for HP-Emulation and 25, 28, 35, 40, 43 and 50 +# lines entries. note that the HP-Emulation uses the bottom 3 lines +# for status and function key labels, so we get always 3 lines less. +# "Xs" is a nonstandard, private flag indicating HP-like fkey labels +# 80 column entries +pcvt22h|dec vt220 with HP-fkey labels and 22 lines:\ + :li#22:\ + :co#80:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;22r\E[22;1H:\ + :tc=pcvtXX: + +pcvt25h|dec vt220 with HP-fkey labels and 25 lines:\ + :li#25:\ + :co#80:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\ + :tc=pcvtXX: + +pcvt32h|dec vt220 with HP-fkey labels and 32 lines:\ + :li#32:\ + :co#80:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;32r\E[32;1H:\ + :tc=pcvtXX: + +pcvt37h|dec vt220 with HP-fkey labels and 37 lines:\ + :li#37:\ + :co#80:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;37r\E[37;1H:\ + :tc=pcvtXX: + +pcvt40h|dec vt220 with HP-fkey labels and 40 lines:\ + :li#40:\ + :co#80:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\ + :tc=pcvtXX: + +pcvt47h|dec vt220 with HP-fkey labels and 47 lines:\ + :li#47:\ + :co#80:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;47r\E[47;1H:\ + :tc=pcvtXX: +# termcap entries for HP-Emulation and 25, 28, 35, 40, 43 and 50 +# lines entries. note that the HP-Emulation uses the bottom 3 lines +# for status and function key labels, so we get always 3 lines less. +# "Xs" is a nonstandard, private flag indicating HP-like fkey labels +# 132 column entries +pcvt22hw|dec vt220 with HP-fkey labels, 22 lines and 132 cols:\ + :li#22:\ + :co#132:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;22r\E[22;1H:\ + :tc=pcvtXX: + +pcvt25hw|dec vt220 with HP-fkey labels, 25 lines and 132 cols:\ + :li#25:\ + :co#132:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\ + :tc=pcvtXX: + +pcvt32hw|dec vt220 with HP-fkey labels, 32 lines and 132 cols:\ + :li#32:\ + :co#132:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;32r\E[32;1H:\ + :tc=pcvtXX: + +pcvt37hw|dec vt220 with HP-fkey labels, 37 lines and 132 cols:\ + :li#37:\ + :co#132:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;37r\E[37;1H:\ + :tc=pcvtXX: + +pcvt40hw|dec vt220 with HP-fkey labels, 40 lines and 132 cols:\ + :li#40:\ + :co#132:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\ + :tc=pcvtXX: + +pcvt47hw|dec vt220 with HP-fkey labels, 47 lines and 132 cols:\ + :li#47:\ + :co#132:\ + :Xs:\ + :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;47r\E[47;1H:\ + :tc=pcvtXX: +# main entry, without "is" and "li" capabilities +pcvtXX|pcvt vt200 emulator (DEC VT220):\ + :AL=\E[%dL:\ + :DC=\E[%dP:\ + :DL=\E[%dM:\ + :DO=\E[%dB:\ + :IC=\E[%d@:\ + :LE=\E[%dD:\ + :RI=\E[%dC:\ + :SF=\E[%dS:\ + :SR=\E[%dT:\ + :UP=\E[%dA:\ + :ac=llmmkkjjuuttvvwwqqxxnnpprr``aa:\ + :ae=^O:\ + :al=\E[L:\ + :am:\ + :as=^N:\ + :bl=^G:\ + :bs:\ + :cb=\E[1K:\ + :cd=\E[J:\ + :ce=\E[K:\ + :cl=\E[H\E[J:\ + :cm=\E[%i%d;%dH:\ + :cr=^M:\ + :cs=\E[%i%d;%dr:\ + :ct=\E[3g:\ + :dc=\E[P:\ + :dl=\E[M:\ + :do=^J:\ + :eA=\E)0:\ + :ei=\E[4l:\ + :ho=\E[H:\ + :im=\E[4h:\ + :it#8:\ + :k1=\E[17~:\ + :k2=\E[18~:\ + :k3=\E[19~:\ + :k4=\E[20~:\ + :k5=\E[21~:\ + :k6=\E[23~:\ + :k7=\E[24~:\ + :k8=\E[25~:\ + :kD=\E[3~:\ + :kH=\E[4~:\ + :kI=\E[2~:\ + :kN=\E[6~:\ + :kP=\E[5~:\ + :kb=\177:\ + :kd=\EOB:\ + :ke=\E[?1l\E>:\ + :kh=\E[1~:\ + :kl=\EOD:\ + :km:\ + :kr=\EOC:\ + :ks=\E[?1h\E=:\ + :ku=\EOA:\ + :le=^H:\ + :mb=\E[5m:\ + :md=\E[1m:\ + :me=\E[m:\ + :mi:\ + :mr=\E[7m:\ + :ms:\ + :nd=\E[C:\ + :pb#16000000:\ + :pt:\ + :rc=\E8:\ + :rf=/usr/share/tabset/vt100:\ + :rs=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\ + :sc=\E7:\ + :se=\E[27m:\ + :sf=\ED:\ + :so=\E[7m:\ + :sr=\EM:\ + :st=\EH:\ + :ue=\E[24m:\ + :up=\E[A:\ + :us=\E[4m:\ + :vt#3:\ + :xn: + # # -------------------------------- # # T: TELETYPE @@ -2137,7 +2390,7 @@ cons60l1|cons60-iso8859-1:\ cons60l1-m|cons60-iso8859-1-mono:\ :li#60:tc=cons25l1-m: # 132x25 ISO 8859-1 FreeBSD console -cons25l1-w|:cons25w-iso8859-1:\ +cons25l1-w|cons25w-iso8859-1:\ :co#132:tc=cons25l1: cons30l1-w|cons30w-iso8859-1:\ :co#132:tc=cons30l1: @@ -2148,7 +2401,7 @@ cons50l1-w|cons50w-iso8859-1:\ cons60l1-w|cons60w-iso8859-1:\ :co#132:tc=cons60l1: # ISO 8859-7 FreeBSD console with ACS support -cons25l7:cons25-iso8859-7:\ +cons25l7|cons25-iso8859-7:\ :ac=f\260g\261{\360}\243+\253,\273i\247:\ :tc=cons25w: cons25l7-m|cons25-iso8859-7-mono:\ @@ -2228,7 +2481,7 @@ vt100|dec-vt100|vt100-am|vt100am|dec vt100:\ :K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:pt:sr=2*\EM:xn:\ :sc=2\E7:rc=2\E8:cs=5\E[%i%d;%dr:UP=2\E[%dA:DO=2\E[%dB:RI=2\E[%dC:\ :LE=2\E[%dD:ct=2\E[3g:st=2\EH:ta=^I:ms:bl=^G:cr=^M:eo:it#8:\ - :RA=\E[?7l:SA=\E[?7h: + :RA=\E[?7l:SA=\E[?7h:po=\E[5i:pf=\E[4i: vt100-nam|dec-vt100-nam|vt100nam|vt100 w/no am:\ :am@:xn@:\ :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\ @@ -2518,7 +2771,9 @@ SC|screen|VT 100/ANSI X3.64 virtual terminal:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\ :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\ - :kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:@7=\E[4~:kP=\E[5~:\ + :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\ + :F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\ + :kh=\E[1~:kI=\E[2~:kD=\E[3~:@7=\E[4~:kP=\E[5~:\ :kN=\E[6~:eA=\E(B\E)0:as=^N:ae=^O:ti=\E[?1049h:te=\E[?1049l:\ :vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ @@ -2529,48 +2784,54 @@ SH|screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line:\ :ts=\E_:fs=\E\\:ds=\E_\E\\:tc=screen: SW|screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\ :co#132:tc=screen: -# $Xorg: termcap,v 1.3 2000/08/17 19:55:10 cpqbld Exp $ +screen-256color|VT 100/ANSI X3.64 terminal with 256 colors:\ + :Co#256:pa#32767:\ + :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=screen: +# $XTermId: termcap,v 1.78 2009/11/09 00:24:26 tom 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. +# 'xterm-mono' drops color in favor of additional function keys. If you +# need both, use terminfo. # # The 1023-character limit applies to each entry after resolving the # "tc=" strings. Some implementations may discount all or part of the # formatting characters in the entry (i.e., the backslash newline tab # colon). GNU termcap does not have this limit. # -# I checked the limits using ncurses "captoinfo -CrTv", which prints +# I checked the limits using ncurses "captoinfo -CrTUvx", which prints # the resolved length of each entry in a comment at the end - T.Dickey + +# Add the capability to "clear the screen" after exiting vi, more/less, etc. # -# $XFree86: xc/programs/xterm/termcap,v 3.28 2001/01/17 23:46:39 dawes Exp $ -# -xterm-xfree86|XFree86 xterm:\ - :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ - :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\ - :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\ - :@7=\EOF:@8=\EOM:kI=\E[2~:\ - :kh=\EOH:kP=\E[5~:kN=\E[6~:\ - :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:Km=\E[M:tc=xterm-basic: +xterm-clear:\ + :te=\E[?1049l:ti=\E[?1049h:\ + :tc=xterm-new: +xterm-new|modern xterm:\ + :@7=\EOF:@8=\EOM:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:\ + :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\ + :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:\ + :kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:\ + :tc=xterm-basic: # # This chunk is used for building the VT220/Sun/PC keyboard variants. -xterm-basic|xterm common (XFree86):\ - :li#24:co#80:am:kn#12:km:mi:ms:xn:AX:bl=^G:\ - :is=\E[!p\E[?3;4l\E[4l\E>:rs=\E[!p\E[?3;4l\E[4l\E>:le=^H:\ - :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:al=\E[L:dc=\E[P:dl=\E[M:\ - :UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\ - :ho=\E[H:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:\ - :im=\E[4h:ei=\E[4l:ks=\E[?1h\E=:ke=\E[?1l\E>:kD=\E[3~:kb=^H:\ - :sf=\n:sr=\EM:st=\EH:ct=\E[3g:sc=\E7:rc=\E8:\ - :eA=\E(B\E)0:as=\E(0:ae=\E(B:ml=\El:mu=\Em:up=\E[A:nd=\E[C:\ - :md=\E[1m:me=\E[m:mr=\E[7m:so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\ - :ti=\E[?1049h:te=\E[?1049l:vi=\E[?25l:ve=\E[?25h:\ - :ut:Co#8:pa#64:op=\E[39;49m:AB=\E[4%dm:AF=\E[3%dm: +xterm-basic|modern xterm common:\ + :am:bs:km:mi:ms:ut:xn:AX:\ + :Co#8:co#80:kn#12:li#24:pa#64:\ + :AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\ + :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:\ + :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\ + :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\ + :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\ + :kD=\E[3~:kb=^H:ke=\E[?1l\E>:ks=\E[?1h\E=:le=^H:md=\E[1m:\ + :me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\ + :rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:\ + :so=\E[7m:sr=\EM:st=\EH:\ + :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?12l\E[?25h:vi=\E[?25l:vs=\E[?12;25h: -# The xterm-xfree86 description has all of the features, but is not completely +# The xterm-new description has all of the features, but is not completely # compatible with vt220. If you are using a Sun or PC keyboard, set the # sunKeyboard resource to true: # + maps the editing keypad @@ -2580,68 +2841,97 @@ xterm-basic|xterm common (XFree86):\ # + uses DEC-style control sequences for the application keypad. # xterm-vt220|xterm emulating vt220:\ - :kH=\E[4~::@7=\E[4~:*6=\E[4~:kh=\E[1~:Km=\E[M:tc=xterm-basic: + :*6=\E[4~:@7=\E[4~:K2=\EOu:Km=\E[M:kH=\E[4~:kh=\E[1~:\ + :tc=xterm-basic: xterm-24|xterms|vs100|24x80 xterm:\ - :li#24:\ - :tc=xterm: + :li#24:tc=xterm-old: xterm-65|65x80 xterm:\ - :li#65:tc=xterm: + :li#65:tc=xterm-old: xterm-bold|xterm with bold for underline:\ - :so=\E[7m:us=\E[1m:tc=xterm: + :so=\E[7m:us=\E[1m:tc=xterm-old: xterm-boldso|xterm with bold for standout:\ - :se=\E[m:so=\E[1m:tc=xterm: + :se=\E[m:so=\E[1m:tc=xterm-old: xterm-mono|monochrome xterm:\ - :kn#20:\ - :st@:ut@:Co@:NC@:op@:AB@:AF@:pa@:Sf@:Sb@:tc=xterm: + :ut@:\ + :Co@:NC@:kn#20:pa@:\ + :AB@:AF@:Sb@:Sf@:op@:st@:tc=xterm-old: # # Alternate terminal description that "works" for interactive shells such as # tcsh and bash. xterm-noapp|xterm with cursor keys in normal mode:\ - :kl=\E[D:kd=\E[B:kr=\E[C:ku=\E[A:ks=\E=:ke=\E>:ti@:te@:tc=xterm: + :kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:te@:ti@:\ + :tc=xterm: +# +# This should work for the commonly used "color xterm" variations (XFree86 +# xterm, color_xterm, nxterm, rxvt). Note that it does not set 'bce', so for +# XFree86 and rxvt, some applications that use colors will be less efficient, +# and in a few special cases (with "smart" optimization) the wrong color will +# be painted in spots. +xterm-color|generic "ANSI" color xterm:\ + :Co#8:NC@:pa#64:\ + :AB=\E[4%dm:AF=\E[3%dm:ac=:op=\E[m:tc=xterm-r6: # # These aliases are for compatibility with the terminfo; termcap cannot provide -# the extra features, but termcap applications still want the names. -xterm-16color|xterm alias 1:tc=xterm-xfree86: -xterm-88color|xterm alias 2:tc=xterm-256color: -xterm-256color|xterm alias 3:tc=xterm-xfree86: -xterm-nrc|xterm alias 4:tc=xterm: -xterm-rep|xterm alias 5:tc=xterm: -xterm-xmc|xterm alias 6:sg#1:tc=xterm: +# the extra features such as color initialization, but termcap applications +# still want the names. +xterm-16color|xterm alias 1:\ + :tc=xterm-new: + +xterm-88color|xterm alias 2:\ + :Co#88:pa#7744:tc=xterm-256color: + +xterm-256color|xterm alias 3:\ + :Co#256:pa#32767:\ + :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=xterm-new: + +xterm-nrc|xterm alias 4:\ + :tc=xterm: +xterm-rep|xterm alias 5:\ + :tc=xterm: +xterm-xmc|xterm alias 6:\ + :sg#1:tc=xterm: # # An 8-bit description is doable with termcap, but there are probably no # termcap (or BSD curses) applications that are able to use it. +# +# Add the capability to "clear the screen" after exiting vi, more/less, etc. +# +xterm-8bit-clear:\ + :te=\233?1049l:ti=\233?1049h:ue=\23324m:\ + :tc=xterm-8bit: xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\ - :co#80:li#24:\ - :it#8:am:km:mi:ms:xn:\ - :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:LE=\233%dD:\ - :RI=\233%dC:UP=\233%dA:ae=^O:al=\233L:as=^N:bl=^G:bt=\233Z:\ - :cd=\233J:ce=\233K:cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:\ - :cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=^J:up=\233A:nd=\233C:\ - :ei=\2334l:ho=\233H:im=\2334h:\ + :am:km:mi:ms:xn:\ + :co#80:it#8:li#24:\ + :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\ + :K2=\217y:Km=\233M:LE=\233%dD:RI=\233%dC:UP=\233%dA:\ + :ae=\E(B:al=\233L:as=\E(0:bl=^G:bt=\233Z:cd=\233J:ce=\233K:\ + :cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\ + :ct=\2333g:dc=\233P:dl=\233M:do=^J:ei=\2334l:ho=\233H:\ + :im=\2334h:\ :is=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8:\ :k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\ :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\ :kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\ :ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\ - :ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m^O:mr=\2337m:\ - :rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\ - :st=\210:ta=^I:te=\233?1049l:ti=\233?1049h:ue=\23324m:us=\2334m:\ - :vb=\233?5h\233?5l:ve=\233?25h:vi=\233?25l:Km=\233M: -# -xterm-hp|XFree86 xterm with hpterm function keys:\ - :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\ - :kC=\EJ:kD=\EP:@7=\EF:kI=\EQ:kN=\ES:kP=\ET:kh=\Eh:\ - :kd=\EB:kl=\ED:kr=\EC:ku=\EA:tc=xterm-basic: -# -xterm-sco|XFree86 xterm with SCO function keys:\ - :kl=\E[D:kd=\E[B:kr=\E[C:ku=\E[A:@7=\E[F:\ - :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\ - :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:\ - :F1=\E[W:F2=\E[X:F3=\E[Y:F5=\E[a:F6=\E[b:\ - :F7=\E[c:F8=\E[d:F9=\E[e:FA=\E[f:FB=\E[g:\ - :FC=\E[h:FD=\E[i:FE=\E[j:FF=\E[k:\ - :kh=\E[H:kI=\E[L:kN=\E[G:kP=\E[I:ac@:tc=xterm-basic: + :ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m:mr=\2337m:\ + :nd=\233C:rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\ + :st=\210:ta=^I:ue=\23324m:\ + :up=\233A:us=\2334m:vb=\233?5h\233?5l:ve=\233?25l\233?25h:\ + :vs=\233?12;25h:vi=\233?25l: +# +xterm-hp|xterm with hpterm function keys:\ + :@7=\EF:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\ + :k8=\Ew:kC=\EJ:kD=\EP:kI=\EQ:kN=\ES:kP=\ET:kd=\EB:kh=\Eh:\ + :kl=\ED:kr=\EC:ku=\EA:tc=xterm-basic: +# +xterm-sco|xterm with SCO function keys:\ + :@7=\E[F:F1=\E[W:F2=\E[X:F3=\E[Y:F5=\E[a:F6=\E[b:F7=\E[c:\ + :F8=\E[d:F9=\E[e:FA=\E[f:FB=\E[g:FC=\E[h:FD=\E[i:FE=\E[j:\ + :FF=\E[k:ac=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\ + :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kD=\177:kI=\E[L:\ + :kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\ + :tc=xterm-basic: # xterm-vt52|xterm emulating vt52:\ :bs:\ @@ -2651,63 +2941,77 @@ xterm-vt52|xterm emulating vt52:\ :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA: # xterm-sun|xterm with Sun functionkeys:\ - :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:\ - :k5=\E[228z:k6=\E[229z:k7=\E[230z:k8=\E[231z:\ - :k9=\E[232z:k;=\E[233z:F1=\E[192z:F2=\E[193z:\ - :%1=\E[196z:&8=\E[195z:@0=\E[200z:kI=\E[2z:\ - :kN=\E[222z:kP=\E[216z:kh=\E[214z:kD=^?:\ - :Km=\E[M:@5=\E[197z::@7=\E[220z:\ + :%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\ + :F1=\E[192z:F2=\E[193z:K2=\E[218z:Km=\E[M:k1=\E[224z:\ + :k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\ + :k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kD=\E[3z:\ + :kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\ :tc=xterm-basic: # # vi may work better with this entry, because vi doesn't use insert mode much. -# |xterm-ic|xterm-vi|xterm with insert character instead of insert mode: +# |xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\ xterm-ic|xterm-vi|xterm with insert char:\ - :im@:ei@:mi@:ic=\E[@:IC=\E[%d@:tc=xterm: + :mi@:\ + :IC=\E[%d@:ei@:ic=\E[@:im@:tc=xterm: # # Compatible with the X11R6.3 xterm +# +# Add the capability to "clear the screen" after exiting vi, more/less, etc. +# +xterm-r6-clear:\ + :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:\ + :tc=xterm-r6: xterm-r6|xterm-old|X11R6 xterm:\ + :am:bs:km:mi:ms:pt:xn:\ + :co#80:kn#20:li#24:\ + :*6=\E[4~:@0=\E[1~:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\ + :DO=\E[%dB: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~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:\ + :as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\ + :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:eA=\E)0:ei=\E[4l:\ + :ho=\E[H:im=\E[4h:\ :is=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\ - :rs=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\ - :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:\ - :bs: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>:@7=\E[4~:kh=\E[1~:\ :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~: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:km:@0=\E[1~:kI=\E[2~:kD=^?:*6=\E[4~:kP=\E[5~:kN=\E[6~:\ - :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:pt:\ - :eA=\E)0:as=^N:ae=^O:ml=\El:mu=\Em:\ - :sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM:\ - :ti=\E7\E[?47h:te=\E[2J\E[?47l\E8:up=\E[A:us=\E[4m:ue=\E[m:xn: + :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\ + :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\ + :ku=\EOA:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:\ + :rc=\E8:rs=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\ + :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\ + :ue=\E[m:up=\E[A:us=\E[4m: # # Compatible with the R5 xterm +# +# Add the capability to "clear the screen" after exiting vi, more/less, etc. +# +xterm-r5-clear:\ + :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:\ + :tc=xterm-r5: xterm-r5|X11R5 xterm X11R5:\ - :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:UP=\E[%dA:\ - :al=\E[L:am:\ - :bs: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:\ - :im=\E[4h:ei=\E[4l:mi:\ - :ho=\E[H:\ + :am:bs:km:mi:ms:pt:xn:\ + :co#80:kn#4:li#24:\ + :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\ + :IC=\E[%d@:UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\ + :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\ + :ei=\E[4l:ho=\E[H:im=\E[4h:\ :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\ + :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:kb=^H:kd=\EOB:\ + :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\ + :ku=\EOA:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\ :rs=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\ - :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:kb=^H:kd=\EOB:ke=\E[?1l\E>:\ - :kl=\EOD:km:kn#4:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:\ - :@7=\E[4~:kh=\E[1~:\ - :li#24:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:pt:\ - :sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM:\ - :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\ - :up=\E[A:us=\E[4m:ue=\E[m:xn: + :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\ + :up=\E[A:us=\E[4m: +# +# Customization begins here. +xterm-xfree86|xterm terminal emulator (XFree86):\ + :tc=xterm-new: # # This is the only entry which you should have to customize, since "xterm" # is widely used for a variety of incompatible terminal emulations including # color_xterm and rxvt. -xterm|xterm-color|X11 terminal emulator:\ - :ti@:te@:tc=xterm-xfree86: +xterm|X11 terminal emulator:\ + :tc=xterm-new: # :tc=xterm-r6: # dtterm termcap entry - Obtained from Xinside's CDE with permission # from Thomas Roell @@ -3745,6 +4049,31 @@ wy100q|Wyse 100 for Quotron:\ :dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:is=\E`\072\200\EC\EDF\E0\E'\E(\EA21:\ :kd=^J:kl=^H:kr=^L:ku=^K:li#24:nd=^L:up=^K:us=\EG8:ue=\EG0:\ :so=\EG4:se=\EG0:sg#1:sr=\Ej:ho=^^:ug#1: +# Wyse 120 definitions from conf/81882 by Meister des Chaos +wy120|wyse120|wy150|wyse150|Wyse 120/150:\ + :am:bw:hs:km:mi:ms:xo:\ + :co#80:it#8:li#24:pb#9601:ws#45:\ + :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\ + :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\ + :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\ + :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\ + :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\ + :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\ + :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\ + :me=\E(\EH\003\EG0\EcD:mh=\EGp:mr=\EG4:nd=^L:nw=\r\n:\ + :se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:\ + :ti=\Ew0:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:\ + :vi=\E`0: +wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\ + :cm=\Ea%i%dR%dC:co#132:ws#97:tc=wy120: +wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\ + :li#25:tc=wy120: +wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\ + :cm=\Ea%i%dR%dC:co#132:li#25:ws#97:tc=wy120: +wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\ + :bl@:tc=wy120: +wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\ + :bl@:cm=\Ea%i%dR%dC:co#132:ws#97:tc=wy120: # # -------------------------------- # # y: TELERAY @@ -4080,11 +4409,11 @@ yterm10|yterm 1.0 UCB ascii.kbd:\ :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\ :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\ :vs=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY0 \EH \EH \EH \EH \EH \EH \EH \EH \EH\r: -# YTERM varient version 1.1. (gts 9-13-84) Version 1.1 has :xn:. +# YTERM variant version 1.1. (gts 9-13-84) Version 1.1 has :xn:. yterm11|yterm 1.1 UCB ascii.kbd:\ :xn:is=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY1 for \EHYTERM 1.\EH1 with A\EHSCII.KBD\EH 9-13-84\EH \EH \EH \EH \EH\n:\ :tc=yterm10: -# YTERM 1.0 varient no autowrap or tabs +# YTERM 1.0 variant no autowrap or tabs # X does not remember autowrap or tabs when T is deleted and restarted. yterm10nat|yterm 1.0 UCB ascii.kbd no autowrap or tabs:\ :am@:pt@:vs=^O\E[7i\E[m\E[?7l\E[?3g\rY2\r:\ @@ -4146,7 +4475,7 @@ h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\ :am@:ta@:pt@:xt:da:db:tc=h19-u: # Amiga termcap by Kent Polk, kent@swrinde.nde.swri.edu (30 May 90) # Added a few more entries, converted caret-type control sequence (^x) entries -# to '\0xx' entries since a couple of people mentioned loosing '^x' sequences. +# to '\0xx' entries since a couple of people mentioned losing '^x' sequences. # # :as, :ae Support for alternate character sets. # :ve=\E[\040p:vi=\E[\060\040p cursor visible/invisible. @@ -4248,7 +4577,9 @@ linux|Linux Console:\ :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\ :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\ - :ve=\E[?25h:vi=\E[?25l: + :ve=\E[?25h:vi=\E[?25l:\ + :k;=\E[21~: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~: linux-m|Linux Console no color:\ :pa@:Co@:AF@:AB@:op@:\ :tc=linux: @@ -4294,29 +4625,21 @@ rxvt-mono|rxvt terminal emulator (monochrome) (X Window System):\ :te=\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\ :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h: +# Termcap entry for rxvt-unicode, taken from http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry +rxvt-unicode|rxvt-unicode terminal (X Window System):\ + :SF=\E[%dS:SR=\E[%dT:bw:ec=\E[%dX:kb=\177:kd=\EOB:ke=\E[?1l\E>:\ + :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:lm#0:te=\E[r\E[?1049l:\ + :ti=\E[?1049h:tc=rxvt-mono: + rxvt|rxvt terminal emulator (X Window System):\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-mono: -rxvt-unicode|rxvt-unicode terminal (X Window System):\ - :am:bw:eo:km:mi:ms:xn:xo:\ - :co#80:it#8:li#24:lm#0:\ - :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\ - :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\ - :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E(B:al=\E[L:\ - :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\ - :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\ - :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:\ - :i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\ - :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\ - :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~:kD=\E[3~:\ - :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:\ - :kh=\E[7~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\ - :mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\ - :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ - :te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:\ - :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ - :vs=\E[?25h: +rxvt-256color|rxvt terminal emulator with 256 colors:\ + :Co#256:pa#32767:\ + :AB=\E[48;5;%dm:AF=\E[38;5;%dm:op=\E[39;49m:tc=rxvt-unicode: + +rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\ + :tc=rxvt-256color: # Termcap entry for Eterm, taken from the sources of Eterm-0.9.2 Eterm|Eterm Terminal Emulator (X11 Window System):\