RE: TERMCAP problem with Linux and Informix 4GL - No color!
Posted in 2000
Topics: Stored Procedures & SPL, Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Send me your termcap file. I'll take a peek. cheers j. > -----Original Message----- > From: rspears69@nospamhot.com [mailto:rspears69@nospamhot.com] > Sent: Wednesday, December 20, 2000 10:09 PM > To: informix-list@iiug.org > Subject: TERMCAP problem with Linux and Informix 4GL - No color! > > > This is probably a simple problem to solve, but it's been making me > tear out hair for a few weeks now > > My company is switching platforms from SCO Open Server UNIX to a Linux > platform, and I am doing the conversions on the 4GL code. > > Under the unix environment, we set the codes for reverse video color > with the SETCOLOR command in the users .profile under Unix. Linux > (apparantly) does not have an equivilant command to SETCOLOR. In > looking at the Informix documentation, the color can be set in the 4GL > code with the ATTRIBUTE setting for DISPLAY statements. But when I > compile the code and run it (both in console and in X-windows), the > colors are not there. > > I have a feeling that the problem is in the TERMCAP file. I have > tried setting the TERM and the INFORMIXTERM environment variables for > ansi, pcansi, linux, vt100, wy350, and others. Still no color... > > is there anyone out there running Informix RDS 4GL under Linux who has > figured out the color mystery? > > Thanks in advance for any advice. You can leave a reply here, or > email to rspears69@hotmail.com >
In article <91t6pt$6q8$1@news.xmission.com>,
Hi Parker.
Please try this.
Add ZA TERMCAP entry.
ZA=\\E[0%?%p1%{0}%>%p1%{4}%<%&%t;1%;%?%p2%t;7%;%?%p3%t;5%;%?%p4%t;4%;m:
see also INFORMIX-4GL Reference Manual III Appendix.
And please try this too.
$ echo "\\033[33mYellow\\033[0m"
Yellow (Color is Yellow.)
If Color is black, then you need configration your OS,etc...
Original TEMRCAP
v1|vt100|vt-100|DEC vt100:\\
:bs:am:xn:xv:pt:cd=\\E[J:ce=2\\E[K:cl=45\\E[H\\E[J:\\
:cs=%i\\E[%d;%dr:cm=%i\\E[%d;%dH:co#80:li#24:\\
:Hi=\\E=:Hf=\\E>:HI=^|:Po=\\E1:Pe=\\E2:\\
:bc=\\E[D:do=\\E[B:nd=\\E[C:sr=\\EM:up=\\E[A:so=\\E[7m:se=\\E[m:\\
:ku=\\E[A:kd=\\E[B:kr=\\E[C:kl=\\E[D:kh=\\E[H:us=\\E[4m:ue=\\E[0m:\\
:k0=\\EOP:k1=\\EOQ:k2=\\EOR:k3=\\EOS:\\
:k5=\\EOn:k7=\\EOw:k8=\\EOx:k9=\\EOy:\\
:KA=\\EOu:KU=\\EOM:KB=\\EOv:KC=\\EOt:\\
:Ki=\\EOr:KT=\\EOl:KY=\\EOS:KZ=\\EOq:\\
:Kd=\\EOm:k6=\\EOs: \\
:sc=\\E7:rc=\\E8: \\
:gs=\\E(0:ge=\\E(B:gb=lmkjqx:\\
:ZG#0:ZA=\\E[0%?%p1%{0}%>%p1%{4}%<%&%t;1%;%?%p2%t;7%;%?%p3%t;5%;%?%p4%t;
4
%;m:
--
Tsutomu Ogiwara from Japan.
"Parker, Jack" <JParker@engage.com> wrote:
>
>
> Send me your termcap file. I'll take a peek.
>
> cheers
> j.
>
> > -----Original Message-----
> > From: rspears69@nospamhot.com [mailto:rspears69@nospamhot.com]
> > Sent: Wednesday, December 20, 2000 10:09 PM
> > To: informix-list@iiug.org
> > Subject: TERMCAP problem with Linux and Informix 4GL - No color!
> >
> >
> > This is probably a simple problem to solve, but it's been making me
> > tear out hair for a few weeks now
> >
> > My company is switching platforms from SCO Open Server UNIX to a
Linux
> > platform, and I am doing the conversions on the 4GL code.
> >
> > Under the unix environment, we set the codes for reverse video
color
> > with the SETCOLOR command in the users .profile under Unix. Linux
> > (apparantly) does not have an equivilant command to SETCOLOR. In
> > looking at the Informix documentation, the color can be set in the
4GL
> > code with the ATTRIBUTE setting for DISPLAY statements. But when I
> > compile the code and run it (both in console and in X-windows), the
> > colors are not there.
> >
> > I have a feeling that the problem is in the TERMCAP file. I have
> > tried setting the TERM and the INFORMIXTERM environment variables
for
> > ansi, pcansi, linux, vt100, wy350, and others. Still no color...
> >
> > is there anyone out there running Informix RDS 4GL under Linux who
has
> > figured out the color mystery?
> >
> > Thanks in advance for any advice. You can leave a reply here, or
> > email to rspears69@hotmail.com
> >
>
Sent via Deja.com
http://www.deja.com/
Related threads
- Fragmentation Fundamental Question
- LVARCHAR data type
- Re: SQL convert number into the date
- Re: Slow dbexport
- doubt about parameters (PDQ)