• How to setup the bash shell for ANSI

    From gcubebuddy@21:4/129 to All on Tue Apr 27 11:06:23 2021
    Hi y'all, i was wondering if anyone knew how to set up the default bash shell in Ubuntu, to be able to see ANSI art / menus for when you use syncterm at
    the command line, or if your using simple telnet?
    i was just curios if anyone had been successful at it?

    Thanks
    - Gamecube Buddy

    telnet --<{bbs.hive32.com:23333}>--

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Hive32 (21:4/129)
  • From fusion@21:1/616 to gcubebuddy on Tue Apr 27 07:12:14 2021
    On 27 Apr 2021, gcubebuddy said the following...

    Hi y'all, i was wondering if anyone knew how to set up the default bash shell in Ubuntu, to be able to see ANSI art / menus for when you use syncterm at the command line, or if your using simple telnet?
    i was just curios if anyone had been successful at it?

    telnet bbs | iconv -f cp437

    no downloads, and a handful of characters might not work if the default unicode font doesn't have them.. but i'm actually doing that right now on my cell phone to post this :)

    --- Mystic BBS v1.12 A47 2021/04/20 (Windows/32)
    * Origin: cold fusion - cfbbs.net - grand rapids, mi (21:1/616)
  • From acn@21:3/127.1 to gcubebuddy on Tue Apr 27 14:18:00 2021
    Am 27.04.21 schrieb gcubebuddy@21:4/129 in FSX_GEN:

    Hallo gcubebuddy,

    Hi y'all, i was wondering if anyone knew how to set up the default bash shell in Ubuntu, to be able to see ANSI art / menus for when you use syncterm at the command line, or if your using simple telnet?
    i was just curios if anyone had been successful at it?

    Have a look at "cp437":
    https://github.com/keaston/cp437

    This converts the output of the following command to codepage 437.

    I'm using this in OpenXP to view messages that contain ANSI graphics and
    it works with most ANSI messages.

    Regards,
    Anna

    --- OpenXP 5.0.49
    * Origin: Imzadi Box Point (21:3/127.1)
  • From gcubebuddy@21:4/129 to fusion on Wed Apr 28 11:06:19 2021
    telnet bbs | iconv -f cp437
    no downloads, and a handful of characters might not work if the default unicode
    font doesn't have them.. but i'm actually doing that right now on my
    cell phone

    wow! thats pretty cool!

    Thanks
    - Gamecube Buddy

    telnet --<{bbs.hive32.com:23333}>--

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Hive32 (21:4/129)
  • From gcubebuddy@21:4/129 to acn on Wed Apr 28 11:07:29 2021
    Have a look at "cp437":
    https://github.com/keaston/cp437
    This converts the output of the following command to codepage 437.
    I'm using this in OpenXP to view messages that contain ANSI graphics and it works with most ANSI messages.

    wow cool, i will have to check that out too. thanks!

    Thanks
    - Gamecube Buddy

    telnet --<{bbs.hive32.com:23333}>--

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Hive32 (21:4/129)
  • From Ogg@21:4/106.21 to acn on Wed Apr 28 07:29:00 2021
    Hello acn!

    ** On Tuesday 27.04.21 - 15:18, acn wrote to gcubebuddy:

    Have a look at "cp437":
    https://github.com/keaston/cp437

    This converts the output of the following command to codepage 437.

    I'm using this in OpenXP to view messages that contain ANSI graphics and
    it works with most ANSI messages.

    How do you implement it? Do you use the Macros feature? Or..
    the Config/Keys../

    Ŀ
    Shift-Fx
    Ctrl-Fx
    Alt-Fx
    Macros


    --

    --- OpenXP 5.0.49
    * Origin: (} Pointy McPointFace (21:4/106.21)
  • From acn@21:3/127.1 to Ogg on Wed Apr 28 15:23:00 2021
    Am 28.04.21 schrieb Ogg@21:4/106.21 in FSX_GEN:

    Hallo Ogg,

    I'm using this in OpenXP to view messages that contain ANSI graphics and a>> it works with most ANSI messages.

    How do you implement it? Do you use the Macros feature? Or..
    the Config/Keys../

    I'm using it as an entry in the "Zusatz-Men" ("Tools" in English, I
    guess).
    The entry has this commandline:

    clear;cp437 cat $FILE; read i

    This first clears the screen, then shows the message and waits for a press
    of the "Enter" key.

    Regards,
    Anna


    --- OpenXP 5.0.49
    * Origin: Imzadi Box Point (21:3/127.1)
  • From paulie420@21:2/150 to fusion on Wed Apr 28 12:35:14 2021
    telnet bbs | iconv -f cp437
    no downloads, and a handful of characters might not work if the defau unicode
    font doesn't have them.. but i'm actually doing that right now on my cell phone

    Weird, this command makes my Linux system hang - the terminal emulator anyway. And I use iconv often... hmmmmm.



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

    --- Mystic BBS v1.12 A47 2021/04/20 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Paradigms Shifting@21:1/101 to gcubebuddy on Tue Apr 19 12:41:52 2022
    On 27 Apr 2021 at 12:06p, gcubebuddy pondered and said...

    Hi y'all, i was wondering if anyone knew how to set up the default bash shell in Ubuntu, to be able to see ANSI art / menus for when you use syncterm at the command line, or if your using simple telnet?
    i was just curios if anyone had been successful at it?

    Thats been on my "Linux Wish List" forever!

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Paradigms Shifting@21:1/101 to fusion on Tue Apr 19 12:43:28 2022
    On 27 Apr 2021 at 08:12a, fusion pondered and said...

    On 27 Apr 2021, gcubebuddy said the following...

    Hi y'all, i was wondering if anyone knew how to set up the default ba shell in Ubuntu, to be able to see ANSI art / menus for when you use syncterm at the command line, or if your using simple telnet?
    i was just curios if anyone had been successful at it?

    telnet bbs | iconv -f cp437

    no downloads, and a handful of characters might not work if the default unicode

    I wonder if there is a way to get the Linux terminal prompt to support it, whether you're telnetting, or not. Just like how the MS-DOS Prompt will support it, as long as ANSI.SYS is loaded.

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From boraxman@21:1/101 to Paradigms Shifting on Tue Apr 19 22:13:22 2022

    Hi y'all, i was wondering if anyone knew how to set up the default ba shell in Ubuntu, to be able to see ANSI art / menus for when you use syncterm at the command line, or if your using simple telnet?
    i was just curios if anyone had been successful at it?

    Thats been on my "Linux Wish List" forever!

    Not sure about Ubuntu, but you can get ansi to work on the Terminal. I use urxvt, but I've also tested this using xterm and it works there too. Should work with the Gnome Terminal, but I don't have this installed, so I didn't test with the Gnome Terminal.

    You need to do two things, first set a font that supports it (if the one you are using doesn't), and change the terminal mode.

    For the font, I use the "9x15" vga font, which is part of the xfonts-base package in Debian, and should be available in Ubuntu. If not, a web search for a vga font will reveal. For xterm, I use the Hack font, and that works as well.

    Next, use this program
    https://github.com/keaston/cp437

    Just run the program with cp437 as a prefix to the command you want to run (telnet or ssh)

    What you will want to do is something like
    cp437 telnet bbs.mybbs.com
    or
    cp437 ssh user@bbs.mybbs.com

    This sets the terminal to display the code and colours correctly . Works for me! If it doesn't work for you, try some different fonts. As I said, I know the 9x15 font and Hack work, others should too.

    Another option is to use Qodem. There is a terminal version "qodem" and an X11 version "qodem-x11"

    Run Qodem in a terminal, and it should work. You don't need the cp437 for qodem.

    Not sure if it is available in the Ubuntu repositories, it is for Fedora but not Debian, Qodem is a pretty good terminal program, and runs fine within a Terminal window. I prefer to slightly over Syncterm because you can use for the GUI version a larger font.

    If not available, install from source
    http://qodem.sourceforge.net/

    One other option, is to start Syncterm in a terminal with the -iC option. This uses the "curses" mode, so will run within the Terminal, but I find the results here weren't as good as with Qodem or the cp437 program and ssh.

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From boraxman@21:1/101 to Paradigms Shifting on Tue Apr 19 22:26:42 2022
    I wonder if there is a way to get the Linux terminal prompt to support
    it, whether you're telnetting, or not. Just like how the MS-DOS Prompt will support it, as long as ANSI.SYS is loaded.

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)

    I just wanted to add, in addition to the cp437 program I use, there is also ztelnet and zssh, which allow file transfers when you connect to a BBS (actually, to any system which has zmodem functionality)

    zssh you use in place of ssh, but it can capture and recognise zmodem escape sequences, so using zssh you can drop to the ssh command mode (Ctrl - Space) and use the sz and rz linux utilities to do a send or recieve.

    So when the BBS sends the control commands to start a transfer, you press CTRL-Space and at the command line run "rz" to receive or "sz filename" to send.

    You can at this command prompt, list files and navigate the directory hierarchy.

    Zssh should be part of the Ubuntu repo

    ztelnet works the same, and is part of the zssh package, but its telnet.


    Another option is to use GNU Screen with regular ssh and ztelnet. I can explain how this works too, if people are interested.

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Zip@21:1/202 to boraxman on Tue Apr 19 20:02:14 2022
    Hello boraxman!

    On 19 Apr 2022, boraxman said the following...
    Next, use this program
    https://github.com/keaston/cp437

    Thanks! Installed here now. :)

    Another option is to use Qodem. There is a terminal version "qodem" and an X11 version "qodem-x11"

    I tried qodem earlier, but on my Debian box (and with my USB-to-serial adapter), I got failed assertions during runtime which kind of ruined the fun... :-O

    Best regards
    Zip

    --- Mystic BBS v1.12 A48 2022/04/03 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)
  • From boraxman@21:1/101 to Zip on Wed Apr 20 19:39:16 2022
    Next, use this program
    https://github.com/keaston/cp437

    Thanks! Installed here now. :)

    Another option is to use Qodem. There is a terminal version "qodem" an X11 version "qodem-x11"

    I tried qodem earlier, but on my Debian box (and with my USB-to-serial adapter), I got failed assertions during runtime which kind of ruined the fun... :-O


    I've only used it over TCP connections, for serial, it may be different. You may want Minicom for serial connections.

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From claw@21:1/210 to Paradigms Shifting on Tue Apr 19 22:52:50 2022
    I wonder if there is a way to get the Linux terminal prompt to support
    it, whether you're telnetting, or not. Just like how the MS-DOS Prompt will support it, as long as ANSI.SYS is loaded.


    this is somethimg im looking in to. cp437 and utf8 just dont like each other g00r00 might be working on a new netrunner wirh arm compatibikity

    DrClaw
    Sysop Noverdu BBS (Noverdu.com)
    BBS Specs 64 CORE/192G Ram/Dell Server

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From Zip@21:1/202 to boraxman on Wed Apr 20 17:11:04 2022
    Hello boraxman!

    On 20 Apr 2022, boraxman said the following...
    I've only used it over TCP connections, for serial, it may be different. You may want Minicom for serial connections.

    Yep (that's the one I'm normally using). =)

    Best regards
    Zip

    --- Mystic BBS v1.12 A48 2022/04/03 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)
  • From gcubebuddy@21:4/129 to All on Tue Apr 27 12:06:22 2021
    Hi y'all, i was wondering if anyone knew how to set up the default bash shell in Ubuntu, to be able to see ANSI art / menus for when you use syncterm at
    the command line, or if your using simple telnet?
    i was just curios if anyone had been successful at it?

    Thanks
    - Gamecube Buddy

    telnet --<{bbs.hive32.com:23333}>--

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Hive32 (21:4/129)
  • From fusion@21:1/616 to gcubebuddy on Tue Apr 27 08:12:14 2021
    On 27 Apr 2021, gcubebuddy said the following...

    Hi y'all, i was wondering if anyone knew how to set up the default bash shell in Ubuntu, to be able to see ANSI art / menus for when you use syncterm at the command line, or if your using simple telnet?
    i was just curios if anyone had been successful at it?

    telnet bbs | iconv -f cp437

    no downloads, and a handful of characters might not work if the default unicode font doesn't have them.. but i'm actually doing that right now on my cell phone to post this :)

    --- Mystic BBS v1.12 A47 2021/04/20 (Windows/32)
    * Origin: cold fusion - cfbbs.net - grand rapids, mi (21:1/616)
  • From acn@21:3/127.1 to gcubebuddy on Tue Apr 27 15:18:00 2021
    Am 27.04.21 schrieb gcubebuddy@21:4/129 in FSX_GEN:

    Hallo gcubebuddy,

    Hi y'all, i was wondering if anyone knew how to set up the default bash shell in Ubuntu, to be able to see ANSI art / menus for when you use syncterm at the command line, or if your using simple telnet?
    i was just curios if anyone had been successful at it?

    Have a look at "cp437":
    https://github.com/keaston/cp437

    This converts the output of the following command to codepage 437.

    I'm using this in OpenXP to view messages that contain ANSI graphics and
    it works with most ANSI messages.

    Regards,
    Anna

    --- OpenXP 5.0.49
    * Origin: Imzadi Box Point (21:3/127.1)
  • From gcubebuddy@21:4/129 to fusion on Wed Apr 28 12:06:18 2021
    telnet bbs | iconv -f cp437
    no downloads, and a handful of characters might not work if the default unicode
    font doesn't have them.. but i'm actually doing that right now on my
    cell phone

    wow! thats pretty cool!

    Thanks
    - Gamecube Buddy

    telnet --<{bbs.hive32.com:23333}>--

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Hive32 (21:4/129)
  • From gcubebuddy@21:4/129 to acn on Wed Apr 28 12:07:28 2021
    Have a look at "cp437":
    https://github.com/keaston/cp437
    This converts the output of the following command to codepage 437.
    I'm using this in OpenXP to view messages that contain ANSI graphics and it works with most ANSI messages.

    wow cool, i will have to check that out too. thanks!

    Thanks
    - Gamecube Buddy

    telnet --<{bbs.hive32.com:23333}>--

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Hive32 (21:4/129)
  • From Ogg@21:4/106.21 to acn on Wed Apr 28 08:29:00 2021
    Hello acn!

    ** On Tuesday 27.04.21 - 15:18, acn wrote to gcubebuddy:

    Have a look at "cp437":
    https://github.com/keaston/cp437

    This converts the output of the following command to codepage 437.

    I'm using this in OpenXP to view messages that contain ANSI graphics and
    it works with most ANSI messages.

    How do you implement it? Do you use the Macros feature? Or..
    the Config/Keys../

    Ŀ
    Shift-Fx
    Ctrl-Fx
    Alt-Fx
    Macros


    --

    --- OpenXP 5.0.49
    * Origin: (} Pointy McPointFace (21:4/106.21)
  • From acn@21:3/127.1 to Ogg on Wed Apr 28 16:23:00 2021
    Am 28.04.21 schrieb Ogg@21:4/106.21 in FSX_GEN:

    Hallo Ogg,

    I'm using this in OpenXP to view messages that contain ANSI graphics and a>> it works with most ANSI messages.

    How do you implement it? Do you use the Macros feature? Or..
    the Config/Keys../

    I'm using it as an entry in the "Zusatz-Men" ("Tools" in English, I
    guess).
    The entry has this commandline:

    clear;cp437 cat $FILE; read i

    This first clears the screen, then shows the message and waits for a press
    of the "Enter" key.

    Regards,
    Anna


    --- OpenXP 5.0.49
    * Origin: Imzadi Box Point (21:3/127.1)
  • From paulie420@21:2/150 to fusion on Wed Apr 28 13:35:14 2021
    telnet bbs | iconv -f cp437
    no downloads, and a handful of characters might not work if the defau unicode
    font doesn't have them.. but i'm actually doing that right now on my cell phone

    Weird, this command makes my Linux system hang - the terminal emulator anyway. And I use iconv often... hmmmmm.



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

    --- Mystic BBS v1.12 A47 2021/04/20 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)