• linux ansi solution

    From ryan@21:1/168 to All on Wed Mar 11 17:44:35 2020
    Hey dudes,

    I found a decent way to work with ansi (viewing and editing) in a linux terminal. I'm posting this to help other people that would benefit from this.

    First, get cp437 from https://github.com/keaston/cp437 - use 'make' and then copy the 'cp437' executable to /usr/local/bin or something

    Next, get duhdraw from https://github.com/nikolas/duhdraw - use 'make' to compile it, then copy the 'ansi' and 'duhdraw' binaries to /usr/local/bin

    Now, when you want to edit an ansi in a terminal window, do
    cp437 duhdraw /path/to/ansi

    Good to go :) if you want to just view an ansi
    cp437 ansi /path/to/ansi

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From g00r00@21:1/108 to ryan on Thu Mar 12 16:10:59 2020
    Now, when you want to edit an ansi in a terminal window, do
    cp437 duhdraw /path/to/ansi

    You can also do ./mystic -ansi /path/to/ansi as long as you're not doing block copy/move anyway. I gotta get back to updating that at some point soon.

    --- Mystic BBS v1.12 A46 2020/03/12 (Windows/64)
    * Origin: Sector 7 (21:1/108)
  • From ryan@21:1/168 to g00r00 on Thu Mar 12 02:11:40 2020
    You can also do ./mystic -ansi /path/to/ansi as long as you're not doing block copy/move anyway. I gotta get back to updating that at some point soon.

    I've had some issues with areas of text/art failing to display and then
    somehow coming back later. Hard to describe :) But duhdraw works well enough,
    I suppose, even though I prefer the popup for picking colors and stuff in mystic.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From g00r00@21:1/108 to ryan on Thu Mar 12 20:40:38 2020
    I've had some issues with areas of text/art failing to display and then somehow coming back later. Hard to describe :) But duhdraw works well enough, I suppose, even though I prefer the popup for picking colors and stuff in mystic.

    I haven't used it a whole lot on the Linux side, and it sounds like there must be a place or two where it just needs to flush the buffer to the terminal. It should be a quick fix if I can see it happen.

    In Windows the screen updates happen immediately and in Linux they are buffered, so sometimes I miss places where I need to push the screen update because I primarily develop in Windows.

    If you have any way to reproduce an issue please let me know.

    I'd like to make sure whats there is working well before I end up going back
    to work more on block stuff and maybe some paging.

    --- Mystic BBS v1.12 A46 2020/03/12 (Windows/64)
    * Origin: Sector 7 (21:1/108)
  • From nristen@21:1/161 to g00r00 on Thu Mar 12 17:57:21 2020
    cp437 duhdraw /path/to/ansi

    You can also do ./mystic -ansi /path/to/ansi as long as you're not doing

    Thank you both for this mention.

    --- Mystic BBS v1.12 A46 2020/03/07 (Linux/64)
    * Origin: The Search BBS bbs.theharrisclan.net 34123/2222 (21:1/161)
  • From ryan@21:1/168 to g00r00 on Thu Mar 12 13:20:02 2020
    If you have any way to reproduce an issue please let me know.

    I'll see if I can come up with some steps for you, thanks for looking at this.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From -= Havok =-@21:4/10 to ryan on Thu Mar 12 17:02:00 2020
    Re: linux ansi solution
    By: ryan to All on Wed Mar 11 2020 01:44 pm

    I found a decent way to work with ansi (viewing and editing) in a linux terminal. I'm posting this to help other people that would benefit from this.

    Nice works, thanks for the heads up!
    Works like a charm...

    Thank you.

    -= Havok =-

    ... Between two evils, I always pick the one I never tried before.

    ---
    ■ Synchronet ■ Gray Matter BBS || graymatterbbs.com:2380
    * Origin: fsxNet FTN<>QWK Gateway (21:4/10)