• ANSI Re: ANSI Weirdness

    From Mike Powell@21:1/175.3 to Skuz on Monday, April 10, 2017 18:16:00
    Only in a editor that does not support these things (issue at hand) will you see the so call Re: ANSI Weirdness the pipe color codes.

    No actually I was seeing the weirdness while logged onto my mystic test
    system, which is why I asked about the screwed-up screens. The "pipe codes" I understand, it was all the other "line noise" looking characters that don't translate to anything, in mystic or syncterm or multimail or slmr or anywhere else, that got me asking about it.

    I was wondering why the stock screens that came with the distribution were
    such a mess but no matter, I can replace them as was pointed out.

    Mike

    ---
    * SLMR 2.1a * Float on a river, forever and ever, Emily...Emily...


    --- GTMail 1.26
    * Origin: CCO BBS * 502/875-8938 * capcity2.synchro.net (21:1/175.3)
  • From Avon@21:1/101 to Mike Powell on Tuesday, April 11, 2017 21:12:00
    On 04/10/17, Mike Powell pondered and said...

    No actually I was seeing the weirdness while logged onto my mystic test system, which is why I asked about the screwed-up screens. The "pipe codes" I understand, it was all the other "line noise" looking
    characters that don't translate to anything, in mystic or syncterm or multimail or slmr or anywhere else, that got me asking about it.

    Mike it's not that you are looking at things with the default codepage set incorrectly for your setup? Check mystic config > configuration >
    login/matrix > default codepage and also local codepage. What OS are you running for Mystic and what are those two set to. It could be you need to change from UTF-8 to CP437 or visa versa.

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Skuz@21:1/105 to Avon on Tuesday, April 11, 2017 17:01:00
    11 Apr 17 21:12, you wrote to Mike Powell:

    login/matrix > default codepage and also local codepage. What OS
    are you running for Mystic and what are those two set to. It could be
    you need to change from UTF-8 to CP437 or visa versa.

    Good point Avon, It's been a long time since I've really look over a fresh stock (default) mystic out of tge box installed. Granted that all those new options details and just how they work is covered quite well in the /docs/ whatsnew.txt The ansi weiedness

    --- GoldED+/W32-MSVC 1.1.5-b20160201
    * Origin: flupH * fluph.darktech.org (21:1/105)
  • From Avon@21:1/101 to Skuz on Wednesday, April 12, 2017 14:58:00
    On 04/11/17, Skuz pondered and said...

    Good point Avon, It's been a long time since I've really look over a
    fresh stock (default) mystic out of tge box installed. Granted that all those new options details and just how they work is covered quite well
    in the /docs/ whatsnew.txt The ansi weiedness

    It's just another angle to explore but it may be nothing :) Thanks so much
    for the advice you're sharing - really helpful :)

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Mike Powell@21:1/175.3 to Avon on Tuesday, April 11, 2017 17:57:00
    Mike it's not that you are looking at things with the default codepage set incorrectly for your setup? Check mystic config > configuration > login/matrix > default codepage and also local codepage. What OS are you running for Mystic and what are those two set to. It could be you need to change from UTF-8 to CP437 or visa versa.

    As Charlie Brown would say, "THAT'S IT!!!!" :)

    It needed to be CP437. Now all is suddenly clear. Thanks!

    Mike

    ---
    * SLMR 2.1a * Overhead the albatross hangs motionless upon the air...


    --- GTMail 1.26
    * Origin: CCO BBS * 502/875-8938 * capcity2.synchro.net (21:1/175.3)
  • From Avon@21:1/101 to Mike Powell on Wednesday, April 12, 2017 15:14:00
    On 04/11/17, Mike Powell pondered and said...

    As Charlie Brown would say, "THAT'S IT!!!!" :)

    It needed to be CP437. Now all is suddenly clear. Thanks!

    Coolio... that's great :)

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From bcw142@21:1/145 to Avon on Wednesday, April 12, 2017 11:32:00
    On 04/12/17, Avon said the following...
    On 04/11/17, Mike Powell pondered and said...
    As Charlie Brown would say, "THAT'S IT!!!!" :)
    It needed to be CP437. Now all is suddenly clear. Thanks!

    Can you put that in the FAQ on the Mystic Wiki or don't you have that level
    of access? It gets asked monthly at least. Something to the effect of:
    If your ANSI looks odd or doesn't seem to exist check mystic -cfg and the locations, even suggest CP437 as that's the #1 answer that seems to work if
    you look at the history. If not as a FAQ there, then perhaps we do a monthly FAQ here with it and other common issues as we used to do with Usenet groups back in the day (1990's).

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Mystic Pi BBS bcw142.zapto.org (21:1/145)
  • From Avon@21:1/101 to bcw142 on Thursday, April 13, 2017 05:26:00

    On 04/12/17, bcw142 pondered and said...

    Can you put that in the FAQ on the Mystic Wiki or don't you have that level of access? It gets asked monthly at least. Something to the effect of: If your ANSI looks odd or doesn't seem to exist check mystic -cfg
    and the locations, even suggest CP437 as that's the #1 answer that seems to work if you look at the history. If not as a FAQ there, then perhaps
    we do a monthly FAQ here with it and other common issues as we used to
    do with Usenet groups back in the day (1990's).


    Good idea. I'll do this.

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Mike Powell@21:1/175.3 to Avon on Wednesday, April 12, 2017 19:34:00
    As Charlie Brown would say, "THAT'S IT!!!!" :)

    It needed to be CP437. Now all is suddenly clear. Thanks!
    Coolio... that's great :)

    I have never had to change the emulation/codepage on the BBS side before, so I would have never thought of that.

    Mike

    ---
    * SLMR 2.1a * How can I escape this irresistable grasp?


    --- GTMail 1.26
    * Origin: CCO BBS * 502/875-8938 * capcity2.synchro.net (21:1/175.3)
  • From Avon@21:1/101 to bcw142 on Friday, April 14, 2017 14:01:00
    On 04/12/17, bcw142 pondered and said...

    It needed to be CP437. Now all is suddenly clear. Thanks!

    Can you put that in the FAQ on the Mystic Wiki or don't you have that level of access? It gets asked monthly at least. Something to the effect

    All done.

    [snip]

    Q: ANSI output and other screens that Mystic displays looks a bit strange / distorted when I connect to the BBS or run a configuration change. Why is
    this and how can I fix it?

    This is most likely caused by the Default CodePage setting you are using.

    Mystic can send client terminals either CP437 or UTF8 data output, converting relevant outbound data to UTF8 when selected. There are two settings that control this. They can be found in the Mystic Configuration System by
    running Mystic -cfg from the command line.

    Then head to the Configuration > Login/Matrix menu and look for the
    Default Codepage and Local Codepage settings.

    Default Codepage

    This sets the default codepage sent to the users console when connecting
    to Mystic.

    Local CodePage

    Mystic has a Local CodePage option which is used as the default when the -L command is used (local login). This allows separate defaults local console
    vs an incoming caller.

    Note that Local Codepage defaults to UTF8 for OSX and Raspberry Pi. MUTIL and MIS honor the local codepage settings and runs in UTF8 in Linux/OSX.

    The documentation has this to say about the Mystic codepage settings:

    If you do not understand what these are, set Default to CP437 and
    Ask CodePage to "Detect". What this basically does is allows users to use things like Putty to connect to your BBS, and everything should look and
    work as expected.

    When Mystic starts up, by default a user will have the configured "Default" code page. Then depending on the setting of "Ask CodePage", Mystic will do
    one of the following:

    Detect : Mystic only changes codepage from default if it is able
    to detect a terminal that is likely NOT the default, but the
    user is never prompted.
    Ask : Mystic will ask the user which Codepage they would like
    to use after detecting ANSI.
    CP437 : Codepage will always be set to MS-DOS (CP437)
    UTF8 : Codepage will always be set to UTF8

    In Linux, the Default code page will actually be what Mystic runs in
    when you run mystic from the command line, too. In Windows, the Sysop
    side will always execute in CP437, even when a user is logged in that
    has UTF8 enabled (the user of course will still get sent UTF8).

    One other consideration, is that many terminals that use UTF8 are using
    VT102 instead of ANSI-BBS, which means a few things are different - most noticably are ANSI clear screen codes. In ANSI-BBS, the clear screen also moves the cursor to 1,1, while in VT102 it does not. This means its best
    to edit your ANSIs and add a |CL at the very top so Mystic clears the
    screen in a compatible way.

    Some other final tips.

    For a session you can override the the default code page settings from the command line by using the following syntax: Mystic -CP<mode>
    IE: ./mystic -CPutf8 will force UTF8 default output regardless of the default setting. Any -CP that does not contain UTF will cause Mystic to default
    to CP437

    When a user selects UTF8 encoding, Mystic will now assume their terminal sends VT102 DELETE/BACKSPACE keys rather than the MS-DOS terminal behavior.

    [snip]

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Mike Powell@21:1/175.3 to Bcw142 on Thursday, April 13, 2017 18:26:00
    of access? It gets asked monthly at least. Something to the effect of:
    If your ANSI looks odd or doesn't seem to exist check mystic -cfg and the locations, even suggest CP437 as that's the #1 answer that seems to work if you look at the history. If not as a FAQ there, then perhaps we do a monthly

    LOL, I have probably read a bunch of them myself... and it just went in one eyeball and out the other. :D

    Mike

    ---
    * SLMR 2.1a * My grubby halo, a vapour trail in the empty air...


    --- GTMail 1.26
    * Origin: CCO BBS * 502/875-8938 * capcity2.synchro.net (21:1/175.3)
  • From bcw142@21:1/145 to Mike Powell on Friday, April 14, 2017 09:07:00
    On 04/13/17, Mike Powell said the following...
    of access? It gets asked monthly at least. Something to the effect of: If your ANSI looks odd or doesn't seem to exist check mystic -cfg and th locations, even suggest CP437 as that's the #1 answer that seems to work you look at the history. If not as a FAQ there, then perhaps we do a mon

    LOL, I have probably read a bunch of them myself... and it just went in one eyeball and out the other. :D

    Good, it likely should ;) It's just for users that are having such issues.
    Avon has fully explained it and how Windows/Linux/Mac handle it so it can be
    a FAQ and canned answer to such questions. For the rest of us, we'll hit
    enter or L and pick another post to read. Not sure about things coming out of eyeballs ;P

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Mystic Pi BBS bcw142.zapto.org (21:1/145)
  • From g00r00@21:1/105 to Mike Powell on Saturday, May 06, 2017 13:24:10

    No actually I was seeing the weirdness while logged onto my mystic test system, which is why I asked about the screwed-up screens. The "pipe codes" I understand, it was all the other "line noise" looking
    characters that don't translate to anything, in mystic or syncterm or multimail or slmr or anywhere else, that got me asking about it.

    Sounds like you have UTF8 turned on.

    --- Mystic BBS v1.12 A32 (Windows)
    * Origin: flupH | fluph.darktech.org (21:1/105)
  • From g00r00@21:1/105 to bcw142 on Saturday, May 06, 2017 13:25:14
    Can you put that in the FAQ on the Mystic Wiki or don't you have that level of access? It gets asked monthly at least. Something to the effect

    There already is a section on terminal settings, but maybe it can be cleared
    up a bit.

    --- Mystic BBS v1.12 A32 (Windows)
    * Origin: flupH | fluph.darktech.org (21:1/105)
  • From Mike Powell@21:1/175.3 to G00r00 on Saturday, May 06, 2017 18:07:00
    Sounds like you have UTF8 turned on.

    Yep, sure did! Multiple people set me straight. Thanks!

    Mike

    ---
    * SLMR 2.1a * "When you have a rib-eye steak, you must floss it!"-Homer


    --- GTMail 1.26
    * Origin: CCO BBS * 502/875-8938 * capcity2.synchro.net (21:1/175.3)
  • From g00r00@21:1/108 to bcw142 on Tuesday, May 09, 2017 17:13:13
    This message was sent before Avon got it up in the Wiki FAQ. I've read
    it, it's very detailed - the only thing remaining is what keywords will

    I wrote the terminal stuff when we first put the Wiki up, its always been there... But it only gives details on Windows 10 and OSX.

    Linux systems are all very different by Default, but I should have a section
    as well.

    I'm not sure what Avon did.

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From bcw142@21:1/145 to g00r00 on Wednesday, May 10, 2017 16:03:37
    On 05/09/17, g00r00 said the following...
    This message was sent before Avon got it up in the Wiki FAQ. I've rea it, it's very detailed - the only thing remaining is what keywords wi

    I wrote the terminal stuff when we first put the Wiki up, its always been there... But it only gives details on Windows 10 and OSX.

    Linux systems are all very different by Default, but I should have a section as well.

    I'm not sure what Avon did.

    --- Mystic BBS v1.12 A33 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)

    http://wiki.mysticbbs.com/doku.php?id=faq second question in FAQ was added.
    I know Linux systems are all different, but most default to UTF8 and Avon included a kind of troubleshoot in there. The question was popping up every other week from January through March so that was added as a FAQ. As you'll
    see it's pretty detailed and I think covers the answer to the common issues.

    --- Mystic BBS v1.12 A32 (Raspberry Pi)
    * Origin: Mystic Pi BBS bcw142.zapto.org (21:1/145)