Re: Checking Cygwin version (FAQ Alert!) (Was Re: map mouse button 4 or 5 to button 2?)

2004-02-22 Thread Joshua Daniel Franklin
On Wed, Feb 18, 2004 at 06:11:57PM -0500, Igor Pechtchanski wrote:
 On Wed, 18 Feb 2004, Jeffrey J. Gray wrote:
 
  [snip]
  ... and I'm running  hm, not sure how to check my Cygwin version,
  it's probably ~4 months old  on WinXP.
 
 Jeff,
 
 Just like on any Unix system, uname -srv will return the kernel (in
 Cygwin's case, cygwin1.dll) version.  On Cygwin, you can also use
 cygcheck -srv to get detailed information about your system (essential
 for diagnosing Cygwin problems, see http://cygwin.com/problems.html), or
 cygcheck -cd to just get the versions of all installed packages (or omit
 the -d flag to also check them for integrity).  If you post the output
 of either cygcheck -srv or cygcheck -cd, please *attach* it to your
 message, rather than including it inline.

Or, since all he wanted was the Cygwin version, just uname -r or
cygcheck -cd cygwin would work fine. :)

 P.S. I was surprised that this isn't in the FAQ.  David, could you please
 add this, under the heading What version of Cygwin do I have? or
 something?  Oh, and BTW, there's a What version is this, anyway? entry
 that has nothing to do with this question, and is pretty confusing.

Since David is still AWOL, I guess I've taken over FAQ maintainence too.
I rewrote most of the What version is this, anyway? entry, removing
all the references to the 'recent' (2000 April) switch to setup.exe,
and noting the difference between Cygwin the package and Cygwin the system.
You can read it at:

http://cygwin.com/faq/faq_1.html#SEC5


Re: map mouse button 4 or 5 to button 2?

2004-02-19 Thread Takuma Murakami
Jeffrey,

 Is it possible to have either button 4 or 5 (usually the forward/back 
 buttons) send a 'button 2' signal (ie paste) to cygwin applications?  

Chad shows the best way for your purpose.  As a note, you
can swap mouse buttons via xmodmap command in UNIX like
environments.  For this case
xmodmap -e pointer = 1 5 3 4 2
swaps button 2 and button 5.

 My new mouse/keyboard setup is MS Wireless Optical Desktop Elite (which 
 includes a Wireless IntelliMouse Explorer 2.0), and I'm running  hm, 
 not sure how to check my Cygwin version, it's probably ~4 months old 
 ... on WinXP.

The xmodmap way works well on Cygwin/X versions newer than
release-22 (released on 2003-11-9).

Takuma Murakami



Re: map mouse button 4 or 5 to button 2?

2004-02-19 Thread J S
Just to confuse the issue further (sorry), can I map the right mouse button 
to CTRL+F9 ?

JS.

Jeffrey,

 Is it possible to have either button 4 or 5 (usually the forward/back
 buttons) send a 'button 2' signal (ie paste) to cygwin applications?
Chad shows the best way for your purpose.  As a note, you
can swap mouse buttons via xmodmap command in UNIX like
environments.  For this case
xmodmap -e pointer = 1 5 3 4 2
swaps button 2 and button 5.
 My new mouse/keyboard setup is MS Wireless Optical Desktop Elite (which
 includes a Wireless IntelliMouse Explorer 2.0), and I'm running  hm,
 not sure how to check my Cygwin version, it's probably ~4 months old
 ... on WinXP.
The xmodmap way works well on Cygwin/X versions newer than
release-22 (released on 2003-11-9).
Takuma Murakami

_
Stay in touch with absent friends - get MSN Messenger 
http://www.msn.co.uk/messenger



Re: map mouse button 4 or 5 to button 2?

2004-02-19 Thread Takuma Murakami
 Just to confuse the issue further (sorry), can I map the right mouse button 
 to CTRL+F9 ?

I guess xmodmap cannot do such remapping.  However there
are some tools which achieve the remapping in Windows layer.
Maybe there are some in UNIX layer too.

Takuma Murakami



Re: map mouse button 4 or 5 to button 2?

2004-02-19 Thread Harold L Hunt II
Jeff,

I just bought the same keyboard and mouse setup and ran into the same 
issue that you did.  The key is to make the mouse wheel click map to 
something that the mouse driver does not intercept and prevent from 
being handled by the current application.  The Switch Application 
function is an intercepted function, whereas the old default 
AutoScroll is not intercepted, so the mouse wheel click is passed 
through to the current application.  I am not sure there is much we can 
do to force the mouse driver to pass us the mouse wheel click, so you 
might just have to set it back to AutoScroll to get the desired 
functionality.

Harold

Jeffrey J. Gray wrote:

Hi,

Is it possible to have either button 4 or 5 (usually the forward/back 
buttons) send a 'button 2' signal (ie paste) to cygwin applications?  
The reasons for this are (1) since button 2 is on the wheel, pressing 
this button sometimes also accidentally sends a scroll signal making for 
sloppy paste operations and  (2) I just upgraded my mouse, and in the 
new standard configuration, Windows intercepts button 2 and makes it a 
'switch applications' signal.  I need button 2 for Cygwin paste 
operations, so I'm anxious to restore this functionality to my cygwin.

My new mouse/keyboard setup is MS Wireless Optical Desktop Elite (which 
includes a Wireless IntelliMouse Explorer 2.0), and I'm running  hm, 
not sure how to check my Cygwin version, it's probably ~4 months old 
 on WinXP.

Thanks for the help,
Jeff


map mouse button 4 or 5 to button 2?

2004-02-18 Thread Jeffrey J. Gray
Hi,

Is it possible to have either button 4 or 5 (usually the forward/back 
buttons) send a 'button 2' signal (ie paste) to cygwin applications?  
The reasons for this are (1) since button 2 is on the wheel, pressing 
this button sometimes also accidentally sends a scroll signal making for 
sloppy paste operations and  (2) I just upgraded my mouse, and in the 
new standard configuration, Windows intercepts button 2 and makes it a 
'switch applications' signal.  I need button 2 for Cygwin paste 
operations, so I'm anxious to restore this functionality to my cygwin.

My new mouse/keyboard setup is MS Wireless Optical Desktop Elite (which 
includes a Wireless IntelliMouse Explorer 2.0), and I'm running  hm, 
not sure how to check my Cygwin version, it's probably ~4 months old 
 on WinXP.

Thanks for the help,
Jeff


Checking Cygwin version (FAQ Alert!) (Was Re: map mouse button 4 or 5 to button 2?)

2004-02-18 Thread Igor Pechtchanski
On Wed, 18 Feb 2004, Jeffrey J. Gray wrote:

 [snip]
 ... and I'm running  hm, not sure how to check my Cygwin version,
 it's probably ~4 months old  on WinXP.

Jeff,

Just like on any Unix system, uname -srv will return the kernel (in
Cygwin's case, cygwin1.dll) version.  On Cygwin, you can also use
cygcheck -srv to get detailed information about your system (essential
for diagnosing Cygwin problems, see http://cygwin.com/problems.html), or
cygcheck -cd to just get the versions of all installed packages (or omit
the -d flag to also check them for integrity).  If you post the output
of either cygcheck -srv or cygcheck -cd, please *attach* it to your
message, rather than including it inline.
Igor
P.S. I was surprised that this isn't in the FAQ.  David, could you please
add this, under the heading What version of Cygwin do I have? or
something?  Oh, and BTW, there's a What version is this, anyway? entry
that has nothing to do with this question, and is pretty confusing.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton