• Re: ANSI in Ubuntu termin

    From ryan@VERT/MONTEREY to Paulie420 on Sun Apr 26 19:04:00 2020
    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 Gamgee@VERT/PALANT to ryan on Mon Apr 27 04: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 ryan@VERT/MONTEREY to Gamgee on Mon Apr 27 06:22:00 2020
    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@VERT/PALANT to ryan on Mon Apr 27 10:26:00 2020
    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@VERT/MONTEREY to Gamgee on Mon Apr 27 12:45:00 2020
    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@VERT/PAULIE42 to ryan on Mon Apr 27 12:28:00 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
  • From Dumas Walker@VERT/CAPCITY2 to RYAN on Mon Apr 27 14:53:00 2020
    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.

    I wonder... if you have more than one terminal emulator, like say both lxterminal and gnome-terminal, could you change only one of them to be ansi
    and leave the other one as is. Then, when you want to see ansi, you use terminal package a, and otherwise use b.


    * SLMR 2.1a * It's as easy as 3.14159265358979323846...

    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From ryan@VERT/MONTEREY to Dumas Walker on Mon Apr 27 18:23:00 2020
    I wonder... if you have more than one terminal emulator, like say both lxterminal and gnome-terminal, could you change only one of them to be ans and leave the other one as is. Then, when you want to see ansi, you use terminal package a, and otherwise use b.

    I'm not sure if the character encoding comes from the actual terminal
    emulator itself or if it's something presented from within the tty.

    If the former, then yeah, should work great.

    If the latter, maybe we could just write a script to switch character
    encoding from one thing to another on the fly.

    --- Mystic BBS v1.12 A46 2020/04/13 (Linux/64)
    * Origin: monterey bbs