hp termcap/terminfo
Posted in 1992
(Author's note to hisself) Let's try sending it to the Net this time dummy! Sorry Kacy for the dupe. > Anybody got a good termcap/terminfo entry for an hp tube? (Yeah, I know, look > where I'm working!). Specifically I'm wondering if there is a solution to the > magic-cookie-glitch for this thing. > > Also, has anybody ever got Informix to use attributes like DIM, UNDERLINE, or > BLINK in a DISPLAY on an hp tube? REVERSE is ok, but no others. > > Me, too! I can't find a way to get hpterms or xterms to run > isql, tbmonitor, vi, and man consistently in the same window. > I played around for a while and got the hp supported attributes to work from the os, but not from informix! For those of you who care, :mb=\\E&dA:mh=\\E&dH:us=\\E&dD:\\ # blink, dim, underline I prefer: :so=\\E&dJ: # for standout which informix actually uses! which frees up: :mr=\\E&dB: # for reverse as it should be. For those of you using terminfo it would be (in the same order): blink=\\E&dA, dim=..., smul=..., smso=..., rev=... For those of you who don't know how to terminfo: (1) do an untic into a local directory (./), (2) make your changes to the file ./h/$TERM (3) TERMINFO=./ (4) tic ./h/$TERM (5) and try it. If you like it get your sysadmin to make the changes to /usr/lib/terminfo/h/$TERM (or whatever your hp $TERM is) you can mix your own as follows: # \\E&dx: where x is: @ off, A blink, B RV, C RV_Blink, D UL, E UL_Blink, # F RV_UL, G RV_UL_Blink, H Dim, I Dim_Blink, J RV_Dim, # K RV_Dim_Blink, L UL_Dim, M UL_Dim_Blink, N RV_UL_Dim # O All 4 My particular monitor doesn't do the blink (which is fine by me!), but the codes are right. I went through the Informix termcap (which is almost identical to /etc/termcap) and tested what I could of hp functionality. It seems to work pretty much ok. (Aside from the various documented problems). I have another message in to the termcap guru, I gather from the terminfo documentation and news that the highlight is, not a bug, but rather a known area of non-conformance. Although I did this on HP's time in an effort to solve problems we are having, it most certainly does not have HP's blessing. Even if I were a real person and not a keyboard-for-hire. still looking for Mrs. Goodterm, j. _____________________________________________________________________________ Jack Parker - Contractor | Hewlett Packard, BSMC Boise, Idaho, USA| I've forgotten more than jparker@hpbs2651.boi.hp.com | I ever knew (208) 323-5388 (W) (208) 384-1623 (H) | _____________________________________________________________________________