Omnimaga

General Discussion => Technology and Development => Other => Topic started by: Juju on May 26, 2014, 02:00:07 am

Title: The Omnimaga BBS Project
Post by: Juju on May 26, 2014, 02:00:07 am
Yet another side project I started, partly inspired by Hackaday's Retro edition (so users can submit pictures of their old hardware that wasn't even supposed to go on Internet browsing Hackaday) and a video of Keoni29 accessing a BBS with his eZ8. The goal here, like Hackaday, is to access the Omnimaga forums on old hardware, such a Commodore 64 or a TI-82 calculator. Wouldn't it be fun to post from those devices? All you need is a serial port connection!

You can access the interface via telnet (just like an old-school BBS) which is currently at derpy.juju2143.ca, the rest of the steps is left as an exercice to the reader.

Right now, only the login is implemented (you can login with your Omnimaga account!), it will give you a few info about your account and a basic command prompt, I'll gradually add more and more features (which you can see by typing 'help').

CVSoft already been able to login to Omnimaga using his TI-82 (http://i.imgur.com/wrHaBuG.jpg) (which is a first!), you can post here your own hardware accessing it. Have fun!
Title: Re: The Omnimaga BBS Project
Post by: Eiyeron on May 26, 2014, 02:04:44 am
I tested from my work computer, it seems to work. Nice logo though, with my color scheme, it rocks!
Title: Re: The Omnimaga BBS Project
Post by: Juju on May 26, 2014, 02:10:33 am
Hehe, thanks.

Windows' cmd seems to choke on it (as well as the TI-82, obviously, and the colors are obviouly not supported there), so I might add a mechanism to check which device you are on and act accordingly. Also the server will reboot kinda often, so if you lose connection it's me upgrading the server.
Title: Re: The Omnimaga BBS Project
Post by: Sorunome on May 26, 2014, 02:57:29 am
wha, nice, gotta give this a try!
EDIT: fail
Code: [Select]
[sorunome@sorunome-desktop ~]$ telnet derpy.juju2143.ca
Trying 137.175.175.153...
Connected to derpy.juju2143.ca.
Escape character is '^]'.
Username: Sorunome
Password:
Logging in...
Welcome to
                    ▀                ▄▄▄▄
▄▀▀█▀ █▀▄▀▄ ▀▀█▀█▀ ▀█   █▀▄▀▄ ▄▀▀▄▀ █   █ ▄▀▀▄▀
█  █  █ █ █   █ █   █ ▄ █ █ █ █  █   ▀▀▀█ █  █
 ▀▀   ▀ ▀ ▀  ▀  ▀▀   ▀  ▀ ▀ ▀  ▀▀ ▀  ▀▀▀   ▀▀ ▀
              The Coders of Tomorrow since 2001
Welcome back Sorunome! You are connection #1.
1 users online.
Usertype: normal | Posts: 6014
o> help
Help on built in commands

? [<command>] - Display help
BYE - Exit the command shell
ECHO <text to echo> - Echo text back to the console.
EXIT - Exit the command shell
HELP [<command>] - Display help
HISTORY - Display the command history
INFO - Provides some information about the current terminal.
LOGOUT - Exit the command shell
QUIT - Exit the command shell
TIMEIT <time> <message> - In <time> seconds, display <message>.
TIMER <time> <message> - In <time> seconds, display <message>.
WHOAMI - Returns your username.
o> whoami
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/telnetsrv/telnetsrvlib.py", line 992, in handle
    self.COMMANDS[cmd](params)
  File "./omnibbs.py", line 286, in command_whoami
    self.writeresponse(self.omnilogin['username'])
  File "build/bdist.linux-x86_64/egg/telnetsrv/telnetsrvlib.py", line 738, in writeresponse
    self.writeline(text)
  File "build/bdist.linux-x86_64/egg/telnetsrv/telnetsrvlib.py", line 746, in writeline
    self.write(text+chr(10))
TypeError: unsupported operand type(s) for +: 'instance' and 'str'

Connection closed by foreign host.
Title: Re: The Omnimaga BBS Project
Post by: Streetwalrus on May 26, 2014, 03:09:21 am
Wow nice. Also Eiyeron, isn't that solarized dark (the color scheme) ? I use the solarized palette with a custom dark scheme too.
Title: Re: The Omnimaga BBS Project
Post by: Eiyeron on May 26, 2014, 06:02:42 am
I love solarized in a way that is's very readable, and that's very nice of that. If it exsits a colorscheme as versatile as Solarized, but in shades of black, I'll have to try that.
Title: Re: The Omnimaga BBS Project
Post by: Streetwalrus on May 26, 2014, 06:23:52 am
Nah, solarized's blue is tons better than black. :P
Title: Re: The Omnimaga BBS Project
Post by: Eiyeron on May 26, 2014, 07:52:08 am
Meh, I love black. Shades of dark gray with text on bright colors are way more lisible. let's get back on topic, please.
Title: Re: The Omnimaga BBS Project
Post by: Keoni29 on May 26, 2014, 09:16:13 am
I will try to log in from my ez8 computer!
Title: Re: The Omnimaga BBS Project
Post by: ordelore on May 26, 2014, 11:03:48 am
(http://i.imgur.com/ALhrj70.gif)
That blue against black is painful. Any suggestion on fixing the ascci troubles?
Title: Re: The Omnimaga BBS Project
Post by: Sorunome on May 26, 2014, 11:12:37 am
Just noticed that it claims i was user type normal <_<
Title: Re: The Omnimaga BBS Project
Post by: bb010g on May 26, 2014, 12:42:25 pm
That blue against black is painful. Any suggestion on fixing the ascci troubles?
Use PuTTY? :)
EDIT:
Code: [Select]
brayden@archbook ~ % telnet derpy.juju2143.ca
Trying 137.175.175.153...
Connected to derpy.juju2143.ca.
Escape character is '^]'.
Username: bb010g
Password:
Logging in...
Welcome to
                    ▀                ▄▄▄▄
▄▀▀█▀ █▀▄▀▄ ▀▀█▀█▀ ▀█   █▀▄▀▄ ▄▀▀▄▀ █   █ ▄▀▀▄▀
█  █  █ █ █   █ █   █ ▄ █ █ █ █  █   ▀▀▀█ █  █
 ▀▀   ▀ ▀ ▀  ▀  ▀▀   ▀  ▀ ▀ ▀  ▀▀ ▀  ▀▀▀   ▀▀ ▀
              The Coders of Tomorrow since 2001
Welcome back bb010g! You are connection #13.
13 users online.
Usertype: normal | Posts: 207
o> whoami
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/telnetsrv/telnetsrvlib.py", line 992, in handle
    self.COMMANDS[cmd](params)
  File "./omnibbs.py", line 286, in command_whoami
    self.writeresponse(self.omnilogin['username'])
  File "build/bdist.linux-x86_64/egg/telnetsrv/telnetsrvlib.py", line 738, in writeresponse
    self.writeline(text)
  File "build/bdist.linux-x86_64/egg/telnetsrv/telnetsrvlib.py", line 746, in writeline
    self.write(text+chr(10))
TypeError: unsupported operand type(s) for +: 'instance' and 'str'

Connection closed by foreign host.
brayden@archbook ~ %
EDIT 2: The above is WHOAMI crashing, but it's after the break.
Title: Re: The Omnimaga BBS Project
Post by: ordelore on May 26, 2014, 12:50:12 pm
That blue against black is painful. Any suggestion on fixing the ascci troubles?
Use PuTTY? :)
Which is what I ended up using.
Title: Re: The Omnimaga BBS Project
Post by: ben_g on May 26, 2014, 01:13:22 pm
It seems to crash on the whoami command. Is that normal?

