-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Select and Copy output of Terminal panel #2512
Comments
@wiserweb i have just built the latest Che and can select, copy and paste from/to terminal. I am using Chrome. |
Thanks. @eivantsov I am using Chrome as well..... investigating on my end further. |
@eivantsov Firefox v48 and Chrome v53.0.2785.116 both exhibit the same behavior. Also tried with Firefox Development Edition v 50.0a2 (2016-09-19) without any add-ons. |
What's your Che version? Help > About? |
@eivantsov 4.7.2 |
Can you try the nightly build please? |
Yes, will do now. brb |
Ok, new to docker... so I have the new image (I think)
Trying to run it this way
Outputs the following
But nothing on localhost:8080 What might I be doing incorrectly... ? Image doesn't appear to start.
|
What's Give it a shot this way:
|
Yes, image ID. Tried that command, same result.
I will restart the docker host. |
@eivantsov Fresh boot.
Any clue what might be happening. The host is Ubuntu 16.04.
It's 3am my time... I will resume this tomorrow. Confirmed working on beta.codenvy.com, able to select text in Terminal. Issue may be related to setting CHE_HOST_IP and running on non localhost...? Initially host environment variable was set to
It is possible that could be causing the non-select behavior... ? Possible root cause. Confirmed w |
|
@eivantsov new command doesn't seem to bring up any instances. Docker ps is still empty. At least I can select text with the hosted edition at beta.codenvy.com so the root cause might be that it was configured with a different CHE_HOST_IP... cannot investigate until tomorrow, err, later today. Thanks for assistance. |
You need to add |
@eivantsov I think I found something. If started with CLI with che.sh the terminal output is not selectable. Perhaps the issue resides with the CLI script instead of Eclipse Che itself.
I will try -p 8080:8080 tomorrow to see if this makes a difference. |
@eivantsov Here's an update.
Results: ws-machine pane, text is selectable. Tested on localhost:8080, and using IP 192.168.1.111:8080 |
@wiserweb you aren't using a nightly image. I see |
Hi, @eivantsov , I just tried :nightly with pure docker commands, no CLI. And did a fresh pull of nightly images using
No Docker instances are initiated using these commands. When I use CLI I can select output in ws-machine but not in Terminal... this is odd. |
Here's the debug output. Could you kindly compare with expected value?
|
This output doesn't help. Please can you rerun with the CLI. 'Export CHE_VERSION=NIGHTLY' and then rerun. Thanks. |
Success!!! Steps to reproduce: Make changes to environment profile.
Ensure it contains
With regular user, export environment variables.
Note: 'nightly' must be lowercase, doesn't appear to work with uppercase. As regular user use env to verify environment variables have taken.
As root user, use env to ensure environment variables were preserved.
Start che nightly instance with root user.
Now able to select text in both ws-machine and Terminal panes. Big thanks to @eivantsov and @TylerJewell for helping to figure this one out. It seems that as of this writing the :latest seems to be a problematic build for selecting Terminal pane output. |
Ok - great! Then we can feel good that this is fixed in the 5.0 release stream. |
[Background]
I'm coming from cloud9 world which uses Ace editor.
[Issue]
With cloud9 it is possible to highlight/select terminal output. This does not seem possible with Eclipse Che at this time. This is problematic since your app may output warning/debug messages via the terminal and these must be typed in manually into your favourite search engine.
I'm hoping to be able to move all development to Eclipse Che.
Expected behavior:
Ability to highlight/select output terminal text for bidirectional copy/paste capability.
Observed behavior:
Unable to select text. However, Crtl-V works from host clipboard.
Che version: Latest
OS and version: Mint 17.4
Docker version: 1.11.2
Che install: Docker
Additional information:
The text was updated successfully, but these errors were encountered: