• ANSI in Ubuntu terminal; dumb ? whats the fix...

    From Paulie420@VERT/PAULIE42 to All on Sun Apr 26 13:54:18 2020
    I want to have my Ubuntu [KDE Neon] system display ANSI correctly at the terminal prompt... by just like

    cat ansi.ans

    ... once I simply added something quickly in a Ubuntu terminal program and it then had ANSI display correctly, but I can't find it now...

    Also, I know I can find the cat-ansi package but I was wanting it to display correctly all the time. I believe i changed a font or added some coding to my terminal before; but a google search isn't showing me the info this time round.

    ??? anyone ???

    |08Paulie|15420
    |15M|08@|15STERM|07i|15ND
    |14AmericanPiBBS|04.com

    ---
    þ Synchronet þ AmericanPiBBS.com
  • From Gamgee@VERT/PALANT to ryan on Mon Apr 27 08:43:00 2020
    ryan wrote to Paulie420 <=-

    I want to have my Ubuntu [KDE Neon] system display ANSI correctly at the terminal prompt... by just like cat ansi.ans

    You can change your terminal emulation most likely to ansi or
    something like that, but I think you'll wind up with traditional
    cli applications maybe not displaying correctly.

    One piece of advice would be to clone
    https://github.com/keaston/cp437 - build it, put it in
    /usr/local/bin or some place on your path, and then precede every
    command relating to ansi with cp437: cp437 cat ansi.ans

    It'll "just work" and you won't have any terminal compatibility
    issues with utf8 or anything :)

    Wow, great tip there! I did the above and it works (almost)
    perfectly. Very helpful little utility to have.

    Thanks for sharing that.



    ... Rehab is for quitters.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Paulie420@VERT/PAULIE42 to ryan on Mon Apr 27 16:28:15 2020
    Re: Re: ANSI in Ubuntu terminal; dumb ? whats the fix...
    By: ryan to Paulie420 on Sun Apr 26 2020 11:04 pm

    I want to have my Ubuntu [KDE Neon] system display ANSI correctly at
    the terminal prompt... by just like
    cat ansi.ans

    You can change your terminal emulation most likely to ansi or something like that, but I think you'll wind up with traditional cli applications maybe not displaying correctly.

    One piece of advice would be to clone https://github.com/keaston/cp437 - build it, put it in /usr/local/bin or some place on your path, and then precede every command relating to ansi with cp437:
    cp437 cat ansi.ans
    It'll "just work" and you won't have any terminal compatibility issues with utf8 or anything :)

    Thanks ryan - it almost works perfect... ANSI is a little different than CP437, but this does give me something better than not having anything installed. I use Acid Draw to edit, but this cp437 command lets me at least see an .ANS -mostly- corect.

    Thanks kindly.

    |08Paulie|15420
    |15M|08@|15STERM|07i|15ND
    |14AmericanPiBBS|04.com

    ---
    þ Synchronet þ AmericanPiBBS.com