[IPython-dev] Public-domain browser terminal interface

Brian Granger ellisonbg at gmail.com
Wed Jul 30 22:50:52 EDT 2014


Yes, that is really great! That will make it much easier to offer the
terminal in contexts where node.js isn't in the backend. Fantastic!

On Wed, Jul 30, 2014 at 7:47 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> 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.
>
> https://github.com/mitotic/pyxterm
>
> Thomas
>
>
> On 8 July 2014 13:42, William Stein <wstein at gmail.com> wrote:
>>
>> 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
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com



More information about the IPython-dev mailing list