Re: mouse wheel not working with xterm

2005-05-19 Thread Alexander Gottwald
On Wed, 18 May 2005, jose isaias cabrera wrote:

 
 
 On 20:31 Wed 18 May , Alexander Gottwald wrote:
  
  The mouse driver configuration should provide a choice for this. I don't
  know the driver for this kind so you're quite on your own there.
 
 what is the mouse driver that XWin uses? 

XWin uses no special mouse driver. 

 Perhaps I could use the
 microsoft default one and make it work.  Right now it is using the IBM
 ThinkPad driver, which could be the problem.  I found this on the
 xcygwin site:
 
 http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-trackpoint
 
 which says, to add a rp4table.dat or a tp4scrol.dat with some entries.

Actually it say to modify the file. I'm not sure if adding just these lines
is enough or if some important parts are missing (like the header for the
Pass 0 rules section)

 I did this and rebooted and still have the problem.  So, is there any
 other way to see the history (other than to pipe it to a file and read
 it through vim) using xterm?

shift-pageup and shift-pagedown. Or you can use the scrollbar on the left 
side (right click scrolls up, left click scrolls down, middle click sets 
cursor)

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


mouse wheel not working with xterm

2005-05-18 Thread jose isaias cabrera
Greetings!
I am running cygwin with xwindows (XWin) and none of the xterm history is 
accessible through the mouse wheel.  I have a IBM R50 laptop, which has a 
touch wheel on the right side of the touch-mouse.  The touch mouse works 
perfectly, but the touch wheel does not.  I have another laptop (compaq) 
with similar touch mouse/wheel options that is working ok.  Yes, the mouse 
work perfectly on the MS Windows XP base.

Any ideas?
thanks,
josé 



Re: mouse wheel not working with xterm

2005-05-18 Thread Alexander Gottwald
On Wed, 18 May 2005, jose isaias cabrera wrote:

 
 Greetings!
 
 I am running cygwin with xwindows (XWin) and none of the xterm history is 
 accessible through the mouse wheel.  I have a IBM R50 laptop, which has a 
 touch wheel on the right side of the touch-mouse.  The touch mouse works 
 perfectly, but the touch wheel does not.  I have another laptop (compaq) 
 with similar touch mouse/wheel options that is working ok.  Yes, the mouse 
 work perfectly on the MS Windows XP base.

What does xev report when you scroll? Some mouse driver do strange stuff with
the button and don't report it as normal scroll messages.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: mouse wheel not working with xterm

2005-05-18 Thread jose isaias cabrera
Ago,
first of all, thank you for all your help.  You are always willing to help. 
Thanks.
What does xev report when you scroll?
Well, it does not acknowledge the scroll.  Here is an excerpt of the run:
MotionNotify event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12741160, (92,1), root:(591,45),
   state 0x0, is_hint 0, same_screen YES
MotionNotify event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12741180, (91,2), root:(590,46),
   state 0x0, is_hint 0, same_screen YES
MotionNotify event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12741190, (91,3), root:(590,47),
   state 0x0, is_hint 0, same_screen YES
MotionNotify event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12741210, (90,5), root:(589,49),
   state 0x0, is_hint 0, same_screen YES
MotionNotify event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12741240, (90,6), root:(589,50),
   state 0x0, is_hint 0, same_screen YES
ButtonPress event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12742062, (90,6), root:(589,50),
   state 0x0, button 1, same_screen YES
ButtonRelease event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12742442, (90,6), root:(589,50),
   state 0x100, button 1, same_screen YES
ButtonPress event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12743123, (90,6), root:(589,50),
   state 0x0, button 3, same_screen YES
ButtonRelease event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12743744, (90,6), root:(589,50),
   state 0x400, button 3, same_screen YES
ButtonPress event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12745937, (90,6), root:(589,50),
   state 0x0, button 2, same_screen YES
ButtonRelease event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12746558, (90,6), root:(589,50),
   state 0x200, button 2, same_screen YES
MotionNotify event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12757013, (88,4), root:(587,48),
   state 0x0, is_hint 0, same_screen YES
LeaveNotify event, serial 25, synthetic NO, window 0xa1,
   root 0x3a, subw 0x0, time 12757033, (82,-3), root:(581,41),
   mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
   focus YES, state 0
FocusOut event, serial 25, synthetic NO, window 0xa1,
   mode NotifyNormal, detail NotifyNonlinear
...
Some mouse driver do strange stuff with
the button and don't report it as normal scroll messages.
This is probably the case here.  Any ideas on how to make it acknowledge the 
scroll?

thanks.
josé 



Re: mouse wheel not working with xterm

2005-05-18 Thread Alexander Gottwald
On Wed, 18 May 2005, jose isaias cabrera wrote:

 Well, it does not acknowledge the scroll.  Here is an excerpt of the run:

What I see is: 

 ButtonPress event, serial 25, synthetic NO, window 0xa1,
 root 0x3a, subw 0x0, time 12742062, (90,6), root:(589,50),
 state 0x0, button 1, same_screen YES
 
 ButtonRelease event, serial 25, synthetic NO, window 0xa1,
 root 0x3a, subw 0x0, time 12742442, (90,6), root:(589,50),
 state 0x100, button 1, same_screen YES

Left mouse button
 
 ButtonPress event, serial 25, synthetic NO, window 0xa1,
 root 0x3a, subw 0x0, time 12743123, (90,6), root:(589,50),
 state 0x0, button 3, same_screen YES
 
 ButtonRelease event, serial 25, synthetic NO, window 0xa1,
 root 0x3a, subw 0x0, time 12743744, (90,6), root:(589,50),
 state 0x400, button 3, same_screen YES

Right Mouse button

 
 ButtonPress event, serial 25, synthetic NO, window 0xa1,
 root 0x3a, subw 0x0, time 12745937, (90,6), root:(589,50),
 state 0x0, button 2, same_screen YES
 
 ButtonRelease event, serial 25, synthetic NO, window 0xa1,
 root 0x3a, subw 0x0, time 12746558, (90,6), root:(589,50),
 state 0x200, button 2, same_screen YES

Middle Button.

  Some mouse driver do strange stuff with
  the button and don't report it as normal scroll messages.
 
 This is probably the case here.  Any ideas on how to make it acknowledge the 
 scroll?

The mouse driver configuration should provide a choice for this. I don't
know the driver for this kind so you're quite on your own there.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723