• ANSI Forced

    From The Godfather@21:3/165 to All on Mon Jan 1 15:30:20 2024
    So I've been playing around with Gopher and discovered the telnet option within Gophernicus and got it working. It's pretty nice, allows me to pick a default terminal program to load and when I click on the hyperlink it auto loads the terminal program and telnets the BBS I selected. The only thing I couldn't figure out was how to get gopher to send ANSI strings during Mystic BBS auto detection and as a result it defaults to ASCII. I didn't see anything in the manual of Gopernicus really discussing this at all. SO I set Mystic from AUTO detect to ANSI bbs and it works just fine enough.

    Can anyone think of a reason I'd want it set to auto detect and not to ANSI BBS? I "get" there might be a user try to dial in with an ASCII preference, however The Underground is not really set up for that. Any other reasons I would need to leave it on Auto detect ormigoodtogoezz?

    |15-|12t|04G
    |15www|08.|15theun|07dergrou|08nd|07.|08us|15:|0810023

    ... They say there's always one weirdo on the bus, but I couldn't find them!

    --- Mystic BBS v1.12 A49 2023/04/30 (Linux/64)
    * Origin: www.theunderground.us Telnet 10023 SSH 7771 (21:3/165)
  • From The Godfather@21:3/165 to The Godfather on Mon Jan 1 16:20:24 2024
    Well just found my answer.

    Can anyone think of a reason I'd want it set to auto detect and not to ANSI BBS? I "get" there might be a user try to dial in with an ASCII

    If I set it to ANSI and not DETECT then my 132x37 theme does not auto detect when someone has their terminal set to 132x37. So I'm back to not having a hyperlink on my gopher page.

    If anyone knows of a way to get gophernicus to tell the terminal program to call a BBS in ANSI mode, not ASCII, I'd love to know. I can't seem to find the info I need online.

    |15-|12t|04G
    |15www|08.|15theun|07dergrou|08nd|07.|08us|15:|0810023

    ... As I said before, I never repeat myself

    --- Mystic BBS v1.12 A49 2023/04/30 (Linux/64)
    * Origin: www.theunderground.us Telnet 10023 SSH 7771 (21:3/165)
  • From deon@21:2/116 to The Godfather on Tue Jan 2 10:41:53 2024
    Re: ANSI Forced
    By: The Godfather to All on Mon Jan 01 2024 03:30 pm

    Howdy,

    a default terminal program to load and when I click on the hyperlink it auto loads the terminal program and telnets the BBS I selected. The only thing I couldn't figure out was how to get gopher to send ANSI strings during Mystic BBS auto detection and as a result it defaults to ASCII. I didn't see anything in the manual of Gopernicus really discussing this at all. SO I set Mystic from AUTO detect to ANSI bbs and it works just fine enough.

    So the issue will be the "telnet" program.

    ANSI autodetect normally works by using ANSI codes to move the cursor to a location, and then using telnet (IAC) codes to ask the terminal where the cursor is. Some dumb telnet programs may not understand (many of the) telnet IAC codes..

    If you find a better telnet program that you can launch, you might be OK...


    ...лоеп
    --- SBBSecho 3.20-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)
  • From apam@21:1/182 to deon on Tue Jan 2 10:30:20 2024
    Re: ANSI Forced
    By: The Godfather to All on Mon Jan 01 2024 03:30 pm

    Howdy,

    a default terminal program to load and when I click on the hyperlink it auto
    loads the terminal program and telnets the BBS I selected. The only thing I
    couldn't figure out was how to get gopher to send ANSI strings during Mystic
    BBS auto detection and as a result it defaults to ASCII. I didn't see anything in the manual of Gopernicus really discussing this at all. SO I set Mystic from AUTO detect to ANSI bbs and it works just fine enough.

    So the issue will be the "telnet" program.

    ANSI autodetect normally works by using ANSI codes to move the cursor to a location, and then using telnet (IAC) codes to ask the terminal where the cursor is. Some dumb telnet programs may not understand (many of the) telnet IAC codes..


    Not usually IAC codes, ANSI position reporting, that way it works with SSH too. Screen size can be detected with IAC codes, but again, not all terminals support this - so it's generally easier to position the cursor to some non existent space in the bottom right and then report where the cursor actually is - unfortunately this doesn't work with ftelnet though (ftelnet ignores the command if it is out of bounds)

    With talisman, if ANSI is not detected, I have it prompt to ask if you want to force ANSI, as there are a lot of times detection doesn't work correctly.

    Andrew
    --- Noddy git-2b8b935
    * Origin: Smuggler's Cove - scove.talismanbbs.com:2323 (21:1/182)
  • From apam@21:1/182 to The Godfather on Tue Jan 2 10:37:23 2024
    Well just found my answer.

    Can anyone think of a reason I'd want it set to auto detect and not to ANSI BBS? I "get" there might be a user try to dial in with an ASCII

    If I set it to ANSI and not DETECT then my 132x37 theme does not auto detect when someone has their terminal set to 132x37. So I'm back to not having a hyperlink on my gopher page.


    Is this in all cases or just when launched from gophernicus? Though I can see if not running the ANSI detection it also wouldn't detect screen size. Can users force ANSI themselves? I don't know mystic very well, so I don't know, but a lot of BBS softwares have the option to enable ANSI, then in theory only the login page would be ascii.

    Andrew

    --- Noddy git-2b8b935
    * Origin: Smuggler's Cove - scove.talismanbbs.com:2323 (21:1/182)
  • From deon@21:2/116 to apam on Tue Jan 2 14:48:06 2024
    Re: ANSI Forced
    By: apam to deon on Tue Jan 02 2024 10:30 am

    Howdy,

    Not usually IAC codes, ANSI position reporting, that way it works with SSH too. Screen size can be detected with IAC codes, but again, not all

    Ahh, that makes sense...


    ...лоеп
    --- SBBSecho 3.20-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)
  • From The Godfather@21:3/165 to apam on Tue Jan 2 00:15:43 2024
    Is this in all cases or just when launched from gophernicus? Though I
    can see if not running the ANSI detection it also wouldn't detect screen size. Can users force ANSI themselves? I don't know mystic very well, so
    I don't know, but a lot of BBS softwares have the option to enable ANSI, then in theory only the login page would be ascii.


    Hey Andrew and Deon thanks for the reply!

    It's just through gophernicus and something gophernicus is doing that is putting any terminal / telnet program into ASCII prior to telnetting into a BBS. The options are a bit limited from what I can tell .. it's (I'm going off memory may have the syntax slightly off ..)


    8Check out the Underground today! / www.theunderground.us 10023

    The 8 is Gophernicus hyperlinking "Check out the Underground today!" and launching "terminal and telnetting" to TUG when clicked on port 10023. Self explanatory, it's late ..

    It works fine, other than telling terminal programs to telnet in with some other option than ANSI BBS emulation.

    |15-|12t|04G
    |15www|08.|15theun|07dergrou|08nd|07.|08us|15:|0810023

    ... We all live in a yellow subroutine...

    --- Mystic BBS v1.12 A49 2023/04/30 (Linux/64)
    * Origin: www.theunderground.us Telnet 10023 SSH 7771 (21:3/165)
  • From The Godfather@21:3/165 to apam on Tue Jan 2 01:00:03 2024
    With talisman, if ANSI is not detected, I have it prompt to ask if you want to force ANSI, as there are a lot of times detection doesn't work correctly.

    This worked on Mystic, thank you! I just had to change within config detect/ask. This works with 132x37, SSH, Telnet, ANSI, ASCII so pretty slick. Thanks for the tip.

    |15-|12t|04G
    |15www|08.|15theun|07dergrou|08nd|07.|08us|15:|0810023

    ... The only place I want data loss is on my credit card!

    --- Mystic BBS v1.12 A49 2023/04/30 (Linux/64)
    * Origin: www.theunderground.us Telnet 10023 SSH 7771 (21:3/165)