• iconv Question

    From Sean Dennis@618:618/1 to Jay Harris on Sun Sep 15 13:12:35 2024
    Hi Jay,

    I recently set up the Wordle door under MBSE. It works but I noticed that
    the door only outputs a ANSI-encoded score file so I was trying to use iconv
    to convert that file to ASCII.

    I've been trying different ideas but the one line I've tried is:

    iconv -f CP437 -t US-ASCII//TRANSLIT blt61.ans > blt61.asc

    No dice so far.

    Any ideas you might have?

    Thanks,
    Sean




    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: Outpost BBS * Johnson City, TN (618:618/1)
  • From Warpslide@618:400/23 to Sean Dennis on Sun Sep 15 14:22:34 2024
    On 15 Sep 2024, Sean Dennis said the following...

    I recently set up the Wordle door under MBSE. It works but I noticed
    that the door only outputs a ANSI-encoded score file so I was trying to use iconv to convert that file to ASCII.

    I've been trying different ideas but the one line I've tried is:

    iconv -f CP437 -t US-ASCII//TRANSLIT blt61.ans > blt61.asc

    No dice so far.

    Hmm, I just tried a few things with an .ANS here and didn't get very far either with iconv.

    I did come across this utility, it "works" but the output doesn't look very good when I'm SSH'ed into my VPS.

    $ sudo apt install colorized-logs
    $ ansi2txt < infile.ans > outfile.asc

    It says in the man:

    "All ANSI codes are simply ignored, including all cursor positioning ones. Sometimes this is what you want, sometimes it isn't."

    Not sure if that will work with these score files. End result might not look pretty if there are cursor movement codes in there.


    Jay

    ... After all is said and done, a hell of a lot more is said than done

    --- Mystic BBS v1.12 A49 2024/05/29 (Linux/64)
    * Origin: Northern Realms (618:400/23)
  • From Sean Dennis@618:618/1 to Warpslide on Mon Sep 16 10:40:44 2024
    Not sure if that will work with these score files. End result might not look pretty if there are cursor movement codes in there.

    I found a program calles "ansifilter" that looks to be quite featureful and what I need but Slackware 15 is running an oolder version of glibc so I
    can't use it yet. I could use it if I was running Slackware-current but I won't use that on a production machine.

    Thanks for your help. This isn't really a critical matter. I emailed the author several days ago but no response yet (not really expecting one
    either).

    -- Sean



    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: Outpost BBS * Johnson City, TN (618:618/1)
  • From Gamgee@618:250/24 to Sean Dennis on Mon Sep 16 13:56:00 2024
    Sean Dennis wrote to Warpslide <=-

    Not sure if that will work with these score files. End result might not look pretty if there are cursor movement codes in there.

    I found a program calles "ansifilter" that looks to be quite featureful and what I need but Slackware 15 is running an oolder version of glibc
    so I can't use it yet. I could use it if I was running
    Slackware-current but I won't use that on a production machine.

    This should work fine on Slack 15:

    https://slackbuilds.org/repository/15.0/system/ansifilter/



    ... Gone crazy, be back later, please leave message.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.20-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (618:250/24)
  • From Sean Dennis@618:618/1 to Gamgee on Mon Sep 16 23:06:54 2024
    https://slackbuilds.org/repository/15.0/system/ansifilter

    Unfortunately, it breaks due to an upstream requirement of glibc 2.34.
    Nothing the SBo maintainer can do. I could run -current but I will not
    run that on a production machine. Not a big deal for now. I've been in contact with the door's author and he's about to release a new version of "Wordle" so that might be a moot point for now.

    However, I have been looking at Alex's (the Wordle author) development environment. I might use it for my own doors. Tonight I was able to get
    Free Pascal under Linux to cross-compile to 16-bit DOS and Win64. I might
    just use that. A lot simpler than the other set up I was using. A single compile and codebase for DOS, Win32/64, and Linux would definitely spur on
    my door development.

    -- Sean



    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: Outpost BBS * Johnson City, TN (618:618/1)
  • From Gamgee@618:250/24 to Sean Dennis on Tue Sep 17 13:20:00 2024
    Sean Dennis wrote to Gamgee <=-

    https://slackbuilds.org/repository/15.0/system/ansifilter

    Unfortunately, it breaks due to an upstream requirement of glibc 2.34. Nothing the SBo maintainer can do. I could run -current but I will not run that on a production machine. Not a big deal for now. I've been
    in contact with the door's author and he's about to release a new
    version of "Wordle" so that might be a moot point for now.

    Huh, confirmed the breakage. Quite unusual in my experience to see a
    package on SBo that doesn't build. Not sure how this wasn't noticed by
    the maintainers. Strange.

    However, I have been looking at Alex's (the Wordle author) development environment. I might use it for my own doors. Tonight I was able to
    get Free Pascal under Linux to cross-compile to 16-bit DOS and Win64.
    I might just use that. A lot simpler than the other set up I was
    using. A single compile and codebase for DOS, Win32/64, and Linux
    would definitely spur on my door development.

    Excellent!



    ... Daddy, what does "now formatting drive C:" mean?
    === MultiMail/Linux v0.52
    --- SBBSecho 3.20-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (618:250/24)
  • From Sean Dennis@618:618/1 to Gamgee on Tue Sep 17 20:23:00 2024
    Huh, confirmed the breakage. Quite unusual in my experience to see a package on SBo that doesn't build. Not sure how this wasn't noticed by
    the maintainers. Strange.

    I've tried contacting the maintainer. If I don't hear from them soon, I'll report the package to SBo admins.

    Excellent!

    Been really raising hell over at the VA. My hearing aids are broken and I
    have to wait two months to see anyone at the VA about it...same with gastroenterology...minimum three moth wait for anything and I am slowly
    going up the chain. I also am on a first name basis with my congresswoman because of the VA and I am about to send her an email or call her DC office.

    I may joke about my being a curmudgeon but I won't take any shit from the
    VA.

    Anyhow, will work on my doors as time permits. Looking forward to being
    able to update them and have more ideas to develop.

    -- Sean



    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: Outpost BBS * Johnson City, TN (618:618/1)