• Latest sources..

    From Karel Kral@2:423/39 to Nicholas Boel on Thursday, March 07, 2024 18:40:06
    Hello Nicholas!

    03 Mar 24 08:52, you wrote to me:

    If that is the case, and you have the sources, try including 'golded-plus/cfgs/config/charsets.cfg' in your golded.conf and see if
    that helps or not.

    Already have that since ever.

    For that group I have:

    GROUP B
    XLATPATH /home/fido/golded/xlat
    XLATCHARSET CP437 LATIN-2 asc_il2.chs
    XLATCHARSET LATIN-2 CP437 il2_asc.chs
    XLATIMPORT CP437
    XLATIMPORT CP437
    XLATLOCALSET LATIN-2
    MSGLISTWIDESUBJ YES
    ENDGROUP

    Using UTF-8 in putty, having LANG=cs_CZ.utf8 in bash, startin golded:
    luit -encoding 'ISO-8859-2' ./gedlnx -f

    (because GROUP A we have ISO-8859-2 as agreed coding)

    As I wrote, I have issue in GROUP B, GOLDED here...

    Karel

    --- GoldED+/LNX 1.1.5-b20240209
    * Origin: Plast DATA (2:423/39)
  • From Nicholas Boel@1:154/10 to Karel Kral on Thursday, March 07, 2024 17:11:54
    On Fri, 8 Mar 2024 00:40:06 +0100, Karel Kral -> Nicholas Boel wrote:

    For that group I have:

    GROUP B
    XLATPATH /home/fido/golded/xlat
    XLATCHARSET CP437 LATIN-2 asc_il2.chs
    XLATCHARSET LATIN-2 CP437 il2_asc.chs
    XLATIMPORT CP437
    XLATIMPORT CP437
    XLATLOCALSET LATIN-2
    MSGLISTWIDESUBJ YES
    ENDGROUP

    Are you using the wrong translation table? I think you should be using
    cp437 -> il2, rather than ascii -> il2.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)
  • From Vitaliy Aksyonov@1:104/117 to Karel Kral on Thursday, March 07, 2024 17:08:24
    Hello Karel.

    07 Mar 24 18:40, you wrote to Nicholas Boel:

    If that is the case, and you have the sources, try including
    'golded-plus/cfgs/config/charsets.cfg' in your golded.conf and
    see if that helps or not.

    Already have that since ever.

    For that group I have:

    GROUP B
    XLATPATH /home/fido/golded/xlat
    XLATCHARSET CP437 LATIN-2 asc_il2.chs
    XLATCHARSET LATIN-2 CP437 il2_asc.chs
    XLATIMPORT CP437
    XLATIMPORT CP437
    XLATLOCALSET LATIN-2
    MSGLISTWIDESUBJ YES
    ENDGROUP

    Using UTF-8 in putty, having LANG=cs_CZ.utf8 in bash, startin golded:
    luit -encoding 'ISO-8859-2' ./gedlnx -f

    (because GROUP A we have ISO-8859-2 as agreed coding)

    As I wrote, I have issue in GROUP B, GOLDED here...

    OK. Your case is actually simpler than I thought. You should have zero issues with pseudo-graphics.

    Try to set LANG to cs_CZ.ISO8859-2 and that will solve your issue! No need to set it for the whole system. Just for golded session.

    $ LANG=cs_CZ.ISO8859-2 luit -encoding 'ISO-8859-2' ./gedlnx -f

    Your problem is that luit converts symbols from 8859-2 to UTF, but ncurses tries to work in UTF-8 mode because you have LANG=cs_CZ.utf8.

    In my case I have separate session in Putty with KOI8-R. And run golded like this:

    LANG=ru_RU.koi8r gedlnx -C<myconfig>

    And have no issues with pseudo-graphics. But luit works too, just tried it.

    Vitaliy

    ... 640K ought to be enough for anybody
    --- GoldED+/LNX 1.1.5-b20240305-beta
    * Origin: Aurora, Colorado (1:104/117)
  • From Vitaliy Aksyonov@1:104/117 to Nicholas Boel on Thursday, March 07, 2024 17:27:32
    Hello Nicholas.

    07 Mar 24 17:11, you wrote to Karel Kral:

    For that group I have:

    GROUP B
    XLATPATH /home/fido/golded/xlat
    XLATCHARSET CP437 LATIN-2 asc_il2.chs
    XLATCHARSET LATIN-2 CP437 il2_asc.chs
    XLATIMPORT CP437
    XLATIMPORT CP437
    XLATLOCALSET LATIN-2
    MSGLISTWIDESUBJ YES
    ENDGROUP

    Are you using the wrong translation table? I think you should be using cp437 -> il2, rather than ascii -> il2.

    Most probably he does because it works for him prior to my last changes. So I assume that text conversion performed correctly.

    Vitaliy

    ... 640K ought to be enough for anybody
    --- GoldED+/LNX 1.1.5-b20240305-beta
    * Origin: Aurora, Colorado (1:104/117)
  • From Nicholas Boel@1:154/10 to Vitaliy Aksyonov on Thursday, March 07, 2024 18:51:16
    On Thu, 7 Mar 2024 23:27:32 -0700, Vitaliy Aksyonov -> Nicholas Boel wrote:

    Are you using the wrong translation table? I think you should be using
    cp437 -> il2, rather than ascii -> il2.

    Most probably he does because it works for him prior to my last changes. So I assume that text conversion performed correctly.

    By his previous messages, I'm led to believe his hasn't been working
    properly for awhile.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)
  • From Karel Kral@2:423/39 to Vitaliy Aksyonov on Friday, March 08, 2024 07:30:42
    Hello Vitaliy!

    07 Mar 24 17:08, you wrote to me:

    Try to set LANG to cs_CZ.ISO8859-2 and that will solve your issue! No
    need to set it for the whole system. Just for golded session.

    $ LANG=cs_CZ.ISO8859-2 luit -encoding 'ISO-8859-2' ./gedlnx -f

    Just did, but no improvement. Would it be possible that old messages are alreadu scrambled and I have to wait for new examples?

    Your problem is that luit converts symbols from 8859-2 to UTF, but
    ncurses tries to work in UTF-8 mode because you have LANG=cs_CZ.utf8.

    I am not sure that is just my XLAT setup or BASH env. Interesting is, that it is only subject (message is OK). What is difference for XLAT in Subj and in Message? Why one UTF-8 is OK a different is not (UTF-8 4 against UFT-8 2)?

    And there was another collegue who has same issue (assume different setup).

    Karel

    --- GoldED+/LNX 1.1.5-b20240209
    * Origin: Plast DATA (2:423/39)
  • From Karel Kral@2:423/39 to Nicholas Boel on Friday, March 08, 2024 07:33:28
    Hello Nicholas!

    07 Mar 24 17:11, you wrote to me:

    Are you using the wrong translation table? I think you should be using cp437 -> il2, rather than ascii -> il2.

    I do not have xlat file like that.

    Point is that in group B there I expect only English and old fashioned ascii 127 anyway.

    Karel

    --- GoldED+/LNX 1.1.5-b20240209
    * Origin: Plast DATA (2:423/39)
  • From Nicholas Boel@1:154/10 to Karel Kral on Friday, March 08, 2024 05:59:06
    On Fri, 8 Mar 2024 13:33:28 +0100, Karel Kral -> Nicholas Boel wrote:

    Are you using the wrong translation table? I think you should be using
    cp437 -> il2, rather than ascii -> il2.

    I do not have xlat file like that.

    Point is that in group B there I expect only English and old fashioned ascii 127 anyway.


    This is from one of your previous messages, just so I stay on track with
    what your settings are:

    "Using UTF-8 in putty, having LANG=cs_CZ.utf8 in bash, startin golded:
    luit -encoding 'ISO-8859-2' ./gedlnx -f"

    You might want to try iso-8859-2 in PuTTY, also, rather than UTF-8. Then
    try the command line that Vitaliy recommended to use?

    If that doesn't work, you could try using this as well and see if it
    does something different for you:

    xlatcharset cp437 utf-8 437_u8.chs

    If that .chs file isn't in your xlat directory, I believe you can grab
    it from Golded sources on github.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)
  • From Karel Kral@2:423/39 to Nicholas Boel on Saturday, March 09, 2024 02:02:59
    Hello Nicholas!

    08 Mar 24 05:59, you wrote to me:

    You might want to try iso-8859-2 in PuTTY, also, rather than UTF-8.
    Then try the command line that Vitaliy recommended to use?

    Just tested. No improvement for GOLDED, even worse in shell.

    xlatcharset cp437 utf-8 437_u8.chs

    If that .chs file isn't in your xlat directory, I believe you can grab
    it from Golded sources on github.

    Got that file, included into golded.cfg - for UTF-8. No improvement.

    I also played with EDITREPLYRE, but also no change.

    As it is about 4 characters, I think is bug in golded related to "Re: ". I have no issue with other messages (even using local czech characters, including quoting). In total I see everything OK, except few messages in International echos.

    E.g. replying to you - you can see Subj. is OK.

    Karel

    --- GoldED+/LNX 1.1.5-b20240209
    * Origin: Plast DATA (2:423/39)
  • From Vitaliy Aksyonov@1:104/117 to Karel Kral on Saturday, March 09, 2024 12:44:28
    Hello Karel.

    08 Mar 24 07:30, you wrote to me:

    Try to set LANG to cs_CZ.ISO8859-2 and that will solve your
    issue! No need to set it for the whole system. Just for golded
    session.

    $ LANG=cs_CZ.ISO8859-2 luit -encoding 'ISO-8859-2' ./gedlnx -f

    Just did, but no improvement. Would it be possible that old messages
    are alreadu scrambled and I have to wait for new examples?

    Could you please make sure that your system actually has such locale?

    What does it show if you run:
    LANG=cs_CZ.ISO8859-2 locale

    Also try to run:
    locale -a

    If it doesn't show that locale - you need to install or generate it. Each linux distro has own way to do it, but that's easy to google.

    Your problem is that luit converts symbols from 8859-2 to UTF,
    but ncurses tries to work in UTF-8 mode because you have
    LANG=cs_CZ.utf8.

    I am not sure that is just my XLAT setup or BASH env. Interesting is,
    that it is only subject (message is OK). What is difference for XLAT
    in Subj and in Message? Why one UTF-8 is OK a different is not (UTF-8
    4 against UFT-8 2)?

    It could be both. Could you please show your xlat setup?

    BTW, luit works for me. Only difference is that my FidoNet charset is KOI8-r.

    As for UTF - it's not supported and might "work" if you do some weird setup, but I'd not count on it. Better work in one-byte locales like cp437 or ISO8859-2 in your case.

    And there was another collegue who has same issue (assume different setup).

    I totally understand you. I spend several days before my system started to work OK. Will try to resolve your issues. :)

    Vitaliy

    ... 640K ought to be enough for anybody
    --- GoldED+/LNX 1.1.5-b20240305-beta
    * Origin: Aurora, Colorado (1:104/117)
  • From Karel Kral@2:423/39 to Vitaliy Aksyonov on Sunday, March 10, 2024 14:09:35
    Hello Vitaliy!

    09 Mar 24 12:44, you wrote to me:

    Could you please make sure that your system actually has such locale?

    What does it show if you run:
    LANG=cs_CZ.ISO8859-2 locale

    .. LANG=cs_CZ.ISO8859-2 locale
    LANG=cs_CZ.ISO8859-2
    LC_CTYPE="cs_CZ.ISO8859-2"
    LC_NUMERIC="cs_CZ.ISO8859-2"
    LC_TIME="cs_CZ.ISO8859-2"
    LC_COLLATE="cs_CZ.ISO8859-2"
    LC_MONETARY="cs_CZ.ISO8859-2"
    LC_MESSAGES="cs_CZ.ISO8859-2"
    LC_PAPER="cs_CZ.ISO8859-2"
    LC_NAME="cs_CZ.ISO8859-2"
    LC_ADDRESS="cs_CZ.ISO8859-2"
    LC_TELEPHONE="cs_CZ.ISO8859-2"
    LC_MEASUREMENT="cs_CZ.ISO8859-2"
    LC_IDENTIFICATION="cs_CZ.ISO8859-2"
    LC_ALL=

    Also try to run:
    locale -a

    .. locale -a | grep cs_CZ
    cs_CZ
    cs_CZ.iso88592
    cs_CZ.utf8


    It could be both. Could you please show your xlat setup?

    GOLDED is showed as Group B
    in cfg (this is the latest, changed also based on the latest advice)

    GROUP B
    XLATPATH /home/fido/golded/xlat
    XLATCHARSET CP437 LATIN-2 asc_il2.chs
    XLATCHARSET LATIN-2 CP437 il2_asc.chs
    XLATCHARSET CP437 UTF-8 437_u8.chs
    XLATIMPORT CP437
    XLATIMPORT CP437
    XLATLOCALSET LATIN-2
    MSGLISTWIDESUBJ YES
    ENDGROUP

    BTW, luit works for me. Only difference is that my FidoNet charset is KOI8-r.

    It is working for me in local, czech echomail.

    As for UTF - it's not supported and might "work" if you do some weird setup, but I'd not count on it. Better work in one-byte locales like
    cp437 or ISO8859-2 in your case.

    Where I am reading, usualy they use English. Then pure ASCII should be enough. And I would be OK even for some exceptional scrambled messages. But why some Subject lines are impacted? I see whole message OK, just that line has copied over 4 bytes. Always the same position.

    I totally understand you. I spend several days before my system
    started to work OK. Will try to resolve your issues. :)

    No problem. Have that since years. I just started to wonder if somebody else can see that. Take is as the lowest prio.

    I checked code already, for some "quick win" - but I am not c-guy = nothing found by myself.

    Thank you for any help.

    Karel

    --- GoldED+/LNX 1.1.5-b20240209
    * Origin: Plast DATA (2:423/39)