X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 942553853561
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=1666250829;
 bh=a3+R+ZqhJM6mf4MJfqcH2zWjFX7Hzo8IDRc0Lxyo1Z4=;
 h=X-UI-Sender-Class:Date:Subject:To:References:From:Reply-To:
 In-Reply-To;
 b=MiJUEUgAJe5xIKqawTia5ura9YGXP8fpXXNY5THJ+4ENGjy2SoS9EV3j9bHCmsHBs
 XcP0woEfP0D6e4cjgYCNfTKfxmGXU4qjyK7EfvNRxrPalgKRarLjNQyNBq+NIkBNaj
 ohd830JEJX+KVdP/4d+YLrJMzkixCemd2ulLJieM=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Message-ID: <ff0483b8-f052-c927-5e8a-ea12a6d33f7b@gmx.com>
Date: Thu, 20 Oct 2022 08:27:09 +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@cygwin.com
References: <20221019065805.GA17124@tik.uni-stuttgart.de>
 <CAKwdsS-QwFxpB0pG+3QCvjipHuB-e09sdGFJH01AG3YaVL7CeA@mail.gmail.com>
 <20221019125842.GA1210@tik.uni-stuttgart.de>
 <20221020005205.00000623@online.de>
Content-Language: en-GB
From: Sam Edge <sam.edge.cygwin@gmx.com>
In-Reply-To: <20221020005205.00000623@online.de>
X-Provags-ID: V03:K1:kS/GbYwReNo1C14kWR6xDwXtCoj85hqMv0txpyJOsN4ywgYNvLM
 wKPtHXuDzheuIJoXGzfFYItIUTlZLB+Wb8UszF+3+6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JoblxgzTtiEO7L342t4
 AwFt86TekkKYjFVQt2TN6TGuH27oCBYYdTrJz3QBqrvyCiimpuMdJD+mOJ8SC7MEnoW6H2FNX
 OzQbFy/whN3a0iXjnDzGaGbg3rCN6yD4vA0jce8ZsB6b1M35Z+xuVrF5NsEaKatURlGv9oznF
 xaGEQhAq5qJrPMjZwOdklIyuCvyfBnJLuxJvpdEBMFfpuqBnxDfixo8SVXb3UEgi+umURQVrV
 g4wgLwc9KvuYKhE8UK5Q4dSn3ndnRsm9eWMf6sY+fmY4wclqGB6cnrlCvGDeop+eiYyhREoYY
 9VPnEjiZh3VLwT+O5FR/AFjSNqxYP6mxFzou++z8uu97dYPcUSJTMsJ9Qh7xuWqk6e4IsMNxv
 RZrw0mOn0xOIfzgT4GLU0BjvPin1LQGBBuTIROC2lh0H+ENJ8A9LWCocw2ElRu+dHSh7IzzjK
 R1+Tp4pPM9xU8HPKuVNijmZOOze5YSroR/Boyy3omHC8h5mJRQSBNzM5DGczm0TqG3QscTEK5
 +idEzudScJt5iXEM1L8T5KxbwRZ93r4diXwtF+6vPVO66wWBlKs/3OPgAFWgIeW1zBCmI0D3i
 20uvUra+9TeGnFTS3PVc6w87q1y4KQ1h/7bb+VjVQa7UehQlVEg93/UGHIJDBcBDGxJ5utFux
 xpI3ZyVuD2meWs0ODloOuFpZkRVdB+YPLIMTHjvBiqU1b
X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, 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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 19/10/2022 23:52, Oliver Schoede wrote:
> Hi!
>
> On Wed, 19 Oct 2022 14:58:42 +0200
> Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
>> 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.
>>
>
> It looks to me like you copied the file, not the file name?
>
To clarify the above, Windows has a non-text clipboard data type when
'copying' a file in the File Explorer which encodes additional
information other than its path. This is to allow the equivalent 'paste'
function in Explorer and other file-accepting GUI applications to work
more intelligently. Unfortunately, Cygwin's /dev/clipboard and
get/putclip only process text formats.

I imagine your X file manager is simply copying a textual representation
of the file path to the clipboard when you choose 'copy' which of course
can be extracted by scripts etc. It appears that Windows Explorer
doesn't also place a textual representation onto the clipboard (the
Windows clipboard allows multiple representations to exist
simultaneously) which is what would be required for Cygwin to use it at
present.

--
Sam Edge


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