selection to clipboard in xterm

2010-09-24 Thread Sven Severus
 Hello,

a couple of weeks ago I installed cygwin (1.7.5) on
my new Win7-PC.
On my old XP-PC the xterm-selection was a highly
appreciated function to make some text accessible
in the windows clipboard by simply highlighting it
with the mouse, but with my new PC that does not
work any more. Selections do not affect the content
of the clipboard.
Checking/unchecking the Select to Clipboard item
under VT Options does not change anything.
Any idea what the problem is and how I could get
this working?
Thanks for any support.

Sven

-- 
Mit freundlichen Grüßen

Dipl. Inform. Sven Severus
Softwareentwicklung
--
HIMA Paul Hildebrandt GmbH + CO KG
Abt: Entwicklung Software
Albert-Bassermann-Strasse 28
68782 Bruehl
Germany

Tel: +49 6202 709-289
Fax: +49 6202 709-299
E-Mail: s.seve...@hima.com
Internet: www.hima.de


-- 
HIMA Paul Hildebrandt GmbH + Co KG, Albert-Bassermann-Str. 28, 68782 Bruehl bei 
Mannheim
Kommanditgesellschaft, Sitz Bruehl, Deutschland - Registergericht Mannheim HRA 
421017
Ust-ID: DE 144286400, St.Nr: 43038 00190

Persoenlich haftende Gesellschafterin Paul Hildebrandt Verwaltungsgesellschaft 
mbH,
Sitz Bruehl, Deutschland - Registergericht Mannheim HRB 420588

Geschaeftsfuehrer: Dipl.-Betriebswirt Steffen Philipp


--
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: XWin crash after the launch of startkde on a remote Red Hat 5 machine

2010-09-24 Thread Michel Hummel
Hi Jon,
You will find attached to this Email a patch (for the git version)
which implements for the clipboard thread :
 - Auto cleanup function
 - Auto restart function for unexpected exit of the clipboard or
Xerror detection
 - Deletion of XQuery wrapper  (not needed anymore)
 - Deletion of all the xdmcp related tricks  (not needed anymore)

One thing, this patch deletes the call to EmptyClipboard () in the
winProcSetSelectionOwner function of the winclipboardwrappers.c file
when an owned to not owned transition has been detected. I don't
know why but it was freezing the server for 1 or 2 seconds during
clipboard's restart in xdmcp connection.

It would be fine if you could tell me, when you think this patch and
the previous one ( which makes the reset of the server working
correctly with clipboard) will be included to the official X server?

Regards,
Michel Hummel


2010/9/22 Jon TURNEY jon.tur...@dronecode.org.uk

 On 22/09/2010 10:03, Michel Hummel wrote:

 Hello,
 I've modified my patch, to change the restart process.
 It does not use anymore the winProcEstablishConnection wrapper to
 restart the clipboard but directly the winInitClipboard function.

 This allows to restart the clipboard more quickly and if the clipboard
 thread cannot connects to the server (there is a loop on connection
 with a delai between retries), it will die.

 One question :
 I have written my patch for the git version of the X server and the
 patch is not working as it on the 1.8.0-1 version.
 Which version would you like,  perhaps the two ?

 A patch against current git master is fine, although I don't think there have 
 been significant changes in this area recently, so why it doesn't work for 
 1.8.0-1 as well is mysterious.

 --
 Jon TURNEY
 Volunteer Cygwin/X X Server maintainer


XWin_patch_restart_clipboard.path
Description: Binary data
--
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: selection to clipboard in xterm

2010-09-24 Thread Gery

Hallo Sven

Did you use the middle button of the mouse to paste the highligthed  
text?


Sent from my iPod.

On Sep 24, 2010, at 2:29, Sven Severus s.seve...@hima.com wrote:


Hello,

a couple of weeks ago I installed cygwin (1.7.5) on
my new Win7-PC.
On my old XP-PC the xterm-selection was a highly
appreciated function to make some text accessible
in the windows clipboard by simply highlighting it
with the mouse, but with my new PC that does not
work any more. Selections do not affect the content
of the clipboard.
Checking/unchecking the Select to Clipboard item
under VT Options does not change anything.
Any idea what the problem is and how I could get
this working?
Thanks for any support.

Sven

--
Mit freundlichen Grüßen

Dipl. Inform. Sven Severus
Softwareentwicklung
--
HIMA Paul Hildebrandt GmbH + CO KG
Abt: Entwicklung Software
Albert-Bassermann-Strasse 28
68782 Bruehl
Germany

Tel: +49 6202 709-289
Fax: +49 6202 709-299
E-Mail: s.seve...@hima.com
Internet: www.hima.de


--
HIMA Paul Hildebrandt GmbH + Co KG, Albert-Bassermann-Str. 28, 68782  
Bruehl bei Mannheim
Kommanditgesellschaft, Sitz Bruehl, Deutschland - Registergericht  
Mannheim HRA 421017

Ust-ID: DE 144286400, St.Nr: 43038 00190

Persoenlich haftende Gesellschafterin Paul Hildebrandt  
Verwaltungsgesellschaft mbH,

Sitz Bruehl, Deutschland - Registergericht Mannheim HRB 420588

Geschaeftsfuehrer: Dipl.-Betriebswirt Steffen Philipp


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




--
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: XWin crash after the launch of startkde on a remote Red Hat 5 machine

2010-09-24 Thread Michel Hummel
I found an error on the previous patch, the clipboard thread was
restarting on every X clipboard error.
I changed this by adding a test on the request_code error to restart
the thread only if the request_code equals to 24 which is the error
code for a BadWindow.
It seems to me that this is better like this.

This new version of the patch is named V2,
Sorry for the trouble.

Regards,
Michel Hummel


2010/9/24 Michel Hummel hummel.mic...@gmail.com

 Hi Jon,
 You will find attached to this Email a patch (for the git version)
 which implements for the clipboard thread :
  - Auto cleanup function
  - Auto restart function for unexpected exit of the clipboard or
 Xerror detection
  - Deletion of XQuery wrapper  (not needed anymore)
  - Deletion of all the xdmcp related tricks  (not needed anymore)

 One thing, this patch deletes the call to EmptyClipboard () in the
 winProcSetSelectionOwner function of the winclipboardwrappers.c file
 when an owned to not owned transition has been detected. I don't
 know why but it was freezing the server for 1 or 2 seconds during
 clipboard's restart in xdmcp connection.

 It would be fine if you could tell me, when you think this patch and
 the previous one ( which makes the reset of the server working
 correctly with clipboard) will be included to the official X server?

 Regards,
 Michel Hummel


 2010/9/22 Jon TURNEY jon.tur...@dronecode.org.uk
 
  On 22/09/2010 10:03, Michel Hummel wrote:
 
  Hello,
  I've modified my patch, to change the restart process.
  It does not use anymore the winProcEstablishConnection wrapper to
  restart the clipboard but directly the winInitClipboard function.
 
  This allows to restart the clipboard more quickly and if the clipboard
  thread cannot connects to the server (there is a loop on connection
  with a delai between retries), it will die.
 
  One question :
  I have written my patch for the git version of the X server and the
  patch is not working as it on the 1.8.0-1 version.
  Which version would you like,  perhaps the two ?
 
  A patch against current git master is fine, although I don't think there 
  have been significant changes in this area recently, so why it doesn't work 
  for 1.8.0-1 as well is mysterious.
 
  --
  Jon TURNEY
  Volunteer Cygwin/X X Server maintainer


XWin_patch_restart_clipboardV2.path
Description: Binary data
--
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/