Re: terminfo and 4.10 and hp9000 - oh my!
Posted in 1993
> > Jack Parker says: > > 1 - The 4.10 4gl supplement states the usual stuff about INFORMIXTERM > > and how it can be set to termcap or terminfo. (p S-191). It also > > states that hp does not support terminfo. > > I can't comment on the 4gl products. We use ESQL/C, ISQL and OnLine > (everything 5.0 except ISQL is now 4.11, but we still have the 4.10 > release notes files in our HP system). > > Remember, this discussion began with the IBM RS/6000 platform. This > appears to be a port-specific issue, but after it came up for IBM, I > also looked at our HP release note files. > > > 2 - I checked the release notes for our box here (4.10 again) - there is no > > mention of the topic. > > I looked at the release note files on the system: ISQL_4.1, ONLINE_5.0, > ONLINE_4.1, ESQLC_5.0 and ESQLC_4.1. The ESQLC files did not mention it > at all, the others said "terminfo not supported". > > > 3 - I set INFORMIXTERM=terminfo and ran our current application and could > > find no fault with the way the code interacted with the screen. Of > > course I could not tell the difference - since we don't use color and > > our terminfo/termcap entries are close to identical. > > My cohort discovered the problem (I'm not certain now which platform he > found it on) because there was no termcap entry for the terminal type he > was using -- he confirmed there was a terminfo entry, but it still tried > to use termcap, even after INFORMIXTERM=terminfo. Oh Dear! $TERMCAP=$HOME/junk $export TERMCAP $INFORMIXTERM=terminfo $export INFORMIXTERM $echo $TERM hp $isql The type of your terminal is unknown to the system $ls /usr/lib/terminfo/h h1000 hp hp2621A hp2645 hp98542a hp98720 ^^^ h1420 hp1096a hp2621a hp2648 hp98543 hp98720a h1500 hp110 hp2621k45 hp2648a hp98543a hp98721 ..... ---------------------------- (Note: setting TERMCAP=/usr/informix/etc/termcap makes isql work again.) ---------------------------- I grepped out 'terminfo' in /usr/informix/release - what it came up with was section VI of ISQLDOC_4.1 which elaborates on the setting of INFORMIXTERM and TERMCAP - ours does not say that it doesn't support terminfo. Obviously (there's that word), I PRESUME from the above that it does not. Versions: INFORMIX EMBEDDED SQL Run Time Facility Version 4.10.UE1 INFORMIX-4GL Version 4.10.UD2 INFORMIX-SQL Version 4.10.UD2 INFORMIX-NET Version 5.00.UC2 INFORMIX-OnLine Version 5.00.UC1 INFORMIX-STAR Version 5.00.UC1 cheers j. _____________________________________________________________________________ Jack Parker - Contractor |"Is it weakness of intellect birdie" Hewlett Packard, BSMC Boise, Idaho, USA|I cried, "or a tough little worm in jparker@hpbs2561.boi.hp.com |your little inside", with a shake of (208) 396-5388 (W) (208) 384-1623 (H) |his head he sadly replied: | "Oh willow, Oh willow, tit willow". _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________