EDIT: stack trace:
Code: [Select]
o> whoami
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/telnetsrv/telnetsrvlib.py", line 992, in handle
    self.COMMANDS[cmd](params)
  File "./omnibbs.py", line 286, in command_whoami
    self.writeresponse(self.omnilogin['username'])
  File "build/bdist.linux-x86_64/egg/telnetsrv/telnetsrvlib.py", line 738, in writeresponse
    self.writeline(text)
  File "build/bdist.linux-x86_64/egg/telnetsrv/telnetsrvlib.py", line 746, in writeline
    self.write(text+chr(10))
TypeError: unsupported operand type(s) for +: 'instance' and 'str'
Title: Re: The Omnimaga BBS Project
Post by: Streetwalrus on May 26, 2014, 01:34:07 pm
Yay for reporting the same issue three times ! :P
Title: Re: The Omnimaga BBS Project
Post by: bb010g on May 26, 2014, 01:36:35 pm
Oh. Didn't catch Soru's...
/me derps
Title: Re: The Omnimaga BBS Project
Post by: annoyingcalc on May 26, 2014, 01:52:33 pm
Got this: See below


EDIT:read I was supposed to use putty




Edit 2: doing whoami crashes the client
Title: Re: The Omnimaga BBS Project
Post by: ordelore on May 26, 2014, 01:55:53 pm
Or you can be cool like me and use PuTTY to ssh to a Pi and then use telnet on that!
Title: Re: The Omnimaga BBS Project
Post by: Juju on May 26, 2014, 02:37:15 pm
Yay for reporting the same issue three times ! :P
Yep please don't report the exact same issue everyone else reported lol.

