the doctor wrote to Perl / ANSI Heads <=-
Okay, someone on here (perhaps the author of Syncterm) might be able to help.
I thought, what would be a cool joke in my BBS software would be to
have a screen saver. I found this really neat ascii fish tank app in perl.
http://www.robobunny.com/projects/asciiquarium/html/
This could turn into one of those quests, where I just have to do it,
and I end up wasting years of my life trying to write an ANSI escape sequence animation library. I can't even make my full screen editor function right...
(;
Any ideas?
Okay, someone on here (perhaps the author of Syncterm) might be able to help.
I thought, what would be a cool joke in my BBS software would be to have a screen saver. I found this really neat ascii fish tank app in perl.
http://www.robobunny.com/projects/asciiquarium/html/
I can easilly call this using pty, like any other external, and put all the code into to do that. Works *great* on a linux term window.
Dies horribly on anything else. It seems to be using loads of ansi codes that are obscure, but supported in a linux term window.
This could turn into one of those quests, where I just have to do it, and I end up wasting years of my life trying to write an ANSI escape sequence animation library. I can't even make my full screen editor function right...
(;
--- KEVINL wrote --
The really good news for you is that it is using curses, so all of th
escape sequences are actually picked out by the curses library rathe
than asciiquarium itself. And you can choose which terminal curse
thinks it is talking to by setting the TERM environment variabl
before spawning the screensaver. I'm not sure what language your BB
is running, but in C the sequence would be
--- JAS HUD wrote --
sounds like a cool idea. btw, i checked out your bbs sofware the othe
day and i found it very refreshing. also,its web interface is nice
The <something> in step 2 is the bear. My system has a terminfo for "ansi.sys" which looks pretty close, so you might get there with putenv("TERM=ansi.sys"). Other reasonable possibilities are "ansi.sys-old" and "ansi". There are a whole bunch of others listed
on my system in /usr/share/terminfo/a . You can read what they mean
with infocmp, e.g. "infocmp ansy.sys" :
The Doctor wrote to JAS HUD <=-
--- JAS HUD wrote --
sounds like a cool idea. btw, i checked out your bbs sofware the othe
day and i found it very refreshing. also,its web interface is nice
Complements! Wow. You just made my year. I haven't gotten a BBS
program type complement in ages! (Most people, even former BBS authors think I'm just a little bit crazy).
Martin Demello and I are really pushing to get the software into some
sort of releasable state. I'm really interested in finding out what people want, so I'm not wasting effort.
For instance, to people want to download qwk packets and use offline readers? Does anyone do this anymore?
The Doctor wrote to KEVINL <=-
Thank you!!
It works now. The system is written in Ruby, because I really don't
like C and my friend talked me out of doing it again in Pascal.
After messing around with pty in Ruby for a while and getting nowhere,
I realized that the easy solution was just to add the line:
$ENV{'TERM'} ='ansi.sys';
Thanks again!
I sure do! My work blocks all outgoing ports except 80 (http) and 443 (https), so telnet and ssh BBSes are officially unavailable. QWK letsNot 100% sure on that, because the best of my knowladge when Synchronet does its QWK download I think it uses a web interface of the FTP protocol.... But, if your not using SSL on your BBS, why not map the rlogin or another telnet port to 443 and try telnet'ing in on port 443. That'd allow you to keep
me stuff everything on my laptop and read over my lunch break.
--- KEVINL wrote --
The Doctor wrote to JAS HUD <=
I sure do! My work blocks all outgoing ports except 80 (http) and 44 (https), so telnet and ssh BBSes are officially unavailable. QWK let
me stuff everything on my laptop and read over my lunch break
--- KEVINL wrote --
Happy to help, glad to see it working for you
For instance, to people want to download qwk packets and use offline readers? Does anyone do this anymore?
John Guillory wrote to Kevinl <=-
Re: Re: Term::Animation
By: Kevinl to The Doctor on Tue Aug 17 2010 06:04 am
I sure do! My work blocks all outgoing ports except 80 (http) and 443 (https), so telnet and ssh BBSes are officially unavailable. QWK lets
me stuff everything on my laptop and read over my lunch break.
Not 100% sure on that, because the best of my knowladge when
Synchronet does its QWK download I think it uses a web interface of the FTP protocol.... But, if your not using SSL on your BBS, why not map
the rlogin or another telnet port to 443 and try telnet'ing in on port 443. That'd allow you to keep port 23 open for normal telnet and have
a port 443 for your work site.... Either that or map your ftp (if its
not really used much) to port 443, then use ftp://user:pass@yourbbs.com:443/ from your web browser to download the packet ....
I'm not sure how I'm going to make a ruby script run on a low port. The BBS itself runs on 2323 but my router is doing port translation. I don't know how well that works with ftp...
It works now. The system is written in Ruby, because I really don't like
C and my friend talked me out of doing it again in Pascal.
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 105 |
Nodes: | 16 (0 / 16) |
Uptime: | 08:44:54 |
Calls: | 5,904 |
Calls today: | 4 |
Files: | 8,496 |
D/L today: |
333 files (138M bytes) |
Messages: | 343,268 |