Xref: utzoo comp.terminals:970 comp.sys.hp:1278 Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!iuvax!pur-ee!nyenhuis From: nyenhuis@pur-ee.UUCP (John Nyenhuis) Newsgroups: comp.terminals,comp.sys.hp Subject: Re: Need termcap for HP150 Message-ID: <9902@pur-ee.UUCP> Date: 28 Nov 88 00:57:54 GMT References: <11796@cup.portal.com> Reply-To: nyenhuis@pur-ee.UUCP (John Nyenhuis) Organization: Purdue University Engineering Computer Network Lines: 36 In article <11796@cup.portal.com> John_-_DeBert@cup.portal.com writes: >Need termcap entries for HP-150 touchscreen terminal. >If anyone has one, please post it or mail it as appropriate. > Here is one which I developed: ----- xx|hp150|yy|The wonderful computer with the magic touch!:\ :am:cr=^M:do=^J:nl=^J:bl=^G:\ :le=^H:bs:cm=\E&a%r%dc%dY\E&d@:cl=\Eh\EJ:nd=\EC:\ :up=\EA:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:\ :li#24:co#80:dc=\EP:dl=\EM:ei=\ER:im=\EQ:\ :ct=\E3:st=\E1:us=\E&dD:ue=\E&d@:so=\E&dK:se=\E&d@:\ :al=\EL:cd=\EJ:ce=\EK:\ :mh=\E&dH:mr=\E&dB:us=\E&dD:mb=\E&dA:me=\E&d@:\ :ks=\E&s1A:ke=\E&s0A:\ :k0=\EM:k1=\EL:k3=\EP:k2=\EQ:k4=\EK:k5=\Eh:\ :da:db:k6=\EU:k7=\EV:xs:k8=\E&P:k9=\EF:\ --------- If you put the following commands in your .profile (or similar), the word processing keys ("delete line", etc) will work with vi. (The word processing keys don't work with the termcap for the hp150 which is in our /etc/termcap). ________ EXINIT='set nu|map #0 dd|map #1 o|map #2 i|map #3 x|map #4 D|map #5 1G|map #6 |map #7 |map #8 /|map #9 G' export EXINIT _______ I have often thought that it would be nice to be able to touch the screen and have vi move the cursor to that spot, but I haven't figured that out yet .... John Nyenhuis Purdue University School of Electrical Engineering West Lafayette IN 47907 (317)494-3524 nyenhuis@ee.ecn.purdue.edu nyenhuis@pur-ee.UUCP