Re: General clipboard issue on cygwin (mintty, putclip, getclip, /dev/clipboard)
Brian Inglis via Cygwin <[email protected]>
| Newsgroups | gmane.os.cygwin |
|---|---|
| Organization | Systematic Software |
| Message-ID | <[email protected]> |
On 2026-02-23 18:36, Takashi Yano via Cygwin wrote:
> I encountered a clipboard issue common to cygwin.
>
> Affected components:
> /dev/clipboard, putclip/getclip, mintty
>
> The issue:
> If the clipbard is opened by `OpenClipboard(NULL)`, occasionally
> SetClipboardData() and GetClipboardData() fails with
> ERROR_CLIPBOARD_NOT_OPEN.
>
> When UltraVNC Viewer (https://uvnc.com/) is opened, this issue
> happens with a very high probability (> ~90%).
>
> $ echo AAAA > /dev/clipboard
> echo: write error: Permission denied
>
> On mintty, text selection by mouse and clicking center button
> fails at the first attempt.
>
> For putlclip/getclip, the following command outputs nothing
> in a few attempts. ("ABCD" is lost.)
> $ echo ABCD |putclip; for a in `seq 100`; do getclip |putclip; done; getclip
Hi,
Your patch attachment is typed as:
Content-Type: plain/text;
rather than the standard mime type text/plain;
please check your /etc/mime.types, ~/.sylpheed/mime.types, ~/.*/mime.types, or
other alternatives for that incorrect mime type mapping, replace with the
standard, and resend with the attachment, so we can read it inline, without
saving or other operations to decode it.
You may want to consider updating your dated MUA to the more recent development
version, or another more currently supported MUA.
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut
-- Antoine de Saint-Exupéry
--
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