• Opening a window or closing a window will refresh all the remaining

    From Spokey Wheeler@21:1/5 to All on Thu Aug 31 16:02:30 2017
    Copy: informix-list@iiug.org

    Hi,

    What do you mean by “refresh”?

    On 31 Aug 2017, at 15:57, inboxgac@gmail.com wrote:

    Hello All,

    An application have several windows 4GL.
    Opening a window 4GL or closing a window 4GL will refresh all the remaining open windows on the screen.
    We are currently running our software on IBM INFORMIX-4GL Version 7.51.UC2 and this is currently our only problem.

    This effect does not exist when the program is compiled on INFORMIX-4GL Version 7.30.UC7
    The same code compiled and run on IBM INFORMIX-4GL version 7.51.UC2 has the problem described above.

    MAIN
    DEFINE cc CHAR(1)

    LET cc="X"

    CURRENT WINDOW IS SCREEN
    OPEN WINDOW cust_w AT 3,5 WITH 19 ROWS, 72 COLUMNS
    ATTRIBUTE (BORDER, REVERSE)

    DISPLAY "[A]" AT 1,2
    DISPLAY " press <q> to Exit " AT 3,2
    DISPLAY " press <Enter> to reopen a window [B] " AT 12,2

    WHILE TRUE

    OPEN WINDOW firma_w AT 5,32 WITH 5 ROWS, 29 COLUMNS
    ATTRIBUTE (BORDER, REVERSE, PROMPT LINE LAST)
    DISPLAY "[B]" AT 1,2
    DISPLAY " xxxxxx xxxxxxxxx " AT 2,2
    DISPLAY " xx-xxx xxxxxxx " AT 3,2
    DISPLAY " xxxxxxxxxxxxxxxxxx " AT 4,2

    OPEN WINDOW cc_w AT 9,33 WITH 1 ROWS, 3 COLUMNS
    PROMPT "><" FOR CHAR cc
    CLOSE WINDOW cc_w

    CLOSE WINDOW firma_w

    IF cc = "Q" OR cc = "q" THEN
    EXIT WHILE
    END IF

    END WHILE
    CLOSE WINDOW cust_w
    END MAIN

    If someone met this problem and solved it please information how to solve it, thank you

    Andrzej

    _______________________________________________
    Informix-list mailing list
    Informix-list@iiug.org
    http://members.iiug.org/mailman/listinfo/informix-list

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From inboxgac@gmail.com@21:1/5 to All on Thu Aug 31 08:24:40 2017
    Here refreshing as re-displaying the remaining open windows
    In the attached program there will be three refreshes of the [A] window caused CLOSE WINDOW cc_w
    CLOSE WINDOW firma_w
    OPEN WINDOW firma_w
    Such a nasty terminal blink

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Spokey Wheeler@21:1/5 to All on Thu Aug 31 16:26:25 2017
    Copy: informix-list@iiug.org

    Is there perhaps a difference in the termcap or terminfo settings between the two versions?

    On 31 Aug 2017, at 16:24, inboxgac@gmail.com wrote:

    Here refreshing as re-displaying the remaining open windows
    In the attached program there will be three refreshes of the [A] window caused
    CLOSE WINDOW cc_w
    CLOSE WINDOW firma_w
    OPEN WINDOW firma_w
    Such a nasty terminal blink


    _______________________________________________
    Informix-list mailing list
    Informix-list@iiug.org
    http://members.iiug.org/mailman/listinfo/informix-list

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From inboxgac@gmail.com@21:1/5 to All on Thu Aug 31 09:05:12 2017
    I checked, I already thought about it, the environment on the new platform is the same, but I will again, thank you

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From inboxgac@gmail.com@21:1/5 to All on Thu Aug 31 09:09:23 2017
    When comparing main.ec files, I can not explain the behavior of this program

    $ c4gl -V
    INFORMIX-4GL Version 7.30.UC7
    c4gl -a -z -keep -anyerr *.4gl -o a.out

    #include <sqlfm.h>
    extern _EFwindow *_Wscreen;
    _EFwindow *_Wcust_w;
    :::::::
    _efiwopen(&_Woiscrfirma, "firma", 5, 32, 0, 0, 0, -1, -1, 0x4000, 0x0000, -1,0);

    $ c4gl -V
    IBM INFORMIX-4GL Version 7.51.UC2
    c4gl -a -z -keep -anyerr *.4gl -o a.out

    #include <sqlfm.h>
    extern _EFwindow *_Wscreen;
    _EFwindow *_Wcust_w;
    :::::::
    ibm_efm_openWindow(&_Woiscrfirma, "firma", 5, 32, 0, 0, 0, -1, -1, 0x4000, 0x0000, -1,0);



    Can the problem be the installation of INFORMIX

    On our previous platform where the program does not refresh the window [A] INFORMIX-4GL Version 7.30.UC7
    $ ldd a.out
    a.out needs:
    /usr/lib/libc.a(shr.o)
    /usr/lib/libbsd.a(shr.o)
    /usr/lib/libtli.a(shr.o)
    /usr/informix730/lib/tools/lib4gsh730.a(lib4gsh730.so.so)
    /unix
    /usr/lib/libcrypt.a(shr.o)
    /usr/lib/libc.a(pse.o)
    /usr/lib/libdl.a(shr.o)
    /usr/lib/libcurses.a(shr42.o)

    On the current platform where the problem described
    IBM INFORMIX-4GL Version 7.51.UC2
    a.out needs:
    /u1/promak/INFORMIX4GL/lib/esql/libifsql.so
    /u1/promak/INFORMIX4GL/lib/libifasf.so
    /u1/promak/INFORMIX4GL/lib/esql/libifgen.so
    /u1/promak/INFORMIX4GL/lib/esql/libifos.so
    /u1/promak/INFORMIX4GL/lib/esql/libifgls.so
    /usr/lib/libc_r.a(shr.o)
    /usr/lib/libtli_r.a(shr.o)
    /u1/promak/INFORMIX4GL/lib/esql/libifglx.so
    /u1/promak/INFORMIX4GL/lib/lib4gsh.so
    /usr/lib/libbsd.a(shr.o)
    /usr/lib/librtl.a(shr.o)
    /usr/lib/libc.a(shr.o)
    /unix
    /usr/lib/libcrypt.a(shr.o)
    /usr/lib/libc.a(pse.o)
    /usr/lib/libcurses.a(shr42.o)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Spokey Wheeler@21:1/5 to All on Thu Aug 31 17:16:07 2017
    Copy: informix-list@iiug.org

    I’m pretty sure they changed the termcap files around 7.50.

    On 31 Aug 2017, at 17:05, inboxgac@gmail.com wrote:

    I checked, I already thought about it, the environment on the new platform is the same, but I will again, thank you
    _______________________________________________
    Informix-list mailing list
    Informix-list@iiug.org
    http://members.iiug.org/mailman/listinfo/informix-list

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pawel@21:1/5 to All on Tue May 29 02:16:07 2018
    We noticed the same problem with version 7.51.FC2. We have checked that this problem does not occur in older versions.
    Did you find a solution for this problem in version 7.51.xC2?

    Regards,
    Pawel.

    W dniu czwartek, 31 sierpnia 2017 18:16:22 UTC+2 użytkownik Spokey Wheeler napisał:
    I’m pretty sure they changed the termcap files around 7.50.

    On 31 Aug 2017, at 17:05, inboxgac@gmail.com wrote:

    I checked, I already thought about it, the environment on the new platform is the same, but I will again, thank you
    _______________________________________________
    Informix-list mailing list
    Informix-list@iiug.org http://members.iiug.org/mailman/listinfo/informix-list

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)