substitute for xclip?
Thu Oct 20 03:23:50 GMT 2022
Am 19.10.2022 um 11:01 schrieb Backwoods BC:
> On Tue, Oct 18, 2022 at 11:59 PM Ulli Horlacher
> <email@example.com> 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).
More information about the Cygwin