delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/02/24/02:00:42

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 61O70fmk3886563
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 61O70fmk3886563
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=TLvcq+5P
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3301B4B9DB6A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1771916439;
bh=FZGvUJCMNPa2ipQMpoW5z0iGaJH3kATu4MkyLOuGQts=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=TLvcq+5PYSgsiCln+KUqaeU3vxSXoExV+OxGtexGM/KusGIbrloTatflHKGvgXgMi
G+arYSXtuCLzXipnFdZkCilv8v1MwgzzTIuVy69WSP1xaIm6g1KCdrxKnBR7p8exHg
N2yO6nDepxTSsCDP9QlPVQQREZC+6tyS+wRokupk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 14C384B9DB69
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 14C384B9DB69
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771916384; cv=none;
b=bJ/BhmMFhsRgOxz6MdN29GeF/wzP1Fja6x9fk0cPikhTs8ivHIn8/k9mAk/1/1UcrZmKQSedLqeLZP0I5tPu4j4gi/ZwNs56wSFRTBc0NENhbqQfQ9iI4xSoNDgmIZZrKRXZGrg/K49nz9Fx9kkRoCqYWH4VfKrpLtHTiOBO3HM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1771916384; c=relaxed/simple;
bh=ZSqm9S8+K8xuhXl1I6Kpp1sdeMOypJ8jNl4CCyg2JYY=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=Qrn2tb7ooHfkMkTPRVGXKqJauZ+mAyKynOZERV5DPbPjgIlJyFKUa12OE1B2iEGxAai1aW2o/RPh8u7+jJM/xNdTb8uv9DvVcL+e4dTW9jKx+8/bwl/IRlfHHiQp6CEklFcbeV6Shcz3WxMBU21adS+PuYhabUIwN24g0sK+CD4=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14C384B9DB69
Date: Tue, 24 Feb 2026 15:59:37 +0900
To: cygwin AT cygwin DOT com
Subject: Re: General clipboard issue on cygwin (mintty, putclip, getclip,
/dev/clipboard)
Message-Id: <20260224155937.91bacfe94ce764b70dfbd680@nifty.ne.jp>
In-Reply-To: <29ca918e-5996-4f04-8812-9f84e73081d5@SystematicSW.ab.ca>
References: <20260224103628 DOT fdbd7396311092795834c24f AT nifty DOT ne DOT jp>
<29ca918e-5996-4f04-8812-9f84e73081d5 AT SystematicSW DOT ab DOT ca>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
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>

This is a multi-part message in MIME format.

--Multipart=_Tue__24_Feb_2026_15_59_37_+0900_MmHU8MG0W5d7p0Vr
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 23 Feb 2026 23:04:31 -0700
Brian Inglis wrote:
> 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.

Thanks!

Actually, my MUA (sylpheed) uses "application/octet-stream" for .patch file,
so I manually changed it to "text/plain". But accsidendly, it was "plain/text"
by my mistake.

I resend it on this mail.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

--Multipart=_Tue__24_Feb_2026_15_59_37_+0900_MmHU8MG0W5d7p0Vr
Content-Type: text/plain;
 name="0001-Cygwin-clipboard-Add-workaround-for-ERROR_CLIPBOARD_.patch"
Content-Disposition: attachment;
 filename="0001-Cygwin-clipboard-Add-workaround-for-ERROR_CLIPBOARD_.patch"
Content-Transfer-Encoding: base64

RnJvbSAxZTFmM2FjYTk5YTkzMDljNzUyMTk4MGQzNjRjMzJjYmEwMmYwMzhlIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQ0KRnJvbTogVGFrYXNoaSBZYW5vIDx0YWthc2hpLnlhbm9AbmlmdHkubmUu
anA+DQpEYXRlOiBUaHUsIDE5IEZlYiAyMDI2IDE2OjA0OjE1ICswOTAwDQpTdWJqZWN0OiBbUEFU
Q0hdIEN5Z3dpbjogY2xpcGJvYXJkOiBBZGQgd29ya2Fyb3VuZCBmb3INCiBFUlJPUl9DTElQQk9B
UkRfTk9UX09QRU4NCg0KLS0tDQogd2luc3VwL2N5Z3dpbi9maGFuZGxlci9jbGlwYm9hcmQuY2Mg
fCA4ICsrKysrKystDQogMSBmaWxlIGNoYW5nZWQsIDcgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlv
bigtKQ0KDQpkaWZmIC0tZ2l0IGEvd2luc3VwL2N5Z3dpbi9maGFuZGxlci9jbGlwYm9hcmQuY2Mg
Yi93aW5zdXAvY3lnd2luL2ZoYW5kbGVyL2NsaXBib2FyZC5jYw0KaW5kZXggMTI2OTFjN2MxLi4y
MjFhYWFjNjIgMTAwNjQ0DQotLS0gYS93aW5zdXAvY3lnd2luL2ZoYW5kbGVyL2NsaXBib2FyZC5j
Yw0KKysrIGIvd2luc3VwL2N5Z3dpbi9maGFuZGxlci9jbGlwYm9hcmQuY2MNCkBAIC0yNiwxMCAr
MjYsMTYgQEAgc3RhdGljIGlubGluZSBib29sDQogb3Blbl9jbGlwYm9hcmQgKCkNCiB7DQogICBj
b25zdCBpbnQgbWF4X3JldHJ5ID0gMTA7DQorcmV0cnk6DQogICBmb3IgKGludCBpID0gMDsgaSA8
IG1heF9yZXRyeTsgaSsrKQ0KICAgICB7DQogICAgICAgaWYgKE9wZW5DbGlwYm9hcmQgKE5VTEwp
KQ0KLQlyZXR1cm4gdHJ1ZTsNCisJew0KKwkgIGlmICghR2V0Q2xpcGJvYXJkRGF0YSAoQ0ZfVU5J
Q09ERVRFWFQpDQorCSAgICAgICYmIEdldExhc3RFcnJvciAoKSA9PSBFUlJPUl9DTElQQk9BUkRf
Tk9UX09QRU4pDQorCSAgICBnb3RvIHJldHJ5Ow0KKwkgIHJldHVybiB0cnVlOw0KKwl9DQogICAg
ICAgU2xlZXAgKDEpOw0KICAgICB9DQogICByZXR1cm4gZmFsc2U7DQotLSANCjIuNTEuMA0KDQo=

--Multipart=_Tue__24_Feb_2026_15_59_37_+0900_MmHU8MG0W5d7p0Vr
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


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

--Multipart=_Tue__24_Feb_2026_15_59_37_+0900_MmHU8MG0W5d7p0Vr--

- Raw text -


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