Re: Emulation the Terminal
Posted in 2003
Yep!
It's an informix bug...
Maybe someone has a solution for this... (4GL 7.32?)
I workarounded the problem defining an ON KEY clause that do the job for
the interrupt key... inside the clause activate int_flag (LET int_flag =
TRUE) and do an EXIT [INPUT|CONSTRUCT]... whatever you use...
It's way UNcool... but it worked for me...
Muthana wrote:
> Hello,
>
> unfortunately i have near completion Christmas a Problem with the
> terminal-emulation for an applications.
>
> Problem:
>
> 4GL-Program is compiled without any problem. Therefore, i can use the
> applications but the applications response not correctly with the
> Break-button, the answer is correct at the first click but when i
> click again the break-button there are no more response. Also i have a
> problem with the back-button.
>
> Environments:
>
> Debian Linux Kernel 2.4.20
>
> $ cc -v
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc> version
> 2.95.4 20011002 (Debian prerelease)
>
> $ i4gl -v> IBM INFORMIX-4GL Version 7.31.UC3
>
> $ dbaccess -v
> DB-Access Version 9.30.UC3>
> $ stty -a
> speed 9600 baud; rows 0; columns 0; line = 0;
> intr = ^C; quit = ^\\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
> eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase =
> ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
> -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk
> -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
> -iuclc -ixany -imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill> -ofdel nl0 cr0 tab0 bs0 vt0 ff0isig icanon iexten echo echoe echok
> -echonl -noflsh -xcase
> -tostop -echoprt echoctl echoke
>
>
>
> Umgebungsvariablen:
> Shell = /bin/ksh
> TERM=ansi
> TERMCAP: /opt/informix/etc/termcap
>
>
> Termcap-Eintrag:
>
> li|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:\\
>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{3}%=%t31
> #%e%p1%{4}%=%t36
> #%e%p1%{5}%=%t32
> #%e%p1%{6}%=%t34
> #%e%p1%{7}%=%t30%;
> #m\\E[40m
> #%?%p2%t\\E[7m%;
> #%?%p3%t\\E[5m%;
> #%?%p4%t\\E[4m%;:
>
> i have tried with many diffrent Terminal clients like SSH, Putty,
> TeraTerm, Tun Emul and i habe the same problem. i hope that my
> description for the problem is enough to get help from you in this
> stuff. Can anyone help me? thanks in advance in helping me.
>
> Happy Christmas and new Year 2004
> regards,
>
> Muthana AL-Temimi
>
--
Atte,
Jesus Antonio Santos Giraldo
-----------------------------------
jeansagi@myrealbox.com
jeansagi@netscape.net
sending to informix-list