• ANSI in Mystic ? - a repeat for sure..

    From paulie420@21:2/150 to All on Wed Dec 7 16:50:45 2022
    So I'm trying to display ANSI thru MPL, and when I copy ANSI in its in UTF-8 and looks all messed up.

    All I need (currently) is one FULL BLOCK. (F4 in Moebius/TheDraw if yer on the block set)

    I forget the couple ways one can do this... I know I can print the character code - or... can someone remind me;

    Want to display one ANSI full block in a MPL write command.

    Cheers.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From niter3@21:1/199 to paulie420 on Wed Dec 7 21:21:30 2022
    On 07 Dec 2022, paulie420 said the following...

    So I'm trying to display ANSI thru MPL, and when I copy ANSI in its in UTF-8 and looks all messed up.

    All I need (currently) is one FULL BLOCK. (F4 in Moebius/TheDraw if yer
    on the block set)

    I forget the couple ways one can do this... I know I can print the character code - or... can someone remind me;

    Want to display one ANSI full block in a MPL write command.


    Not sure i undefstand. are you referring to the SFXX mci codes?

    ... The reason Santa is so jolly is because he knows where the bad girls live

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Clutch BBS * telnet://bbs.clutchbbs.com (21:1/199)
  • From Mandarax@21:1/156 to paulie420 on Wed Dec 7 21:33:19 2022
    All I need (currently) is one FULL BLOCK. (F4 in Moebius/TheDraw if yer
    on the block set)
    I forget the couple ways one can do this... I know I can print the character code - or... can someone remind me;

    You can just use a Write ('Whatever '+#219+' that is a block.')

    Just use # followed by the char code. Which 219 is a full block


    Insomnia City BBS SysOp
    Kalamazoo, MI USA
    bbs.farcasternet.org Telnet 23, SSH 2222

    ... WOMAN.ZIP - Great program but no documentation

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Insomnia City BBS - Kalamazoo, MI (21:1/156)
  • From paulie420@21:2/150 to niter3 on Thu Dec 8 10:12:41 2022
    Not sure i undefstand. are you referring to the SFXX mci codes?

    I want to display ANSI characters in a writeln() MPL function. I can't just copy the characters from a Linux terminal; its in UTF-8... I know theres a way to get the 'correct' characters, but forgot how.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to Mandarax on Thu Dec 8 10:13:24 2022
    You can just use a Write ('Whatever '+#219+' that is a block.')
    Just use # followed by the char code. Which 219 is a full block

    Thank you; this worked for me in a pinch...

    theres also a way to get the ANSI character IN there, I just don't remember how to doso. Appreciate your tip.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From deon@21:2/116 to paulie420 on Fri Dec 9 08:43:28 2022
    Re: Re: ANSI in Mystic ? - a repeat for sure..
    By: paulie420 to niter3 on Thu Dec 08 2022 10:12 am

    Hey Paulie,

    I want to display ANSI characters in a writeln() MPL function. I can't just copy the characters from a Linux terminal; its in UTF-8... I know theres a way to get the 'correct' characters, but forgot how.

    You are probably after iconv.

    To see ANSI on a utf8 termainl. "cat ansifile.ans | iconv -f cp437 -t utf8"

    The other way around is "cat file.txt | iconv -f utf8 -t cp437"

    And I know mystic uses the pipe symbol, so dont recall if my instructions above will get messed up - so its cat filename pipe iconv ...


    ...лоеп
    --- SBBSecho 3.15-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)
  • From paulie420@21:2/150 to deon on Thu Dec 8 14:37:40 2022
    I want to display ANSI characters in a writeln() MPL function. I can't copy the characters from a Linux terminal; its in UTF-8... I know there way to get the 'correct' characters, but forgot how.

    You are probably after iconv.
    To see ANSI on a utf8 termainl. "cat ansifile.ans | iconv -f cp437 -t utf8"
    The other way around is "cat file.txt | iconv -f utf8 -t cp437"

    So I do that on all my machines w/ a;
    alias ans='iconv -f cp437 -t utf8'

    So I can just type 'ans filename.ans' to view it - but ok, so I type that command, some ANSI spits out, and I manually copy/pase that ANSI into an MPL writeln('') function - it doesn't display correctly.

    Another users pointed out I can writeln(#228) to get a character, but I'm trying to get an ANSI character ^^^^ in there. :P

    Thanks for the iconv info, its an awesome tool for any sysOp to display ANSI in their terminal.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From niter3@21:1/199 to paulie420 on Thu Dec 8 20:38:01 2022
    Not sure i undefstand. are you referring to the SFXX mci codes?

    I want to display ANSI characters in a writeln() MPL function. I can't just copy the characters from a Linux terminal; its in UTF-8... I know theres a way to get the 'correct' characters, but forgot how.

    Here is a hack. :) Create the ansi, save it to a file and do the following if under linux.

    cat file.ans >> ansiyouwant.ans

    Go into that file and copy and move it to where you want.

    ... "No comment" is a comment.

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Clutch BBS * telnet://bbs.clutchbbs.com (21:1/199)