substitute for xclip?

Ulli Horlacher framstag@rus.uni-stuttgart.de
Wed Oct 19 12:58:42 GMT 2022


On Wed 2022-10-19 (02:01), Backwoods BC wrote:
> On Tue, Oct 18, 2022 at 11:59 PM Ulli Horlacher
> <framstag@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'

W10dev:~: getclip
bash: getclip: command not found

I found getclip in package cygutils-extra.



> 2. Redirection to/from /dev/clipboard

https://fex.rus.uni-stuttgart.de/fop/jFZ6T7wI/X-20221019141237.png

I have selected [copy] in the file browser, but /dev/clipboard is empty.
Also getclip gives me no output.


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<CAKwdsS-QwFxpB0pG+3QCvjipHuB-e09sdGFJH01AG3YaVL7CeA@mail.gmail.com>


More information about the Cygwin mailing list