#
# SccsId= 1.2 21 Nov 1996
#
# Vermont Views Terminal Definition Library
#
# Copyright Vermont Creative Software 1987, 1988, 1989
#
# Vermont Views (v1.1) Unix, VMS, and other multiuser operating systems
#
# Put frequently used terminals near the top of the file.
#

#
# AT386-M.vtc
#
#	This is the terminfo description for the AT&T
#	System V/386 console in monochrome mode.
#
AT386-M|at386-m|386AT-M|386at-m|at/386 console:\
	:.CA:		:.ct:		:.xi:			\
	:co#80:		:li#25:					\
	:GG#0:		:sg#0:		:ug#0:			\
	:BE=^G:							\
	:is=\E[0;10m:	:.initialization:			\
	:.CO=:		:.CF=:		:.cursor on/off:	\
	:cl=\E[H\E[2J:						\
	:cm=\E[%i%d;%dH:\					\
	:HS=\E[1m:	:HR=\E[0m:				\
	:so=\E[7m:	:se=\E[0m:				\
	:us=\E[4m:	:ue=\E[0m:				\
	:BB=\E[5m:	:BR=\E[0m:				\
	:GS=\033[12m:	:GE=\033[10m:				\
	:G1=?:		:G2=Z:		:G3=@:		:G4=Y:	\
	:GD1=;:		:GD2=I:		:GD3=H:		:GD4=<:	\
	:GH=D:		:GV=3:					\
	:GDH=M:		:GDV=\072:				\
	:bc=\b:		:L_bc=<BSP>:				\
	:bt=\Eb:						\
	:ki=\E[@:	:L_ki=<Insert>:				\
	:PD=\E[U:	:L_PD=<Page Down>:			\
	:PU=\E[V:	:L_PU=<Page Up>:			\
	:EN=\E[Y:	:L_EN=<End>:				\
	:DL=\177:	:L_DL=<Delete>:				\
	:ESC=\E:	:L_ESC=<Esc-Esc>:			\
	:kh=\E[H:	:L_kh=<Home>:				\
	:ku=\E[A:	:L_ku=<Up>:				\
	:kd=\E[B:	:L_kd=<Down>:				\
	:kr=\E[C:	:L_kr=<Right>:				\
	:kl=\E[D:	:L_kl=<Left>:				\
	:k0=\EOP:	:L_k0=<F1>:\
	:k1=\EOQ:	:L_k1=<F2>:\
	:k2=\EOR:	:L_k2=<F3>:\
	:k3=\EOS:	:L_k3=<F4>:\
	:k4=\EOT:	:L_k4=<F5>:\
	:k5=\EOU:	:L_k5=<F6>:\
	:k6=\EOV:	:L_k6=<F7>:\
	:k7=\EOW:	:L_k7=<F8>:\
	:ZM=^Z:		:L_ZM=<Ctrl-Z>:

#
# xterm
#
xterm|xterm-m|generic X terminal emulator:\
	:co#80:		:li#24:					\
	:cl=\E[H\E[2J:						\
	:cm=\E[%i%d;%dH:					\
	:HS=\E[1m:	:HR=\E[0m:	:.high intensity:	\
	:so=\E[7m:	:se=\E[0m:	:.standout(reverse):	\
	:us=\E[4m:	:ue=\E[0m:	:.underline:		\
	:GS=\E(0:	:GE=\E(B:	:.alt chars:		\
	:G1=k:		:G2=l:		:G3=m:		:G4=j:	\
	:GR=t:		:GL=u:		:GD=w:		:GU=v:	\
	:GC=n:		:GH=q:		:GV=x:			\
	:bc=\b:		:L_bc=<Backspace>:			\
	:ki=\E[2~:	:L_ki=<Insert>:	:.actually KP 5:	\
	:PD=\E[6~:	:L_PD=<Page Down>:			\
	:PU=\E[5~:	:L_PU=<Page Up>:			\
	:ESC=\E\E:	:L_ESC=<Esc-Esc>:			\
	:kh=\E[8~:	:L_kh=<Home>:				\
	:EN=\E[7~:	:L_EN=<End>:				\
	:ku=\E[A:	:L_ku=<Up>:				\
	:kd=\E[B:	:L_kd=<Down>:				\
	:kr=\E[C:	:L_kr=<Right>:				\
	:kl=\E[D:	:L_kl=<Left>:				\
	:k0=\E[11~:	:L_k0=<F1>:				\
	:k1=\E[12~:	:L_k1=<F2>:				\
	:k2=\E[13~:	:L_k2=<F3>:				\
	:k3=\E[14~:	:L_k3=<F4>:				\
	:k4=\E[15~:	:L_k4=<F5>:				\
	:k5=\E[17~:	:L_k5=<F6>:				\
	:k6=\E[18~:	:L_k6=<F7>:				\
	:k7=\E[19~:	:L_k7=<F8>:				\
	:k8=\E[20~:	:L_k7=<F9>:				\
	:k9=\E[21~:	:L_k7=<F10>:

#
# dtterm
#
dtterm|dtterm-m|CDE X terminal emulator:\
	:tc=xterm:

#
# aixterm
#
aixterm|aixterm-m|IBM AIX 3.1 X terminal emulator:\
	:co#80:		:li#25:					\
	:GG#0:		:sg#0:		:ug#0:			\
	:is=\Ec:	:.initialization:			\
	:cl=\E[H\E[2J:						\
	:cm=\E[%i%d;%dH:\					\
	:HS=\E[1m:	:HR=\E[0m:	:.high intensity:	\
	:so=\E[7m:	:se=\E[0m:	:.standout(reverse):	\
	:us=\E[4m:	:ue=\E[0m:	:.underline:		\
	:G1=\277:	:G2=\332:	:G3=\300:	:G4=\331: \
	:GD1=\273:	:GD2=\311:	:GD3=\310:	:GD4=\374: \
	:GH=\304:	:GV=\263:		\
	:GDH=\315:	:GDV=\272:		\
	:bc=\b:		:L_bc=<Backspace>:	\
	:bt=\E[Z:	:L_bt=<shift-Tab>:	\
	:ki=\E[139q	:L_ki=<Insert>:		\
	:PD=\E[154q:	:L_PD=<Page Down>:	\
	:PU=\E[150q:	:L_PU=<Page Up>:	\
	:EN=\E[146q:	:L_EN=<End>:		\
	:DL=\E[P:	:L_DL=<Delete>:		\
	:ESC=\E\E:	:L_ESC=<Esc-Esc>:	\
	:kh=\E[H:	:L_kh=<Home>:		\
	:ku=\E[A:	:L_ku=<Up>:		\
	:kd=\E[B:	:L_kd=<Down>:		\
	:kr=\E[C:	:L_kr=<Right>:		\
	:kl=\E[D:	:L_kl=<Left>:		\
	:k0=\E[001q:	:L_k0=<F1>:\
	:k1=\E[002q:	:L_k1=<F2>:\
	:k2=\E[003q:	:L_k2=<F3>:\
	:k3=\E[004q:	:L_k3=<F4>:\
	:k4=\E[005q:	:L_k4=<F5>:\
	:k5=\E[006q:	:L_k5=<F6>:\
	:k6=\E[007q:	:L_k6=<F7>:\
	:k7=\E[008q:	:L_k7=<F8>:\
	:ZM=^Z:		:L_ZM=<Ctrl-Z>:


#
#  TeleVideo 9220
#
#	This is a lot like the VT220, but we organize the function
#	keys differently.  F1-F5 are all used by local terminal
#	functions (this is ridiculous) so we just use F6 and above.
#
#	This doesn't work if the terminal is running in 8-bit mode.
#
d2|922|9220|TeleVideo 9220 or 922:\
	:is=\E>\E[?3l\E[?4l\E[?5l\E[m\E[?7h\E[?8h\E(B\E)0:\
	:co#80: 	:li#24: 	:xi:\
	:bc=\177:\
	:up=\E[A:		:do=\E[B:\
	:ri=\E[C:		:le=\E[D:\
	:cl=\E[2J:		:cm=\E[%i%d;%dH:\
	:so=\E[7m:		:se=\E[m:\
	:us=\E[4m:		:ue=\E[m:\
	:GS=^N: 	:GE=^O: 	:GV=x:		:GH=q:\
	:G1=k:		:G2=l:		:G3=m:		:G4=j:\
	:HS=\E[4m:		:HR=\E[m:\
	:BB=\E[5m:		:BR=\E[m:\
	:ks=\E[?1h\E=:		:ke=\E[?1l\E>:\
	:CO=\E[?25h:		:CF=\E[?25l:\
	:ku=\E[A:		:L_ku=<Up>:\
	:kd=\E[B:		:L_kd=<Down>:\
	:kr=\E[C:		:L_kr=<Right>:\
	:kl=\E[D:		:L_kl=<Left>:\
	:kh=\E[29~h:		:L_kh=<Do> h:\
	:EN=\E[29~e:		:L_EN=<Do> e:\
	:PU=\E[5~: 		:L_PU=<Prev Screen>:\
	:PD=\E[6~:		:L_PD=<Next Screen>:\
	:ki=\E[29~i:		:L_ki=<Do> i:\
	:DL=^X:			:L_DL=<CTRL-X>:\
	:ESC=\E[29~\E[29~:	:L_ESC=<Do> <Do>:\
	:bt=\E[29~b:		:L_bt=<Do> b:\
	:ZM=^Z:			:L_ZM=<CTRL-Z>:\
	:SPD=\E[29~d:		:L_SPD=<Do> d:\
	:SPU=\E[29~u:		:L_SPU=<Do> u:\
	:SXD=\E[29~xd:		:L_SXD=<Do> xd:\
	:SXU=\E[29~xu:		:L_SXU=<Do> xu:\
	:\
	:k0=\E[17~:		:L_k0=<F6>:\
	:k1=\E[18~:		:L_k1=<F7>:\
	:k2=\E[19~:		:L_k2=<F8>:\
	:k3=\E[20~:		:L_k3=<F9>:\
	:k4=\E[21~:		:L_k4=<F10>:\
	:k5=\E[23~:		:L_k5=<F11>:\
	:k6=\E[24~:		:L_k6=<F12>:\
	:k7=\E[25~:		:L_k7=<F13>:\

dw|922-w|9220-w:co#132:is=\E>\E[?4;5l\E[m\E[?3;7;8h\E(B\E)0:tc=9220:


#
# ANSI
#
# This entry will work with the console on SCO XENIX.  Other ANSI devices
# will support some subset of the output strings.  Key strings will vary
# from device to device.
#
li|ansi|scoansi|Ansi standard crt:\
	:is=\E[m:\
	:co#80: 	:li#25: 	:CA:\
	:nd=\E[C:	:do=\E[B:	:cl=\E[2J\E[H:	:cm=\E[%i%d;%dH:\
	:so=\E[7m:	:se=\E[m:	:us=\E[4m:	:ue=\E[m:\
	:GS=\E[12m:	:GE=\E[10m:	:GV=\063:	:GH=D:\
	:G1=?:		:G2=Z:		:G3=@:		:G4=Y:\
	:GDV=\072:	:GDH=M:\
	:GD1=;: 	:GD2=I: 	:GD3=H: 	:GD4=<:\
	:HS=\E[1m:	:HR=\E[m:	:BB=\E[5m:	:BR=\E[m:\
	:scl0=\E[30m\E[44m:		:rcl0=\E[37m\E[40m:\
	:scl1=\E[34m\E[47m:		:rcl1=\E[37m\E[40m:\
	:scl2=\E[32m\E[44m:		:rcl2=\E[37m\E[40m:\
	:scl3=\E[36m\E[44m:		:rcl3=\E[37m\E[40m:\
	:scl4=\E[31m\E[44m:		:rcl4=\E[37m\E[40m:\
	:scl5=\E[35m\E[44m:		:rcl5=\E[37m\E[40m:\
	:scl6=\E[33m\E[44m:		:rcl6=\E[37m\E[40m:\
	:scl7=\E[37m\E[44m:		:rcl7=\E[37m\E[40m:\
	:scl8=\E[37m\E[40m:		:rcl8=\E[37m\E[40m:\
	:scl9=\E[37m\E[44m:		:rcl9=\E[37m\E[40m:\
	:scl10=\E[34m\E[47m:		:rcl10=\E[37m\E[40m:\
	:scl11=\E[37m\E[44m\E[1m:	:rcl11=\E[37m\E[40m\E[m:\
	:scl12=\E[31m\E[40m\E[5m:	:rcl12=\E[37m\E[40m\E[m:\
	:scl13=\E[31m\E[40m:		:rcl13=\E[37m\E[40m:\
	:scl14=\E[36m\E[44m:		:rcl14=\E[37m\E[40m:\
	:scl15=\E[30m\E[46m:		:rcl15=\E[37m\E[40m:\
	:ku=\E[A:	:L_ku=<Up>:\
	:kd=\E[B:	:L_kd=<Down>:\
	:kr=\E[C:	:L_kr=<Right>:\
	:kl=\E[D:	:L_kl=<Left>:\
	:kh=\E[H:	:L_kh=<Home>:\
	:EN=\E[F:	:L_EN=<End>:\
	:PU=\E[I:	:L_PU=<PgUp>:\
	:PD=\E[G:	:L_PD=<PgDn>:\
	:PR=^R: 	:L_PR=<CTRL-R>:\
	:PL=^L: 	:L_PL=<CTRL-L>:\
	:ki=\E[L:	:L_ki=<Insert>:\
	:DL=^X:		:L_DL=<CTRL-X>:\
	:ESC=\E\E:	:L_ESC=<ESC> <ESC>:\
	:bt=\E[Z:	:L_bt=<SHIFT-Tab>:\
	:ZM=^Z:		:L_ZM=<CTRL-Z>:\
	:SPD=\Ed:	:L_SPD=<ESC> d:\
	:SPU=\Eu:	:L_SPU=<ESC> u:\
	:SXD=\Exd:	:L_SXD=<ESC> xd:\
	:SXU=\Exu:	:L_SXU=<ESC> xu:\
	:k0=\E[M:	:L_k0=<F1>:\
	:k1=\E[N:	:L_k1=<F2>:\
	:k2=\E[O:	:L_k2=<F3>:\
	:k3=\E[P:	:L_k3=<F4>:\
	:k4=\E[Q:	:L_k4=<F5>:\
	:k5=\E[R:	:L_k5=<F6>:\
	:k6=\E[S:	:L_k6=<F7>:\
	:k7=\E[T:	:L_k7=<F8>:\

#
# 605 - AT&T 605
#
# This entry will work with the console on SCO XENIX.  Other ANSI devices
# will support some subset of the output strings.  Key strings will vary
# from device to device.
#
a6|605|AT&T 605 terminal:\
	:co#80: 	:li#24:		:xi:\
	:.CA:\
	:is=\E[m\E(B\E)0:\
	:nd=\E[C:	:do=\E[B:\
	:cl=\E[2J\E[H:	:cm=\E[%i%d;%dH:\
	:so=\E[7m:	:se=\E[m:	:us=\E[4m:	:ue=\E[m:\
	:GS=^N: 	:GE=^O: 	:GV=x:		:GH=q:\
	:G1=k:		:G2=l:		:G3=m:		:G4=j:\
	:HS=\E[1m:	:HR=\E[m:	:BB=\E[5m:	:BR=\E[m:\
	:ku=\E[A:	:L_ku=<Up>:\
	:kd=\E[B:	:L_kd=<Down>:\
	:kr=\E[C:	:L_kr=<Right>:\
	:kl=\E[D:	:L_kl=<Left>:\
	:kh=\E[H:	:L_kh=<Home>:\
	:EN=\E[24;1H:	:L_EN=<End>:\
	:PU=\E[V:	:L_PU=<Page Up>:\
	:PD=\E[U:	:L_PD=<Page Down>:\
	:ki=\E[L:	:L_ki=<Insert>:\
	:DL=^X:		:L_DL=<CTRL-X>:\
	:ESC=\E\E:	:L_ESC=<ESC> <ESC>:\
	:bt=\E[Z:	:L_bt=<SHIFT-Tab>:\
	:ZM=^Z:		:L_ZM=<CTRL-Z>:\
	:SPD=\Ed:	:L_SPD=<ESC> d:\
	:SPU=\Eu:	:L_SPU=<ESC> u:\
	:SXD=\Exd:	:L_SXD=<ESC> xd:\
	:SXU=\Exu:	:L_SXU=<ESC> xu:\
	:\
	:k0=\EOc:	:L_k0=<F1>:\
	:k1=\EOd:	:L_k1=<F2>:\
	:k2=\EOe:	:L_k2=<F3>:\
	:k3=\EOf:	:L_k3=<F4>:\
	:k4=\EOg:	:L_k4=<F5>:\
	:k5=\EOh:	:L_k5=<F6>:\
	:k6=\EOi:	:L_k6=<F7>:\
	:k7=\EOj:	:L_k7=<F8>:


#
#  DEC VT100
#
#  The initialization string performs the following actions:
#	Sets Numeric keypad mode
#	Sets 80 columns (note that this causes a screen clear)
#	Sets jump scrolling
#	Sets NORMAL video
#	Sets all attributes off
#	Sets wraparound on
#	Sets auto-repeat on
#
#  We have set up the sequences <ESC> 5 through <ESC> 0 to correspond
#  to definitions for function keys F5 through F10.  To generate the
#  equivalent of an F9, the user presses <ESC> and then 9.
#
#  Sequences have also been set up for those shifted function keys required
#  by Vermont Views.  These are of the form <ESC> s #, when # ranges from 0
#  to 9.  <ESC> s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DEC VT220
#
#  The same as a vt100, except for function keys and the cursor hiding
#  capability.
#
#  NOTE:  Function key F5 is a "local" function key and sends no code.  
#  We have set up the sequence F11 5 to be interpreted as F5.  (F11 is
#  used in place of the missing escape key.)
#
#  Shifted function keys are implemented similarly to the VT100.
#
#  Function keys beyond F10 are not defined to save start-up time.
#
d2|4970|vt220|vt-220|vt220-80|vt200-80|pt220|pt-220|vt300|dec vt220:\
	:is=\E>\E[?3l\E[?4l\E[?5l\E[m\E[?7h\E[?8h\E(B\E)0:\
	:co#80: 	:li#24: 	:xi:\
	:nd=2\E[C:	:do=\E[B:	:cl=50\E[2J:	:cm=5\E[%i%d;%dH:\
	:so=2\E[7m:	:se=2\E[m:	:us=2\E[4m:	:ue=2\E[m:\
	:GS=^N: 	:GE=^O: 	:GV=x:		:GH=q:\
	:G1=k:		:G2=l:		:G3=m:		:G4=j:\
	:HS=2\E[1m:	:HR=2\E[m:	:BB=2\E[5m:	:BR=2\E[m:\
	:ks=\E[?1h\E=:	:ke=\E[?1l\E>:	:CO=\E[?25h:	:CF=\E[?25l:\
	:ku=\E[A:	:L_ku=<Up>:\
	:kd=\E[B:	:L_kd=<Down>:\
	:kr=\E[C:	:L_kr=<Right>:\
	:kl=\E[D:	:L_kl=<Left>:\
	:kh=\E[23~h:	:L_kh=<F11> h:\
	:EN=\E[23~e:	:L_EN=<F11> e:\
	:PU=\E[5~: 	:L_PU=<Prev Screen>:\
	:PD=\E[6~:	:L_PD=<Next Screen>:\
	:ki=\E[23~i:	:L_ki=<F11> i:\
	:DL=^X:		:L_DL=<CTRL-X>:\
	:bc=\177:\
	:ESC=\E[23~\E[23~:	:L_ESC=<F11> <F11>:\
	:bt=\E[23~b:	:L_bt=<F11> b:\
	:ZM=^Z:		:L_ZM=<CTRL-Z>:\
	:SPD=\E[23~d:	:L_SPD=<F11> d:\
	:SPU=\E[23~u:	:L_SPU=<F11> u:\
	:SXD=\E[23~xd:	:L_SXD=<F11> xd:\
	:SXU=\E[23~xu:	:L_SXU=<F11> xu:\
	:k0=\EOP:	:L_k0=<PF1>:\
	:k1=\EOQ:	:L_k1=<PF2>:\
	:k2=\EOR:	:L_k2=<PF3>:\
	:k3=\EOS:	:L_k3=<PF4>:\
	:k4=\E[23~5:	:L_k4=<F11> 5:\
	:k5=\E[17~:	:L_k5=<F6>:\
	:Ck5=\E[23~c6:	:L_Ck5=<F11> c6:\
	:k6=\E[18~:	:L_k6=<F7>:\
	:k7=\E[19~:	:L_k7=<F8>:
#
#  DEC VT52
#
#  We have set up the sequences <ESC> 1 through <ESC> 0 to correspond
#  to definitions for function keys F1 through F10.  To generate the
#  equivalent of an F9, the user presses <ESC> and then 9.
#
#  Shifted function keys are implemented similarly to the VT100.
#
dv|vt52|vt52-80|dec vt52:\
	:is=\E;:\
	:co#80: 	:li#24:\
	:nd=\EC:	:do=\EB:	:cl=\EH\EJ:	:cm=\EY%+ %+ :\
	:GS=\EF:	:GE=\EG:	:GV=a:		:GH=`:\
	:G1=l:		:G2=s:		:G3=e:		:G4=m:\
	:ku=\EA:	:L_ku=<Up>:\
	:kd=\EB:	:L_kd=<Down>:\
	:kr=\EC:	:L_kr=<Right>:\
	:kl=\ED:	:L_kl=<Left>:\
	:kh=\Eh:	:L_kh=<ESC> h:\
	:EN=\Ee:	:L_EN=<ESC> e:\
	:ki=\Ei:	:L_ki=<ESC> i:\
	:DL=^X:		:L_DL=<CTRL-X>:\
	:bc=\177:\
	:ESC=\E\E:	:L_ESC=<ESC> <ESC>:\
	:bt=\Eb:	:L_bt=<ESC> b:\
	:ZM=^Z:		:L_ZM=<CTRL-Z>:\
	:SPD=\Ed:	:L_SPD=<ESC> d:\
	:SPU=\Eu:	:L_SPU=<ESC> u:\
	:SXD=\Exd:	:L_SXD=<ESC> xd:\
	:SXU=\Exu:	:L_SXU=<ESC> xu:
# IBM 3151 and 3161 termcap for Views
ibm3151|ibm3161|ivm3163|3151|3161:\
	:is=\E!L:\
	:co#80:	:li#24:\
	:nd=\EC:\
	:do=\EB:\
	:cl=\EK:\
	:so=\E4A:\
	:cm=20\EY%+\040%+\040:\
	:se=\E4@:\
	:us=\E4B:\
	:ue=\E4@:\
	:HS=\E4H:\
	:HR=\E4@:\
	:BB=\E4D:\
	:BR=\E4@:\
	:GS=\E<A:\
	:GE=\E<@:\
	:GV=x:	:GH=q:\
	:G1=k:	:G2=l:	:G3=m:	:G4=j:\
	:ku=\EA:\	:L_ku=<Up>:\
	:kd=\EB:\	:L_kd=<Down>:\
	:kr=\EC:\	:L_kr=<Right>:\
	:kl=\ED:\	:L_kl=<Left>:\
	:kh=\EH:\	:L_kh=<ESC> H:\
	:PU=^U:\	:L_PU=<CTRL-U>:\
	:PD=^D:\	:L_PD=<CTRL-D>:\
	:PR=^R:\	:L_PR=<CTRL-R>:\
	:PL=^L:\	:L_PL=<CTRL-L>:\
	:ki=\EP:\	:L_ki=<ESC> P:\
	:DL=^D:\	:L_DL=<CTRL-D>:\
	:ESC=\E\E:\	:L_ESC=<ESC> <ESC>:\
	:bt=\E2:\	:L_bt=<ESC> 2:\
	:ZM=^Z:\	:L_ZM=<CTRL-Z>:\
        :k0=\Ea\r:      :L_k1=<PF0>:\
        :k1=\Eb\r:      :L_k2=<PF1>:\
        :k2=\Ec\r:      :L_k3=<PF2>:\
        :k3=\Ed\r:      :L_k4=<PF3>:\
        :k4=\Ee\r:      :L_k5=<PF4>:\
        :k5=\Ef\r:      :L_k6=<PF5>:\
        :k6=\Eg\r:      :L_k7=<PF6>:\
        :k7=\Eh\r:      :L_k8=<PF7>:\
        :k8=\Ei\r:      :L_k9=<PF8>:\
        :k9=\Ej\r:      :L_k0=<PF9>:\
	:al=20*\EX\067\040\EO\E\040Z\EN:am:bs:\
	:cm=20\EY%+\40%+\40:up=\EA:ho=\EH:\
	:do=\EB:ce=20\EI:cd=20\EJ:dl=\EO:in:ic=\EP:dc=\EQ:\
	:sf=20\E\040M:sr=20\E\041M:
#
#  WYSE 50
#
#  There is a difficulty with the left arrow and/or backspace keys because they
#  send the same code.	Rumor has it the left arrow key can be reprogrammed.
#  We'd be happy to know how.
#  For the time being we assign the backspace function to the REPL key.
#
#  We get around sg by using reverse for "protected" text and
#  "protecting" whatever text we want highlighted.
#
#  The Wyse 50 actually generates different strings for shifted function
#  keys, so we don't have to compensate as we do for DEC terminals.  We
#  do have to fake up the CTRL-F6 key, however.
#
#  Function keys beyond F10 are not defined to save start-up time.
#
#  Modified for the Designer
#
w1|wy50|wyse50|Wyse 50/80  Wyse WY-50 with 80 column screen:\
	:is=\EA21\E`6:\
	:co#80: 	:li#24: 	:am:		:bs:\
	:do=^J: 	:nd=^L: 	:al=\EE:	:im=\Eq:\
	:cd=\EY:	:ce=\ET:	:cl=\E*:	:cm=\Ea%i%dR%dC:\
	:dc=\EW:	:dl=\ER:	:ei=\Er:	:ho=^~:\
	:sg#0:		:ug#1:		:ul:		:up=^K:\
	:so=\E):	:se=\E(:	:us=\EG8:	:ue=\EG0:\
	:GG#0:\
	:GS=\EH^B:	:GE=\EH^C:\
	:G1=3:		:G2=2:		:G3=1:		:G4=5:\
	:GC=8:		:GD=0:		:GH=\072:	:GL=9:\
	:GR=4:		:GU==:		:GV=6:\
	:CF=\E`0:	:CO=\E`1:\
	:ku=^K: 	:L_ku=<Up>:\
	:kd=^J: 	:L_kd=<Down>:\
	:kr=^L: 	:L_kr=<Right>:\
	:kl=^H: 	:L_kl=<Left>:\
	:kh=\036:	:L_kh=<Home>:\
	:EN=\E{:	:L_EN=<SHIFT-Home>:\
	:PU=\EJ:	:L_PU=<Page Prev>:\
	:PD=\EK:	:L_PD=<Page Next>:\
	:PR=\Ec^L:	:L_PR=<ESC> c <Right>:\
	:PL=\Ec^H:	:L_PL=<ESC> c <Left>:\
	:ki=\Eq:	:L_ki=<Insert>:\
	:DL=\EW:	:L_DL=<Delete>:\
	:bc=\Er:	:L_bc=<Repl>:\
	:ESC=\E\E:	:L_ESC=<ESC> <ESC>:\
	:bt=\EI:	:L_bt=<SHIFT-Tab>:\
	:ZM=^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ESC> cd:\
	:Cke=\Ece:	:L_Cke=<ESC> ce:\
	:Ckf=\Ecf:	:L_Ckf=<ESC> cf:\
	:Ckl=\Ecl:	:L_Ckl=<ESC> cl:\
	:Cko=\Eco:	:L_Cko=<ESC> co:\
	:Ckp=\Ecp:	:L_Ckp=<ESC> cp:\
	:Ckr=\Ecr:	:L_Ckr=<ESC> cr:\
	:Cks=\Ecs:	:L_Cks=<ESC> cs:\
	:Ckt=\Ect:	:L_Ckt=<ESC> ct:\
	:Ckv=\Ecv:	:L_Ckv=<ESC> cv:\
	:Ckw=\Ecw:	:L_Ckw=<ESC> cw:\
	:Ckx=\Ecx:	:L_Ckx=<ESC> cx:\
	:Ckz=\Ecz:	:L_Ckz=<ESC> cz:\
	:Aka=\Eaa:	:L_Aka=<ESC> aa:\
	:Akc=\Eac:	:L_Akc=<ESC> ac:\
	:Akd=\Ead:	:L_Akd=<ESC> ad:\
	:Aki=\Eai:	:L_Aki=<ESC> ai:\
	:Akl=\Eal:	:L_Akl=<ESC> al:\
	:Akm=\Eam:	:L_Akm=<ESC> am:\
	:Ako=\Eao:	:L_Ako=<ESC> ao:\
	:Akp=\Eap:	:L_Akp=<ESC> ap:\
	:Aks=\Eas:	:L_Aks=<ESC> as:\
	:Aku=\Eau:	:L_Aku=<ESC> au:\
	:Akw=\Eaw:	:L_Akw=<ESC> aw: 
# WYSE-60 with PC keyboard
#
# Submitted by Ron Dombrowski, Information Software, Inc., Granby, CT
#
# Since the WYSE-60 is very similiar to the WYSE-50, you may have to use the
# WYSE-50 input definitions if you have the non-PC (16 function key)
# keyboard.
#
# If you really need the other CTRL-FUNCTION keys, you can download them
# with the IS definition.
#
# Also note: like the WYSE-50, the backspace and left arrow keys both
# generate ^H. Unfortunately, there is no good substitute key on the PC
# keyboard.
#
w7|wy60|wyse60|Wyse WY-60 with 80 column/24 line screen in wy60 mode:\
	:IS=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/:\
	:GG#0:\
	:GS=\EH^B:	:GE=\EH^C:	:GV=6:		:GH=\072:\
	:G1=3:		:G2=2:		:G3=1:		:G4=5:\
	:mb=\EG2:me=\EG0:\
	:bt=\EI:cl=\E+:\
	:cm=\Ea%i%dR%dC:co#80:\
	:kd=^J:kl=^H:kr=^L:ku=^K:\
	:li#24:se=\EG0:so=\EG4:sg#0:ug#0:ue=\EG0:us=\EG8:\
	:BB=\EG2:\
	:BR=\EG0:\
	:CO=\E`5:\
	:CF=\E`0:\
	:HS=\EGp:\
	:HR=\EG0:\
        :Ck2=^B:                :L_Ck2=<CTRL-F3>:\
        :Ck3=^C:                :L_Ck3=<CTRL-F4>:\
        :Ck4=^D:                :L_Ck4=<CTRL-F5>:\
        :Ck5=^E:                :L_Ck5=<CTRL-F6>:\
        :Ck6=^F:                :L_Ck6=<CTRL-F7>:\
	:EN=\ET:		:L_EN=<End>:\
	:ESC=\E:		:L_ESC=<ESC><ESC>:\
	:kd=^J:			:L_kd=<Down>:\
	:kh=\036:		:L_kh=<Home>:\
	:ki=\Eq:		:L_ki=<Insert>:\
	:kl=^H:			:L_kl=<Left>:\
	:kr=^L:			:L_kr=<Right>:\
	:ku=^K:			:L_ku=<Up>:\
	:k0=^A@\r:		:L_k0=<F1>:\
	:k1=^AA\r:		:L_k1=<F2>:\
	:k2=^AB\r:		:L_k2=<F3>:\
	:k3=^AC\r:		:L_k3=<F4>:\
	:k4=^AD\r:		:L_k4=<F5>:\
	:k5=^AE\r:		:L_k5=<F6>:\
	:k6=^AF\r:		:L_k6=<F7>:\
	:k7=^AG\r:		:L_k7=<F8>:\
	:k8=^AH\r:		:L_k8=<F9>:\
	:k9=^AI\r:		:L_k9=<F10>:\
	:PD=\EK:		:L_PD=<PageDown>:\
	:PU=\EJ:		:L_PU=<PageUp>:\
	:SPD=\Ed:		:L_SPD=<ESC> d:\
	:SPU=\Eu:		:L_SPU=<ESC> u:\
	:SXD=\Exd:		:L_SXD=<ESC> xd:\
	:SXU=\Exu:		:L_SXU=<ESC> xu:\
	:Sk0=^A`\r:		:L_Sk0=<SHIFT-F1>:\
	:Sk1=^Aa\r:		:L_Sk1=<SHIFT-F2>:\
	:Sk2=^Ab\r:		:L_Sk2=<SHIFT-F3>:\
	:Sk3=^Ac\r:		:L_Sk3=<SHIFT-F4>:\
	:Sk4=^Ad\r:		:L_Sk4=<SHIFT-F5>:\
	:Sk5=^Ae\r:		:L_Sk5=<SHIFT-F6>:\
	:Sk6=^Af\r:		:L_Sk6=<SHIFT-F7>:\
	:Sk7=^Ag\r:		:L_Sk7=<SHIFT-F8>:\
	:Sk8=^Ah\r:		:L_Sk8=<SHIFT-F9>:\
	:Sk9=^0Ai\:		:L_Sk9=<SHIFT-F10>:
#
# Termcap file for wyse60 by David Liverman 919-638-2121 ext 7426
# Remember to turn autoscroll off or do not use last line on screen!!!
w7a|wy60a|wyse60a|Wyse WY-60 with 80 column/24 line screen in wy60 mode:\
	:IS=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/:\
	:GG#0:\
	:GS=\EH^B:	:GE=\EH^C:	:GV=6:		:GH=\072:\
	:G1=3:		:G2=2:		:G3=1:		:G4=5:\
	:GC=8:          :GD=0:          :GF=7:          :GU==:\
	:GR=4:          :GL=9:\
	:mb=\EG2:me=\EG0:\
	:bt=\EI:cl=\E+:\
	:cm=\Ea%i%dR%dC:co#80:\
	:kd=^J:kl=^H:kr=^L:ku=^K:\
	:li#24:se=\EG0:so=\EG4:sg#0:ug#0:ue=\EG0:us=\EG8:\
	:BB=\EG2:\
	:BR=\EG0:\
	:CO=\E`0:\
	:CF=\E`1:\
	:HS=\EGp:\
	:HR=\EG0:\
        :Ck2=^B:                :L_Ck2=<CTRL-F3>:\
        :Ck3=^C:                :L_Ck3=<CTRL-F4>:\
        :Ck4=^D:                :L_Ck4=<CTRL-F5>:\
        :Ck5=^E:                :L_Ck5=<CTRL-F6>:\
        :Ck6=^F:                :L_Ck6=<CTRL-F7>:\
	:EN=\ET:		:L_EN=<End>:\
	:ESC=\E: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akh=\Eah:\
	:Aki=\Eai:\
	:Akj=\Eaj:\
	:Akk=\Eak:\
	:Akl=\Eal:\
	:Akm=\Eam:\
	:Akn=\Ean:\
	:Ako=\Eao:\
	:Akp=\Eap:\
	:Akq=\Eaq:\
	:Akr=\Ear:\
	:Aks=\Eas:\
	:Akt=\Eat:\
	:Aku=\Eau:\
	:Akv=\Eav:\
	:Akw=\Eaw:\
	:Akx=\Eax:\
	:Aky=\Eay:\
	:Akz=\Eaz:\
	:Ak1=\Ea1:\
	:Ak2=\Ea2:\
	:Ak3=\Ea3:\
	:Ak4=\Ea4:\
	:Ak5=\Ea5:\
	:Ak6=\Ea6:\
	:Ak7=\Ea7:\
	:Ak8=\Ea8:\
	:Ak9=\Ea9:\
	:Ak0=\Ea0:\
        :xi:
#
#
# Wyse 370 color terminal with enhanced PC keyboard
#
# In the native mode, neither the Insert key nor the End key transmit
# anything.  These have been mapped to <ESC> i and <ESC> e respectively.
# These keys do transmit a string in the WY 350 mode, but we can't take
# advantage of colors in that mode, because it uses embedded attributes,
# and Vermont Views requires hidden attributes,
#
wy370-132:Wyse 370 in 132 column mode:\
	:is=\E[?3h\E[90;1"p\E(B\E)0\E[63;0w:\
	:co#132:	:tc=wy370:
wy370|wy370-80|Wyse 370 in 80 column mode:\
	:is=\E[?3l\E[90;1"p\E(B\E)0\E[63;0w:\
	:ct:		:xi:		:co#80: 	:li#24:\
	:nd=\E[C:	:do=\E[B:	:cl=\E[2J\E[H:	:cm=\E[%i%d;%dH:\
	:GS=^N: 	:GE=^O:\
	:G1=k:		:G2=l:		:G3=m:		:G4=j:\
	:GC=n:		:GD=w:		:GH=q:		:GL=u:\
	:GR=t:		:GU=v:		:GV=x:\
	:HS=\E[1m:	:HR=\E[m:	:BB=\E[5m:	:BR=\E[m:\
	:so=\E[7m:	:se=\E[m:	:us=\E[4m:	:ue=\E[m:\
	:CO=\E[?25h:	:CF=\E[?25l:\
	:scl0=\E[1;8x:		:rcl0=\E[63;0w:\
	:scl1=\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<ESC> cr:\
	:Cks=\Ecs:	:L_Cks=<ESC> cs:\
	:Ckt=\Ect:	:L_Ckt=<ESC> ct:\
	:Ckv=\Ecv:	:L_Ckv=<ESC> cv:\
	:Ckw=\Ecw:	:L_Ckw=<ESC> cw:\
	:Ckx=\Ecx:	:L_Ckx=<ESC> cx:\
	:Ckz=\Ecz:	:L_Ckz=<ESC> cz:\
	:Aka=\Eaa:	:L_Aka=<ESC> aa:\
	:Akc=\Eac:	:L_Akc=<ESC> ac:\
	:Akd=\Ead:	:L_Akd=<ESC> ad:\
	:Aki=\Eai:	:L_Aki=<ESC> ai:\
	:Akl=\Eal:	:L_Akl=<ESC> al:\
	:Akm=\Eam:	:L_Akm=<ESC> am:\
	:Ako=\Eao:	:L_Ako=<ESC> ao:\
	:Akp=\Eap:	:L_Akp=<ESC> ap:\
	:Aks=\Eas:	:L_Aks=<ESC> as:\
	:Aku=\Eau:	:L_Aku=<ESC> au:\
	:Akw=\Eaw:	:L_Akw=<ESC> aw: 

#
#  Special termcap entry for terminal output testing
#
#  Instead of containing actual escape sequences which the terminal
#  will recognize as commands, this entry has human-readable strings.
#  You may find this useful when attempting to bring up a new terminal
#  type with Vermont Views.  It enables you to see what we are TRYING
#  to do.  (To see the actual control codes we send, redirect standard
#  output to a file when using the normal termcap entry, then do an
#  octal dump of the file.)
#
#  Note that input keys are those for the DEC VT100.  If you wish
#  to have different keystrokes recognized, you will need to modify
#  this entry.
#
#  Originally created to assist VCS staff in optimizing our screen
#  output.  We hope you find it useful and/or informative.
#
tt|test|TEST|:\
	:is=<TERMINAL INITIALIZATION STRING>\n:\
	:co#80: 	:li#24:\
	:nd=<RIGHT>:\
	:do=\n<DOWN>:\
	:cl=\n<CLEAR SCREEN>\n:\
	:cm=\n<MOVE %d,%d>:\
	:CO=<CURSOR ON>:\
	:CF=<CURSOR OFF>:\
	:CB=<CURSOR BLOCK>:\
	:CL=<CURSOR LINE>:\
	:so=\n<STAND OUT>:\
	:se=<END SO>\n:\
	:us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C> s7:\
	:k7=\E8:	:L_k7=<ESC> 8:	:Sk7=\Es8:	:L_Sk7=<ESC> s8:\
	:k8=\E9:	:L_k8=<ESC> 9:\
	:k9=\E0:	:L_k9=<ESC> 0:

#
# Note that the function keys don't work in the sun-cmd window (you
# need to use the ESC-digit keys)
#
sun|sun-cmd|Sun Microsystems Workstation console:\
	:am:		:bs:		\
	:li#25:		:co#80:		\
	:cl=^L:		:cm=\E[%i%d;%dH:\
	:ce=\E[K:	:cd=\E[J:	\
	:so=\E[7m:	:se=\E[m:	\
	:up=\E[A:	:nd=\E[C:	\
        :ku=\E[A:       :L_ku=<Up>:     \
        :kd=\E[B:       :L_kd=<Down>:   \
        :kr=\E[C:       :L_kr=<Right>:  \
        :kl=\E[D:       :L_kl=<Left>:   \
        :k0=\E[224z:    :L_k0=<F1>:     \
        :k1=\E[225z:    :L_k1=<F2>:     \
        :k2=\E[226z:    :L_k2=<F3>:     \
        :k3=\E[227z:    :L_k3=<F4>:     \
        :k4=\E[228z:    :L_k4=<F5>:     \
        :k5=\E[229z:    :L_k5=<F6>:     \
        :k6=\E[230z:    :L_k6=<F7>:     \
        :k7=\E[231z:    :L_k7=<F8>:     \
	:G1=*:		:G2=*:		:G3=*:		:G4=*:	\
	:GH=-:		:GV=|:

hp|hpterm|X-hpterm|hp X11 tgerminal emulator:	\
	:co#80:	:li#24:	:sg#0:	:ug#0:		\
	:kb=^H:					\
	:bt=\Ei:				\
	:cd =\EJ:	:ce=\EK:		\
	:ch=\E&a%dC:				\
	:cl=\E&a0y0C\EJ:			\
	:cm=\E&a%dy%dC:				\
	:cv=\E&a%dY:				\
        :im=\EQ:ml=\El:mu=\Em:			\
	:dc=\EP:				\
	:ki=\ER:	:L_ki=<InsertChar>:	\
	:DL=\EM:	:L_DL=<DeleteLine>:	\
	:k0=\Ep:	:L_k0=<F1>:		\
	:k1=\Eq:	:L_k1=<F2>:		\
	:k2=\Er:	:L_k2=<F3>:		\
	:k3=\Es:	:L_k3=<F4>:		\
	:k4=\Et:	:L_k4=<F5>:		\
	:k5=\Eu:	:L_k5=<F6>:		\
	:k6=\Ev:	:L_k6=<F7>:		\
	:k7=\Ew:	:L_k7=<F8>:		\
	:PU=\EV:	:L_PU=<Prev>:		\
	:PD=\EU:	:L_PD=<Next>:		\
	:kh=\Eh:	:L_kh=<home>:		\
	:ku=\EA:	:kd=\EB:		\
	:kr=\EC:	:kl=\ED:		\
	:is=\E&slA:				\
	:so=\E&dJ:	:se=\E&d@:		\
	:.so=\b+:	:se=\b-:		\
	:ue=\E&d@:	:us=\E&dD:		\
	:up=\EA:	:nl=\EB:

# Wy60ak:
# Arrow keys are programmed to emit ANSI standard sequences.  Allows 
# applications to distinguish between destructive Back Space and
# non-destructive Left Arrow Key.  END and INS keys also emit
# ANSI standard sequences.
# Held out `te' string so that `is' will remain in effect
# throughout login session.
# On the Enhanced PC Keyboard, only the Cursor Keypad between the Main
# Keypad and the Numeric Keypad is programmable.  These arrow keys
# and special cursor motion keys will function as labeled when using
# wy60ak with applications supporting the wy60ak entry. The Numeric
# Keypad cursor motion keys will continue to emit their default values.
#
WA|wy60ak|wyse60ak|wytmak|Wyse 60 in wy60 mode with ANSI arrow keys +:\
	:is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\EZ1+\E[A\177\EZ1,\E[B\177\EZ1-\E[D\177\EZ1.\E[C\177\EZ1\\\E[F\177\EZ1q\E[L\177:\
	:ti=\EZ1+\E[A\177\EZ1,\E[B\177\EZ1-\E[D\177\EZ1.\E[C\177\EZ1\\\E[F\177\EZ1q\E[L\177:\
	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
	:EN=\E[F:\
	:tc=wy60:
