Comments (15)
Is someone working on a fix?
from gotty.
Hi, if you use this part of the conf, you will be able to use the default clipboard manager of firefox. In this case, you need to press Ctrl+C and Ctrl+V like normal text , nothing will be catch by hterm.
copy_on_select = false
use_default_window_copy = true
clear_selection_after_copy = false
ctrl_c_copy = true
ctrl_v_paste = true
from gotty.
Seeing the same problem with Firefox 43 on Fedora Linux and Windows 7. Specifically:
- highlight then copy with ctrl + shift + c does copy to clipboard
- ctrl + shift + v doesn't paste
Tested with the defaults (ctrl_c_copy = false
& ctrl_v_paste = false
) and after verifying the functionality works in Chrome 47.
from gotty.
Which platform are you using?
If it's OSX and chrome;
To copy, you can just select text and it'll send to your clipboard automatically.
And you can use Command+V to paste
from gotty.
Sorry, I'm using slackware linux 64 bits with firefox.
I thought it was a missing feature, but I tested now on google chrome and it seems to work. It's not a feature request, just a firefox bug. And it's just "paste" that doesn't work, not "copy".
from gotty.
I tried "shift+insert", "middle-click" and "ctrl+v". Control+v makes gotty print "^M", as follows:
bash-4.3$ ^M
bash: $'\r': command not found
My system use a UTF-8 encode, maybe it's something related. I will start to use some WebKit based browser, thanks!
from gotty.
I'm experiencing the same issue under Firefox 39.0.3 on windows and OSX. It's kindof weird it doesn't work with GoTTY, where it works with GateOne (which uses pretty much the same principle).
from gotty.
What about using these options?
https://github.com/yudai/gotty/blob/master/.gotty#L66-L67
from gotty.
Hi @yudai,
The problem with ctrl+c is that if you have -w
enabled, this will close the connection.
test it out: gotty -w top
from gotty.
@jungle-boogie As for copy on Chrome, it seems like just selecting text by your mouse is the best way to copy.
However, it looks firefox has some issue around copy&paste. Let me look into it.
from gotty.
Hi @yudai,
Yes, your observations with firefox are correct regarding copying text; however, ctrl-c with the -w
will still close the connection in Chrome, just as I would expect.
from gotty.
Just tested in Firefox and looks like ctrl+v is working just fine but ctrl+c isn't. The "text copied icon" appears on the screen but it's not really copying (old data remains in clipboard). Tested on CentOS 7.1, Firefox ESR: firefox-38.2.1-1.el7.centos.x86_64. Both paste & copy is working in Chrome though.
I've configured following lines in config file:
ctrl_c_copy = true
ctrl_v_paste = true
and Gotty has been executed using -w argument as well.
from gotty.
I'm not working on this issue right now.
PR is welcome.
from gotty.
Now the terminal library is default to xterm, which should support copy&paste on Firefox.
Please reopen if the issue still exist.
from gotty.
@yudai I try to copy text to system clipboard when I am under a tmux session.
The copy does not work in both chrome and Firefox. Any help?
In tmux, I have set set -g clipboard
from gotty.
Related Issues (20)
- Failed to execute command HOT 2
- Installation through `go install` fails because of dependency issue HOT 4
- New line is not rendered on chrome 101 HOT 1
- HomeBrew installation requires intel architecture HOT 1
- Default port
- fatal error: runtime: bsdthread_register error HOT 5
- Gotty multi users and Docker and Helm
- Can I use ldap authentication before user login ?
- The browser terminal cannot display emoji HOT 3
- gotty_darwin_arm ?
- Error "Failed to authenticate websocket connection" from Jmeter tool
- It's great, it would be perfect if it can continue to be packaged as web nc
- brew installation error
- New needs and suggestions,and ask for help
- build xterm.ts more errors
- 📣 Maintained fork at sorenisanerd/gotty 📌
- Limited pasting characters
- Does not work on MacOS - produces a crash
- Has anyone upgraded this project to the latest go sdk version?
- Auto HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotty.