Omnimaga
General Discussion => Technology and Development => Other => Topic started 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!
-
I tested from my work computer, it seems to work. Nice logo though, with my color scheme, it rocks!
-
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.
-
wha, nice, gotta give this a try!
EDIT: fail
[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.
-
Wow nice. Also Eiyeron, isn't that solarized dark (the color scheme) ? I use the solarized palette with a custom dark scheme too.
-
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.
-
Nah, solarized's blue is tons better than black. :P
-
Meh, I love black. Shades of dark gray with text on bright colors are way more lisible. let's get back on topic, please.
-
I will try to log in from my ez8 computer!
-
(http://i.imgur.com/ALhrj70.gif)
That blue against black is painful. Any suggestion on fixing the ascci troubles?
-
Just noticed that it claims i was user type normal <_<
-
That blue against black is painful. Any suggestion on fixing the ascci troubles?
Use PuTTY? :)
EDIT:
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.
-
That blue against black is painful. Any suggestion on fixing the ascci troubles?
Use PuTTY? :)
Which is what I ended up using.
-
It seems to crash on the whoami command. Is that normal?
EDIT: stack trace:
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'
-
Yay for reporting the same issue three times ! :P
-
Oh. Didn't catch Soru's...
/me derps
-
Got this: See below
EDIT:read I was supposed to use putty
Edit 2: doing whoami crashes the client
-
Or you can be cool like me and use PuTTY to ssh to a Pi and then use telnet on that!
-
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.
-
profile kills the connection:
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'
-
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.
-
What's the point of having TIME and TIMEIT?
-
What's the point of having TIME and TIMEIT?
That was in the example.
-
Three things:
1. Putting \\ puts you in text entry mode forever (AFAIK):
σ> ECHO \\hi
... hi
... \\
... I can't exit
... //
...
2. PROFILE's rating field has too many colons:
σ> 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?
-
1. Interesting. I'll try this out.
2. Blame SMF.
3. Yep.
-
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)
-
Haha that's nice :D
-
That is awesome CVSoft O.O
-
It is. *.*
-
Also, is it just me or does it freez at 'Logging in...' currently?
-
Also, is it just me or does it freez at 'Logging in...' currently?
Logs in just fine for me.
-
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 <_<
-
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.
-
I'm getting refused connections in PuTTY.
-
I'm getting refused connections in PuTTY.
That's normal, the server is not on.
-
:(
You should turn it on. Have you done any work on it recently?
-
Not lately.
-
Is it because of missed payments again? >.< I noticed that the TIMGUL archives are down too.
-
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.
-
When will we be able to browse the boards using this?
-
I tried connecting, but telnet says that it's unable to connect to remote host
-
It's not on for the moment.