HP termcap - lingering underlines
Posted in 1994
I am having trouble in 4GL with my HP terminals (2392a, 700/92, and hpterm - all of these seem to be effectively the same terminal type). After drawing underlined text, the underlining remains when the underlined characters are overwritten. The underlining only disappears when the screen is redrawn. I have tried various posted termcaps to no avail. Has anyone else run across this problem? My current termcap is: # # HP # h0|hpsub|hp terminals -- capability subset:\\ :if=/usr/lib/tabset/stdcrt:\\ :al=\\EL:am:bs:\\ :cd=\\EJ:ce=\\EK:ch=\\E&a%dC:cl=\\EH\\EJ:\\ :co#80:da:db:dc=\\EP:dl=\\EM:do=\\EB:ei=\\ER:\\ :kb=^H:kd=\\EB:kh=\\Eh:kl=\\ED:kr=\\EC:ku=\\EA:\\ :ke=\\E&s0A:ks=\\E&s1A:\\ :li#24:mi:nd=\\EC:pt:\\ :se=\\E&d@:so=\\E&dB:\\ :up=\\EA:xs: # hp: # May be used for most 24 x 80 hp terminals, # but has no padding added, so may allow runover in some terminals at high # baud rates. Will not work for 2640a or 2640b terminals, 98x6 and 98x5 # terminal emulators or 98x6 consoles. # Adds xy-cursor addressing, vertical cursor addressing, home, # last line, and underline capabilities. # h1|hp|hpex|hp extended capabilites:\\ :cm=\\E&a%dy%dC:cv=\\E&a%dY:\\ :im=\\EQ:ml=\\El:mu=\\Em:\\ :ue=\\E&d@:us=\\E&dD:\\ :tc=hpsub: hpterm0|hp base level (term0) emulation:\\ :k0=\\Ep:k1=\\Eq:k2=\\Er:k3=\\Es:\\ :k4=\\Et:k5=\\Eu:k6=\\Ev:k7=\\Ew:\\ :kf=\\EU:kg=\\EV:ki=\\EL:kj=\\EM:\\ :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: 70092|hp70092|HP70092 in native mode:\\ :tc=hpterm0: hp2392A|hp2392|hp2392a|HP2392a in native mode:\\ :tc=hpterm0: hpterm|HP hpterm:\\ :tc=hpterm0: -- Martin Andrews andrewm@ccfadm.eeg.ccf.org Dept. of Neurology Phone (216)444-7485 Cleveland Clinic Foundation Fax (216)445-6617