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$
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
174218477Suqscons25l1-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:
2061769Sjkh
207204821SedSC|screen|VT 100/ANSI X3.64 virtual terminal:\
208204821Sed	:am:xn:ms:mi:G0:km:\
209204821Sed	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
210204821Sed	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
211204821Sed	:do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
212204821Sed	:le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
213204821Sed	:li#24:co#80:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:\
214204821Sed	:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:sr=\EM:al=\E[L:\
215204821Sed	:AL=\E[%dL:dl=\E[M:DL=\E[%dM:cs=\E[%i%d;%dr:dc=\E[P:\
216204821Sed	:DC=\E[%dP:im=\E[4h:ei=\E[4l:IC=\E[%d@:\
217204821Sed	:ks=\E[?1h\E=:ke=\E[?1l\E>:vb=\Eg:\
218204821Sed	:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
219204821Sed	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
220204821Sed	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\
221204821Sed	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
222204821Sed	:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
223204821Sed	:kh=\E[1~:kI=\E[2~:kD=\E[3~:@7=\E[4~:kP=\E[5~:\
224204821Sed	:kN=\E[6~:eA=\E(B\E)0:as=^N:ae=^O:ti=\E[?1049h:te=\E[?1049l:\
225204821Sed	:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
226204821Sed	:Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
227204821Sed	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:
228194107Sedwin
229204821Sedvt100|dec-vt100|vt100-am|vt100am|dec vt100:\
230204821Sed	:do=2\E[B:co#80:li#24:cl=50\E[H\E[J:sf=2*\ED:\
231204821Sed	:le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
232204821Sed	:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
233204821Sed	:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\
234204821Sed	:is=\E>\E[?1;3;4;5l\E[?7;8h\E[1;24r\E[24;1H:\
235204821Sed	:if=/usr/share/tabset/vt100:nw=2\EE:ho=\E[H:\
236204821Sed	:as=2\E(0:ae=2\E(B:\
237204821Sed	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||:\
238204821Sed	:rs=\E>\E[?1;3;4;5l\E[?7;8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
239204821Sed	:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=\177:\
240204821Sed	:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:\
241204821Sed	:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:@8=\EOM:\
242204821Sed	:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:pt:sr=2*\EM:xn:\
243204821Sed	:sc=2\E7:rc=2\E8:cs=5\E[%i%d;%dr:UP=2\E[%dA:DO=2\E[%dB:RI=2\E[%dC:\
244204821Sed	:LE=2\E[%dD:ct=2\E[3g:st=2\EH:ta=^I:ms:bl=^G:cr=^M:eo:it#8:\
245204821Sed	:RA=\E[?7l:SA=\E[?7h:po=\E[5i:pf=\E[4i:
246204821Sed
247200369Sed# $XTermId: termcap,v 1.78 2009/11/09 00:24:26 tom Exp $
248194107Sedwin#
249200369Sedxterm-new|modern xterm:\
250202048Sed	:@7=\EOF:@8=\EOM:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:\
251200369Sed	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
252202048Sed	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:\
253200369Sed	:kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:\
254200369Sed	:tc=xterm-basic:
255194107Sedwin#
256194107Sedwin# This chunk is used for building the VT220/Sun/PC keyboard variants.
257200369Sedxterm-basic|modern xterm common:\
258200369Sed	:am:bs:km:mi:ms:ut:xn:AX:\
259200369Sed	:Co#8:co#80:kn#12:li#24:pa#64:\
260200369Sed	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
261200369Sed	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:\
262200369Sed	:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
263200369Sed	:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\
264200369Sed	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
265200369Sed	:kD=\E[3~:kb=^H:ke=\E[?1l\E>:ks=\E[?1h\E=:le=^H:md=\E[1m:\
266200369Sed	:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\
267200369Sed	:rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:\
268200503Sdougb	:so=\E[7m:sr=\EM:st=\EH:\
269200369Sed	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?12l\E[?25h:vi=\E[?25l:vs=\E[?12;25h:
270194107Sedwin#
271194107Sedwin# This is the only entry which you should have to customize, since "xterm"
272194107Sedwin# is widely used for a variety of incompatible terminal emulations including
273194107Sedwin# color_xterm and rxvt.
274200369Sedxterm|X11 terminal emulator:\
275200369Sed	:tc=xterm-new:
276200503Sdougb#
277200503Sdougb# Add the capability to "clear the screen" after exiting vi, more/less, etc.
278200503Sdougbxterm-clear:\
279200503Sdougb	:te=\E[?1049l:ti=\E[?1049h:\
280200503Sdougb	:tc=xterm-new:
281204821Sed#
282204821Sed# This should work for the commonly used "color xterm" variations (XFree86
283204821Sed# xterm, color_xterm, nxterm, rxvt).  Note that it does not set 'bce', so for
284204821Sed# XFree86 and rxvt, some applications that use colors will be less efficient,
285204821Sed# and in a few special cases (with "smart" optimization) the wrong color will
286204821Sed# be painted in spots.
287204821Sedxterm-color|generic "ANSI" color xterm:\
288204821Sed	:Co#8:NC@:pa#64:\
289204821Sed	:AB=\E[4%dm:AF=\E[3%dm:ac=:op=\E[m:tc=xterm-r6:
290204821Sed#
291204821Sed# Compatible with the X11R6.3 xterm
292204821Sedxterm-r6|xterm-old|X11R6 xterm:\
293204821Sed	:am:bs:km:mi:ms:pt:xn:\
294204821Sed	:co#80:kn#20:li#24:\
295204821Sed	:*6=\E[4~:@0=\E[1~:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
296204821Sed	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
297204821Sed	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
298204821Sed	:FA=\E[34~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:\
299204821Sed	:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
300204821Sed	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:eA=\E)0:ei=\E[4l:\
301204821Sed	:ho=\E[H:im=\E[4h:\
302204821Sed	:is=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
303204821Sed	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
304204821Sed	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
305204821Sed	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
306204821Sed	:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
307204821Sed	:ku=\EOA:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:\
308204821Sed	:rc=\E8:rs=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
309204821Sed	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
310204821Sed	:ue=\E[m:up=\E[A:us=\E[4m:
311204821Sed#
312204821Sed# Add the capability to "clear the screen" after exiting vi, more/less, etc.
313204821Sedxterm-r6-clear:\
314204821Sed	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:\
315204821Sed	:tc=xterm-r6:
316