-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Paste into Jupyter terminal? #104
Comments
I've noticed that I have to right click inside the little term js widget to get copy paste to work. That definitely needs a fix. Thanks for reporting it! |
See also chjj/term.js#37 and chjj/term.js#51. |
Looks like this has been resolved, yet I'm still not able to paste into the Jupyter terminal (in Ubuntu/Firefox). I'm running jupyter via your current jupyter/datascience-notebook docker image, seems like it should be recent enough? Any hints on debugging this? |
@cboettig I don't think this is in the current released version, is set to milestone 4.1 which hasn't been released yet. |
I can still repro this with the 4.1rc1 :( |
Can someone re-open this? This is still happening (Firefox on Linux) |
Some further clarification: The bug preventing paste in all browsers is fixed in notebook 4.1 (term.js 0.0.7). The bug preventing Firefox from pasting is apparently separate (chjj/term.js#51), and fixed in term.js master, but hasn't seen a release. There's nothing for us to do but wait for term.js 0.0.8. |
Actually, the fix hasn't been merged into master, and term.js development seems to have stopped :( |
I'm not sure if this is a dumb question or not, but how are you getting pasting to work? My Jupyter installation is:
|
@aggFTW Are you using Firefox? I think the fix for that is still not released. |
I'm using Chrome. |
It sounds like this is working for some people. For me, right clicking on the terminal does not show the paste option in Chrome Firefox or even IE. Running Windows 7 on the client side and Jupyter version 4.1.0 on remote server. The server is Ubuntu 14.04. |
Hey guys, Just taken a look into this again as while it's not really a huge issue it is a a pain in the ass... and then i foudn this: https://github.com/sourcelair/xterm.js A maintained fork of the unsupported term.js. Running a local instance myself and it seems like it solves this problem and a host of others, #1227 for instance. Any chance we can get term.js swapped out for xterm.js? I have no idea how much work is entailed in doing this, so feel free to shout at me for asking you to move mountains... Cheers |
@rgbkrk I think you were looking into this. Do you have a feel for how easy it would be to swap xterm.js in place of term.js? |
@takluyver, not hard at all ;). #1591 |
Fixed by #1591 |
I can't copy anything from the Jupyter terminal. I am using jupyter-client 5.2.0 and jupyter-core 4.4.0, inside an Ubuntu 17.10 virtual machine. Paste works fine, just can't copy anything from the terminal. Browsers tested: Chrome version 63, Firefox version 57 and Microsoft Edge. The xterm.js doesn't output anything to the clipboard when copying something from the jupyter terminal. Is there a fix for this issue? |
I can paste words by pressing shift+insert button |
You can paste text into the terminal doing shift+right click on the terminal and then select paste |
Is there any way to paste text into the Jupyter terminal?
On chrome I'm able to copy from the terminal no problem, but can't figure out how to get text in.
The terminal is quite handy, but being unable to paste in snippets of text makes it difficult to execute larger commands. I may just not have been able to figure out how to do it.
The text was updated successfully, but these errors were encountered: