hp termcap entries for using Informix on HP terminals & workstations This file is a collection of termcap entries submitted by Informix users and/or grabbed off of the Net. They have been accumulated here without testing or editing, so of course "your mileage may vary." The entries in this file support the following terminals, windows and environments (listed in the order in which they appear in this file): o HP2392, HP2393, HP2397, HP700/92, HP2622, and HP 150 terminals on HP9000/350 and HP9000/370 workstations o HP hpterm (color) o HP 700/44 (non-color) o HP2645, HP2645, HP2640B, HP 264x Series Send any termcap or terminfo entries to be added to this collection to walt@mathcs.emory.edu or {...,gatech,rutgers,uunet}!emory!walt. ============================================================================== From: Ellen K. Osinski Date: Thu, 7 May 92 12:27:31 MDT This entry is on HP9000/350 and HP9000/370 UNIX workstations to support HP2392, HP2393, HP2397, HP700/92, HP2622, and HP 150 terminals. # to support SENTINEL hh|2392|2392A|2392a|70092|2393|2393A|2393a:\ :bt=\Ei:\ :ZG#0:ZA=\E&d@%?%p1%{7}%=%t\E&dS%;%?%p1%{0}%=%t\E&v0S%;%?%p1%{1}%=%t\E&v3S%;%?%p1%{2}%=%t\E&v5S%;%?%p1%{3}%=%t\E&v1S%;%?%p1%{4}%=%t\E&v6S%;%?%p1%{5}%=%t\E&v2S%;%?%p1%{6}%=%t\E&v4S%;%?%p2%{1}%=%t\E&dB%;%?%p3%{1}%=%t\E&dA%;%?%p4%{1}%=%t\E&dD%;:\ :tc=hp: # to support SENTINEL hh|2397|2397A|2397a:\ :bt=\Ei:\ :ZG#0:ZA=\E&d@%?%p1%{7}%=%t\E&v0m0a0b0c0x0y0z6i6S%;%?%p1%{0}%=%t\E&v0S%;%?%p1%{1}%=%t\E&v3S%;%?%p1%{2}%=%t\E&v5S%;%?%p1%{3}%=%t\E&v1S%;%?%p1%{4}%=%t\E&v6S%;%?%p1%{5}%=%t\E&v2S%;%?%p1%{6}%=%t\E&v4S%;%?%p2%{1}%=%t\E&dB%;%?%p3%{1}%=%t\E&dA%;%?%p4%{1}%=%t\E&dD%;:\ :tc=hp: hh|2622|hp2622|hp 2622|2622a|hp2622a|hp 2622a|2622p|hp2622p|hp 2622p|hp 262x series:\ :bt=\Ei:\ :ZG#0:ZA=\E&d@%?%p1%{7}%=%t\E&v0m0a0b0c0x0y0z6i6S%;%?%p1%{0}%=%t\E&v0S%;%?%p1%{1}%=%t\E&v3S%;%?%p1%{2}%=%t\E&v5S%;%?%p1%{3}%=%t\E&v1S%;%?%p1%{4}%=%t\E&v6S%;%?%p1%{5}%=%t\E&v2S%;%?%p1%{6}%=%t\E&v4S%;%?%p2%{1}%=%t\E&dB%;%?%p3%{1}%=%t\&dA%;%?%p4%{1}%=%t\E&dD%;:\ :tc=hp: -- __ | | | | ___________________________________________________________ | \ | | | \ | Ellen K. Osinski | | | | Hewlett-Packard | \ \ | Boise Site Operations - Boise Surface Mount Center | / \ | 11413 Chinden Blvd | | ---/\ | Boise, ID 83714-1023 | | | | | | | | phone : (208) 323-4904 | | * | | e-mail: ellen@hpdmmgv.boi.hp.com | | | | telnet: 1-323-4904 | |___________| |___________________________________________________________| ------------------------------------------------------------------------------ From: 4gen!psi!ravi@uunet.uu.net (Ravi Karve) Date: Wed, 30 Jun 93 12:07:00 -0400 # HP hpterm (color) (but doesn't quite work the way I wan't it to) # (courtesy of ravi@psi) hpterm|HP hpterm :\ :if=/usr/lib/tabset/stdcrt:\ :ms:al=\EL:am: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:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:\ :li#24:mi:ml=\El:mu=\Em:nd=\EC:pt:se=\E&d@:so=\E&dJ:\ :gs=:ge=:gb=\311\310\273\274\315\272:\ :us=\E&dD:ue=\E&d@:up=\EA:le=\ED:vi=\E*dR:\ :ZA=\E&v%?%p1%{0}%=%t0S%e%p1%{1}%=%t3S%e%p1%{2}%=%t5S%e%p1%{3}%=%t1S%e%p1%{4}%=%t6S%e%p1%{5}%=%t2S%e%p1%{6}%=%t4S%e%p1%{7}%=%t7S%\E&dB%?%p2%t\E&dB%e%\E&d@%;%?%p3%t\E&dD%;%?%p4%t\E&dD%;: # HP 700/44 (non-color) (courtesy of matt@psi) hppt|hppcterm|Hewlett Packard 700/44 in HP-PCTerm emulation:\ :ae=^O:al=\E[L:as=^N:bs:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=^H\E[%i%d;%dH:\ :co#80:li#24:cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:\ :so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\ :nd=\E[C:pt:re=\E[p:ru=\E[24p:\ :is=\E)0\E(B:\ :k0=\E[17~:k1=\E[18~:k2=\E[19~:k3=\E[20~:k4=\E[21~:k5=\E[23~:\ :k6=\E[24~:k7=\E[25~:k8=\E[26~:k9=\E[28~:k10=\E[29~:k11=\E[31~:\ :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\ :GS=\E(0:GE=\E(B:\ :G1=k:G2=l:G3=m:G4=j:GC=n:\ :GD=w:GH=q:GL=u:GR=t:GU=v:GV=x:\ :gs=\E(0:ge=\E(B:gb=lmkjqx: -- Ravi Karve UUNET: 4gen!psi!ravi@uunet.uu.net (Ravi Karve) Performance Software, Inc. 1129 Bloomfield Ave Suite 112 West Caldwell, NJ 07006 USA ------------------------------------------------------------------------------ From: jparker@hpbs3645.boi.hp.com (Jack Parker) Date: 8 Jan 1996 21:43:03 -0500 Pholks, Carleton wanted one, and I've been putting it off for a couple of years, and I needed one so.... I essentially modifed the termcap entry as provided in $INFORMIXDIR/etc. The first 5 lines are from that entry, the rest I added. Properly I should re-order them, but will wait until after the fallout. I added a bunch of capabilties which I cannot imagine will ever be used and I can't think of a way to test some of them offhand. The big ones that I have tested are: color Next / Prev page keys (my users kept hitting these - hence why I bothered). Insert / Delete lines Function keys 1-8 Attributes (dim, reverse, underline - Informix doesn't have a DIM attribute, and my hpterm sessions don't support blink, so I remapped blink to dim). kC, kD, kL, kE, kS - Clear screen, del char, del line, clear eol, and clear eos. These appear to work nicely in vi (excepting clear eos - which vi doesn't want to use - it just refreshes) kI, kA, kN, kP - Ins character, Ins line, key next, key prev. I also added: NL, lh, lw - label specifications LF, LO - soft labels on/off ll - down home (;-)) as, ae - start and end alternate character set - been driving me batty trying to get it to grab the line draw characters. sf, sr - scroll text up/down some of these you will never notice since code will just use the sequence instead of doing it the old way - it might even be slower - hey you can always delete it. I followed the term0 guidelines, so these new entries should work for any hp terminal. I have been testing the color with mixed results. Many of the colors appear to be reversed (Yellow and Red for example) - any ideas? I also haven't solved the magic cookie glitch (where borders and attributes write to the end of the line - wiping out all data) - and of course I am still struggling with getting the alternate character set to be found so that I can use the line drawing characters to draw the border. I'm afraid that's really all I have time to work on at this point. If anyone has any bright ideas on how to address any of these issues let me know and I'll attempt to correct them. If you want code to program the function keys let me know, I worked up some quick and dirty code which programs them that I can share. without further ado. h4|hp|hp2645|2645|hp2640b|2640b|hp 264x series:\ :if=/usr/lib/tabset/stdcrt:\ :ms:al=\EL:am: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:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:\ :li#24:mi:ml=\El:mu=\Em:nd=\EC:pt:se=\E&d@:so=\E&dJ:\ :Nl=8:lh=2:lw=8:ll=\EF:as=^N:ae=^O:\ :mb=\E&dA:md=\E&dJ:mh=\E&dH:mr=\E&dB:me=\E&d@:\ :ic=\EQ:kC=\Eh\EJ:kD=\EP:kL=\EM:kE=\EK:kS=\EJ:\ :kI=\EQ:kA=\EL:kN=\E[U:kP=\E[U:\ :LF=\E&j@:LO=\E&jB:sf=\ES:sr=\ET:\ :us=\E&dD:ue=\E&d@:up=\EA:xs:\ :i1=\E&v1a1b1c0i1a1b1i1a1c2i1a3i1b1c4i1b5i1c6i7I:\ :kg=\EV:kf=\EU:ki=\EL:kj=\EM:\ :k0=\Ep:k1=\Eq:k2=\Er:k3=\Es:k4=\Et:k5=\Eu:k6=\Ev:k7=\Ew:\ :ZG#0:ZA=\E&d%'@'%?%p3%t%{8}%+%;%?%p4%t%{4}%+%;%?%p2%t%{2}%+%;%c\E&v%p1%dS: #ZA = #E&d # attribute intro #%'@' # push normal onto stack #%?%p3%t%{8}%+%; # if blink (remapped to dim) push 8 and add #%?%p4%t%{4}%+%; # if Underscore push 4 and add #%?%p2%t%{2}%+%; # if rvideo push 2 and add #%c: # pop stack and go. # # using this method, blink would be %{1}%+ # but wait - we haven't added clor yet! so the last line above is really #%c # # color init #E&v #%p1 # pushes p1 onto stack #%cS: # pop it off, add an 'S' cheers j. _____________________________________________________________________________ Jack Parker - Hewlett Packard, DMD/IS Boise, Idaho, USA jparker@hpbs3645.boi.hp.com _____________________________________________________________________________ "I'm with the IRS, I'm here to help you" _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________ From: jparker@hpbs3645.boi.hp.com (Jack Parker) Date: 9 Jan 1996 02:43:03 -0500 > > I followed the term0 guidelines, so these new entries should work for any > hp terminal. Excepting of source hp ANSI terminals. > > I have been testing the color with mixed results. Many of the colors appear > to be reversed (Yellow and Red for example) - any ideas? Doh! I use a background color which is not black. Of course the colors are reversed. Kind of nice actually, what you get is based on what you started with. cheers j. _____________________________________________________________________________ Jack Parker - Hewlett Packard, DMD/IS Boise, Idaho, USA jparker@hpbs3645.boi.hp.com _____________________________________________________________________________ "I'm with the IRS, I'm here to help you" _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________ ==============================================================================