GPM (General Purpose Mouse) is a mouse server for the console and xterm, with sample clients included (emacs, etc).
| Tags | Utilities |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX Linux |
| Implementation | C |
Recent releases


Changes: Some cleanups were made. fcntl.h is included rather than unistd.h for open(). The gcc warning "control reaches end of non-void function" was fixed. Building with libtool-2 was fixed.


Changes: Changes from 1.20.4 and 1.20.5 were merged. The whole source code was reindented. Unecessary GLIBC hacks were removed. Some build cleanups were applied.


Changes: A possible segfault (negative input for FD_SET) has been fixed. More messages have been moved to the debug level. Unnecessary headers have been removed. This release allows specifying ELISP variables on the command line. It fixes broken code semantics, cleans up the documentation, fixes a socklen_t issue (requires a POSIX header), fixes building with glibc 2.8, and updates the library to version 2.1.0. Gpm_GetLibVersion behaves more consistently (all numbers are one or two digits). This release includes a dynamically generated version from git.


Changes: Typographical errors were corrected. An automatic local build test was added. SONAME was fixed.


Changes: The server now compiles on Linux/PPC again. Initial evabs documentation was added. autoconf was updated and acconfig.h is no longer used. A possible segfault was fixed and the code was cleaned up. Memory clobbering was fixed in the Synaptics code. The makefile and documentation were updated. Automatic generation of checksums was included. The release date and git version are now included.
- All comments
Recent commentsTrying out new changes
I'm excited to see new changes to gpm! I can't wait to play with them (even if it doesn't compile right away).
I've got a synaptics touch pad that doesn't "scroll" with the version from the ubuntu repo.
gpm doesnt work after shutting down X
gpm works just fine at boot. no problemo. when i start X up it'll even work sometimes when i switch from X to the console. sometimes when i do that however, i get an error that says "== ERROR == /var/tmp/portage/gpm-.1.20.0" (im running gentoo)
when i shut down X, it does that too, but it happens just about everytime (it managed to NOT happen twice). the way i installed gpm was via the portage system built into gentoo. i've posted numerous posts on the message boards asking for help and was even accused in the #gentoo chat that it was MY settings and not the OS. *MY* settints are correct. i have a ps/2 logitech wheel mouse and i've got MOUSE=PS/2 and MOUSEDEV=/dev/psaux
someone said that i could use the -R option to sync X and the gpm server or some such but i didn't quite get it. i read the manpage concerning that but it's a bit over my head.
please help! i've used gpm in other distros with NO problems whatsoever. i rely on it probably way too much. this is really bothering me :(
thanks!
ryan
Updated?!
Oh my gosh! I remember building a Linux from scratch and having to get a howto to fix the compile problem. I can't belive after all this time the project has actually been updated. Awesome! Feel the power of the console!
Re: Curses!
Hrm.. I was trying to write a small ncurses program
that had mouse support and I wasn't linking against
libgpm but I took your advice and linked against it.
Still, mouse support only works in X :( Do you have
any other ideas? ...I guess the mailing list
isn't such a bad idea. :)
> I'm not sure what you mean, but AFAIK
> the application must support and be
> linked against libgpm for mouse support
> on Linux console. A few applications
> from Slackware 8.0 support it, Midnight
> Commander one of them. And forget it if
> you're using GNU screen since it's not
> supported (yet). BTW, you can recompile
> ncurses with libgpm support to have
> mouse support with Lynx on console. And
> yes, they work with XFree86.
>
> Anyway, I'm just an user, and gpm is a
> must. I recommend you write to the
> mailing-list instead. They know
> everything and can really help you (the
> mailing-list is open).
Re: Curses!
I'm not sure what you mean, but AFAIK the application must support and be linked against libgpm for mouse support on Linux console. A few applications from Slackware 8.0 support it, Midnight Commander one of them. And forget it if you're using GNU screen since it's not supported (yet). BTW, you can recompile ncurses with libgpm support to have mouse support with Lynx on console. And yes, they work with XFree86.
Anyway, I'm just an user, and gpm is a must. I recommend you write to the mailing-list instead. They know everything and can really help you (the mailing-list is open).