FW: RE: Cut and Paste between X and WindowsXP sometimes fails

2012-02-13 Thread Bennett, Tony
>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:
>> 
>> LOCATIONACTComment
>> XwinCut "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/



Re: X still crashing, but interesting log messages... different config vals needed?

2012-02-13 Thread Jon TURNEY
On 12/02/2012 23:51, Linda Walsh wrote:
> Jon TURNEY wrote:
>> On 11/02/2012 04:19, Linda Walsh wrote:
>>> Still crashes in all the places it did 2 months ago, and more,  but
>>> gives more interesting messages in log file (/var/log/xwin/XWin.0.log
>>
>> I assume this refers to the problem reported in [1], crashing when running
>> yast2 on SuSE 11.4.  I don't know anything about any other crashes you might
>> have been experiencing.
>>
>> I haven't done anything specific to try to fix this, because I can't 
>> reproduce
>> the problem and I don't have a useful backtrace.
>>
>> It would be of great help if you could follow the instructions at [2] to
>> download the debug symbols and obtain a backtrace of the crash.
> 
> I did that last time, then got another email from another admin saying
> to try some other version instead of that one because the instructions were
> wrong.

I'm assuming you're referring to the exchange we had at [3], but I don't
accept that as an accurate summary of it.

Nevertheless, partly to prevent a re-iteration of that pointless debate, I
have improved my build scripts so I now preserve the debug symbols for the
packaged builds of XWin. Instructions on downloading them are available at [2].

> At that point, I gave up to go use Xming which didn't have the problem,
> and was hoping someone else would run into it, since with cygwin, I have had 
> it
> set on autostart, and it usually crashes within 15-20 minuts -- make kernel,
> or almost any qt based util,... then I just start Xming -- which was stable 
> until
> this last cygwin update...which doesn't make sense, as I didn't think there 
> was
> any code overlap

Indeed, the only things they should have in common are your OS installation
and your computer, which suggests to me, at least, that the problem may lie 
there.

> (main thing is I can no longer click on 'X' in a window and have it close, I
> have to go through the program's menus in each program to close it...very
> annoying.
> 
>>> Was wondering if I should be giving any different options that might
>>> help it behave better?
>>
>>> Log from last run below --
>>>
>>> Welcome to the XWin X Server
>>> Vendor: The Cygwin/X Project
>>> Release: 1.11.4.0
>>> OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (WoW64)
>>> Package: version 1.11.4-3 built 2012-02-05
>>>
>>> XWin was started with the following command line:
>>>
>>> /usr/bin/XWin -dpi 101 -multiwindow -clipboard -nowinkill -wm
>>
>>> [ 14334.463] SocketUNIXAccept: accept() failed 
>>
>> This log looks normal apart from this line.
>>
>> I don't think this is a new warning, and wasn't in the previous log you
>> posted, so it's hard to see how this could be directly related to the 
>> problem.
>>
>> On the other hand, I'm a bit surprised that it works at all after that error.
>>
>> Nevertheless, since UNIX sockets don't seem to be working correctly for you,
>> you might like to try adding '-nolisten unix' to see if that makes any
>> difference.

I assume you didn't try this.

>> [1] http://cygwin.com/ml/cygwin-xfree/2011-08/msg00012.html
>> [2] http://x.cygwin.com/devel/backtrace.html

[3] http://cygwin.com/ml/cygwin-xfree/2011-08/msg00029.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



Re: Cut and Paste between X and WindowsXP sometimes fails

2012-02-13 Thread Jon TURNEY
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:
> 
> LOCATIONACTComment
> XwinCut "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.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=5735

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



Anunt Important

2012-02-13 Thread webmaster

http://www.max-media.ro/administratie/prahova-printre-judetele-care-au-canalizare.-meritul-ii-apartine-lui-mircea-cosma.html

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