X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=Ci5haHSUO0LSozTy
	+byRoo5oZIhEd5MesqJM7FZbLKCtaTbypm4oGeWHCgHHVGA5p9+Fc2rpZiwmYEZ3
	3SgqYPRXzSQN3Olph88XgVmw8M8YzI49hyorzZTcBhNZO3WAqES59gJzwQ4FHlnv
	9ES9bT/MdVcFndvgfSyg/TyKEUA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=JlRQL9wjXdODjvOus2AcbI
	DeZPg=; b=B+QvZXrqzE1w9h9s2s12bOY/4SKpA4kOpr2oOxwqfmMiIo76xeAPnP
	T8ykIW4vz1byu012sV3wch/EqnhxzQzZ2QIjuZDwMjGqvSQuHfj50EBDQG1Jw800
	nFWhq9okhwduQe/iY3IpYGAdOl0wRevXKKDYcmz58uj/oR6jL0V2k=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Fri, 13 Feb 2015 13:09:32 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1083078655.20150213130932@yandex.ru>
To: Corinna Vinschen <cygwin@cygwin.com>, cygwin@cygwin.com
Subject: Re: Writing to /dev/clipboard from multiple processes in Bash gives inconsistent behaviour
In-Reply-To: <20150213092339.GB17624@calimero.vinschen.de>
References: <20150212134550.GC20741@dinwoodie.org>   <20150212170342.GB7818@calimero.vinschen.de>  <925263616.20150213005102@yandex.ru>  <20150213092339.GB17624@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Corinna Vinschen!

>> And my mail client actively flashing "paste" buttons, when the script is
>> working in background. May be that's it.
>> 
>> This is more visible:
>> $ while true; do { i=$(( $i+1 )); echo > /dev/clipboard; for n in {1..10}; do echo $n; done > /dev/clipboard; grep -q 10 /dev/clipboard || { grep 10 /dev/clipboard && echo $i;};}; done;

> Nope, no way.  I'm running this latter test for 45 minutes now, with
> no output.

Then I presume this is environmental issue.
I can think of at least 3 programs that hook clipboard events on my side, and
I can't easily get rid of any of them. Because of "resident" nature of each.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 13.02.2015, <13:08>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

