Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site tty3b.UUCP Path: utzoo!linus!decvax!harpo!gummo!whuxlb!pyuxll!eisx!npoiv!npois!hogpc!houxm!hocda!spanky!burl!sb1!ll1!otuxa!tty3b!jhl From: jhl@tty3b.UUCP Newsgroups: net.info-terms Subject: Teletype 5420 termcap Message-ID: <158@tty3b.UUCP> Date: Fri, 29-Jul-83 15:34:11 EDT Article-I.D.: tty3b.158 Posted: Fri Jul 29 15:34:11 1983 Date-Received: Wed, 3-Aug-83 04:02:13 EDT Organization: Teletype Corp., Skokie, Ill Lines: 56 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