[net.wanted] vt220 Termcap

shapiro@inria.UUCP (Marc Shapiro) (02/11/85)

Can someone send me a complete Termcap entry for the Vt220, including
insert character functions?

cem@intelca.UUCP (Chuck McManis) (04/25/85)

Could someone please mail me a termcap for the DEC VT220 terminal. I am
using the VT100 one that came with this system but it seems to have some
problems. Thanks.

--Chuck

-- 
                                            - - - D I S C L A I M E R - - - 
{ihnp4,fortune}!dual\                     All opinions expressed herein are my
        {qantel,idi}-> !intelca!cem       own and not those of my employer, my
 {ucbvax,hao}!hplabs/                     friends, or my avocado plant. :-}

bonomi@ssc-vax.UUCP (Scott Bonomi) (05/07/85)

There seems to be a large number of requests for this termcap.
so here is one that we have been using for a while with no problems
noticed.


# The vt220 is operated as a vt100 except when 
# the extra function keys are needed. The reason for operating in vt100 
# mode is that in vt220 mode the ESC, BS, and LF keys are not operational. 
# If desired the termcap could be modified to use the left arrow as a 
# backspace key (:kb=\E[D:) and then run in vt220 mode, but it's nice 
# to be able to use the ESC key when required. 
#
# SETTING UP THE TERMINAL:
# Setup the vt220 as follows using the set-up menus on the terminal:
# 
# DISPLAY: 80 columns, Interpret Controls, Auto Wrap, Cursor (gotta see it)
# GENERAL: VT100 mode, VT100 ASCII, User Defined Keys Unlocked,
# User Defined Features Unlocked, Numeric Keypad, Normal Cursor Keys,
# No New Line
# COMM: 7-bit EVEN PARITY (this is a must)
# KEYBOARD: Auto Repeat, Break, No Answerback
# These options are required - the ones not listed are up to the user's
# discretion.
#DEC vt220 TERMCAP for terminal operating in 7-bit vt100 mode
#The terminal must use EVEN parity
#Contributed by Gary Sloane (sloane@nosc) MAY 1984
#
dv|vt220:\
        :ae=4\E(B:am:as=2\E(<: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=1\E[P:\
        :dl=1\E[M:do=^J:ei=\E[4l:ho=\E[H:if=/usr/lib/tabset/vt131:\
        :im=\E[4h:is=\E[1;24r\E[H\E[2J:k0=\E[1~:k1=\E[2~:\
        :k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:k6=\EOP:k7=\EOQ:\
        :k8=\EOR:k9=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
        :ks=\E[?1h\E=:ku=\EOA:le=^H:li#24:nd=2\E[C:nl=^J:\
        :pt:rc=\E8:rf=/usr/lib/tabset/vt100:\
        :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
        :sc=\E7:se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:\
        :ue=2\E[m:up=2\E[A:us=2\E[4m:vt#3:xn:
#
# The VT200 series terminals have to be changed in the
# setup menu default mode to wrap around on, and 7 bits any parity 
# mode.  
#
dr|vt200|vt200|dec vt200:\
 	:ae=4\E(B:\
	:am:\
 	:as=2\E(<:\
	:al=\E[L:\
	: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=^J:\
	:ei=\E[4l:\
	:ho=\E[H:\
	:im=\E[4h:\
	:is=\E[1;24r\E[24;1H:\
	:k1=\EOP:\
	:k2=\EOQ:\
	:k3=\EOR:\
	:k4=\EOS:\
	:kb=^H:\
	:kd=\EOB:\
	:ke=\E[?1l\E>:\
	:kl=\EOD:\
	:kr=\EOC:\
	:ks=\E[?1h\E=:\
	:ku=\EOA:\
	:le=^H:\
	:li#24:\
	:md=2\E[1m:\
	:mr=2\E[7m:\
	:mb=2\E[5m:\
	:me=2\E[m:\
	:mi:\
	:nd=\E[C:\
	:nl=^J:\
	:pt:\
	:rc=\E8:\
	:rf=/usr/lib/tabset/vt100:\
	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
	:sc=\E7:\
	:se=\E[m:\
	:so=\E[7m:\
	:sr=\EM:\
	:ta=^I:\
	:ue=\E[m:\
	:up=\E[A:\
	:us=\E[4m:\
	:vt#3:\
	:xn:
# from stanford 16Nov84
cit1|citoh|Citoh fast vt100:\
	: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[?3l\E[?4h\E[>1h\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
	:ks=\E[?1h\E=:ke=\E[?1l\E>:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
	:vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\E[?5l:\
	:sr=\EM:\
	:sc=\E7:rc=\E8:\
	:sf=\ED:\
	:cs=\E[%i%d;%dr:\
	:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
	:vs=\E[1;2;3q:ve=\E[q:
citcn|Citoh fast vt100, 132 columns:\
	:co#132:tc=cit1:
citc|Citoh fast vt220:\
	:dc=[P:dl=[PM:al=[L:ic=[@:\
	:tc=cit1:
# from bmac1 3Jan85
CI|CIT101|cit101|cit101am|cit-101|cit101e|cit-101e|C. Itoh cit-101e:\
        :co#80:li#24:am:cl=\E[H\E[J:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\
	:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:as=^N:ae=^O:\
	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:mi:ms:sr=\EM:\
	:al=\E[L:ks=\E=:ke=\E>:vs=\E[?1l\E[?4l\E[?7h:ve=:\
	:cs=\E[%i%2;%2r:sc=\E7:rc=\E8:\
        :if=/usr/lib/tabset/vt100:kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:\
	:f0=\EOp:f1=\EOq:f2=\EOr:\
	:f3=\EOs:f4=\EOt:f5=\EOu:f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:\
	:k0=\EOT:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOm:k6=\EOl:k7=\EOM:\
	:k8=\EOn:pt:\
	:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
	:NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m:
cit101nam|cit101enam|cit101e w/o am:am@:vs=\E[?1l\E[?4l\E[?7l:tc=cit101:
cit101-132|cit101am-132|cit101e in 132-column mode:co#132:tc=cit101:
cit101nam-132|cit101e in 132-column mode w/o am:am@:co#132:\
	:vs=\E[?1l\E[?4l\E[?7l:tc=cit101:



                           D. Scott Bonomi

The opinions stated here are those of the author(s) and do not 
necessarily reflect the opinions of Boeing Aerospace Company.


-- 
	{decvax,ihnp4,tektronix,sdcvax,utcsrgv}!uw-beaver!ssc-vax!bonomi