realh / roxterm

A highly configurable terminal emulator
GNU General Public License v2.0
101 stars 12 forks source link

Support for ANSI OSC 52? #206

Open notrev opened 5 years ago

notrev commented 5 years ago

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 commented 5 years ago

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 commented 8 months ago

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.