#222803 gpm: Inverted -B values?

Package:
gpm
Source:
gpm
Description:
General Purpose Mouse interface
Submitter:
Laurence Colombet
Date:
2010-12-24 00:09:03 UTC
Severity:
normal
#222803#5
Date:
2003-12-03 13:49:34 UTC
From:
To:
Hello,

    I get a strange behaviour with -B options, as if button numbers were
inverted. I have activated the -3 option and my mouse is a PS2 3-buttons
Logitech mouse.

    Here is what I obtain with various values:

"-B 123": The left button sets the pointer, the second pastes and the
third extends the selection (select/paste/extend). AFAIK, this is the
standard behaviour.

"-B 132": One would expect select/extend/paste, but I get
paste/select/extend instead. Other versions of gpm (the one in woody for
example) give select/extend/paste.

"-B 213": Leads to select/extend/paste, which is consistent with "-B 132"
but not very intuitive.

    So it seems that:
- the first number refers to the right button,
- the second number is the middle button,
- the third number defines the left button,
- 1 means extend,
- 2 means paste,
- 3 means select.

    The intuitive (and old behaviour) should be:
- first number -> left button,
- 2nd number -> middle button,
- 3rd number -> right button,
- 1 means select,
- 2 means paste,
- 3 means extend.

		Laura

#222803#10
Date:
2010-12-24 00:05:20 UTC
From:
To:
--- Please enter the report below this line. ---
This bug is still present.
Either the code needs fixed or the man page changed, perhaps this should go
upstream?

Debian Release: squeeze/sid
   900 testing         ftp.debian.org
   850 unstable        ftp.debian.org
   800 stable          www.debian-multimedia.org
   800 stable          security.debian.org
   800 stable          ftp.debian.org
   700 experimental    ftp.debian.org
--- Package information. ---
Depends             (Version) | Installed
=============================-+-=============
libc6                (>= 2.7) | 2.11.2-7
libgpm2           (>= 1.20.4) | 1.20.4-3.3
debconf             (>= 0.5)  | 1.5.36
  OR debconf-2.0               |
dpkg             (>= 1.15.4)  | 1.15.8.5
  OR install-info              | 4.13a.dfsg.1-6
debianutils          (>= 1.7) | 3.4
ucf                 (>= 0.28) | 3.0025+nmu1
lsb-base                      | 3.2-23.1


Package's Recommends field is empty.

Package's Suggests field is empty.