-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Switch to xterm for the terminal emulator #1591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
"preact": "^4.5.1", | ||
"preact-compat": "^1.7.0" | ||
"preact-compat": "^1.7.0", | ||
"xterm": "^0.33.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for my own understanding, why are there some dependencies in package.json
and some in bower.json
? Are these in package.json installed by npm? Are we trying to move away from bower?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a general shift in the community from bower to npm where possible. The one glaring place where this is not yet feasible is MathJax.
Woo! We should look through the various open Issues pertaining to terminal and see which ones are closed by this. I know the terminal paste issue has been open for a long time. And we should also make sure this works without webpack if we really are going to rollback the webpack change for the legacy pages (I looked into this for a while last week, and it looked like a lot of work). |
Thanks @blink1073 :-) |
If we lose WebPack we also lose npm modules. I am actively working on a way to get everything to work in harmony: jupyterlab/jupyterlab#225 |
It could be that the classic notebook will need to similarly expose a public API for v5+. |
webpack is currently failing with |
@takluyver, awesome! That means adding |
@blink1073 have you figured out how to get runtime |
@minrk, each WebPack bundle will be an AMD module in the notebook, exporting the desired API. |
I think I'm close to cracking this nut ;). |
That's very exciting. Looking forward to the PR. Thanks for working on it. |
It's now failing in some Python code that checks that the expected JS files are in place - this probably just needs to be updated.
|
pjoin(components, "underscore", "underscore-min.js"), | ||
pjoin(components, "moment", "moment.js"), | ||
pjoin(components, "moment", "min", "moment.min.js"), | ||
pjoin(components, "term.js", "src", "term.js"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to replace it with a check for xterm.js? Or does the bundling mean there isn't a separate file for it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are explicit checks for bower modules, there is no need IMO to check for node_modules.
Thanks, let's see how we get on with this. |
\o/ Thank you all! The bot users of Wikimedia love you :) On Tue, Jul 5, 2016 at 11:07 PM, Thomas Kluyver notifications@github.com
Yuvi Panda T |
Thanks for this guys! Seriously.... so many analysts will stop hating me because of this fix. |
I've kinda of ported this to run on top of 4.2.1 with #1613. Note that I haven't touched js in a long time - this works for me, but might not work for everyone! |
Xterm is actively maintained and is being used in Jupyterlab.
cf #104 (comment)