This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Writing to /dev/clipboard from multiple processes in Bash gives inconsistent behaviour


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]