• Linux / 5D

    From Oli@2:280/464.47 to All on Friday, February 17, 2023 10:17:11

    Has anyone tested the FMail config program with a recent Wine? I only remember that it didn't work properly, but since then many newer versions of Wine have been released. Maybe compatibility is now good enough to run it (I guess it still doesn't work, but maybe it does).

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Friday, February 17, 2023 10:43:53
    Hi Oli,

    On 2023-02-17 10:17:11, you wrote to All:

    Has anyone tested the FMail config program with a recent Wine? I only remember that it didn't work properly, but since then many newer
    versions of Wine have been released. Maybe compatibility is now good enough to run it (I guess it still doesn't work, but maybe it does).

    I haven't, but maybe it's time for another test...


    Bye, Wilfred.

    --- FMail-lnx64 2.1.9.1-B20230216
    * Origin: FMail development HQ (2:280/464)
  • From Oli@2:280/464.47 to Wilfred van Velzen on Tuesday, February 21, 2023 20:20:04
    Wilfred wrote (2023-02-17):

    Hi Oli,

    On 2023-02-17 10:17:11, you wrote to All:

    Has anyone tested the FMail config program with a recent Wine? I
    only remember that it didn't work properly, but since then many
    newer versions of Wine have been released. Maybe compatibility is
    now good enough to run it (I guess it still doesn't work, but maybe
    it does).

    I haven't, but maybe it's time for another test...

    It doesn't work with Wine 7.0, which is not the newest version, but the most recent Debian 11 (bullseye / stable) offers.

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Tuesday, February 21, 2023 21:30:24
    Hi Oli,

    On 2023-02-21 20:20:04, you wrote to me:

    On 2023-02-17 10:17:11, you wrote to All:

    Has anyone tested the FMail config program with a recent Wine? I
    only remember that it didn't work properly, but since then many
    newer versions of Wine have been released. Maybe compatibility is
    now good enough to run it (I guess it still doesn't work, but maybe
    it does).

    I haven't, but maybe it's time for another test...

    It doesn't work with Wine 7.0, which is not the newest version, but the most recent Debian 11 (bullseye / stable) offers.

    Ok, good to know...

    There is an experimental package Wine 8.2 available for my opensuse 15.4 machine. I might try that later...

    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Oli@2:280/464.47 to Wilfred van Velzen on Wednesday, February 22, 2023 16:18:22
    Wilfred wrote (2023-02-21):

    Has anyone tested the FMail config program with a recent Wine?

    It doesn't work with Wine 7.0, which is not the newest version, but
    the most recent Debian 11 (bullseye / stable) offers.

    Ok, good to know...

    There is an experimental package Wine 8.2 available for my opensuse 15.4 machine. I might try that later...

    I first tried it with

    $ wine FConfigW32.exe

    which didn't work at all. But

    $ wineconsole

    Z:\FMail> fconfigw32

    does kind of work. Only problem is with Node and Area Manager: F-keys and Del/Ins don't do anything. Does FConfig support navigation with the arrow keys?

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Thursday, February 23, 2023 09:50:31
    Hi Oli,

    On 2023-02-22 16:18:22, you wrote to me:

    I first tried it with

    $ wine FConfigW32.exe

    which didn't work at all. But

    $ wineconsole

    Z:\FMail>> fconfigw32

    does kind of work. Only problem is with Node and Area Manager: F-keys and Del/Ins don't do anything. Does FConfig support navigation with the arrow keys?

    Yes. left and right arrow keys should work in the Node and Area manager. Pressing enter is the same as 'F1 enter'. And typing letters does a search on the typed letters for an Area name in the Area Manager.

    I noticed the same behaviour when I run FConfigW32.exe in https://reactos.org/ But that is not so strange because it is based on the same code as wine.

    It seems to have to do with how the getch() function is implemented in the MingW compiler. The version in the old Borland Compiler seems to work in reactos, or so some tests I did seems to indicate.

    A few years back I made a little test program that showed this when compiled with different compilers:
    http://fmail.vlzn.nl/files/getchtest.zip

    I added 2 versions compiled with the latest x64 version of mingw that came with the latest code::blocks 20.03. Probably not usefull for testing with wine. But on mijn Windows 10 x64 they all produce the same results for the function keys...

    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Oli@2:280/464.47 to Wilfred van Velzen on Thursday, February 23, 2023 11:33:38
    Wilfred wrote (2023-02-23):

    It seems to have to do with how the getch() function is implemented in the MingW compiler. The version in the old Borland Compiler seems to work in reactos, or so some tests I did seems to indicate.

    A few years back I made a little test program that showed this when compiled with different compilers: http://fmail.vlzn.nl/files/getchtest.zip

    I've compiled it with conio.h from https://github.com/casualsnek/linuxconio on Linux and this is what I get when pressing

    UP
    DOWN
    F1
    F2
    INS
    DEL

    $ ./getchtest-linuxconio
    27 - 0000001B - '
    91 - 0000005B - '['
    65 - 00000041 - 'A'
    27 - 0000001B - '
    91 - 0000005B - '['
    66 - 00000042 - 'B'
    27 - 0000001B - '
    79 - 0000004F - 'O'
    80 - 00000050 - 'P'
    27 - 0000001B - '
    79 - 0000004F - 'O'
    81 - 00000051 - 'Q'
    27 - 0000001B - '
    91 - 0000005B - '['
    50 - 00000032 - '2'
    126 - 0000007E - '~'
    27 - 0000001B - '
    91 - 0000005B - '['
    51 - 00000033 - '3'
    126 - 0000007E - '~'

    and with wine:

    $ wine getchtest-borland.exe
    0 - 00000000 - ''
    72 - 00000048 - 'H'
    0 - 00000000 - ''
    80 - 00000050 - 'P'
    0 - 00000000 - ''
    59 - 0000003B - ';'
    0 - 00000000 - ''
    60 - 0000003C - '<'
    0 - 00000000 - ''
    82 - 00000052 - 'R'
    0 - 00000000 - ''
    83 - 00000053 - 'S'

    $ wine getchtest-mingw32.exe
    224 - 000000E0 - 'à'
    72 - 00000048 - 'H'
    224 - 000000E0 - 'à'
    80 - 00000050 - 'P'
    [F1 nothing]
    [F2 nothing]
    224 - 000000E0 - 'à'
    82 - 00000052 - 'R'
    224 - 000000E0 - 'à'
    83 - 00000053 - 'S'

    I don't have 64-bit wine.

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Thursday, February 23, 2023 12:03:09
    Hi Oli,

    On 2023-02-23 11:33:38, you wrote to me:

    I've compiled it with conio.h from https://github.com/casualsnek/linuxconio
    on Linux and this is what I get when pressing

    UP
    DOWN
    F1
    F2
    INS
    DEL

    $ ./getchtest-linuxconio
    27 - 0000001B - '
    91 - 0000005B - '['
    65 - 00000041 - 'A'
    27 - 0000001B - '
    91 - 0000005B - '['
    66 - 00000042 - 'B'
    27 - 0000001B - '
    79 - 0000004F - 'O'
    80 - 00000050 - 'P'
    27 - 0000001B - '
    79 - 0000004F - 'O'
    81 - 00000051 - 'Q'
    27 - 0000001B - '
    91 - 0000005B - '['
    50 - 00000032 - '2'
    126 - 0000007E - '~'
    27 - 0000001B - '
    91 - 0000005B - '['
    51 - 00000033 - '3'
    126 - 0000007E - '~'

    That's a strange result, but something for later, when I'm converting fconfig to linux. ;-)

    and with wine:

    $ wine getchtest-borland.exe
    0 - 00000000 - ''
    72 - 00000048 - 'H'
    0 - 00000000 - ''
    80 - 00000050 - 'P'
    0 - 00000000 - ''
    59 - 0000003B - ';'
    0 - 00000000 - ''
    60 - 0000003C - '<'
    0 - 00000000 - ''
    82 - 00000052 - 'R'
    0 - 00000000 - ''
    83 - 00000053 - 'S'

    Same on Windows 10 x64

    $ wine getchtest-mingw32.exe
    224 - 000000E0 - 'à'
    72 - 00000048 - 'H'
    224 - 000000E0 - 'à'
    80 - 00000050 - 'P'
    [F1 nothing]
    [F2 nothing]
    224 - 000000E0 - 'à'
    82 - 00000052 - 'R'
    224 - 000000E0 - 'à'
    83 - 00000053 - 'S'

    The "nothing" is the problem...

    On Windows 10 x64, all mingw versions produce:

    224 - 000000E0 - 'α'
    72 - 00000048 - 'H'
    224 - 000000E0 - 'α'
    80 - 00000050 - 'P'
    0 - 00000000 - ' '
    59 - 0000003B - ';'
    0 - 00000000 - ' '
    60 - 0000003C - '<'
    224 - 000000E0 - 'α'
    82 - 00000052 - 'R'
    224 - 000000E0 - 'α'
    83 - 00000053 - 'S'

    (The 224 instead of 0 is no problem and already dealt with in the fconfig source...)


    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Oli@2:280/464.47 to Wilfred van Velzen on Thursday, February 23, 2023 13:13:59
    Wilfred wrote (2023-02-23):

    Hi Oli,

    On 2023-02-23 11:33:38, you wrote to me:

    I've compiled it with conio.h from
    https://github.com/casualsnek/linuxconio
    on Linux and this is what I get when pressing

    UP
    DOWN
    F1
    F2
    INS
    DEL

    $ ./getchtest-linuxconio
    27 - 0000001B - '
    91 - 0000005B - '['
    65 - 00000041 - 'A'
    27 - 0000001B - '
    91 - 0000005B - '['
    66 - 00000042 - 'B'
    27 - 0000001B - '
    79 - 0000004F - 'O'
    80 - 00000050 - 'P'
    27 - 0000001B - '
    79 - 0000004F - 'O'
    81 - 00000051 - 'Q'
    27 - 0000001B - '
    91 - 0000005B - '['
    50 - 00000032 - '2'
    126 - 0000007E - '~'
    27 - 0000001B - '
    91 - 0000005B - '['
    51 - 00000033 - '3'
    126 - 0000007E - '~'

    That's a strange result, but something for later, when I'm converting fconfig to linux. ;-)

    ANSI escape codes? To make it more fun, there are different codes depending on the terminal:

    https://invisible-island.net/xterm/xterm-function-keys.html

    And Linux text console (no GUI) uses yet another escape sequence for the F-keys.

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Thursday, February 23, 2023 14:18:54
    Hi Oli,

    On 2023-02-23 13:13:59, you wrote to me:

    I've compiled it with conio.h from
    https://github.com/casualsnek/linuxconio
    on Linux and this is what I get when pressing

    UP
    DOWN
    F1
    F2
    INS
    DEL

    $ ./getchtest-linuxconio
    27 - 0000001B - '
    91 - 0000005B - '['
    65 - 00000041 - 'A'
    27 - 0000001B - '
    91 - 0000005B - '['
    66 - 00000042 - 'B'
    27 - 0000001B - '
    79 - 0000004F - 'O'
    80 - 00000050 - 'P'
    27 - 0000001B - '
    79 - 0000004F - 'O'
    81 - 00000051 - 'Q'
    27 - 0000001B - '
    91 - 0000005B - '['
    50 - 00000032 - '2'
    126 - 0000007E - '~'
    27 - 0000001B - '
    91 - 0000005B - '['
    51 - 00000033 - '3'
    126 - 0000007E - '~'

    That's a strange result, but something for later, when I'm converting
    fconfig to linux. ;-)

    ANSI escape codes?

    I could get the same above sequences with a windows program with some wincon.h functions and this mode:

    https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences

    But this works in Windows 10, not in Windows XP... :-(


    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Oli@2:280/464.47 to Wilfred van Velzen on Thursday, February 23, 2023 15:38:08
    Wilfred wrote (2023-02-23):

    ANSI escape codes?

    I could get the same above sequences with a windows program with some wincon.h functions and this mode:

    https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences

    But this works in Windows 10, not in Windows XP... :-(

    Are there any XP users of FMail?

    Maybe port to ncurses or pdcurses?

    https://sourceforge.net/p/mingw-w64/wiki2/NCurses/
    https://pdcurses.org/

    Might be the sledgehammer for a nut ;)

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Thursday, February 23, 2023 15:41:47
    Hi Oli,

    On 2023-02-23 15:38:08, you wrote to me:

    But this works in Windows 10, not in Windows XP... :-(

    Are there any XP users of FMail?

    Me! ;-)

    Maybe port to ncurses or pdcurses?

    https://sourceforge.net/p/mingw-w64/wiki2/NCurses/
    https://pdcurses.org/

    Might be the sledgehammer for a nut ;)

    That will be an option for the future, because linux fconfig will probably use ncurses.

    I found another way that gives consistent codes on XP and W10x64:

    http://www.vlzn.nl/fmail/files/getchtest_win2.zip

    Can you test it in wine?

    For:

    UP
    DOWN
    F1
    F2
    INSERT
    DELETE
    a
    b

    I get:

    0 - 00 - ' ' + 26
    0 - 00 - ' ' + 28
    0 - 00 - ' ' + 70
    0 - 00 - ' ' + 71
    0 - 00 - ' ' + 2D
    0 - 00 - ' ' + 2E
    97 - 61 - 'a' + 41
    98 - 62 - 'b' + 42


    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Oli@2:280/464.47 to Wilfred van Velzen on Thursday, February 23, 2023 15:56:52
    Wilfred wrote (2023-02-23):

    I found another way that gives consistent codes on XP and W10x64:

    http://www.vlzn.nl/fmail/files/getchtest_win2.zip

    Can you test it in wine?

    For:

    UP
    DOWN
    F1
    F2
    INSERT
    DELETE
    a
    b

    I get:

    0 - 00 - ' ' + 26
    0 - 00 - ' ' + 28
    0 - 00 - ' ' + 70
    0 - 00 - ' ' + 71
    0 - 00 - ' ' + 2D
    0 - 00 - ' ' + 2E
    97 - 61 - 'a' + 41
    98 - 62 - 'b' + 42

    $ wine getchtest_win2-mingw32.exe
    0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 97 - 61 - 'a' + 41
    98 - 62 - 'b' + 42

    (line breaks after 'a' and 'b' only)

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Thursday, February 23, 2023 16:07:09
    Hi Oli,

    On 2023-02-23 15:56:52, you wrote to me:

    I found another way that gives consistent codes on XP and W10x64:

    http://www.vlzn.nl/fmail/files/getchtest_win2.zip

    Can you test it in wine?

    For:

    UP
    DOWN
    F1
    F2
    INSERT
    DELETE
    a
    b

    I get:

    0 - 00 - ' ' + 26
    0 - 00 - ' ' + 28
    0 - 00 - ' ' + 70
    0 - 00 - ' ' + 71
    0 - 00 - ' ' + 2D
    0 - 00 - ' ' + 2E
    97 - 61 - 'a' + 41
    98 - 62 - 'b' + 42

    $ wine getchtest_win2-mingw32.exe
    0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 0
    - 00 - ' 97 - 61 - 'a' + 41
    98 - 62 - 'b' + 42

    (line breaks after 'a' and 'b' only)

    Ok strange how the wine console reponds differently when a 0x00 character is printed. But I changed that to printing a space char now, so please try again (it's in the same .zip)...

    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to Oli on Thursday, February 23, 2023 16:18:47
    Hi Oli,

    On 2023-02-23 16:07:09, I wrote to you:

    I found another way that gives consistent codes on XP and W10x64:

    http://www.vlzn.nl/fmail/files/getchtest_win2.zip

    Can you test it in wine?

    For:

    UP
    DOWN
    F1
    F2
    INSERT
    DELETE
    a
    b

    I get:

    0 - 00 - ' ' + 26
    0 - 00 - ' ' + 28
    0 - 00 - ' ' + 70
    0 - 00 - ' ' + 71
    0 - 00 - ' ' + 2D
    0 - 00 - ' ' + 2E
    97 - 61 - 'a' + 41
    98 - 62 - 'b' + 42

    $ wine getchtest_win2-mingw32.exe
    0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 0 - 00 - '
    0 - 00 - ' 97 - 61 - 'a' + 41
    98 - 62 - 'b' + 42

    (line breaks after 'a' and 'b' only)

    Ok strange how the wine console reponds differently when a 0x00 character is printed. But I changed that to printing a space char now, so please try
    again (it's in the same .zip)...

    In reactos I get the same output as on my windows machines, so this looks promissing!


    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Oli@2:280/464.47 to Wilfred van Velzen on Thursday, February 23, 2023 17:44:48
    Wilfred wrote (2023-02-23):

    $ wine getchtest_win2-mingw32.exe
    0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 0 - 00 - ' 0 - 00
    - ' 0 - 00 - ' 97 - 61 - 'a' + 41
    98 - 62 - 'b' + 42

    (line breaks after 'a' and 'b' only)

    Ok strange how the wine console reponds differently when a 0x00
    character is printed. But I changed that to printing a space char
    now, so please try again (it's in the same .zip)...

    In reactos I get the same output as on my windows machines, so this looks promissing!

    Looks good.

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Thursday, February 23, 2023 17:56:07
    Hi Oli,

    On 2023-02-23 17:44:48, you wrote to me:

    In reactos I get the same output as on my windows machines, so this
    looks promissing!

    Looks good.

    You mean, you get this result:

    UP
    DOWN
    F1
    F2
    INSERT
    DELETE
    a
    b

    I get:

    0 - 00 - ' ' + 26
    0 - 00 - ' ' + 28
    0 - 00 - ' ' + 70
    0 - 00 - ' ' + 71
    0 - 00 - ' ' + 2D
    0 - 00 - ' ' + 2E
    97 - 61 - 'a' + 41
    98 - 62 - 'b' + 42

    In wine now too?


    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to Oli on Thursday, February 23, 2023 18:06:33
    Hi Oli,

    On 2023-02-23 17:56:07, I wrote to you:

    You mean, you get this result:

    UP
    DOWN
    F1
    F2
    INSERT
    DELETE
    a
    b

    I get:

    0 - 00 - ' ' + 26
    0 - 00 - ' ' + 28
    0 - 00 - ' ' + 70
    0 - 00 - ' ' + 71
    0 - 00 - ' ' + 2D
    0 - 00 - ' ' + 2E
    97 - 61 - 'a' + 41
    98 - 62 - 'b' + 42

    In wine now too?

    Never mind, I was able to reproduce this with wineconsole, with or without --backen=curses ! ;-)


    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Alan Ianson@1:153/757 to Wilfred van Velzen on Thursday, February 23, 2023 14:53:32
    That will be an option for the future, because linux fconfig will probably use ncurses.

    I like the sound of that. It will be nice to have another option.

    Any chance FMail can or will support Jam netmail bases?

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Wilfred van Velzen@2:280/464 to Alan Ianson on Friday, February 24, 2023 00:04:30
    Hi Alan,

    On 2023-02-23 14:53:32, you wrote to me:

    That will be an option for the future, because linux fconfig will
    probably use ncurses.

    I like the sound of that. It will be nice to have another option.

    I'm now working on FConfigW32.exe that can run in a linux terminal using wine. Don't know yet if I will succeed, but it is looking good so far...

    Any chance FMail can or will support Jam netmail bases?

    It's at the bottom of my to do list, so don't hold your breath. ;-)

    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Alan Ianson@1:153/757 to Wilfred van Velzen on Thursday, February 23, 2023 15:57:28
    I like the sound of that. It will be nice to have another option.

    I'm now working on FConfigW32.exe that can run in a linux terminal using wine. Don't know yet if I will succeed, but it is looking good so far...

    I'll keep my fingers crossed. My BBS machine has no desktop or xorg at all. I don't think wine is an option there.

    Any chance FMail can or will support Jam netmail bases?

    It's at the bottom of my to do list, so don't hold your breath. ;-)

    It's only needed when using a BBS that doesn't support *.msg. I have a friend in a situation like that.

    My netmail bases have always been *.msg so I am happy enough with that and it works well with golded or any editor that can use *.msg.

    Keep up the good work! :)

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Wilfred van Velzen@2:280/464 to Alan Ianson on Friday, February 24, 2023 01:22:37
    Hi Alan,

    On 2023-02-23 15:57:28, you wrote to me:

    I like the sound of that. It will be nice to have another option.

    I'm now working on FConfigW32.exe that can run in a linux terminal using
    wine. Don't know yet if I will succeed, but it is looking good so far...

    I'll keep my fingers crossed. My BBS machine has no desktop or xorg at all.
    I don't think wine is an option there.

    I could run a little test program today, in a Konsole terminal, where it was started from, using:

    # wineconsole --backend=curses test.exe

    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Oli@2:280/464.47 to Wilfred van Velzen on Friday, February 24, 2023 11:13:06
    Wilfred wrote (2023-02-24):

    Hi Alan,

    On 2023-02-23 15:57:28, you wrote to me:

    I like the sound of that. It will be nice to have another option.

    I'm now working on FConfigW32.exe that can run in a linux terminal
    using wine. Don't know yet if I will succeed, but it is looking good
    so far...

    I'll keep my fingers crossed. My BBS machine has no desktop or xorg
    at all. I don't think wine is an option there.

    It works over SSH in any terminal. There are some errors, but they can be ignored:

    $ wine getchtest_win2-mingw32.exe
    0070:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    0070:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    0070:err:systray:initialize_systray Could not create tray window

    Only disadvantage is that the Wine package is huge with all its dependencies in comparison to the few KB from FMail. (In times of 100MB mobile apps it might not matter).

    I could run a little test program today, in a Konsole terminal, where it was started from, using:

    # wineconsole --backend=curses test.exe

    wineconsole --backend=curses returns an error on Wine 7.0. But I think with "wine test.exe" you get the same behavior.

    (And yes, I've got the exact same output with getchtest_win2-mingw32.exe)

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Friday, February 24, 2023 11:54:34
    Hi Oli,

    On 2023-02-24 11:13:06, you wrote to me:

    I could run a little test program today, in a Konsole terminal,
    where
    it was started from, using:

    # wineconsole --backend=curses test.exe

    wineconsole --backend=curses returns an error on Wine 7.0. But I think with
    "wine test.exe" you get the same behavior.

    Mine is:

    # wine --version
    wine-1.8.6



    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Oli@2:280/464.47 to Wilfred van Velzen on Friday, February 24, 2023 12:52:42
    Wilfred wrote (2023-02-24):

    On 2023-02-24 11:13:06, you wrote to me:

    I could run a little test program today, in a Konsole terminal,
    where
    it was started from, using:

    # wineconsole --backend=curses test.exe

    wineconsole --backend=curses returns an error on Wine 7.0. But I
    think with "wine test.exe" you get the same behavior.

    Mine is:

    # wine --version
    wine-1.8.6

    Found this:

    "Modern Wine versions (>6.0) don't have the curses backend."

    https://wiki.winehq.org/Wine_User%27s_Guide#Text_mode_programs_.28CUI:_Console_User_Interface.29

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Friday, February 24, 2023 13:19:16
    Hi Oli,

    On 2023-02-24 12:52:42, you wrote to me:

    I could run a little test program today, in a Konsole terminal,
    where
    it was started from, using:

    # wineconsole --backend=curses test.exe

    wineconsole --backend=curses returns an error on Wine 7.0. But I
    think with "wine test.exe" you get the same behavior.

    Mine is:

    # wine --version
    wine-1.8.6

    Found this:

    "Modern Wine versions (>6.0) don't have the curses backend."

    That's a pitty.

    https://wiki.winehq.org/Wine_User%27s_Guide#Text_mode_programs_.28CUI: _Console_User_Interface.29

    It says the 'wine' method that uses bare streams doesn't have: "Good support for full screen CUI applications (including but not limited to color support, mouse support...)". That doesn't sound good for running FConfig in this way...


    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Oli@2:280/464.47 to Wilfred van Velzen on Friday, February 24, 2023 14:31:38
    Wilfred wrote (2023-02-24):

    Found this:

    "Modern Wine versions (>6.0) don't have the curses backend."

    That's a pitty.

    https://wiki.winehq.org/Wine_User%27s_Guide#Text_mode_programs_.28CUI:
    _Console_User_Interface.29

    It says the 'wine' method that uses bare streams doesn't have: "Good support for full screen CUI applications (including but not limited to color support, mouse support...)". That doesn't sound good for running FConfig in this way...

    The text and colors looks fine with "wine FConfigW32". I'm slightly optimistic that it will work.

    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (2:280/464.47)
  • From Wilfred van Velzen@2:280/464 to Oli on Friday, February 24, 2023 16:31:22
    Hi Oli,

    On 2023-02-24 14:31:38, you wrote to me:

    "Modern Wine versions (>6.0) don't have the curses backend."

    That's a pitty.

    https://wiki.winehq.org/Wine_User%27s_Guide#Text_mode_programs_.28CUI
    : _Console_User_Interface.29

    It says the 'wine' method that uses bare streams doesn't have: "Good
    support for full screen CUI applications (including but not limited
    to color support, mouse support...)". That doesn't sound good for
    running FConfig in this way...

    The text and colors looks fine with "wine FConfigW32". I'm slightly optimistic that it will work.

    Ok, we'll see. I have done the coding last night to switch to the Windows Console API way of getting the keyboard input in FConfig. Which seems to work fine, but I want to do a bit more testing, in windows (xp), before trying it in wine, and making it available for public testing. ;-)

    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to Oli on Friday, February 24, 2023 21:03:48
    Hi Oli,

    On 2023-02-24 16:31:22, I wrote to you:

    The text and colors looks fine with "wine FConfigW32". I'm slightly
    optimistic that it will work.

    Ok, we'll see. I have done the coding last night to switch to the Windows Console API way of getting the keyboard input in FConfig. Which seems to work fine, but I want to do a bit more testing, in windows (xp), before trying it in wine, and making it available for public testing. ;-)

    In the real windows everything seems to work fine. The Alt-<char> key presses now work as they should, they were actually broken in the old code and behaved as if you pressed the key without the Alt key. As a result I even discovered a little easter egg. ;-) (When you press and hold Alt, and press the a, b, o, u and t keys in sequence you get an information window with the compile date of the program.) This only works in the new Beta (link below).

    In wine the results are poor, to very poor:


    With wine-1.8.6:

    wineconsole --backend=user FConfigW32.exe
    Not everything is visible but it seems to respond correctly to all keys, but since the screen is mostly not updated you don't see everything you do.

    wineconsole --backend=curses FConfigW32.exe
    I don't have the right font, and or terminal settings, because line drawing characters aren't showing right. For the rest the results are similar to the above.

    wine FConfigW32.exe
    Only the text from the copyright header is just printed to the next line in regular terminal colors. Other then that nothing is on screen, and you can't do anything except pressing Ctrl-c to put it out of it's misery.


    With wine-7.0:

    wineconsole --backend=user FConfigW32.exe
    This looks perfectly ok when started. But not everything is redrawn as it should as a response to key presses. So nothing seems to happen, on some key presses, but that's only optical. When you go into a submenu, you get the right one.

    wine FConfigW32.exe
    The screen looks the same as with wineconsole 1.8.6 and --backen=curses. But there is no response to key presses, instead you see the ansi sequences printed on screen.


    In conclusion, some of the above is usable in case of emergency and you know your way around, but for everyday use it isn't. But I'm keeping the new key code, it works better in windows and in wine...

    If any one wants to try it:

    https://fmail.vlzn.nl/files/FConfigW32-2.2.1.0-Beta.zip


    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)