And I was already aware of all the issues anyway (UTF-8, whoami, etc.) This is still in development so everything may break for no reason while you're on it. I'll keep you updated, obviously.

EDIT: Both issues are fixed now.
Title: Re: The Omnimaga BBS Project
Post by: bb010g on May 26, 2014, 06:21:16 pm
profile kills the connection:
Code: [Select]
Username: bb010g
Password:
Logging in...

Welcome to
                    ▀                ▄▄▄▄
▄▀▀█▀ █▀▄▀▄ ▀▀█▀█▀ ▀█   █▀▄▀▄ ▄▀▀▄▀ █   █ ▄▀▀▄▀
█  █  █ █ █   █ █   █ ▄ █ █ █ █  █   ▀▀▀█ █  █
 ▀▀   ▀ ▀ ▀  ▀  ▀▀   ▀  ▀ ▀ ▀  ▀▀ ▀  ▀▀▀   ▀▀ ▀
              The Coders of Tomorrow since 2001
Welcome back bb010g! You are connection #2.
95 guests, 8 users: bb010g, fortytwo, Scipi, aeTIos, Legimet, Streetwalrus, Keoni29
2084 members posted 382234 posts in 17436 threads
Usertype: normal | Posts: 212
σ> profile
Username: bb010g
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/telnetsrv/telnetsrvlib.py", line 992, in handle
    self.COMMANDS[cmd](params)
  File "./omnibbs.py", line 314, in command_profile
    self.writeresponse("Posts: %s" % self.omnilogin['postcount'])
KeyError: 'postcount'
Title: Re: The Omnimaga BBS Project
Post by: Juju on May 26, 2014, 06:23:59 pm
Yeah you don't really have to post each time a command fail that usually means I'm messing up with it lol. But still, thanks.
Title: Re: The Omnimaga BBS Project
Post by: bb010g on May 26, 2014, 06:36:21 pm
What's the point of having TIME and TIMEIT?
Title: Re: The Omnimaga BBS Project
Post by: Juju on May 26, 2014, 06:39:16 pm
What's the point of having TIME and TIMEIT?
That was in the example.
Title: Re: The Omnimaga BBS Project
Post by: bb010g on May 26, 2014, 10:58:35 pm
Three things:
1. Putting \\ puts you in text entry mode forever (AFAIK):
Code: [Select]
σ> ECHO \\hi
... hi
... \\
... I can't exit
... //
...
2. PROFILE's rating field has too many colons:
Code: [Select]
σ> profile
bb010g
I do stuff!
Posts: 215
Registration time: 20121218T00:17:50+00:00
Last activity: 20140526T22:57:31+00:00
Online: True
Position: <b>LV5</b> Advanced (Next: 300)
Rating:: +18/-1
Gender: Male
Age: N/A
Location: ~/
3. Will you post the code for this when you're done?
Title: Re: The Omnimaga BBS Project
Post by: Juju on May 26, 2014, 11:27:48 pm
1. Interesting. I'll try this out.

