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:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=g+rQS5tu/pqLfOH3YC7UdSZlDSOOy EUVxSL/ILQAt6/ebsk0uU/Zc7ABsBqn9Cxhn6xf4VlJyVK31CgHfD6iKrhsowCPl eQ7X46mM0myF9xaIAKdSpZwyTvgwfxtU3mTXib+hJmqHrRovsQjXWdnlADkVPKbl FZezwMudjDXiKU= 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:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=/HZhoqF6iFhAe51O10TcsGFx0M0=; b=U0e KTKxt1mNb7ZkcyDxOpBAdE3SHU6zLMVI3f4I4sUgFFelppWrDSQuFpclaYIHYIbW wY/DRqExd8/uchMy6Ho7bngIfbo6JfI8ZvEn62Uz/ZBJ1TLILXMFGiIqirngvAy7 RExsuX3r2/QsBbc5C7XVp6h3Y+AX6pR6tAHZZJFc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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,MIME_BASE64_BLANKS autolearn=ham version=3.3.2 X-HELO: USA7109MR006.ACS-INC.COM From: "Nellis, Kenneth" To: "cygwin AT cygwin DOT com" Subject: RE: Cygwin clipboard flaky on Windows 7 Date: Fri, 17 Oct 2014 15:05:54 +0000 Message-ID: <0D835E9B9CD07F40A48423F80D3B5A702E83568F@USA7109MB022.na.xerox.net> References: <0D835E9B9CD07F40A48423F80D3B5A702E835603 AT USA7109MB022 DOT na DOT xerox DOT net> In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A702E835603@USA7109MB022.na.xerox.net> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id s9HF6CZ9008611 From: Nellis, Kenneth > This is interesting because just yesterday I was extensively copying and > pasting from a pair of Notepad windows into my Mintty/bash session using > getclip, and occasionally it would just paste in a single garbage > character. So, this is different from the OP in that X is not involved. > > After seeing this post, I tried for nearly a half hour trying to discern a > repeatable pattern to exhibit this behavior, but failed. > Don't want to inject red herrings here, but I've only noticed this with > two Notepad windows open and copying alternately from either. > Also, it seems that selecting new notepad text, but neglecting to > Ctrl+C may be somehow involved. Again, I've tried many combinations of > this and have not been able to discern any pattern of when failure occurs. > > This one non-repeatable failure may be illustrative. Consider two Notepad > windows open, A and B, and a mintty/bash shell window open. > The following steps produced failure: > > Select text from A, Ctrl-C, getclip (worked), select text from B, Ctrl-C, > getclip (worked), click somewhere in A to deselect text, click somewhere > in B to deselect text, getclip (failed!). I have a new theory on this, which may as well apply to the OP as well: PEBCAK. After selecting text in Notepad and Ctrl-C copying, then clicking in the mintty window to refocus the keyboard to run getclip, perhaps slopping clicking caused Mintty's auto-copy-on-select feature to maybe capture an accidental single-character selection, thus wiping out what was copied from Notepad. I'll be more careful about clicking and post again if I can rule that out. --Ken Nellis