delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/13/10:15:57

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:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=Ll+9YOpKxRMvTOieXXZpoJvSvFW1bFZqQif1UiSpsH+
GmtAEWUfr0auRo2LFiVX9FRLpTrbZqD+WsfZgkTZk7eWW7keN6rV/w6dgiZJJEDM
UrOeHdoKSI4CJqKWJFsmien2A78jgrqjF594gyhYHCxnM4A/6/wphelKjIoISYs0
=
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:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=dzaeEP1x/ZSOk+edKfLILrjnhu4=; b=WVScAc/0y0s5cHWjO
pdVk1HWhXIqvlkbqDlW/bi86/3sYAYrYKn6WM4pHmlwIPekOp5S5QFVOOMRYXhlx
gLjG03k5OQ3/2RmfaXhqoStpxvPCbu5d4NCBKLCUv/fsZ6zyJkxQMSyP9itSdPZC
WjASDs6tMHTsW0ZI9PRrlmE1FQ=
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=0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-yh0-f42.google.com
X-Received: by 10.236.18.194 with SMTP id l42mr9309915yhl.172.1423840529335; Fri, 13 Feb 2015 07:15:29 -0800 (PST)
From: "cyg Simple" <cygsimple AT gmail DOT com>
To: <cygwin AT cygwin DOT com>
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>
In-Reply-To: <20150213105917.GE20741@dinwoodie.org>
Subject: RE: Writing to /dev/clipboard from multiple processes in Bash gives inconsistent behaviour
Date: Fri, 13 Feb 2015 10:15:30 -0500
Message-ID: <02f801d0479f$e93c9c20$bbb5d460$@gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes

> 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

- Raw text -


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