wcs@ho95e.UUCP (x0705) (08/19/85)
#> does anyone have a termcap for an hp2623a? we got lots of 'em, and they... #> john salmi {ihnp4,mgnetp}!dicomed!john > dicomed corp > minneapolis #> #Almost all HP terminals use the same set of escape sequences. You can #call it a 2622, or 2621k45, or....; the 2621 is enough dumber with #respect to function & arrow keys that it rates a separate entry. #Of course, the generic 2622 entry won't handle 2623 graphics, and the #multiple port stuff on the 2626 is also a problem. Here's a copy of my #system's /etc/termcap hp stuff - long: #--------------------------------------------------------- h2|2621|hp2621|hp2621a|hp2621p|2621|2621a|2621p|hp2621-fl|hp 2621:\ :is=\E&j@\r\E3\r:bt=\Ei:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:pb#19200:\ :so=\E&dD:se=\E&d@:us=\E&dD:ue=\E&d@:me=\E&d@:\ :kh=\Ep\r:ku=\Et\r:kl=\Eu\r:kr=\Ev\r:kd=\Ew\r:\ :kn#8:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\ :k8=\Ew\r:ks=\E&jB:ke=\E&j@:ta=2^I:tc=hp: h6|hp2626|hp2626a|hp2626p|2626|2626a|2626p|hp 2626:\ :dc=2\EP:ip=2:se=\E&d@:so=\E&dB:cd=500\EJ:\ :mr=\E&dB:us=\E&dD:mb=\E&dA:mk=\E&dS:me=\E&d@:ue=\E&d@:\ :kh=\Eh:ku=\EA:kl=\ED:kr=\EC:kd=\EB:ks=\E&s1A:ke=\E&s0A:\ :sf=\ES:ta=2^I:xs:tc=2621: h8|2382|hp2382|hp2382a|2382a|hp 2382:\ :al=\EL:am:bs:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dY:cl=\EH\EJ:\ :cm=\E&a%r%dc%dY:co#80:cv=\E&a%r%dC:da:db:\ :dc=\EP:dl=\EM:do=\EB:ei=\ER:eo:im=\EQ:is=\E&j@\r\E3\r:\ :k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:\ :k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\ :kd=\Ew\r:ke=\E&j@:kh=\Ep\r:kl=\Eu\r:kn#8:kr=\Ev\r:ks=\E&jB:ku=\Et\r:\ :li#24:mi:ml=\El:ms:mu=\Em:nd=\EC:se=\E&d@:sf=\ES:so=\E&dB:sr=\ET:\ :ue=\E&d@:up=\EA:us=\E&dD:tc=hp: h4|hp2645|2645|hp45|hp 264x series:\ :mh=\E&dH:mr=\E&dB:us=\E&dD:mb=\E&dA:me=\E&d@:\ :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=hp: ha|2640|hp2640a|2640a|hp 2640a:\ :cm@:ks@:ke@:tc=2645: # # h: HEWLETT PACKARD # # Note: no "ho" on HP's since that homes to top of memory, not screen. # Due to severe 2621 braindamage, the only way to get the arrow keys to # transmit anything at all is to turn on the function key labels # (f1-f8) with ks, and even then the poor user has to hold down shift! # The default 2621 turns off the labels except when it has to to enable # the function keys. If your installation prefers labels on all the time, # or off all the time (at the "expense" of the function keys) move the # 2621-nl or 2621-wl labels to the front using reorder. # Note: there are newer ROM's for 2621's that allow you to set strap A # so the regular arrow keys xmit \EA, etc, as with the 2645. However, # even with this strap set, the terminal stops xmitting if you reset it, # until you unset and reset the strap! Since there is no way to set/unset # the strap with an escape sequence, we don't use it in the default. # If you like, you can use 2621-ba (braindamaged arrow keys). h1|2621-ba|2621 w/new rom, strap A set:\ :ks@:ke@:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:tc=hp2621: # 2621 with function labels. Most of the time they are off, # but inside vi, the function key labels appear. You have to # hold down shift to get them to xmit. # 2621k45: untested # 2622: unsure if this is quite it, have only heard about the terminal. h3|2621k45|hp2621k45|k45|2622|hp2622|hp 2621 with 45 keyboard:\ :kb=^H:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=2621: # This terminal should be used at 4800 baud or less. h5|hp|hewlett-packard:\ :ct=\E3:st=\E1:cr=^M:nl=^J:bl=^G:al=\EL:am:le=^H:bs:\ :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cm=6\E&a%r%dc%dY:\ :co#80:cv=\E&a%dY:da:db:dc=\EP:dl=\EM:ei=\ER:im=\EQ:\ :kb=^H:li#24:mi:nd=\EC:ta=^I:pt:se=\E&d@:so=\E&dJ:\ :us=\E&dD:ue=\E&d@:up=\EA:xs:vt#6:pb#9600: # This entry does not use any of the fancy windowing stuff of the 2621. # Indeed, termcap does not yet handle such stuff. We are looking at it. 2626-23:li#23:tc=2626: 2626-12:li#12:tc=2626: 2626-12x40:co#40:li#12:tc=2626: 2626-x40:co#40:tc=2626: 2626-11:li#11:tc=2626: # cD is a pain - but it only screws up at 9600 baud. # You should use this terminal at 4800 baud or less. h8|hp2648|hp2648a|2648a|2648|HP 2648a graphics terminal:\ :cl=50\EH\EJ:cm=20\E&a%r%dc%dY:dc=7\EP:ip=5:tc=2645: # 2640a doesn't have the Y cursor addressing feature, and C is memory relative # instead of screen relative, as we need. hb|2640b|hp2640b|2644a|hp2644a|hp 264x series:\ :ks@:ke@:tc=2645: # 2621 using all 48 lines of memory, only 24 visible at any time. Untested. hl|2621-48|48 line 2621:\ :li#48:ho=\EH:cm=\E&a%r%dc%dR:tc=2621: # 2621 with no labels ever. Also prevents vi delays on escape. hn|2621-nl|hp2621-nl|2621|hp2621|hp 2621 with no labels:\ :ks@:ke@:kh@:ku@:kl@:kr@:kd@:tc=hp2621-fl: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs (wrong). ht|2621-nt|hp 2621 w/no tabs:\ :pt@:tc=hp2621: # 2621 with labels on all the time - normal outside vi, function inside vi. hw|2621-wl|hp2621-wl|2621|hp2621|hp 2621 w/labels:\ :is=\E&jA\r:ke=\E&jA:tc=hp2621-fl: -- ## Bill Stewart, AT&T Bell Labs, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs