• Ncurses 6.0 and newer versions

    From Marcin Lukasik@2:280/464.64 to All on Tue Sep 26 19:30:18 2017
    Hello All.

    Do the Golded developers read this list, or should I post on the Russian one?

    Upgrading ncurses from 6.0+20170527 to 6.0+20170902 (right when it was packaged
    for the Arch Linux testing repo) broke Golded for me (of course after recompiling it). Namely, box-drawing characters didn't appear properly, and areas that were supposed to be empty weren't cleared, for example when I went from a post with a longer subject to one with a shorter subject, a big portion of the longer one remained visible. Downgrading to 6.0+20170902 or 6.0 stable fixed this, but it doesn't feel like a clean solution, as this issue didn't affect other programs.

    Marcin

    --- GoldED+/LNX 1.1.5-b20160827
    * Origin: Najdalsza Galicja (2:280/464.64)
  • From Wilfred van Velzen@2:280/464 to Marcin Lukasik on Tue Sep 26 21:30:57 2017
    Hi Marcin,

    On 2017-09-26 19:30:18, you wrote to All:

    Do the Golded developers read this list, or should I post on the
    Russian one?

    I think they are linked, but if they are reading and still developing golded, I
    doubt very much.

    Upgrading ncurses from 6.0+20170527 to 6.0+20170902 (right when it was packaged for the Arch Linux testing repo) broke Golded for me (of course after recompiling it). Namely, box-drawing characters didn't appear properly, and areas that were supposed to be empty weren't cleared, for example when I went from a post with a longer subject to one with a
    shorter
    subject, a big portion of the longer one remained visible. Downgrading to 6.0+20170902 or 6.0 stable fixed this, but it doesn't feel like a clean solution, as this issue didn't affect other programs.

    Maurice Kinal and Nicholas Boel recently discussed this in the ASIAN_LINK area (which you can rescan from me). But I think Nicholas used the same solution as you...


    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Nicholas Boel@1:154/10 to Marcin Lukasik on Tue Sep 26 17:21:40 2017
    Hello Marcin,

    On Tue Sep 26 2017 19:30:18, Marcin Lukasik wrote to All:

    Upgrading ncurses from 6.0+20170527 to 6.0+20170902 (right when it was packaged for the Arch Linux testing repo) broke Golded for me (of
    course after recompiling it). Namely, box-drawing characters didn't
    appear properly, and areas that were supposed to be empty weren't
    cleared, for example when I went from a post with a longer subject to
    one with a shorter subject, a big portion of the longer one remained visible. Downgrading to 6.0+20170902 or 6.0 stable fixed this, but it doesn't feel like a clean solution, as this issue didn't affect other programs.

    I also had this experience with Archlinux and a UTF-8 TTY console. I reverted back to 6.0+20170527 for a bit, which made things work again. However, after trying out tmux for the first time, I ended up with an even better fix.

    Go ahead and upgrade to 6.0+20170902, then install tmux, and run:

    tmux new <path to golded> -C<path to golded config>

    Now you'll even see the correct arrows being used, rather than ">", borders will contain line drawings, and the scroll bar should appear correctly with box
    drawings as well.

    What we did find out, was that it may have been something just on Archlinux, or
    the way it is precompiled for some distros, as Maurice does LFS, and his latest
    patched ncurses (6.0+20170911 I believe) was specifically compiled for wide ncurses support only, and he had no problems at all.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Nicholas Boel@1:154/10 to Wilfred van Velzen on Tue Sep 26 17:30:34 2017
    Hello Wilfred,

    On Tue Sep 26 2017 21:30:56, Wilfred van Velzen wrote to Marcin Lukasik:

    portion of the longer one remained visible. Downgrading to
    6.0+20170902 or 6.0 stable fixed this, but it doesn't feel like a
    clean solution, as this issue didn't affect other programs.

    Maurice Kinal and Nicholas Boel recently discussed this in the
    ASIAN_LINK area (which you can rescan from me). But I think Nicholas
    used the same solution as you...

    Downgrading was only temporary. One of the main reasons I use Archlinux is for the latest and greatest stable upstream software. tmux fixed any issue with the
    latest version of ncurses.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Wilfred van Velzen@2:280/464.112 to Nicholas Boel on Wed Sep 27 08:18:38 2017
    Hi Nicholas,

    On 26 Sep 17 17:30, Nicholas Boel wrote to Wilfred van Velzen:
    about: "Ncurses 6.0 and newer versions":

    Maurice Kinal and Nicholas Boel recently discussed this in the
    ASIAN_LINK area (which you can rescan from me). But I think Nicholas
    used the same solution as you...

    Downgrading was only temporary. One of the main reasons I use Archlinux is for the latest and greatest stable upstream software. tmux fixed any issue with the latest version of ncurses.

    Well, for me with an even older ncurses:

    Source RPM : ncurses-5.9-53.4.src.rpm
    Build Date : Sun Oct 25 06:47:41 2015

    tmux fixed some things, but broke others. So I'm not using it regurlarly, except when I want to read some utf-8 chars. So I regard it as a kludge, not a (true) fix.

    Wilfred.

    --- FMail-W32 2.0.1.4
    * Origin: point@work (2:280/464.112)
  • From Nicholas Boel@1:154/10 to Wilfred van Velzen on Wed Sep 27 16:37:30 2017
    Hello Wilfred,

    On Wed Sep 27 2017 08:18:38, Wilfred van Velzen wrote to Nicholas Boel:

    Well, for me with an even older ncurses:

    Source RPM : ncurses-5.9-53.4.src.rpm
    Build Date : Sun Oct 25 06:47:41 2015

    tmux fixed some things, but broke others. So I'm not using it
    regurlarly, except when I want to read some utf-8 chars. So I regard
    it as a kludge, not a (true) fix.

    Sorry to hear that. It fixed everything (for me) that was wrong with golded in a UTF-8 console, obviously except actually displaying UTF-8 cyrillics in the reader itself, which is why I use an external editor.

    However, the true fix would most likely be to fix golded to work with the latest changes in ncurses-6.0, or possibly (at least according to Maurice) to compile the latest version of ncurses with wide character support _only_, pairing with compiling golded with WIDE_NCURSES=1.

    Since the former is most likely not going to be done, and I don't plan on compiling a custom version of ncurses, even a kludge is a fix in my book. <shrug>

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)