<div dir="ltr"><div>The author of GraphTerm has just contacted me to say that he's pulled out the plain web terminal component - a combination of frontend stuff from term.js and updated Python code on the backend (so we don't have to handle more JS than we have to). It's BSD licensed, based on Tornado, uses websockets and appears to support Python 3, and Dr. Saravanan says he'd be happy to help us integrate it into IPython.<br>

<br><a href="https://github.com/mitotic/pyxterm">https://github.com/mitotic/pyxterm</a><br><br></div>Thomas<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 July 2014 13:42, William Stein <span dir="ltr"><<a href="mailto:wstein@gmail.com" target="_blank">wstein@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Tue, Jul 8, 2014 at 1:31 PM, Fernando Perez <<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>> wrote:<br>


><br>
> On Tue, Jul 8, 2014 at 3:26 PM, William Stein <<a href="mailto:wstein@gmail.com">wstein@gmail.com</a>> wrote:<br>
>><br>
>> What about term.js?  It's MIT licensed (partly due to me asking<br>
>> nicely), and is what many online IDE projects (including<br>
>> SageMathCloud) use:<br>
>><br>
>>    <a href="https://github.com/chjj/term.js/" target="_blank">https://github.com/chjj/term.js/</a><br>
><br>
><br>
> Thanks, that's the link I had in mind!!<br>
><br>
>><br>
>> Maybe it isn't an option for you because the backend is Node.js<br>
>> instead of Python.  I just wanted to double check, just in case.<br>
><br>
><br>
> Not a problem at all. We're thinking of this for the multiuser server, which<br>
> has a Node component as well, so it's perfect.<br>
><br>
> We might take you up on your 'pile of code' offer later, but we'll let you<br>
> know if we have the bandwidth for it. To start with, we'll probably be OK<br>
> with the plain vanilla code as-is.<br>
><br>
> Thanks again!<br>
<br>
</div>One particular thing I added was resizing the backend pty in response<br>
to changing the terminal size.  This involved a little bit of new<br>
tricky node.js code.<br>
It works in node 0.8.x, but didn't work _last time I tried_ with Node<br>
0.10.x, which is why all SageMathCloud projects are still running<br>
0.8.x.<br>
<br>
Anyway, if you guys go with term.js you'll inevitably run into the<br>
same issue, so keep me posted.<br>
<br>
 -- W/illiam<br>
<div class="im HOEnZb"><br>
><br>
> f<br>
><br>
><br>
> --<br>
> Fernando Perez (@fperez_org; <a href="http://fperez.org" target="_blank">http://fperez.org</a>)<br>
> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)<br>
> fernando.perez-at-berkeley: contact me here for any direct mail<br>
><br>
</div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> IPython-dev mailing list<br>
> <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
><br>
<br>
<br>
<br>
--<br>
William Stein<br>
Professor of Mathematics<br>
University of Washington<br>
<a href="http://wstein.org" target="_blank">http://wstein.org</a><br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br></div>