News for hackers. Stuff that matters.
Re:Unix-like virtual shell inside browser by twism on Sunday January 24, 2010 @06:37PM (#1074006)
I wish I knew about terminal.js before I started working on an implementation of a shell in the browser: http://tsh.ashafa.com/

I needed more than the traditional input text type or textarea for input I saw all the time while I was researching a solution.

Re:Unix-like virtual shell inside browser by kordless on Sunday January 24, 2010 @10:45PM (#1074333)
I've been working on something like this as well, and your approach is closer to what I've done than terminal.js. To me, it makes more sense to pass the commands back to the server for parsing and handling - let JS just be the display handler. Oh, I like the tab completion stuff too.

Your source code indicates it may have an Open Source license on it. Do you have the raw source available somewhere? Happy to share what little I have done so far.

Re:Unix-like virtual shell inside browser by twism on Monday January 25, 2010 @06:42AM (#1074876)
Thanks and yes I will put the entire source on github as soon as I clean it up. The current un-minified javascript can be found here:

http://tsh.ashafa.com/static/global.js

It was really a quick experimental hack that turned into something worth dedicating a little more time to. Not my best javascript at all.