From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10192 invoked by alias); 15 Feb 2012 16:27:33 -0000 Received: (qmail 10151 invoked by uid 22791); 15 Feb 2012 16:27:29 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-cluster.cnf.com (HELO idcxpr0406.con-way.com) (63.230.177.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Feb 2012 16:26:53 +0000 Received: from idcxpr0406.con-way.com (localhost [127.0.0.1]) by idcxpr0406.con-way.com (Postfix) with ESMTP id D9E78E0843 for ; Wed, 15 Feb 2012 08:26:52 -0800 (PST) Received: from DCXPRCL012.cnf.prod.cnf.com (dcxprcl012.cnf.prod.cnf.com [10.1.23.212]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by idcxpr0406.con-way.com (Postfix) with ESMTPS id CCC02E0048 for ; Wed, 15 Feb 2012 08:26:52 -0800 (PST) Received: from DCXPRCL017.cnf.prod.cnf.com ([10.1.23.217]) by DCXPRCL012.cnf.prod.cnf.com ([10.1.23.212]) with mapi; Wed, 15 Feb 2012 08:26:52 -0800 From: "Bennett, Tony" To: cygwin-xfree Date: Wed, 15 Feb 2012 16:27:00 -0000 Subject: RE: FW: RE: Cut and Paste between X and WindowsXP sometimes fails Message-ID: <9E085D377965634187A85638358AE611019E094E1B@DCXPRCL017.cnf.prod.cnf.com> References: <9E085D377965634187A85638358AE611019DFABBFC@DCXPRCL017.cnf.prod.cnf.com> <4F3BC068.7060108@dronecode.org.uk> In-Reply-To: <4F3BC068.7060108@dronecode.org.uk> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes 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 X-SW-Source: 2012-02/txt/msg00031.txt.bz2 >On 13/02/2012 23:05, Bennett, Tony wrote: >>> On 03/02/2012 22:55, Bennett, Tony wrote: >>>> Often when "cutting" from Xwin and attempting to "Paste" to a WindowsX= P application, >>>> the "most recent" "cut" is not pasted... but instead a "previous" Xwin= "cut". >>>> >>>> In other words, this scenario: >>>> >>>> LOCATION ACT Comment >>>> Xwin Cut "abc" >>>> WinXP Paste correctly pastes "abc" >>>> Xwin Cut "def" >>>> WinXP Paste Incorrectly pastes "abc" >>>> >>>> When the above problem occurs, no matter how many times a "cut" from X= win, >>>> Whenever I paste on WinXP it pastes "abc". >>>> >>>> I can "correct" the problem by "cutting" from WinXP and pasting into X= win... >>>> ...after doing this the next Xwin "cut" will "correctly" paste on WinX= P. >>> >>> Yes, this is a rather long-standing problem (see the bug report at [1] = for >>> some of the technical details), which is unfortunately not easy to fix = in a >>> way that works well for all cases. >>> >>> Fortunately, there is a simple workaround for the moment: If you instal= l and >>> run xclipboard, that will cause XWin to notice every change of the clip= board >>> contents. >>=20 >> Thanks for the reply, Jon. >>=20 >> Exactly "how" do I use xclipboard...??? >>=20 >> Here's how I'm starting Xwin right now in a=20 >> Windows Script called startx.bat: >>=20 >> @echo off >> C: >>=20 >> chdir C:\cygwin\bin >>=20 >> bash -c "PATH=3D$PATH:/bin:/usr/bin;XWin -clipboard -logverbose 3 -ac -= query cdcxvd0559.con-way.com -fp \"tcp/cdcxvd0559.con-way.com:8000,/usr/sha= re/fonts/100dpi/,/usr/share/fonts/75dpi/,/usr/share/fonts/Type1/\" &" >>=20 >>=20 >> You'll notice I use XDMCP to establish a CDE session on cdcxvd0559... >>=20 >> I've tried starting xclipboard in the same script, after starting Xwin >> (and sometimes even specifying -noclipboard)... and I always get >> an IO error.... and X-win dies. > >Ah. Applying this workaround is perhaps not so simple when using XDMCP :-( > >You can't just add a 'xclipboard' line after 'XWin &', because the X server >may still be starting up when xclipboard tries to start, which will fail. > >However, this shouldn't lead to the X server itself dying. > >It's possible to put a wait here, but there are a couple of other reasons = why >this approach won't work well. > >You might find it easier to start xclipboard on the host you are XDMCPing = to, >possibly as part of your login script there.... > Jon, Given that I'd have to "build" xclipboard for the host that I'm XDMCPing to, and that host is running AIX... Sadly, I may just have to "live" with the p= roblem. Is there any hope that the issue will be corrected in the foreseeable futur= e...??? -tony -- 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/