This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Writing to /dev/clipboard from multiple processes in Bash gives inconsistent behaviour
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Corinna Vinschen <cygwin at cygwin dot com>, cygwin at cygwin dot com
- Date: Fri, 13 Feb 2015 13:09:32 +0300
- Subject: Re: Writing to /dev/clipboard from multiple processes in Bash gives inconsistent behaviour
- Authentication-results: sourceware.org; auth=none
- 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>
- Reply-to: cygwin at cygwin dot com
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