termcap.small revision 200503
11769Sjkh# Copyright (c) 1980, 1985, 1989 The Regents of the University of California.
21769Sjkh# All rights reserved.
31769Sjkh#
41769Sjkh# Redistribution and use in source and binary forms, with or without
51769Sjkh# modification, are permitted provided that the following conditions
61769Sjkh# are met:
71769Sjkh# 1. Redistributions of source code must retain the above copyright
81769Sjkh#    notice, this list of conditions and the following disclaimer.
91769Sjkh# 2. Redistributions in binary form must reproduce the above copyright
101769Sjkh#    notice, this list of conditions and the following disclaimer in the
111769Sjkh#    documentation and/or other materials provided with the distribution.
121769Sjkh# 3. All advertising materials mentioning features or use of this software
131769Sjkh#    must display the following acknowledgement:
141769Sjkh#	This product includes software developed by the University of
151769Sjkh#	California, Berkeley and its contributors.
161769Sjkh# 4. Neither the name of the University nor the names of its contributors
171769Sjkh#    may be used to endorse or promote products derived from this software
181769Sjkh#    without specific prior written permission.
191769Sjkh#
201769Sjkh# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
211769Sjkh# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
221769Sjkh# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
231769Sjkh# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
241769Sjkh# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
251769Sjkh# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
261769Sjkh# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
271769Sjkh# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
281769Sjkh# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
291769Sjkh# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
301769Sjkh# SUCH DAMAGE.
311769Sjkh#
321769Sjkh#	@(#)termcap.src	5.88 (Berkeley) 4/30/91
3351237Speter# $FreeBSD: head/etc/termcap.small 200503 2009-12-14 07:18:31Z dougb $
34130151Sschweikh#
351769Sjkh# for syscons
363876Sache# common entry without semigraphics
373876Sachecons25w|ansiw|ansi80x25-raw:\
3875786Sache	:am:bs:NP:ms:pt:AX:eo:bw:ut:km:\
3975786Sache	:co#80:li#25:pa#64:Co#8:it#8:\
4075786Sache	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
4175786Sache	:dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:cb=\E[1K:\
4275786Sache	:nd=\E[C:rs=\Ec:so=\E[7m:se=\E[27m:up=\E[A:cr=^M:ta=^I:\
4375786Sache	:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:sc=\E7:rc=\E8:\
443120Sache	:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
455559Sache	:k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\
4675786Sache	:kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:sf=\E[S:sr=\E[T:\
4762284Sache	:kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\177:kB=\E[Z:\
481769Sjkh	:IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\
4975786Sache	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:\
5081669Sache	:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:bl=^G:\
5181669Sache	:ve=\E[=S:vi=\E[=1S:vs=\E[=2S:
5286793Sache# CP437 FreeBSD console with ACS support
533876Sachecons25|ansis|ansi80x25:\
5486793Sache	:ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\
553876Sache	:tc=cons25w:
563623Sachecons25-m|ansis-mono|ansi80x25-mono:\
5763728Sache	:pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25:
5862284Sachecons30|ansi80x30:\
5962284Sache	:li#30:tc=cons25:
6062284Sachecons30-m|ansi80x30-mono:\
6162284Sache	:li#30:tc=cons25-m:
6262284Sachecons43|ansi80x43:\
6362284Sache	:li#43:tc=cons25:
6462284Sachecons43-m|ansi80x43-mono:\
6562284Sache	:li#43:tc=cons25-m:
661769Sjkhcons50|ansil|ansi80x50:\
677708Srgrimes	:li#50:tc=cons25:
683623Sachecons50-m|ansil-mono|ansi80x50-mono:\
693623Sache	:li#50:tc=cons25-m:
7062284Sachecons60|ansi80x60:\
7162284Sache	:li#60:tc=cons25:
7262284Sachecons60-m|ansi80x60-mono:\
7362284Sache	:li#60:tc=cons25-m:
74194107Sedwin# Syscons console with 132 characters (VESA modes)
75194107Sedwincons25-w|ansi132x25:\
76194107Sedwin	:co#132:tc=cons25:
77194107Sedwincons30-w|ansi132x30:\
78194107Sedwin	:co#132:tc=cons30:
79194107Sedwincons43-w|ansi132x43:\
80194107Sedwin	:co#132:tc=cons43:
81194107Sedwincons50-w|ansil-w|ansi132x50:\
82194107Sedwin	:co#132:tc=cons50:
83194107Sedwincons60-w|ansi132x60:\
84194107Sedwin	:co#132:tc=cons60:
8575717Sache# KOI8-R/KOI8-U FreeBSD console with ACS support
8675717Sachecons25r|cons25u|pc3r|ibmpc3r|cons25-koi8:\
8786791Sache	:ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\2210\215:\
8865073Sache	:tc=cons25w:
8975717Sachecons25r-m|cons25u-m|pc3r-m|ibmpc3r-mono|cons25-koi8-mono:\
9063728Sache	:pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25r:
9175717Sachecons30r|cons30u|cons30-koi8:\
9262284Sache	:li#30:tc=cons25r:
9375717Sachecons30r-m|cons30u-m|cons30-koi8-mono:\
9462284Sache	:li#30:tc=cons25r-m:
9575717Sachecons43r|cons43u|cons43-koi8:\
9662284Sache	:li#43:tc=cons25r:
9775717Sachecons43r-m|cons43u-m|cons43-koi8-mono:\
9862284Sache	:li#43:tc=cons25r-m:
9975717Sachecons50r|cons50u|cons50-koi8:\
1003132Sache	:li#50:tc=cons25r:
10175717Sachecons50r-m|cons50u-m|cons50-koi8-mono:\
1023623Sache	:li#50:tc=cons25r-m:
10375717Sachecons60r|cons60u|cons60-koi8:\
10462284Sache	:li#60:tc=cons25r:
10575717Sachecons60r-m|cons60u-m|cons60-koi8-mono:\
10662284Sache	:li#60:tc=cons25r-m:
107194107Sedwin# Syscons console with 90 characters (VGA modes)
108194107Sedwin# KOI8-R/KOI8-U FreeBSD console with ACS support.
109194107Sedwincons25r-v|cons25u-v|pc3r-v|ibmpc3r-vga|cons25-koi8-vga:\
110194107Sedwin	:co#90:tc=cons25r:
111194107Sedwincons25r-mv|cons25u-mv|pc3r-mv|ibmpc3r-monovga|cons25-koi8-monovga:\
112194107Sedwin	:co#90:tc=cons25r-m:
113194107Sedwincons30r-v|cons30u-v|cons30-koi8-vga:\
114194107Sedwin	:co#90:tc=cons30r:
115194107Sedwincons30r-mv|cons30u-mv|cons30-koi8-monovga:\
116194107Sedwin	:co#90:tc=cons30r-m:
117194107Sedwincons43r-v|cons43u-v|cons43-koi8-vga:\
118194107Sedwin	:co#90:tc=cons43r:
119194107Sedwincons43r-mv|cons43u-mv|cons43-koi8-monovga:\
120194107Sedwin	:co#90:tc=cons43r-m:
121194107Sedwincons50r-v|cons50u-v|cons50-koi8-vga:\
122194107Sedwin	:co#90:tc=cons50r:
123194107Sedwincons50r-mv|cons50u-mv|cons50-koi8-monovga:\
124194107Sedwin	:co#90:tc=cons50r-m:
125194107Sedwincons60r-v|cons60u-v|cons60-koi8-vga:\
126194107Sedwin	:co#90:tc=cons60r:
127194107Sedwincons60r-mv|cons60u-mv|cons60-koi8-monovga:\
128194107Sedwin	:co#90:tc=cons60r-m:
12962284Sache# ISO 8859-2 FreeBSD console with ACS support
13062284Sachecons25l2|cons25-iso8859-2:\
13186791Sache	:ac=f\260i\247:\
13262284Sache	:tc=cons25w:
13362284Sachecons25l2-m|cons25-iso8859-2-mono:\
13463728Sache	:pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l2:
13562284Sachecons30l2|cons30-iso8859-2:\
13662284Sache	:li#30:tc=cons25l2:
13762284Sachecons30l2-m|cons30-iso8859-2-mono:\
13862284Sache	:li#30:tc=cons25l2-m:
13962284Sachecons43l2|cons43-iso8859-2:\
14062284Sache	:li#43:tc=cons25l2:
14162284Sachecons43l2-m|cons43-iso8859-2-mono:\
14262284Sache	:li#43:tc=cons25l2-m:
14362284Sachecons50l2|cons50-iso8859-2:\
14462284Sache	:li#50:tc=cons25l2:
14562284Sachecons50l2-m|cons50-iso8859-2-mono:\
14662284Sache	:li#50:tc=cons25l2-m:
14762284Sachecons60l2|cons60-iso8859-2:\
14862284Sache	:li#60:tc=cons25l2:
14962284Sachecons60l2-m|cons60-iso8859-2-mono:\
15062284Sache	:li#60:tc=cons25l2-m:
15162284Sache# ISO 8859-1 FreeBSD console with ACS support
1523623Sachecons25l1|cons25-iso8859-1:\
15386791Sache	:ac=f\260g\261}\243+\253,\273i\247:\
1543876Sache	:tc=cons25w:
1553623Sachecons25l1-m|cons25-iso8859-1-mono:\
15663728Sache	:pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l1:
15762284Sachecons30l1|cons30-iso8859-1:\
15862284Sache	:li#30:tc=cons25l1:
15962284Sachecons30l1-m|cons30-iso8859-1-mono:\
16062284Sache	:li#30:tc=cons25l1-m:
16162284Sachecons43l1|cons43-iso8859-1:\
16262284Sache	:li#43:tc=cons25l1:
16362284Sachecons43l1-m|cons43-iso8859-1-mono:\
16462284Sache	:li#43:tc=cons25l1-m:
1653623Sachecons50l1|cons50-iso8859-1:\
1663132Sache	:li#50:tc=cons25l1:
1673623Sachecons50l1-m|cons50-iso8859-1-mono:\
1683623Sache	:li#50:tc=cons25l1-m:
16962284Sachecons60l1|cons60-iso8859-1:\
17062284Sache	:li#60:tc=cons25l1:
17162284Sachecons60l1-m|cons60-iso8859-1-mono:\
17262284Sache	:li#60:tc=cons25l1-m:
173194107Sedwin# 132x25 ISO 8859-1 FreeBSD console
174194107Sedwincons25l1-w|:cons25w-iso8859-1:\
175194107Sedwin	:co#132:tc=cons25l1:
176194107Sedwincons30l1-w|cons30w-iso8859-1:\
177194107Sedwin	:co#132:tc=cons30l1:
178194107Sedwincons43l1-w|cons43w-iso8859-1:\
179194107Sedwin	:co#132:tc=cons43l1:
180194107Sedwincons50l1-w|cons50w-iso8859-1:\
181194107Sedwin	:co#132:tc=cons50l1:
182194107Sedwincons60l1-w|cons60w-iso8859-1:\
183194107Sedwin	:co#132:tc=cons60l1:
18486789Sache# ISO 8859-7 FreeBSD console with ACS support
185194088Sedwincons25l7|cons25-iso8859-7:\
18686791Sache	:ac=f\260g\261{\360}\243+\253,\273i\247:\
18786789Sache	:tc=cons25w:
18886789Sachecons25l7-m|cons25-iso8859-7-mono:\
18986789Sache	:pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l7:
19086789Sachecons30l7|cons30-iso8859-7:\
19186789Sache	:li#30:tc=cons25l7:
19286789Sachecons30l7-m|cons30-iso8859-7-mono:\
19386789Sache	:li#30:tc=cons25l7-m:
19486789Sachecons43l7|cons43-iso8859-7:\
19586789Sache	:li#43:tc=cons25l7:
19686789Sachecons43l7-m|cons43-iso8859-7-mono:\
19786789Sache	:li#43:tc=cons25l7-m:
19886789Sachecons50l7|cons50-iso8859-7:\
19986789Sache	:li#50:tc=cons25l7:
20086789Sachecons50l7-m|cons50-iso8859-7-mono:\
20186789Sache	:li#50:tc=cons25l7-m:
20286789Sachecons60l7|cons60-iso8859-7:\
20386789Sache	:li#60:tc=cons25l7:
20486789Sachecons60l7-m|cons60-iso8859-7-mono:\
20586789Sache	:li#60:tc=cons25l7-m:
20662284Sache#
2071769Sjkhdosansi|ANSI.SYS standard crt:\
2087708Srgrimes	:am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\
2097708Srgrimes	:do=\E[B:li#25:mi:nd=\E[C:\
2107708Srgrimes	:se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\
21163728Sache	:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
2127708Srgrimes	:kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
2137708Srgrimes	:k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\
2147708Srgrimes	:k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED:
2151769Sjkh
2161769Sjkh# The following is a version of the ibm-pc entry distributed with PC/IX,
2171769Sjkh# (Interactive Systems' System 3 for the Big Blue), modified by Richard
2181769Sjkh# McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
2191769Sjkh# (the former is untrue, and the latter failed under UCB/man); standout and
2201769Sjkh# underline modes have been added.  Note: this entry describes the "native"
2211769Sjkh# capabilities of the PC monochrome display, without ANY emulation; most
2221769Sjkh# communications packages (but NOT PC/IX connect) do some kind of emulation.
2231769Sjkhpc|ibmpc|ibm pc PC/IX:\
2241769Sjkh	:li#24:co#80:am:bs:bw:eo:\
2251769Sjkh	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
2261769Sjkh	:nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:
2271769Sjkhpc3|ibmpc3|IBM PC 386BSD Console:\
2283120Sache	:Co#8:\
2291769Sjkh	:DO=\E[%dB:\
2303120Sache	:F1=\E[W:\
2313120Sache	:F2=\E[X:\
2321769Sjkh	:K1=\E[H:\
2331769Sjkh	:K2=\E[I:\
2341769Sjkh	:K3=\E[E:\
2351769Sjkh	:K4=\E[F:\
2361769Sjkh	:K5=\E[G:\
2371769Sjkh	:LE=\E[%dD:\
2381769Sjkh	:RI=\E[%dC:\
239194107Sedwin	:AB=\E[1;%dx:\
240194107Sedwin	:AF=\E[2;%dx:\
2411769Sjkh	:UP=\E[%dA:\
242194107Sedwin	:ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\
2431769Sjkh	:am:\
2441769Sjkh	:bl=^G:\
2451769Sjkh	:bs:\
2461769Sjkh	:cb=\E[1K:\
2471769Sjkh	:cd=\E[J:\
2481769Sjkh	:ce=\E[K:\
2491769Sjkh	:cl=\E[H\E[J:\
2501769Sjkh	:cm=\E[%i%d;%dH:\
2511769Sjkh	:co#80:\
2521769Sjkh	:cr=^M:\
2533399Sache	:do=\E[B:\
2541769Sjkh	:ho=\E[H:\
2551769Sjkh	:is=\E[m:\
2563120Sache	:it#8:\
2573120Sache	:k;=\E[V:\
2581769Sjkh	:k1=\E[M:\
2591769Sjkh	:k2=\E[N:\
2601769Sjkh	:k3=\E[O:\
2611769Sjkh	:k4=\E[P:\
2621769Sjkh	:k5=\E[Q:\
2631769Sjkh	:k6=\E[R:\
2641769Sjkh	:k7=\E[S:\
2651769Sjkh	:k8=\E[T:\
2661769Sjkh	:k9=\E[U:\
2671769Sjkh	:kD=\177:\
2683120Sache	:@7=\E[F:\
2691769Sjkh	:kN=\E[G:\
2701769Sjkh	:kP=\E[I:\
2711769Sjkh	:kb=\177:\
2721769Sjkh	:kd=\E[B:\
2731769Sjkh	:kh=\E[H:\
2741769Sjkh	:kl=\E[D:\
2751769Sjkh	:kr=\E[C:\
2761769Sjkh	:ku=\E[A:\
2771769Sjkh	:le=^H:\
2781769Sjkh	:li#25:\
2791769Sjkh	:ms:\
2801769Sjkh	:nd=\E[C:\
2813120Sache	:op=\E[x:\
2823120Sache	:pa#64:\
2831769Sjkh	:rs=\E[m:\
2841769Sjkh	:se=\E[m:\
2851769Sjkh	:sf=\E[S:\
2861769Sjkh	:so=\E[7;1r\E[7m:\
2871769Sjkh	:sr=\E[T:\
2881769Sjkh	:ta=^I:\
2891769Sjkh	:te=\E[m:\
2901769Sjkh	:ti=\E[m:\
2913120Sache	:up=\E[A:\
2923120Sache	:ut:
293194107Sedwin
294200369Sed# $XTermId: termcap,v 1.78 2009/11/09 00:24:26 tom Exp $
295194107Sedwin#
296200369Sedxterm-new|modern xterm:\
297200369Sed	:*6=\EOF:@7=\EOF:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:\
298200369Sed	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
299200369Sed	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kH=\EOF:kI=\E[2~:\
300200369Sed	:kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:\
301200369Sed	:tc=xterm-basic:
302194107Sedwin#
303194107Sedwin# This chunk is used for building the VT220/Sun/PC keyboard variants.
304200369Sedxterm-basic|modern xterm common:\
305200369Sed	:am:bs:km:mi:ms:ut:xn:AX:\
306200369Sed	:Co#8:co#80:kn#12:li#24:pa#64:\
307200369Sed	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
308200369Sed	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:\
309200369Sed	:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
310200369Sed	:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\
311200369Sed	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
312200369Sed	:kD=\E[3~:kb=^H:ke=\E[?1l\E>:ks=\E[?1h\E=:le=^H:md=\E[1m:\
313200369Sed	:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\
314200369Sed	:rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:\
315200503Sdougb	:so=\E[7m:sr=\EM:st=\EH:\
316200369Sed	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?12l\E[?25h:vi=\E[?25l:vs=\E[?12;25h:
317194107Sedwin#
318194107Sedwin# This is the only entry which you should have to customize, since "xterm"
319194107Sedwin# is widely used for a variety of incompatible terminal emulations including
320194107Sedwin# color_xterm and rxvt.
321200369Sedxterm|X11 terminal emulator:\
322200369Sed	:tc=xterm-new:
323200503Sdougb#
324200503Sdougb# Add the capability to "clear the screen" after exiting vi, more/less, etc.
325200503Sdougbxterm-clear:\
326200503Sdougb	:te=\E[?1049l:ti=\E[?1049h:\
327200503Sdougb	:tc=xterm-new:
328