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

    From Paulie420@PAULIE42 to All on Sunday, April 26, 2020 13:54:18
    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 ryan@MONTEREY to Paulie420 on Sunday, April 26, 2020 23:04:00
    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 :)

    --- Mystic BBS v1.12 A46 2020/04/13 (Linux/64)
    * Origin: monterey bbs
  • From MRO@BBSESINF to Paulie420 on Monday, April 27, 2020 01:20:31
    Re: ANSI in Ubuntu terminal; dumb ? whats the fix...
    By: Paulie420 to All on Sun Apr 26 2020 01:54 pm

    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 i 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

    i believe deuce knew how to make it almost work. i cant remember the settings. it's probably someplace in irc chatlogs from 18 years ago.
    ---
    ■ Synchronet ■ ::: BBSES.info - free BBS services :::
  • From Gamgee@PALANT to ryan on Monday, April 27, 2020 08:43:00
    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 ryan@MONTEREY to Gamgee on Monday, April 27, 2020 10:22:00
    Wow, great tip there! I did the above and it works (almost)
    perfectly. Very helpful little utility to have.

    Yeah, it works pretty well :) I use it a lot. I actually also cloned
    'duhdraw' (it's also on github if you search for it, would paste link but on iPad) and now I can 'cp437 duhdraw' and have an in-terminal accurate ANSI editor.

    --- Mystic BBS v1.12 A46 2020/04/13 (Linux/64)
    * Origin: monterey bbs
  • From Gamgee@PALANT to ryan on Monday, April 27, 2020 14:26:00
    ryan wrote to Gamgee <=-

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

    Yeah, it works pretty well :) I use it a lot. I actually also
    cloned 'duhdraw' (it's also on github if you search for it, would
    paste link but on iPad) and now I can 'cp437 duhdraw' and have an in-terminal accurate ANSI editor.

    Nice. Hadn't heard of that one, either.

    I tried it and it seems to work. A couple of things I notice are
    that it doesn't go full-screen, so the work area is kind of small.
    Also did not have any luck using the "line draw" function (like in
    TheDraw where you make lines/corners with F-keys).

    I actually use TheDraw quite a bit in a DosBox environment and it
    works perfectly.

    Thanks again.



    ... I'll be unstoppable when I get started.
    --- MultiMail/Linux v0.52
    ■ Synchronet ■ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From ryan@MONTEREY to Gamgee on Monday, April 27, 2020 16:45:00
    I tried it and it seems to work. A couple of things I notice are
    that it doesn't go full-screen, so the work area is kind of small.
    Also did not have any luck using the "line draw" function (like in TheDraw where you make lines/corners with F-keys).

    Ah, yeah, it might be locked to 80x25, not sure...but that would make sense. That said, duhdraw has worked well for me to do BBS stuff in an ssh session through putty, which works great for my purposes.

    I hadn't heard about those TheDraw features, but my BBS is probably 98% ascii art format so not a big deal for me hehe.

    --- Mystic BBS v1.12 A46 2020/04/13 (Linux/64)
    * Origin: monterey bbs
  • From Paulie420@PAULIE42 to ryan on Monday, April 27, 2020 16:28:15
    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