public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Bennett, Tony" <Bennett.Tony@con-way.com>
To: "cygwin-xfree@cygwin.com" <cygwin-xfree@cygwin.com>
Subject: FW: RE: Cut and Paste between X and WindowsXP sometimes fails
Date: Mon, 13 Feb 2012 23:05:00 -0000	[thread overview]
Message-ID: <9E085D377965634187A85638358AE611019DFABBFC@DCXPRCL017.cnf.prod.cnf.com> (raw)

>On 03/02/2012 22:55, Bennett, Tony wrote:
>> Often when "cutting" from Xwin and attempting to "Paste" to a WindowsXP 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 Xwin,
>> Whenever I paste on WinXP it pastes "abc".
>> 
>> I can "correct" the problem by "cutting" from WinXP and pasting into Xwin...
>> ...after doing this the next Xwin "cut" will "correctly" paste on WinXP.
>
>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 install and
>run xclipboard, that will cause XWin to notice every change of the clipboard
>contents.

Thanks for the reply, Jon.

Exactly "how" do I use xclipboard...???

Here's how I'm starting Xwin right now in a 
Windows Script called startx.bat:

	@echo off
	C:

	chdir C:\cygwin\bin

	bash -c "PATH=$PATH:/bin:/usr/bin;XWin -clipboard -logverbose 3 -ac -query cdcxvd0559.con-way.com -fp \"tcp/cdcxvd0559.con-way.com:8000,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/,/usr/share/fonts/Type1/\"  &"


You'll notice I use XDMCP to establish a CDE session on cdcxvd0559...

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.

-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/


             reply	other threads:[~2012-02-13 23:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-13 23:05 Bennett, Tony [this message]
2012-02-15 14:26 ` Jon TURNEY
2012-02-15 16:27   ` Bennett, Tony
2012-02-18 16:18     ` Jon TURNEY
2012-02-20 15:38       ` Bennett, Tony
2012-04-09 15:54         ` Bennett, Tony
2012-04-17 11:43           ` Jon TURNEY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9E085D377965634187A85638358AE611019DFABBFC@DCXPRCL017.cnf.prod.cnf.com \
    --to=bennett.tony@con-way.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).