delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/13/05:20:44

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1083078655.20150213130932@yandex.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT 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 DOT GC20741 AT dinwoodie DOT org> <20150212170342 DOT GB7818 AT calimero DOT vinschen DOT de> <925263616 DOT 20150213005102 AT yandex DOT ru> <20150213092339 DOT GB17624 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
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 AT yandex DOT 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

- Raw text -


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