From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx4.rus.uni-stuttgart.de (mx4.rus.uni-stuttgart.de [IPv6:2001:7c0:2041:25::a:4]) by sourceware.org (Postfix) with ESMTPS id F34CF3858D39 for ; Wed, 19 Oct 2022 12:58:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F34CF3858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rus.uni-stuttgart.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=rus.uni-stuttgart.de Received: from localhost (localhost [127.0.0.1]) by mx4.rus.uni-stuttgart.de (Postfix) with ESMTP id B99A633 for ; Wed, 19 Oct 2022 14:58:44 +0200 (CEST) X-Virus-Scanned: USTUTT mailrelay AV services at mx4.rus.uni-stuttgart.de Received: from mx4.rus.uni-stuttgart.de ([127.0.0.1]) by localhost (mx4.rus.uni-stuttgart.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PFVqfy-RnvJv for ; Wed, 19 Oct 2022 14:58:42 +0200 (CEST) Received: from fex.rus.uni-stuttgart.de (fex.rus.uni-stuttgart.de [129.69.1.129]) by mx4.rus.uni-stuttgart.de (Postfix) with SMTP for ; Wed, 19 Oct 2022 14:58:42 +0200 (CEST) Date: Wed, 19 Oct 2022 14:58:42 +0200 From: Ulli Horlacher To: cygwin@cygwin.com Subject: Re: substitute for xclip? Message-ID: <20221019125842.GA1210@tik.uni-stuttgart.de> Mail-Followup-To: cygwin@cygwin.com References: <20221019065805.GA17124@tik.uni-stuttgart.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed 2022-10-19 (02:01), Backwoods BC wrote: > On Tue, Oct 18, 2022 at 11:59 PM Ulli Horlacher > 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: