[IPython-dev] Public-domain browser terminal interface

William Stein wstein at gmail.com
Tue Jul 8 16:42:23 EDT 2014


On Tue, Jul 8, 2014 at 1:31 PM, Fernando Perez <fperez.net at gmail.com> wrote:
>
> On Tue, Jul 8, 2014 at 3:26 PM, William Stein <wstein at gmail.com> wrote:
>>
>> What about term.js?  It's MIT licensed (partly due to me asking
>> nicely), and is what many online IDE projects (including
>> SageMathCloud) use:
>>
>>    https://github.com/chjj/term.js/
>
>
> Thanks, that's the link I had in mind!!
>
>>
>> Maybe it isn't an option for you because the backend is Node.js
>> instead of Python.  I just wanted to double check, just in case.
>
>
> Not a problem at all. We're thinking of this for the multiuser server, which
> has a Node component as well, so it's perfect.
>
> We might take you up on your 'pile of code' offer later, but we'll let you
> know if we have the bandwidth for it. To start with, we'll probably be OK
> with the plain vanilla code as-is.
>
> Thanks again!

One particular thing I added was resizing the backend pty in response
to changing the terminal size.  This involved a little bit of new
tricky node.js code.
It works in node 0.8.x, but didn't work _last time I tried_ with Node
0.10.x, which is why all SageMathCloud projects are still running
0.8.x.

Anyway, if you guys go with term.js you'll inevitably run into the
same issue, so keep me posted.

 -- W/illiam

>
> f
>
>
> --
> Fernando Perez (@fperez_org; http://fperez.org)
> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
> fernando.perez-at-berkeley: contact me here for any direct mail
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org



More information about the IPython-dev mailing list