Re: informix and compilation 4GL
Posted in 1999
Hi, You can try my termcap entry for linux. Add this entry to your /etc/termcap file and set the env variable TERM to linux (or change the first line of entry to specify another terminal type name). By default this termcap entry displays the colors in black/white with a very few colors. If you want a full color version as specified by I4GL just replace the ZA entry with the latter one (now commented). Best Regards, Octav --------------------------------- CUT HERE --------------------------------- linux|A linux console:\\ :bs:am:xn:xv:pt:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:\\ :cs=%i\\E[%d;%dr:cm=%i\\E[%d;%dH:co#80:li#25:\\ :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[Z~:us=\\E[4m:ue=\\E[0m:\\ :k0=\\E[[A:k9=\\E[21~:kA=\\E[23~:kB=\\E[24~:\\ :k1=\\E[[B:k2=\\E[[C:k3=\\E[[D:k4=\\E[[E:\\ :k5=\\E[17~:k6=\\E[18~:k7=\\E[19~:k8=\\E[20~:\\ :kf=\\E[6~:kg=\\E[5~:KU=\\EOM:\\ :Ki=\\EOr:KT=\\EOl:KY=\\EOS:KZ=\\EOq:\\ :Kd=\\EOm:\\ :sc=\\E7:rc=\\E8:\\ :gs=:ge=:gb=\\332\\300\\277\\331\\304\\263:\\ :ZG#0:\\ :ZA=\\E[0m\\E[%?%p1%{4}%<%p2%{1}%=%&%p3%{1}%=%&%t37;41;1;5%e%p1%{3}%>%p2%{1}%=%&%p3%{1}%=%&%t37;41;1;5%e%p1%{4}%<%p2%{1}%=%&%p3%{0}%=%&%t37;46;1%e%p1%{3}%>%p2%{1}%=%&%p3%{0}%=%&%t30;47%e%p1%{4}%<%p3%&%t37;40;1;5%e%p1%{3}%>%p3%&%t37;40;5%e%p1%{4}%<%t37;40;1%e37;40%;m: # :ZA=\\E[0m\\E[%?%p1%{4}%<%p2%{1}%=%&%p3%{1}%=%&%t37;41;1;5%e%p1%{3}%>%p2%{1}%=%&%p3%{1}%=%&%t37;41;5;1%e%p1%{4}%<%p2%{1}%=%&%p3%{0}%=%&%t37;46;1%e%p1%{3}%>%p2%{1}%=%&%p3%{0}%=%&%t30;47%e%p1%{4}%<%t37;40;1%e37;40%;m: #:ZA=\\E[0m\\E[ # NORMAL||BOLD+REVERSE+BLINK -> RED background + WHITE foregr + BLINK + INTENS #%?%p1%{4}%<%p2%{1}%=%&%p3%{1}%=%&%t37;41;1;5%e # DIM+REVERSE+BLINK -> RED background + WHITE foregr + BLINK # (now there is no difference between the two forms above) #%p1%{3}%>%p2%{1}%=%&%p3%{1}%=%&%t37;41;1;5%e # NORMAL||BOLD+REVERSE -> WHITE foregr + BLUE backgr + INTENS #%p1%{4}%<%p2%{1}%=%&%p3%{0}%=%&%t37;46;1%e # DIM + REVERSE -> WHITE backgr + BLACK foregr #%p1%{3}%>%p2%{1}%=%&%p3%{0}%=%&%t30;47%e # NORMAL + BLINK -> WHITE foregr + BLACK background + INTENS + BLINK #%p1%{4}%<%p3%&%t37;40;1;5%e # DIM + BLINK -> GRAY foregr + BLACK background + BLINK #%p1%{3}%>%p3%&%t37;40;5%e # NORMAL -> WHITE foregr + BLACK background + INTENS #%p1%{4}%<%t37;40;1%e # DIM -> GRAY foregr + BLACK background #37;40%;m: # UNDERLINE NOT USED !!! #%?%p4%t4%e24%;m: # This one is TRUE color as described in I4GL reference # # :ZA=\\E[0m\\E[%?%p1%{0}%=%t;37;1%e%p1%{1}%=%t;33;1%e%p1%{2}%=%t;35;1%e%p1%{3}%=%t;31;1%e%p1%{4}%=%t;36%e%p1%{5}%=%t;32%e%p1%{6}%=%t;34%e%p1%{7}%=%t;30%;%?%p2%t;7%;%?%p3%t;5%;%?%p4%t;4%;m: # This one is from vt100 (b&w) # # :ZG#0:ZA=\\E[0%?%p1%{0}%=%t;1%;%?%p1%{3}%>%p1%{7}%<%&%t;0%;%?%p2%t;7%;%?%p3%t;5%;%?%p4%t;4%;m: --------------------------------- CUT HERE --------------------------------- On Sat, Oct 02, 1999 at 07:56:08AM +0100, homer wrote: > Hi all, > First. I'm a newbie to informix on linux and I'd just like to say a huge > thanks to Art, Jonathan and all the other peolple who spend so much time > helping people like me. I'v only been lurking round this group for a couple > of months, but I'm really impressed with the level of 'help' and the depth > of knowledge. Thanks to yall. Now, on to prove my newbieness. Re the above > message. How do you modify the esql/c4gl scripts to stop the spurious errors > ?? just send the output to /dev/null ? Oh, and any info re an informix > termcap entry for linux (RH Hedwig) would be usefull. My function keys seem > to be confused under i4gl. > > Ta. -- Octav Chiriac Phone: (373) 2 22 99 67 NetInfo S.R.L. Fax: (373) 2 21 36 59 Chisinau (373) 2 22 84 88 Moldova, Republic of mailto:com@netinfo-moldova.com