Skip to content
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

Support for ANSI OSC 52? #206

Open
notrev opened this issue Apr 16, 2019 · 2 comments
Open

Support for ANSI OSC 52? #206

notrev opened this issue Apr 16, 2019 · 2 comments

Comments

@notrev
Copy link

notrev commented Apr 16, 2019

Does ROXTerm currently supports ANSI OSC 52 escape sequence?

I currently can't copy/yank things from a remote server via SSH + tmux running on the remote machine into my local clipboard. I have read that it is possible to have it working with ANSI OSC 52.

I have tried it with this command in the remote machine:
printf "\033]52;c;$(printf "%s" "blabla" | base64)\a"

It should put "blabla" into my local clipboard, but it does not happen.

@realh
Copy link
Owner

realh commented Apr 16, 2019

This sounds well worth supporting, but it needs to be handled by vte I think, so I've raised an issue for it on GNOME's gitlab, but just been told they already had an issue for it on their old bugzilla. Apparently there are security risks.

@realh
Copy link
Owner

realh commented Feb 6, 2024

This is now supported in the osc52-vte branch. It requires vte to be patched. The patch is not likely to be accepted upstream and I don't want to have to maintain a fork of vte indefinitely, so this branch will remain experimental for now. I do have an alternative plan, but it involves a "shim", which isn't ideal for efficiency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants