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 ECE4F3857376
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo.net
Message-ID: <47e0b079-1e4b-6b85-9627-81f04c0aca91@towo.net>
Date: Thu, 20 Oct 2022 05:23:50 +0200
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>
From: Thomas Wolff <towo@towo.net>
In-Reply-To: <CAKwdsS-QwFxpB0pG+3QCvjipHuB-e09sdGFJH01AG3YaVL7CeA@mail.gmail.com>
X-Provags-ID: V03:K1:iRbqhPawwdKOD9t3Ijx3gbiw96CuLX5DgUiDft8jVysCQd2aWmn
 NdC4F9JVjRtBjm78UEXMDELCQOovbevl8IUARB3K28Wh0l12nqcweylF/Agye/bhsl0Di2N
 gXaxzLNOJXAF5YqaCRqFl/Kmm57SM++zK+uSnuPBkxTiYymQTyxeKUjdNKjMn2lfr70USOz
 xdGkku9YMjwhsCcslkkSw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:KGnTqm+Nj8U=:p0CTxAm9vFC96YOwO3fx2F
 9kGHc/NHjERZUwztuLVX7dIz73RK+HG1CWWAnD+Ik4dcfEJQ+Et5uNfEb1ljd9Tf0uNq1G5bN
 R0JLKTVS0BrOIS83fjwj+e0gm97zVCMrjS5p1uhjOAZd4dCdY0GrztXBujgE0gmtvGw7bzJnb
 snjiqfurfrkgHrpNN3dqyhDEOr/L3nVAXchGU2bx6FhOyyAVcFbdVAx6YiSREPpvlTRZEZOM+
 GdbG4H1meUKsK/7d486+EWbUx5oYS8d04sjutHvrgv0Pg+RtGqZVfVAQJ0dAltuI6kAfJfjJ8
 jeygcsxkoKnbyhaOqe4K+df4lopiy/cZJsRY5hXD4GkZQGcBVvTnN69cY1f1njl+Sfm2xiABe
 nc0mwjk88cY5tNX4P5lVeL2XsWCJYcO5WjcMyNEtnACqTBDjYz6vL7Rz73hMSzmptIjEzrgZG
 +bTPEahsDgRPBhn+jZxbdOfe5j2cfLw0q4snEJZfoYUjc9BRJqmkPXT0aKKnzkEKiqBVngDf/
 P0Knkic4CEoK2D3GvvkOR7zcdOosXixGHEw3A0ChFCNRT10D807NlVVewcv2HVZT4S45GInCa
 t3oNkqrh/VL/nyi4arXa7ieJROLwIh0m1GQ66Rzr8LaK6ZZ3kJLkqcX55suFxhd5vEwv3loNY
 nYQ+DVvQ/FPz/Tr/2Me6x21fYBYpNEQLBKRj0pjs7aHU0WraGwRBTYeiKJWqnvqMWRg20D2Zn
 VOEgd2e6bm+4S5eBxJdz/r6e3jdVgU/pQRPfiJUzTdFLRf8mIaq+I5An37OTsgQfmyVWzp1bB
 YV5ZMrY
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
 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@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>
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>



Am 19.10.2022 um 11:01 schrieb Backwoods BC:
> 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'
> 2. Redirection to/from /dev/clipboard
>
There is also xsel and xclip; both need a running X server.
Note that *clip, xsel and xclip do not adapt character encoding, should 
you wish to transfer text between terminals of different 
encoding/locale. /dev/clipboard applies transparent character encoding 
conversion (as does the powershell trick).

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