Skip to main content

Problem:

I migrate my application from Object Cobol Developer Suite.

In my application , the box is with color and the lines  are cut by characters .

It runs fine with Object Cobol Developer Suite .

With Server Express ,  The color stops at the first character .

Resolution:

The terminfo source file for the emulation linux was modified between Object Cobol Developer Suite and Server Express. It is necessary to use the terminfo source file that is delivered with Object Cobol Developer Suite .

The  source file linux-ocds.src is :

# Reconstructed from file: /opt/cobol/d4200/tbx/terminfo/l/linux

# Produced by mfinfocmp (Micro Focus terminfo)

linux|linux console,

am, bce, eo, mir, msgr, xenl, xon,

colors#8, cols#80, it#8, lines#25, pairs#64,

acsc= ^P\\,^Q-^X.^Y0\\333'^Da\\261f\\370g\\361h\\260i\\316j\\331k\\277l\\332m\\300n\\305o~p\\304q\\304r\\304s_t\\303u\\264v\\301w\\302x\\263y\\363z\\362{\\343|\\330}\\234~\\376,

bel=^G, blink=\\E[5m, bold=\\E[1m, civis=\\E[?25l,

clear=\\E[H\\E[J, cnorm=\\E[?25h, cr=\\r,

csr=\\E[%i%p1%d;%p2%dr, cub1=\\b, cud1=\\n, cuf1=\\E[C,

cup=\\E[%i%p1%d;%p2%dH, cuu1=\\E[A, dch=\\E[%p1%dP,

dch1=\\E[P, dim=\\E[2m, dl=\\E[%p1%dM, dl1=\\E[M,

ech=\\E[%p1%dX, ed=\\E[J, el=\\E[K, el1=\\E[1K,

flash=\\E[?5h\\E[?5l$<200/>, home=\\E[H,

hpa=\\E[%i%p1%dG, ht=\\t, hts=\\EH, ich=\\E[%p1%d@,

ich1=\\E[@, il=\\E[%p1%dL, il1=\\E[L, ind=\\n,

invis=\\E[8m, kb2=\\E[G, kbs=\\177, kcbt=\\E[Z,

kcub1=\\E[D, kcud1=\\E[B, kcuf1=\\E[C, kcuu1=\\E[A,

kdch1=\\E[3~, kend=\\E[4~, kf1=\\E[[A, kf10=\\E[21~,

kf11=\\E[23~, kf12=\\E[24~, kf13=\\E[25~, kf14=\\E[26~,

kf15=\\E[28~, kf16=\\E[29~, kf17=\\E[31~, kf18=\\E[32~,

kf19=\\E[33~, kf2=\\E[[B, kf20=\\E[34~, kf3=\\E[[C,

kf4=\\E[[D, kf5=\\E[[E, kf6=\\E[17~, kf7=\\E[18~,

kf8=\\E[19~, kf9=\\E[20~, khome=\\E[1~, kich1=\\E[2~,

knp=\\E[6~, kpp=\\E[5~, kspd=^Z, nel=\\r\\n,

op=\\E[39;49m, rc=\\E8, rev=\\E[7m, ri=\\EM,

rmacs=\\E[10m, rmir=\\E[4l, rmso=\\E[27m, rmul=\\E[24m,

rs1=\\Ec\\E]R, sc=\\E7, setb=\\E[4%p1%dm%p1%'0'% %PB,

setf=\\E[3%p1%dm%p1%'0'% %PF,

sgr0=%?%gF%!%t%'7'%PF%;%?%gB%!%t%'0'%PB%;\\E[0;10;4%gB%c;3%gF%cm,

smacs=\\E[11m, smir=\\E[4h, smso=\\E[7m, smul=\\E[4m,

tbc=\\E[3g, u6=\\E[%i%d;%dR, u7=\\E[6n, u8=\\E[?6c,

u9=\\E[c, vpa=\\E[%i%p1�,

To create a compiled file  :  mftic linux-ocds.src

Old KB# 2366