[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [bug #63217] Add OSC 52 support to set OS clipboard (incl
From: |
anonymous |
Subject: |
[screen-devel] [bug #63217] Add OSC 52 support to set OS clipboard (includes patch) |
Date: |
Sat, 15 Oct 2022 11:06:41 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63217>
Summary: Add OSC 52 support to set OS clipboard (includes
patch)
Project: GNU Screen
Submitter: None
Submitted: Sat 15 Oct 2022 03:06:38 PM UTC
Category: Feature Request
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: 4.99.0
Discussion Lock: Any
Fixed Release: None
Planned Release: None
Work Required: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 15 Oct 2022 03:06:38 PM UTC By: Anonymous
Hello!
The OSC 52 escape sequence allows for programs to write to the OS's clipboard,
which e.g. makes it possible to copy text programmatically, and/or from a
remote session without having to use the mouse.
Screen sorts of supports this when wrapping the OSC 52 sequence in DCS
markers, e.g. like this:
printf "\033P\033]52;c;$(printf "%s" "test" | base64)\a\033\\"
However, this doesn't work in nested screens.
The included patch adds OSC 52 support to screen itself, so the DCS markers
are no longer necessary. (They continue to work just fine, though.)
Best regards,
Nieko Maatjes
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 15 Oct 2022 03:06:38 PM UTC Name: screen.diff Size: 3KiB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=53860>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63217>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [screen-devel] [bug #63217] Add OSC 52 support to set OS clipboard (includes patch),
anonymous <=