CGTerm as an applet?

Started by xlar54, June 01, 2007, 04:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xlar54

Hey guys, wouldnt it be nifty if the code for CGTerm were implemented as an applet that you could access directly from this site?  Im a .NET guy, so active-something would probably be our flavor I suppose, but you get the idea.  I dunno if the code is open or not, or if its even possible, but its an idea.  In one of my moments of playing PacMan through some Java deal on someone's website, it kinda of dawned on me that maybe this is possible.

nikoniko

CGTerm is open source, though it's written in C and uses the SDL library. Aside from converting the whole shebang by hand, there are several machine-assisted approaches one could take, either running the source through a C-to-Java translator or using GCC with a Java backend to convert ASM to bytecode. Regardless, I'm sure some hand fixing would be necessary, and without a doubt the SDL stuff would have to be replaced with native Java bindings such as through sdljava, and the network code would have to be reworked. If you decide to try it, I'd recommend ripping out any features of CGTerm you don't think are essential, getting that stripped-down version working first, then adding in more features once it's proven stable.

Golan Klinger

Quote from: xlar54Hey guys, wouldnt it be nifty if the code for CGTerm were implemented as an applet that you could access directly from this site?
What purpose would this serve?
Call me Golan; my parents did.

Andrew Wiskow

Quote from: gklingerWhat purpose would this serve?
It'd be like people who go to www.c64friends.com and use the built-in IRC client there to go into the #c64friends IRC channel instead of using a real IRC client like mIRC.  I don't know WHY people do that...  *I* much prefer mIRC...  But I know they do it, nonetheless.

-Andrew
Cottonwood BBS & Cottonwood II
http://cottonwood.servebbs.com

nikoniko

Sometimes one can't install software on a machine being used (library, internet cafe, etc), but if Java isn't disabled such applets can come in handy.

Golan Klinger

Rather than trying to use CGTerm, what about building something upon JaC64? Have it setup with a terminal program and then add all the telnet accessible bulletin boards into the auto-dial directory and build a back-end hook to translate the phone number to an IP address. Seems like it might be easier and more authentic.
Call me Golan; my parents did.

OzOne

Quote from: xlar54Hey guys, wouldnt it be nifty if the code for CGTerm were implemented as an applet that you could access directly from this site?  Im a .NET guy, so active-something would probably be our flavor I suppose, but you get the idea.  I dunno if the code is open or not, or if its even possible, but its an idea.  In one of my moments of playing PacMan through some Java deal on someone's website, it kinda of dawned on me that maybe this is possible.
So people could login to telnet BBS's I'm thinking ?

Oz

xlar54

I think the nice thing about something like this is that it may help keep the scene alive. People go to web sites much more frequently than telnet BBSs (I have no stats to back this, but Id say its accurate).  Im a HUGE supporter of people who are willing to put up the hardware and make the BBS run.  As much as I love WinVICE, I have opinion that running a BBS via VICE is a good idea, but it could take away from those who invest the time and money into building a real system. Thats just my opinion of course.  Point is, this could help the scene a little bit. Just an idea.

Andrew Wiskow

Anything to help the "scene" sounds like a good idea to me.  I say, "Go for it!" ;-)

-Andrew
Cottonwood BBS & Cottonwood II
http://cottonwood.servebbs.com