public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Thomas Wolff <towo@towo.net>
To: cygwin@cygwin.com
Subject: Re: substitute for xclip?
Date: Thu, 20 Oct 2022 05:23:50 +0200	[thread overview]
Message-ID: <47e0b079-1e4b-6b85-9627-81f04c0aca91@towo.net> (raw)
In-Reply-To: <CAKwdsS-QwFxpB0pG+3QCvjipHuB-e09sdGFJH01AG3YaVL7CeA@mail.gmail.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).

      parent reply	other threads:[~2022-10-20  3:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19  6:58 Ulli Horlacher
2022-10-19  7:44 ` Sam Edge
2022-10-19  7:54   ` Sam Edge
2022-10-19  9:01 ` Backwoods BC
2022-10-19 11:56   ` Sam Edge
2022-10-19 12:58   ` Ulli Horlacher
2022-10-19 22:52     ` Oliver Schoede
2022-10-20  7:27       ` Sam Edge
2022-10-20  8:12         ` Backwoods BC
2022-10-20  3:23   ` Thomas Wolff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47e0b079-1e4b-6b85-9627-81f04c0aca91@towo.net \
    --to=towo@towo.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).