ISC AT386 console terminfo entry is BROKEN
Karl Denninger
karl at ddsw1.MCS.COM
Sat Dec 23 09:12:47 AEST 1989
The AT386 terminfo (and termcap) entries for ISC 2.0.2 are seriously
brain-dead as delivered from ISC. The results are that curses applications,
especially those that use multiple windows and do scrolling, break badly
leaving you with a useless screen.
Here is a fixed entry for the console, and one for /etc/termcap (important
if you intend to use termcap-based applications such as SCO Foxbase!)
AT386|at386|386AT|386at|at/386 console,
am, bw, eo, km, xon,
colors#8, cols#80, lines#25, ncv#3, pairs#64,
acsc=``a1fxgqh0jYk?lZm at nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H,
cr=\r, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB,
cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
cup=\E[%i%p1%02d;%p2%02dH, cuu=\E[%p1%dA, cuu1=\E[A,
dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[1M,
ed=\E[J, el=\E[K, flash=^G, home=\E[H, ich=\E[%p1%d@,
ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
indn=\E[%p1%dS, kbs=\b, kcbt=^], kclr=\E[2J,
kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,
kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H,
kich1=\E[@, knp=\E[U, kpp=\E[V, krmir=\E0, op=\E[0m,
rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m,
rmso=\E[m, rmul=\E[m,
setb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t44m%e%p1%{2}%=%t42m%e%p1%{3}%=%t46m%e%p1%{4}%=%t41m%e%p1%{5}%=%t45m%e%p1%{6}%=%t43m%e%p1%{7}%=%t47m%;,
setf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t34m%e%p1%{2}%=%t32m%e%p1%{3}%=%t36m%e%p1%{4}%=%t31m%e%p1%{5}%=%t35m%e%p1%{6}%=%t33m%e%p1%{6}%=%t33m%e%p1%{7}%=%t37m%;,
sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p9%t;12%;%?%p7%t;9%;m,
sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
And the termcap entry...
AT386|at386|386AT|386at|at/386 console:\
:am:bw:eo:km:xo:\
:co#80:li#25:kn#6:\
:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
:ae=\E[10m:al=\E[1L:as=\E[12m:cd=\E[J:ce=\E[K:\
:cl=\E[2J\E[H:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[1M:ho=\E[H:\
:ic=\E[1@:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:kb=\b:kd=\E[B:\
:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C:se=\E[m:\
:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:us=\E[4m:vb=^G:\
:bc=\E[D:nl=\E[B:ko=le,do,nd,up,dc,ho:
--
Karl Denninger (karl at ddsw1.MCS.COM, <well-connected>!ddsw1!karl)
Public Access Data Line: [+1 708 566-8911], Voice: [+1 708 566-8910]
Macro Computer Solutions, Inc. "Quality Solutions at a Fair Price"
More information about the Comp.unix.i386
mailing list