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: "cyg Simple" <cygsimple at gmail dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 13 Feb 2015 10:15:30 -0500
- 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> <1083078655 dot 20150213130932 at yandex dot ru> <20150213105917 dot GE20741 at dinwoodie dot org>
> From: Adam Dinwoodie
>
> In which case, I wonder if it's worth adding something to the FAQ/BLODA
about
> this? I guess not, at least until someone independently encounters this
> behaviour so it warrants the "F" as well as the "AQ".
>
I find it strange that someone would be using /dev/clipboard for a temporary
buffer of data for a batch process anyway. Too many opportunities for that
data to be corrupted by other actions of the user. So in other words, just
don't do that; it isn't portable and it is prone to error. The proper use
would be for a user to store content in /dev/clipboard that the user would
then use immediately to paste elsewhere. It should never be used for
programmatic operation where the operation is dependent on the result later;
it wasn't designed for that.
--
cyg Simple
--
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