RE: Mouse chording question

2009-07-02 Thread Phil Betts
Peter Scott wrote:
 Hello.  I would like to migrate from eXceed to Cygwin for the
 performance improvement, but there is a feature I currently have that
 I have not figured out in Cygwin yet. I want MB1+MB3 to generate
 paste (as in MB2).

You need the -emulate3buttons option for XWin (exactly how you set it 
depends on how you start XWin)

Phil
-- 


This email has been scanned by Ascribe Ltd using Microsoft Antigen for Exchange.

--
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: Mouse chording question

2009-07-02 Thread Jon TURNEY

On 02/07/2009 05:50, Peter Scott wrote:

Hello.  I would like to migrate from eXceed to Cygwin for the
performance improvement,


What performance improvement?

The performance/price ratio is infinitely better, ofc :-)

 but there is a feature I currently have that I

have not figured out in Cygwin yet. I want MB1+MB3 to generate paste (as
in MB2).

Bear with me. I have a Logitech 3-button mouse on Windows XP and the
Logitech Windows software that maps MB2 to double click - this happens
for XP windows and X windows alike. So in order to paste with the mouse
in the X windows, I tell eXceed to map the MB1+MB3 chord to MB2. This
works; I can paste with that chord.

But I have not been able to do this with Cygwin yet. I tried
-emulate3buttons with and without a timeout argument, and it has no
effect (tried all combinations of mouse buttons). If I turn off the
Logitech MB2 mapping to double click, then MB2 pastes, but that won't do.


The -emulate3buttons option should be doing precisely what you want; it 
emulates a middle-mouse button press when the left and right mouse buttons are 
pressed 'near simultaneously' (i.e. within the timeout specified).


This works for me.

How are you supplying -emulate3buttons to the server?  Remember you will need 
-clipboard as well if you are trying to paste something copied from a Windows 
window


The other possibility is perhaps that the Logitech mouse software you have 
installed is somehow interfering with the timing of mouse events to prevent 
-emulate3buttons working, although I can't quite imagine how.


--
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: Mouse chording question

2009-07-02 Thread Peter Scott

At 03:42 AM 7/2/2009, Jon TURNEY wrote:

On 02/07/2009 05:50, Peter Scott wrote:

Hello.  I would like to migrate from eXceed to Cygwin for the
performance improvement,


What performance improvement?

The performance/price ratio is infinitely better, ofc :-)


Good point :)  eXceed is remarkably slow at drawing certain windows and 
menus in some applications I use, even after tuning saveunders and 
backing store.  Unfortunately one of them is eclipse.  I suspect it has 
something to do with pixmaps.  Cygwin is fast.  I tried Xming but it 
crashes on some apps.


The -emulate3buttons option should be doing precisely what you want; 
it emulates a middle-mouse button press when the left and right mouse 
buttons are pressed 'near simultaneously' (i.e. within the timeout specified).


This works for me.


I believe you... I am used to giving my users that answer :)

And it seems the role reversal is complete... because now (after a 
reboot) it works for me, too.


Investigation reveals a case of RTFM deficiency.  After each server 
option edit I exited the xterm that came up from the server start 
script and figured the server went away too (this is common in some X 
configurations, and my systray was shrunk without the X icon 
showing).  So subsequent server restarts weren't taking because the 
first server invocation was still running.


Problem solved.  Sorry to bother you.

--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com/
http://www.perlmedic.com/
http://www.informit.com/store/product.aspx?isbn=0137001274



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



Mouse chording question

2009-07-01 Thread Peter Scott
Hello.  I would like to migrate from eXceed to Cygwin for the 
performance improvement, but there is a feature I currently have that 
I have not figured out in Cygwin yet. I want MB1+MB3 to generate 
paste (as in MB2).


Bear with me.  I have a Logitech 3-button mouse on Windows XP and the 
Logitech Windows software that maps MB2 to double click - this 
happens for XP windows and X windows alike.  So in order to paste 
with the mouse in the X windows, I tell eXceed to map the MB1+MB3 
chord to MB2.  This works; I can paste with that chord.


But I have not been able to do this with Cygwin yet.  I tried 
-emulate3buttons with and without a timeout argument, and it has no 
effect (tried all combinations of mouse buttons).  If I turn off the 
Logitech MB2 mapping to double click, then MB2 pastes, but that won't 
do.


This may seem like a small thing, but my fingers are used to these 
patterns and I use them many hundreds of times a day.  Shift+Insert 
does paste in Cygwin, but I don't want to use keyboard only for paste 
- in a pinch I might be relearn to do with Shift+MB1 or Ctrl+MB3 for 
paste, say.


Should I be looking more closely at xmodmap?  Any suggestions?

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