#	@(#) termcap.src 25.1 92/03/20 
#
#	Copyright (C) 1985-1992 The Santa Cruz Operation, Inc.
#		All Rights Reserved.
#	The information in this file is provided for the exclusive use of
#	the licensees of The Santa Cruz Operation, Inc.  Such users have the
#	right to use, modify, and incorporate this code into other products
#	for purposes authorized by the license agreement provided they include
#	this notice and the associated copyright notice with any such product.
#	The information in this file is provided "AS IS" without warranty.
# 
#	This file was modifided  
#		by Alexander I. Ostankov  &
#		Victor V. Gamov 
#	in 1994 specially for our purpose.
#
#
#@##############################################################################
#
#  Naming Convention: 
#  -  First entry is two chars, first char indicates manufacturer,
#     second char represents canonical abbreviation for model or mode.
#  -  Second entry is canonical abbreviation.
#  -  Third entry is the one the editor will print with "set" command.
#  -  Last entry is a verbose description of the terminal.
#  -  Other entries are mnemonic synonyms for the terminal.
#
#  If an application absolutely MUST check for a specific terminal 
#  (this is discouraged) check for the 2nd entry (the canonical form) 
#  since all other codes are subject to change.
#
#  Special manufacturer codes:
#	M: Misc. (with only a few terminals)
#  	q: Homemade
#  	s: special (dialup, etc.)
#  
#@##############################################################################
sa|arpanet|network:co#80:os:am:
se|ethernet|network:co#80:os:am:
su|dumb|un|unknown:co#80:os:am:
sd|du|dialup:co#80:os:am:
li|ansi|ansi80x25|Ansi standard crt:\
	:al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:co#80:\
	:dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ei=:ho=\E[H:ic=\E[@:im=:li#25:\
	:nd=\E[C:pt:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\
	: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:k0=\E[V:\
	:kb=^h:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:sf=\E[S:sr=\E[T:\
	:mb=\E[5m:md=\E[1m:me=\E[m:\
	:GS=\E[12m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gl=L:Gu=J:Gv=\072:
# VT100
#
# Hints on setting up a VT100:
# Brightness is adjustable by arrow keys while in Set Up mode.
# Line/Local (Key 4) switches terminal to On-line mode.
# Set Up B Mode Summary, use toggle 1/0 key to switch:
#   0	Jump scroll
#   1	Auto Repeat On
#   0	Dark Background
#   1	Cursor Block (necessary for reverse video mode)
# ----------------------
#   0	Margin Bell Off
#   0	Keyclick Off
#   1	ANSI mode
#   1	Auto Xon Xoff
# -----------------------
#   0	Shifted #3 is #
#   1	Wraparound Off
#   0	New Line Off
#   0	Interlace Off
# -----------------------
#   0	Parity Odd
#   0	Parity Off
#   1	8 Bits
#   0	60 Hz
#
# Removed :ks=\E\075:ke=\E\076:
# Somtimes ks and ke are included.  This will put the auxilliary keypad in
# DEC application mode, which is not appropriate for SCO applications.
d1|vt100|vt-100|pt100|pt-100|dec vt100:\
	:am:co#80:li#24:cl=50\E[;H\E[2J:bs:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
	:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
	:is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
	:if=/usr/lib/tabset/vt100:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
	:kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:xn:sr=5\EM:\
	:mb=\E[5m:md=\E[1m:me=\E[0m:\
	:GS=\E(0:GE=\E(B:\
	:GV=x:GH=q:G1=k:G2=l:G3=m:G4=j:GU=v:\
	:GD=w:GC=n:GL=u:GR=t:\
	:CL=\EOP:CR=\EOQ:WL=\EOR:WR=\EOS:\
	:UK=\E[A:DK=\E[B:LK=\E[D:RK=\E[C:\
	:PN=\E[5i:PS=\E[4i:\
	:cs=%i\E[%2;%2r:
# new vt100 entry for use without automargins set (better operation with
# some curses packages)
dn|vt100nam|vt100-nam|pt100nam|pt-100nam|DEC VT100 without automargins:\
	:am@:tc=vt100:
ds|vt100s|vt-100s|pt100s|pt-100s|dec vt100 132 cols 14 lines:\
	:li#14:tc=vt100w:
dt|vt100w|vt-100w|pt100w|pt-100w|dec vt100 132 cols:\
	:co#132:li#24:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
	:vs=\E[?3h:tc=vt100:
V1|vt102|dec vt102:\
	:al=\E[L:dl=\E[M:dc=\E[P:im=\E[4h:ei=\E[4l:mi:tc=vt100:
#
# vt220:
# This vt220 description maps F5--F9 to the second block of function keys
# at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
# with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
# PF1--PF4 are used as F1--F4.
#
# ks and ke, given below, were removed. 
# :ke=\E>:ks=\E=:\
# Somtimes ks and ke are included.  This will put the auxilliary keypad in
# dec application mode, which is not appropriate for SCO applications.
de|vt220|DEC VT220 in vt100 emulation mode:\
	:ae=4\E(B:al=\E[L:am:as=2\E(<:\
	:bl=^G:bs:\
	:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:cm=10\E[%i%d;%dH:\
	:co#80:cr=^M:cs=\E[%i%d;%dr:\
	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
	:if=/usr/lib/tabset/vt100:im=\E[4h:is=\E[1;24r\E[24;1H:\
	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[17~:\
	:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:k0=\E[29~:\
	:kb=^?:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
	:le=^H:li#24:\
	:mb=2\E[5m:md=2\E[1m:me=2\E[m:mi:mr=2\E[7m:\
	:nd=\E[C:nl=^J:pt:\
	:rc=\E8:rf=/usr/lib/tabset/vt100:\
	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\:\
	:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:\
	: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~:k0=\E[21~:\
	:k11=\E[23~:k12=\E[24~:k13=\E[25~:k14=\E[26~:k15=\E[28~:\
	:k16=\E[29~:k17=\E[31~:k18=\E[32~:k19=\E[33~:k20=\E[34~:\
	:tc=vt420:
dc|vt420f-nam|v420fn|DEC VT420 used as console no auto margins:\
	:am@:tc=vt420f:
d7|vt420-nam|v420n|DEC VT420 vt100 mode no auto margins:\
	:am@:tc=vt420:
df|vt420nam|vt420-nam|v420n|DEC VT420 with no automargins:\
	:am@:tc=vt420:
d8|vt420pc|DEC VT420 PC keyboard:\
	: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~:k0=\E[21~:\
	:k11=\E[23~:k12=\E[24~:\
        :k13=\E[11;2~:k14=\E[12;2~:k15=\E[13;2~:k16=\E[14;2~:\
        :k17=\E[15;2~:k18=\E[17;2~:k19=\E[18;2~:k20=\E[19;2~:\
	:k21=\E[20;2~:k22=\E[21;2~:k23=\E[23;2~:k24=\E[24;2~:\
	:tc=vt420:
d9|vt420pc-nam|v420pcn|DEC VT420 PC keyboard no auto margins:\
	:am@:tc=vt420pc:
#
de|vt220nam|DEC VT220 with no automargins:\
	:am@:tc=vt220:
#
# vt220d:
# This vt220 description regards F6--F10 as the second block of function keys
# at the top of the keyboard.  This mapping follows the description given
# in the VT220 Programmer Reference Manual and agrees with the labeling
# on some terminals that emulate the vt220.  There is no support for an F5.
# k0 is mapped to F10 as a common convention. PF1--PF4 are used for F1--F4. 
# See vt220 for an alternate mapping. 
#
dd|vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5@:\
	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
	:tc=vt220:
d2|wy65|wyse65|Wyse 65 in vt200 emulation mode and pc code to ON:\
	: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:k0=\E[V:\
	:PU=\E[I:PD=\E[G:EN=\E[F:HM=\E[H:IN=\E[L:\
	:tc=vt220
d3|wy65_npc|wyse65_npc|Wyse 65 in vt200 emulation mode and pc code to OFF:\
	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
	:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k0=\E[28~:\
	:PU=\E[6~:PD=\E[5~:IN=\E[2~:\
	:tc=vt220
#
#
#	This entry describes ansi terminal	
#	that uses alternate characters set.
#
lt|ansialt|Ansi terminal for alternate char's\
	:G1=\273:G2=\311:G3=\310:G4=\274:GC=\316\
	:GD=\313:GL=\271:GR=\261:GU=\312:GV=\272:GH=\315\
	:tc=ansi
#
#	This entry describes ansi terminal
#	that uses cyrillic(koi-8) characters set.
#
oi|ansikoi|Ansi terminal for koi8 char's set\
	:G1=\250:G2=\245:G3=\253:G4=\256:GC=\276\
	:GD=\270:GL=\265:GR=\261:GU=\273:GV=\241:GH=\240\
	:tc=ansi
#
#	This entry describes NCSA Telnet V 2.3 pseudo VT102
#	terminal that uses alternative cyrillic  coding and
#	modified keyboard description.
#
ncsa-alt|NCSA telnet vt102:\
	:am:co#80:li#24:cl=\E[;H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
	:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
	:is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
	:kn#10:\
	:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kh=\E[H:kb=\10:\
	:kN=\E[G:kP=\E[I:kI=\E[L:kD=\177:kH=\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:k0=\E[V:\
	:f1=\E[M:f2=\E[N:f3=\E[O:f4=\E[P:f5=\E[Q:f6=\E[R:\
	:f7=\E[S:f8=\E[T:f9=\E[U:f0=\E[V:\
	:ks=\E=:ke=\E>:\
	:pt:xn:sr=\EM:\
	:mb=\E[5m:md=\E[1m:me=\E[0m:\
	:GS=:GE=:gs=:ge=:\
	:GV=\263:GH=\304:G1=\277:G2=\332:G3=\300:G4=\331:GU=\301:\
	:GD=\302:GC=\305:GL=\264:GR=\303:\
	:g1=\304\263\300\301\331\303\305\264\332\302\277:\
	:g2=\315\272\310\312\274\314\316\271\311\313\273:\
	:CL=\E[D:CR=\E[C:UK=\E[A:DK=\E[B:LK=\E[D:RK=\E[C:\
	:PN=\E[5i:PS=\E[4i:\
	:cs=%i\E[%2;%2r:\
	:al=\E[L:dl=\E[M:dc=\E[P:im=\E[4h:ei=\E[4l:mi
#
#	This entry describes NCSA Telnet V 2.3 pseudo VT102
#	terminal that uses KOI-8r cyrillic  coding and
#	modified keyboard description.
#
ncsa-koi|NCSA telnet vt102:\
	:am:co#80:li#24:cl=\E[;H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
	:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
	:is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
	:kn#10:\
	:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kh=\E[H:kb=\10:\
	:kN=\E[G:kP=\E[I:kI=\E[L:kD=\177:kH=\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:k0=\E[V:\
	:f1=\E[M:f2=\E[N:f3=\E[O:f4=\E[P:f5=\E[Q:f6=\E[R:\
	:f7=\E[S:f8=\E[T:f9=\E[U:f0=\E[V:\
	:ks=\E=:ke=\E>:\
	:pt:xn:sr=\EM:\
	:mb=\E[5m:md=\E[1m:me=\E[0m:\
	:GS=:GE=:gs=:ge=:\
	:GV=\201:GH=\200:G1=\203:G2=\202:G3=\204:G4=\205:GU=\211:\
	:GD=\210:GC=\212:GL=\207:GR=\206:\
	:g1=\200\201\204\211\205\206\212\207\202\210\203:\
	:g2=\240\241\253\273\256\261\276\265\245\270\250:\
	:CL=\E[D:CR=\E[C:UK=\E[A:DK=\E[B:LK=\E[D:RK=\E[C:\
	:PN=\E[5i:PS=\E[4i:\
	:cs=%i\E[%2;%2r:\
	:al=\E[L:dl=\E[M:dc=\E[P:im=\E[4h:ei=\E[4l:mi

