X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 X-Virus-Scanned: USTUTT mailrelay AV services at mx4.rus.uni-stuttgart.de Date: Wed, 19 Oct 2022 14:58:42 +0200 From: Ulli Horlacher To: cygwin AT cygwin DOT com Subject: Re: substitute for xclip? Message-ID: <20221019125842.GA1210@tik.uni-stuttgart.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <20221019065805 DOT GA17124 AT tik DOT uni-stuttgart DOT de> MIME-Version: 1.0 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 AT tik DOT uni-stuttgart DOT de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF: -- 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