• Telnite // Python3 telnet client (Termux)

    From xqtr@21:1/111 to All on Monday, May 16, 2022 22:03:06
    I wrote a Python3 telnet client to use under Termux or any other terminal like gnome-terminal, xterm, xfce-terminal etc.

    It's simplistic, but still has many functionalities built in, like RegEx finding in visible text, sound FXs while connecting to a BBS, saving ANSI screens from the BBS you visit, data capture, saving favorites, connecting using the TelnetbbsGuide.com list and more.

    You can grab it at Github:

    https://github.com/xqtr/telnite

    It only uses default libraries, so you can use it in any "vanilla" system. Y/X/Z modem downloads not supported yet.

    .
    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From Zylone@21:3/150 to xqtr on Monday, May 16, 2022 21:35:21
    I wrote a Python3 telnet client to use under Termux or any other
    terminal like gnome-terminal, xterm, xfce-terminal etc.

    It's simplistic, but still has many functionalities built in, like RegEx finding in visible text, sound FXs while connecting to a BBS, saving ANSI screens from the BBS you visit, data capture, saving favorites,
    connecting using the TelnetbbsGuide.com list and more.

    You can grab it at Github:

    https://github.com/xqtr/telnite

    I just checked it out and it ran without issue. Very cool! The modem sound fx were a nice surprise ;) Will poke at it some more!

    |15Z|07ylone

    --- Mystic BBS v1.12 A48 2022/01/28 (Linux/64)
    * Origin: bbs.pLANETcARAVAN.org:23 ssh:1337 (21:3/150)
  • From xqtr@21:1/111 to Zylone on Tuesday, May 17, 2022 14:56:37
    I just checked it out and it ran without issue. Very cool! The modem
    sound fxwere a nice surprise ;) Will poke at it some more!

    Thank you for the feedback. Expect to find some bugs, mostly on handling Ansi codes. From my tests i figured that not all bbs programs and/or ansi editors create clean/proper ansi codes. Right now telnite doesnt use any exception handling just to find these instances.

    .
    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From claw@21:1/210 to xqtr on Tuesday, May 17, 2022 07:49:28
    I am going to check this out. Does it have to be run in terminal emulator or can you use it on something with you x11 or wayland on it? I would like to setup a Pi station that has the ability to login for guests that visit us.

    Might be a cool way to do it since right now nothing out there for the Pi

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |04(|14Noverdu.com|04)
    |10Standard Ports for SSH/Telnet Web/HTTP://|14Noverdu.com:808
    |20|15fsxNet/MRC Chat/Registered Doors!/50Nodes/No Time Use! Stay On!|16|07

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From xqtr@21:1/111 to claw on Tuesday, May 17, 2022 22:06:59
    I am going to check this out. Does it have to be run in terminal
    emulator orcan you use it on something with you x11 or wayland on it? I would like tosetup a Pi station that has the ability to login for guests that visit us.

    I just test it under a TTY terminal and it works fine. Also under Pi, is working as it should be.

    Something i didn't mention, is that for the sound fxs, you need to have SOX installed. If you don't you just can't hear the sounds, but anything else works.

    .
    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From Zylone@21:3/150 to xqtr on Tuesday, May 17, 2022 22:52:42
    On 17 May 2022, xqtr said the following...

    I am going to check this out. Does it have to be run in terminal emulator orcan you use it on something with you x11 or wayland on it? would like tosetup a Pi station that has the ability to login for gue that visit us.

    I just test it under a TTY terminal and it works fine. Also under Pi, is working as it should be.

    Something i didn't mention, is that for the sound fxs, you need to have SOX installed. If you don't you just can't hear the sounds, but anything else works.


    Hey xqtr, maybe I should try out some other terminals.. but my daily driver right now is alacritty.. and some of the screens on my are scrollers.. and it seems to just load the first 25 lines, and the last line actually scrolls the rest of the ansi.. again, havn't spent a whole lot of time testing it so far.. nor other terminals.. but so far that seems to be the only thing not working on my end..

    |15Z|07ylone

    --- Mystic BBS v1.12 A48 2022/01/28 (Linux/64)
    * Origin: bbs.pLANETcARAVAN.org:23 ssh:1337 (21:3/150)
  • From xqtr@21:1/111 to Zylone on Wednesday, May 18, 2022 17:00:14
    Hey xqtr, maybe I should try out some other terminals.. but my daily drive right now is alacritty.. and some of the screens on my are scrollers.. and seems to just load the first 25 lines, and the last line actually scrolls rest of the ansi.. again, havn't spent a whole lot of time testing it so f
    nor other terminals.. but so far that seems to be the only thing not work on my end

    Yes this is an issue. Telnite uses the terminal to scroll the window when it reaches at the bottom. If your terminal window dimensions are 80x25 and the BBS is built around that size, then it's all fine and it should display the scrollers fine.

    Problems start when the size of the terminal is different... for example a BBS uses size 80x25, but the user uses a terminal with different size. Telnite will recognize the terminal window and expect the cursor to reach at the bottom of it to send a "scroll down" command... but the BBS will not let the cursor to go beyond the 25th line (in most cases), so you will see the thing you described.

    In some BBSes i visited, some scrollers look fine, even in different terminal dimension and in the same BBS, other scrollers show up garbled. I think the --width, --height options or adjusting the settings of a saved BBS, can reduce/fix the problem, but for sure not 100%.

    .
    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From Zylone@21:3/150 to xqtr on Thursday, May 19, 2022 18:45:11
    On 18 May 2022, xqtr said the following...

    Hey xqtr, maybe I should try out some other terminals.. but my daily right now is alacritty.. and some of the screens on my are scrollers. seems to just load the first 25 lines, and the last line actually scr rest of the ansi.. again, havn't spent a whole lot of time testing it
    nor other terminals.. but so far that seems to be the only thing not on my end

    Yes this is an issue. Telnite uses the terminal to scroll the window
    when it reaches at the bottom. If your terminal window dimensions are 80x25 and the BBS is built around that size, then it's all fine and it should display the scrollers fine.

    Problems start when the size of the terminal is different... for example
    a BBS uses size 80x25, but the user uses a terminal with different size. Telnite will recognize the terminal window and expect the cursor to
    reach at the bottom of it to send a "scroll down" command... but the BBS will not let the cursor to go beyond the 25th line (in most cases), so
    you will see the thing you described.

    In some BBSes i visited, some scrollers look fine, even in different terminal dimension and in the same BBS, other scrollers show up garbled.
    I think the --width, --height options or adjusting the settings of a
    saved BBS, can reduce/fix the problem, but for sure not 100%.

    .
    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    I will have to do some more testing when I get back home.. I did try out the --width and --height flags but still had the same issue just FYI.

    |15Z|07ylone

    --- Mystic BBS v1.12 A48 2022/01/28 (Linux/64)
    * Origin: bbs.pLANETcARAVAN.org:23 ssh:1337 (21:3/150)
  • From xqtr@21:1/111 to claw on Sunday, May 22, 2022 22:06:52
    Might be a cool way to do it since right now nothing out there for the Pi

    There is also Blocker v2.11, which is another telnet client i wrote way back and runs under RPi. It's more capable then Telnite and more compatible with ANSI stuff. Give it a try, if you want something for the RPi.

    Get it here: http://andr01d.zapto.org:8080/Files/telnet_clients/blocker_211_rpi.zip

    .
    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From claw@21:1/210 to xqtr on Sunday, May 22, 2022 17:39:06
    On 22 May 2022, xqtr said the following...
    There is also Blocker v2.11, which is another telnet client i wrote way back and runs under RPi. It's more capable then Telnite and more compatible with ANSI stuff. Give it a try, if you want something for the RPi.

    Get it here: http://andr01d.zapto.org:8080/Files/telnet_clients/blocker_211_rpi.zip

    Awesome! I will give it a try thank you!

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |04(|14Noverdu.com|04)
    |10Standard Ports for SSH/Telnet Web/HTTP://|14Noverdu.com:808
    |20|15fsxNet/MRC Chat/Registered Doors!/50Nodes/No Time Use! Stay On!|16|07

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)