3 Button mouse in both CL and X.

3 Button mouse in both CL and X.

Post by Kevin Forg » Fri, 25 Jun 1999 04:00:00



I like the way the new GPM handles my cheap 3 button mouse.  Set it
to Generic and it lets me point and click to my hearts content with
all 3 buttons ( Essential for CL copy and past ).  This setting uses
the Microsoft Mouse protocol so I don't have to hold down LMB when
I insert the mouse etc...

In X when I use that setting it just gives me 2 buttons.  If I switch
to Mouse Systems ( The only setting that seams to work ) I have to
unplug and reinsert the mouse each time I switch between X and CL.

This happens even if I set both GPM and X to use Mouse systems
( Didn't have that problem on old SlackWare ).

BTW : I am Using Mandrake 6.  RedHat 6 has the exact same behavior.
Is there a way to make X use the MS protocol and 3 buttons ?  Or do
I need to find an expensive mouse that supports this stuff ?

 
 
 

3 Button mouse in both CL and X.

Post by Andr » Fri, 25 Jun 1999 04:00:00



> I like the way the new GPM handles my cheap 3 button mouse.  Set it
> to Generic and it lets me point and click to my hearts content with
> all 3 buttons ( Essential for CL copy and past ).  This setting uses
> the Microsoft Mouse protocol so I don't have to hold down LMB when
> I insert the mouse etc...

> In X when I use that setting it just gives me 2 buttons.  If I switch
> to Mouse Systems ( The only setting that seams to work ) I have to
> unplug and reinsert the mouse each time I switch between X and CL.

> This happens even if I set both GPM and X to use Mouse systems
> ( Didn't have that problem on old SlackWare ).

> BTW : I am Using Mandrake 6.  RedHat 6 has the exact same behavior.
> Is there a way to make X use the MS protocol and 3 buttons ?  Or do
> I need to find an expensive mouse that supports this stuff ?

Forget about expensive mouses :)
Look for this entry in /etc/XF86Config

Section "Pointer"
   Protocol        "Microsoft"
   Device          "/dev/mouse"
   BaudRate        1200
   Resolution      100          # does not really matter :)
   Buttons         3            # important
EndSection

The Protocol entry does what you want to. Also ensure Device points to
something useful, might be /dev/mouse which is a link to /dev/psaux in
my system. Maybe you have a serial mouse so it should be /dev/ttypS0 for
com1 or /dev/ttyS1 for com2.

have fun
-andre

.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
         ~andre~perrot~

         ~icq~1429391~          powered by linux 2.2.10
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

 
 
 

3 Button mouse in both CL and X.

Post by Rick » Fri, 25 Jun 1999 04:00:00





> > I like the way the new GPM handles my cheap 3 button mouse.  Set it
> > to Generic and it lets me point and click to my hearts content with
> > all 3 buttons ( Essential for CL copy and past ).  This setting uses
> > the Microsoft Mouse protocol so I don't have to hold down LMB when
> > I insert the mouse etc...

> > In X when I use that setting it just gives me 2 buttons.  If I
switch
> > to Mouse Systems ( The only setting that seams to work ) I have to
> > unplug and reinsert the mouse each time I switch between X and CL.

> > This happens even if I set both GPM and X to use Mouse systems
> > ( Didn't have that problem on old SlackWare ).

> > BTW : I am Using Mandrake 6.  RedHat 6 has the exact same behavior.
> > Is there a way to make X use the MS protocol and 3 buttons ?  Or do
> > I need to find an expensive mouse that supports this stuff ?

> Forget about expensive mouses :)
> Look for this entry in /etc/XF86Config

> Section "Pointer"
>    Protocol        "Microsoft"
>    Device          "/dev/mouse"
>    BaudRate        1200
>    Resolution      100             # does not really matter :)
>    Buttons         3               # important
> EndSection

> The Protocol entry does what you want to. Also ensure Device points to
> something useful, might be /dev/mouse which is a link to /dev/psaux in
> my system. Maybe you have a serial mouse so it should be /dev/ttypS0
for
> com1 or /dev/ttyS1 for com2.

<snip>

In the XF86Config section mentioned above, you may need to add something
like 'ClearDTR'. I also have a $5 3 button serial mouse that does both
Microsoft and MouseSystems protocols. To get the middle button to work
in X, I edited the pointer section in the XF86Config file. Made the
protocol MouseSystems, and added the line 'ClearDTR', which resets the
data terminal ready pin to the mouse to tell it to switch to 3 button
(aka MouseSystems) mode. Hopefully your mouse is similar to this.
BTW, I like this $5 mouse better than my $70 Logitech trackball <g>, the
action is much smoother.

--
Richard M. Ferko
Security Servers Group
UUNET, An MCI Worldcom company

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 
 
 

3 Button mouse in both CL and X.

Post by Mohd H Misn » Fri, 25 Jun 1999 04:00:00



>I like the way the new GPM handles my cheap 3 button mouse.  Set it
>to Generic and it lets me point and click to my hearts content with
>all 3 buttons ( Essential for CL copy and past ).  This setting uses
>the Microsoft Mouse protocol so I don't have to hold down LMB when
>I insert the mouse etc...

>In X when I use that setting it just gives me 2 buttons.  If I switch
>to Mouse Systems ( The only setting that seams to work ) I have to
>unplug and reinsert the mouse each time I switch between X and CL.

>This happens even if I set both GPM and X to use Mouse systems
>( Didn't have that problem on old SlackWare ).

In gpm, set it to act as a repeater by putting -R inside your
/etc/rc.d/init.d/gpm. Set it to use M$ mouse protocol. Inside your
/etc/X11/XF86Config, use:

Protocol  "MouseSystems"
Device    "/dev/gpmdata"

Good luck.

--


|AMDK6-2/300/Linux2.2.10 | http://www.geocities.com/SiliconValley/3319/   |
-Joseph Stalin's grave was a Communist plot.

 
 
 

1. help: setting keys and using middle mouse button with allegro cl

  Some of the programs I use do a backspace when I hit delete or just some
characters that I have to remove with backspace.  Is there any way I can
set my delete key (or any other key)?

  When using allegro CL, I want to higlight some text in another window
and then hot the middle button in CL and have it sent there like any
window allows you to do.  When I do this it doesn't work and I get some
garbage characters.  Again, is there any way I can get this to work?

  Thanks,
        Dan

2. microEmacs

3. How do I get at other mouse buttons on one button Mac mouse?

4. .pcx files?

5. Using Logitech 3 button mouse, as a Logitech 3 button mouse.

6. Need help with CDROM drive

7. Use ctrl+left mouse button as right mouse button

8. switch blink|highlight background in terminal

9. Help: 2nd mouse button (3 button mouse) not working right

10. Can 2-button mouse do 3-button mouse works?

11. 2 button mouse doesn't emulate 3 button mouse

12. middle mouse button on three button mice

13. 2 button to 3 button mouse - how to reconfigure?