Re: Termcap for Color Xterm
Posted in 1993
>I have compiled the color_xterm.tar from mit for X11R4 ansi color support and I >am now looking for the termcap that will give it all to me. I am using XVision >via MSwindows on a PC and accessing my UNIX host via TCP/IP. If this termcap entry >has been written then I would like to get in my hands. > > Regards, Peter > The following is the ansi termcap entry I have used with Informix and ansi X terminals on SCO ODT, Procomm, Xtalk for Windows, SCO ansi console. It provides graphic lined boxes around a window, function keys 1 to 10, and the 8 basic colors Informix 4GL programs support. # modified Informix 4GL ansi color, function keys, and box borders ansi|Ansi standard crt:\\ :al=\\E[L:am:bs:cd=\\E[J:ce=\\E[K:cl=\\E[2J\\E[H:cm=\\E[%i%d;%dH:co#80:\\ :dc=\\E[P:dl=\\E[M:dn=\\E[B:ei=:ho=\\E[H:ic=\\E[@:im=:li#24:\\ :nd=\\E[C:ms:pt:so=\\E[7m:se=\\E[m:us=\\E[4m:ue=\\E[m:up=\\E[A:\\ :kb=^h:ku=\\E[A:kd=\\E[B:kl=\\E[D:kr=\\E[C:eo:\\ # capability to display graphic boxes using the PC ansi character set \\ :gs=:ge=:gb=\\332\\300\\277\\331\\304\\263:\\ # function keys F1 (k0) to F10 (k9) \\ :k0=\\E[M:k1=\\E[N:k2=\\E[O:k3=\\E[P:k4=\\E[Q:\\ :k5=\\E[R:k6=\\E[S:k7=\\E[T:k8=\\E[U:k9=\\E[V:\\ # informix 4gl color support - the next line is one very long line \\ :ZA=\\E[%?%p1%{0}%=%t0m\\E[37%e%p1%{1}%=%t33%e%p1%{2}%=%t35%e%p1%{3 }%=%t31%e%p1%{4}%=%t36%e%p1%{5}%=%t32%e%p1%{6}%=%t34%e%p1%{7}%=%t 30%;m\\E[40m%?%p2%t\\E[7m%;%?%p3%t\\E[5m%;%?%p4%t\\E[4m%;: ############################################################################# # Lester Knutsen lester@access.digex.net # # Advanced DataTools Corporation Voice: 703-256-0267 # # Providing Informix Database Tools and Consulting # #############################################################################