[net.info-terms] Teletype 5420 termcap

jhl@tty3b.UUCP (07/29/83)

Here is a termcap description of the new Teletype(r) 5420:

T7|5420|5420 terminal 80 columns:\
	:co#80:li#24:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:bs:pt:\
	:cl=\E[H\E[J:cd=\E[J:ce=\E[K:al=\E[L:dl=\E[M:\
	:im=\E[4h:ei=\E[4l:ic=:mi:dm=:ed=:dc=\E[P:\
	:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:vb=\E[?5h\E[?5l:\
	:ks=\E[19;1j:ke=\E[19;0j:\
	:kl=\E[D:kr=\E[C:kd=\E[B:ku=\E[A:kh=\E[H:\
	:k0=\Eu:l0=Home down:k1=\E[T:l1=Roll down:\
	:k2=\Ez:l2=Bottom of memory:k3=\E[U:l3=Page down:\
	:k4=\E[S:l4=Roll up:k5=\Et:l5=Top of memory:\
	:k6=\E[V:l6=Page up:k7=\Ed:l7=Delete word:\
	:k8=\E[2J:l8=Clear screen:k9=\Ec:l9=(Shift) Reset:
T8|5420132|5420 132columns:\
	:co#132:li#24:\
	:tc=5420:

Notice that the up, down, right, left, and home arrow keys work, but only
10 of the 16 remaining keypad keys can be defined.  The ones which aren't
defined as function keys (clear line, del char, del line, ins char, ins line)
shouldn't cause any problems with vi, other than causing the screen to flash
(the visible bell).  You can, of course, set up the programmable function
keys outside of vi, but here is a .exrc file for your home directory
which will cause the defined keypad keys to work approximately as labeled
(beware of control characters when reading this):













map #0 L
map #1 
map #2 G
map #3 
map #4 
map #5 1G
map #6 
map #7 dw
map #8 
map #9 


(Hope that didn't mess up your screen)

Jonathon Luers
Teletype Corporation
...{ otuxa | ihnp4 | we13 }!tty3b!jhl