delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/10/19/03:45:56

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 D86223857C59
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmx.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmx.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=badeba3b8450; t=1666165491;
bh=LbRjVB4vJaXUaZLcKsODSJKu2yQHQKRTotiJkVRMAQI=;
h=X-UI-Sender-Class:Date:Subject:To:References:Reply-To:From:
In-Reply-To;
b=M7ylbKrjwdTpqj7MNjHcwEEAWfe6HaJKuJBl5UycDEPWLwWeh10xvSgp2jvYquRkk
/HQpx6hQoOIZgkHJVkNh0aPNGC8l8XUthppotc8nR6vtLSqvSDe61QdmiJLSNn0Q31
kBfWQh14L8n1uDlWmroFmbrXu6qQMotMDqG12QRc=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Message-ID: <8819f31f-3e53-001a-e16a-03ae500e2f70@gmx.com>
Date: Wed, 19 Oct 2022 08:44:50 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.3
Subject: Re: substitute for xclip?
To: cygwin AT cygwin DOT com
References: <20221019065805 DOT GA17124 AT tik DOT uni-stuttgart DOT de>
From: Sam Edge <sam DOT edge DOT cygwin AT gmx DOT com>
In-Reply-To: <20221019065805.GA17124@tik.uni-stuttgart.de>
X-Provags-ID: V03:K1:3rCYXtj+LsUuZ/19rnOlbH5MS1ZBv21wYYBgMU9RUamTt8+x4aS
tOtPXYtVKlOAWl/k8QcmJl65+ZDXv2qf/Oa9C37DEwbJARY7hPoYZ2NGj+ychMAZElLwvxf
nnPhdOqJTJizwLy4lgQs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Z2NB/V7QYMQldG4hlQ/5459h
vKgYFj2XaiKMJcF21iuNIRpx1SzGltSuLp59p1oHaCgEBljYHeB0mLrxxhTd0u/wAlSTlnHpp
Wi/qUORVx5d9kzlpZDSdevgkVrqvY5t7UFXAY5hNhYMhs5jhtd+9yP8Tm7qEOQAplpolNgnWj
Im/HchQe8khr/fCxLXfWeDHCfo4Hqw8ILsp/kwgZP/yH/72wQHKvOphvGqTjlCoPVfXNeVBgc
bKzByBSKPSF7+R0C8LKBdvchKUUKqkxI6n7/gF8msN44sTnvTGv5mOxELWMcTYKmKNh6MyhNW
tmIcv3JmiJDLTiMqEavXo1daqLf8v96W49N1rCgESjqiW69Z2ow+tUwv1YuCsBdW+WDU+EvNM
Pk/q/5RgPvMf76xCM0NEJahbOv/PGqT42kdqWrEO3Ofu5XcHsWgnBClmO9btg1iUV+p0/GBBN
QiBgV4F9/pcNWDvKXkRUmmuIegc54QR0xbZZdj9C4dThUZ7VpTreAGvkugWegfQBvqMwQpn1r
TUP4fSa9S+z9iEbYSHD5rQVPocui7Vsz2y9iE7bVzmCzJB+rI+efq38fLsXS77DXNzMix1+63
fUMpf6AnFvmAAGaGFUhYGFM2y3nUv7TUh+/NBYAguWHti
X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi there.

In the absence of a Cygwin-native utility, how about?

x="$(powershell -command Get-Clipboard)"

You can pipe to the Windows 'clip' utility to go the other way or use
'powershell -command Set-Clipboard'.

But I agree, a Cygwin utility would be nice, unless there already is one?

--
Sam Edge

On 19/10/2022 07:58, Ulli Horlacher wrote:
> With Linux I am using xclip to read the X11 clipboard.
> Is there a cygwin equivalent to read the Windows clipboard?
>
> My use case is:
> The user copies file names to the clipboard and then starts a program
> which processes these files.
>
>

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019