2. Blame SMF.

3. Yep.
Title: Re: The Omnimaga BBS Project
Post by: CVSoft on May 27, 2014, 01:30:25 am
My TI-82 (http://i.imgur.com/wrHaBuG.jpg) wasn't old enough.
(http://i.imgur.com/WHk28Tvl.jpg) (http://imgur.com/WHk28Tv)

EDIT: Using TAZ in IBM/ANSI mode is the best way to go for Atari use.
(http://i.imgur.com/UM1rzeRl.jpg) (http://imgur.com/UM1rzeR)
Title: Re: The Omnimaga BBS Project
Post by: Juju on May 27, 2014, 01:36:48 am
Haha that's nice :D
Title: Re: The Omnimaga BBS Project
Post by: Sorunome on May 27, 2014, 06:25:33 am
That is awesome CVSoft O.O
Title: Re: The Omnimaga BBS Project
Post by: Streetwalrus on May 27, 2014, 06:45:51 am
It is. *.*
Title: Re: The Omnimaga BBS Project
Post by: Sorunome on May 27, 2014, 06:46:43 am
Also, is it just me or does it freez at 'Logging in...' currently?
Title: Re: The Omnimaga BBS Project
Post by: bb010g on May 27, 2014, 08:12:32 am
Also, is it just me or does it freez at 'Logging in...' currently?
Logs in just fine for me.
Title: Re: The Omnimaga BBS Project
Post by: Sorunome on May 27, 2014, 08:13:47 am
Also, is it just me or does it freez at 'Logging in...' currently?
Logs in just fine for me.
After letting it load while lunch it logged me in too, now <_<
Title: Re: The Omnimaga BBS Project
Post by: DJ Omnimaga on May 28, 2014, 12:26:25 am
The best part was CVSoft logging in from his TI-82. The day he manages to post a new topic or reply using one, this is definitively news material O.O

The rest is nice as well, though. I could manage to login fine by the way.
Title: Re: The Omnimaga BBS Project
Post by: bb010g on June 16, 2014, 09:48:29 pm
I'm getting refused connections in PuTTY.
Title: Re: The Omnimaga BBS Project
Post by: Juju on June 16, 2014, 09:52:36 pm
I'm getting refused connections in PuTTY.
That's normal, the server is not on.
Title: Re: The Omnimaga BBS Project
Post by: bb010g on June 16, 2014, 10:00:08 pm
:(

You should turn it on. Have you done any work on it recently?
Title: Re: The Omnimaga BBS Project
Post by: Juju on June 16, 2014, 10:00:33 pm
Not lately.
Title: Re: The Omnimaga BBS Project
Post by: DJ Omnimaga on June 17, 2014, 12:43:04 am
Is it because of missed payments again? >.< I noticed that the TIMGUL archives are down too.
Title: Re: The Omnimaga BBS Project
Post by: Juju on June 17, 2014, 12:45:41 am
No, the BBS was hosted on my computer and I never really brought it back up.

Edit: It's back up! The BBS, that is.
Title: Re: The Omnimaga BBS Project
Post by: Keoni29 on June 17, 2014, 03:41:33 am
When will we be able to browse the boards using this?
Title: Re: The Omnimaga BBS Project
Post by: Ivoah on October 23, 2014, 08:47:29 pm
I tried connecting, but telnet says that it's unable to connect to remote host
Title: Re: The Omnimaga BBS Project
Post by: Juju on October 23, 2014, 09:27:10 pm
It's not on for the moment.