Am 19.10.2022 um 11:01 schrieb Backwoods BC:
On Tue, Oct 18, 2022 at 11:59 PM Ulli Horlacher
<frams...@rus.uni-stuttgart.de> wrote:
With Linux I am using xclip to read the X11 clipboard.
Is there a cygwin equivalent to read the Windows clipboard?
There are 2 ways to access the clipboard:
1. The commands 'getclip' and 'putclip'
2. Redirection to/from /dev/clipboard
There is also xsel and xclip; both need a running X server.
Note that *clip, xsel and xclip do not adapt character encoding, should
you wish to transfer text between terminals of different
encoding/locale. /dev/clipboard applies transparent character encoding
conversion (as does the powershell trick).
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple