From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4838 invoked by alias); 21 Oct 2013 22:37:51 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 4824 invoked by uid 89); 21 Oct 2013 22:37:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: m1plsmtpa01-06.prod.mesa1.secureserver.net Received: from m1plsmtpa01-06.prod.mesa1.secureserver.net (HELO m1plsmtpa01-06.prod.mesa1.secureserver.net) (64.202.165.34) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 21 Oct 2013 22:37:49 +0000 Received: from [10.0.1.110] ([72.209.18.161]) by m1plsmtpa01-06.prod.mesa1.secureserver.net with id fydk1m00C3UWwwg01ydnFb; Mon, 21 Oct 2013 15:37:48 -0700 Message-ID: <5265ACB9.6080201@codespunk.com> Date: Mon, 21 Oct 2013 22:37:00 -0000 From: "Matt D." User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: Clipboard periodically breaks References: <51B4D075.3050001@tiscali.co.uk> <51B5D4E2.20008@dronecode.org.uk> <51B6479A.5050707@tiscali.co.uk> <51C44820.4010307@dronecode.org.uk> <523E580D.8010807@codespunk.com> <524454A6.8030503@dronecode.org.uk> <5244D2C9.9000401@codespunk.com> <20131021144612.GB5297@win.tue.nl> In-Reply-To: <20131021144612.GB5297@win.tue.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00035.txt.bz2 Reinier, This was indeed fixed in the last version of XWin. Try updating. However, copy/paste for large blocks of text seems to have broken. Matt D. On 10/21/2013 10:46 AM, Reinier Post wrote: > On Thu Sep 26 20:35:21 2013, matt@codespunk.com (Matt D.) wrote: >> Jon, >> >> Thanks for looking into this. I can confirm that your changes >> correct the issue where highlighting next would cause arbitrary >> pastes to occur. Good work! >> >> I also concede that there does not seem to be a good solution to >> transparently fix the two-to-one clipboard issue; as XWin may indeed >> be able to interpret calls to X's two clipboards, there wouldn't be >> any reasonable way for it to identify which clipboard is actually >> being used. > > I'm reading this wich much interest: for me, too, copy-pasting > between Windows applications and Cygwin xterms to break after some time, > and this has been happening for a year or so. > > I'm not aware of doing anything special to cause it to break, > but the only way I know how to fix it is to restart X. > This is with recent Cygwin packages on Windows 7. > > I haven't tested with a newer build of the X server. > >> However, an environment variable that tells it which clipboard to >> use would provide an immediate solution and be used used on a >> per-application basis. For example, I can use aliases when launching >> programs: >> >> $ xclip=clipboard1 gedit $@ (monitor only clipboard 1) >> $ xclip=clipboard2 gedit $@ (monitor only clipboard 2) >> >> No option would indicate that both clipboard 1 and clipboard 2 would >> be handled as they are now. >> >> I'm not familiar with X programming but I'm assuming here that it >> would be possible for xclip to read from a particular process's own >> environment (rather than xclip's own) while processing a clipboard >> event to do this. >> >> What do you think? > > As an interested bystander, I have no doubt that that type of > specific solution to specific clipboard interaction problems can > possibly work, but using them will require detailed knowledge of how > the X and Windows clipboards interact. > > My question is different: is it possible to implement the interaction > in such a way that a user such as me, who is not aware of any subtleties, > can get consistency, in the sense that all copy-paste actions between > X an Windows that work when X is started continue to work in the same way > for the duration of the session? > >> Matt D. > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/