Blame README

Packit 1701cf
/*
Packit 1701cf
 * README -- gpm 1.xx
Packit 1701cf
 *
Packit 1701cf
 * Copyright 1995-2000   rubini@linux.it (Alessandro Rubini)
Packit 1701cf
 * Copyright 2001-2012   nico-gpm at schottelius.org (Nico Schottelius)
Packit 1701cf
 *
Packit 1701cf
 *******/
Packit 1701cf
Packit 1701cf
The gpm (general purpose mouse) daemon tries to be a useful mouse
Packit 1701cf
server for applications running on the Linux console.  Its roots are
Packit 1701cf
in the "selection" package, by Andrew Haylett, and the original code
Packit 1701cf
comes from selection itself. This package is intended as a replacement
Packit 1701cf
for "selection", to provide additional facilities.  From 0.18 onward
Packit 1701cf
gpm supports xterm as well, so you can run mouse-sensitive
Packit 1701cf
applications under X, and you can easily write curses applications
Packit 1701cf
which support the mouse on both the Linux console and xterm. The xterm
Packit 1701cf
code is portable to any U*x flavour (look at sample/README).
Packit 1701cf
Packit 1701cf
The first clients have been "The Midnight Commander", by Miguel de
Packit 1701cf
Icaza and an emacs library included in this release. Recent dialog
Packit 1701cf
distributions and the Jed editor use gpm as well, and the same do
Packit 1701cf
several custom applications.
Packit 1701cf
Packit 1701cf
If you want to make a patch to gpm, please read doc/HACK_GPM.
Packit 1701cf
Packit 1701cf
For additionally documentation and other READMEs have a look into doc/.
Packit 1701cf
Packit 1701cf
=========== MAINTENANCE
Packit 1701cf
Packit 1701cf
As of 1.19.4, gpm is officially maintained again.
Packit 1701cf
Most of the README is written by Alessandro Rubine,
Packit 1701cf
only minor changes are made by Nico Schottelius.
Packit 1701cf
Packit 1701cf
Packit 1701cf
=========== MAILING LIST
Packit 1701cf
Packit 1701cf
The mailing list devoted to gpm is "gpm@lists.linux.it"
Packit 1701cf
The list is managed by Mailman and is currently open,
Packit 1701cf
so non-subscribers are allowed to post.
Packit 1701cf
Packit 1701cf
In order to subscribe to the mailing list, visit
Packit 1701cf
   http://lists.linux.it/listinfo/gpm
Packit 1701cf
Packit 1701cf
or send a message with "subscribe" in its body to
Packit 1701cf
   gpm-request@lists.linux.it.
Packit 1701cf
Packit 1701cf
For example:
Packit 1701cf
	echo subscribe | mail gpm-request@lists.linux.it
Packit 1701cf
Packit 1701cf
Packit 1701cf
=========== DOWNLOAD / HOMEPAGE
Packit 1701cf
Packit 1701cf
The latest releases can always be found in one of the following place:
Packit 1701cf
Packit 1701cf
   http://www.nico.schottelius.org/software/gpm/archives/
Packit 1701cf
Packit 1701cf
   Mirror:
Packit 1701cf
Packit 1701cf
   ftp://arcana.linux.it/pub/gpm/
Packit 1701cf
   http://www.ar.linux.it/pub/gpm/
Packit 1701cf
Packit 1701cf
The homepage of gpm can be found at
Packit 1701cf
Packit 1701cf
   http://www.nico.schottelius.org/software/gpm/
Packit 1701cf
Packit 1701cf
You can get the latest development tree of gpm via git:
Packit 1701cf
Packit 1701cf
   git-clone git://git.schottelius.org/gpm
Packit 1701cf
Packit 1701cf
There are three branches available:
Packit 1701cf
Packit 1701cf
   master: Contains the latest gpm1 code, may be broken.
Packit 1701cf
   gpm-1-stable: Contains the latest stable source code.
Packit 1701cf
   gpm-2-dev: Contains work that heads to gpm2.
Packit 1701cf
Packit 1701cf
=========== COMPILING AND INSTALLING
Packit 1701cf
Packit 1701cf
The package uses autoconf as of 2.12. 
Packit 1701cf
Use "./autogen.sh && ./configure && make" to
Packit 1701cf
compile the gpm suite.  To install "make install". This installs
Packit 1701cf
everything under the "prefix" directory, which by default is
Packit 1701cf
/usr/local.
Packit 1701cf
Packit 1701cf
Use "./configure --prefix=/usr" if you want to install under /usr
Packit 1701cf
instead of /usr/local.
Packit 1701cf
Packit 1701cf
Exectuable files are installed in $(prefix)/bin (except the gpm daemon
Packit 1701cf
in $(prefix)/sbin), libraries in $(prefix)/lib, man pages in
Packit 1701cf
$(prefix)/man, the lisp library in the proper location for emacs-list
Packit 1701cf
files (detected during the "configure" step); info files are installed
Packit 1701cf
under $(prefix)/info.
Packit 1701cf
Packit 1701cf
If you would like to 'clean'up very tidy, use distclean. Don't forget to use
Packit 1701cf
make distclean config! Otherwise there will be no configure script!
Packit 1701cf
Packit 1701cf
Packit 1701cf
=========== CONFIGURING
Packit 1701cf
Packit 1701cf
Configuration is optional...
Packit 1701cf
Packit 1701cf
* You would like to tell emacs to use t-mouse.el when appropriate. Add
Packit 1701cf
	the following lines to your own .emacs (in your home
Packit 1701cf
	directory), or in the /usr/lib/emacs/site-lisp/default
Packit 1701cf
Packit 1701cf
	(if (and (string-match ".*-linux" system-configuration)
Packit 1701cf
                 (not window-system)
Packit 1701cf
	         (or (string-match "linux" (getenv "TERM"))
Packit 1701cf
	             (string-match "con.*" (getenv "TERM"))))
Packit 1701cf
	    (load-library "t-mouse"))
Packit 1701cf
Packit 1701cf
* If you want to use gpm-root, copy gpm-root.conf to your /usr/etc
Packit 1701cf
	directory, test it out and then edit it to suit your feels.
Packit 1701cf
Packit 1701cf
* You'd like to name the gpm info file inside /usr/info/dir. Just insert
Packit 1701cf
	the line
Packit 1701cf
		* gpm: (gpm.info).  A mouse server for the Linux console
Packit 1701cf
	at the proper place. Note that this is usually automatically
Packit 1701cf
	performed if you install a package prepared for your own
Packit 1701cf
	distribution.
Packit 1701cf
Packit 1701cf
* To invoke gpm (and gpm-root) at system boot, add something like this
Packit 1701cf
	to your /etc/rc.d/rc.local
Packit 1701cf
Packit 1701cf
		/usr/sbin/gpm -t msc -m /dev/tts/0 &
Packit 1701cf
		/usr/bin/gpm-root &
Packit 1701cf
Packit 1701cf
	If you are running the new setup of SysVinit, you should better
Packit 1701cf
	add a "gpm" script in /etc/rc.d/rc.init and install it in your
Packit 1701cf
	runlevels in the usual way (this is usually included in your
Packit 1701cf
	distribution as well)
Packit 1701cf
Packit 1701cf
	You may want to put the mouse server at a higher priority: in
Packit 1701cf
	this case invoke instead "/usr/bin/nice -n -20 /usr/sbin/gpm -t
Packit 1701cf
	msc"
Packit 1701cf
Packit 1701cf
	The program goes to the background by itself, unless
Packit 1701cf
	it is run with debuging enabled (see the -D option in the
Packit 1701cf
        documentation).
Packit 1701cf
Packit 1701cf
Packit 1701cf
========== DOCS
Packit 1701cf
Packit 1701cf
The directory "./doc" holds the documentation. The release embeds a
Packit 1701cf
postscript file, slightly reduced to save paper (doc/gpm2.ps), an info
Packit 1701cf
one (doc/gpm.info) and a text-only version (doc/gpmdoc.txt -- but
Packit 1701cf
without table of contents, for now).  Man pages are automatically
Packit 1701cf
extracted from the info file, and are installed with "make install"
Packit 1701cf
Packit 1701cf
Packit 1701cf
=========== BUG REPORTS
Packit 1701cf
Packit 1701cf
Before sending bug reports, please look at the file "FAQ",
Packit 1701cf
which outlines some known problems, and how to deal with them.
Packit 1701cf
Packit 1701cf
If your bug isn't fixed by reading there, please report it to me,
Packit 1701cf
without getting angry with me if things don't work at first trial
Packit 1701cf
(but they usually work).
Packit 1701cf
Packit 1701cf
Bug reports are best sent to the gpm mailing list (see above) or to me
Packit 1701cf
via email, if you use personal mail please include the string "gpm"
Packit 1701cf
somewhere in the subject line. This will help my filters in sorting
Packit 1701cf
things out.
Packit 1701cf
Packit 1701cf
* When compilation fails I need your kernel version ("uname -a"), the
Packit 1701cf
compiler version ("gcc -v") and the library version ("ls -l /lib" or,
Packit 1701cf
better "ldd /usr/sbin/gpm").  And the compiler messages, obviously.
Packit 1701cf
Packit 1701cf
* When a program hangs or segfaults, please reinvoke the program under strace:
Packit 1701cf
	strace -tf -o /tmp/trace.gpm gpm -t msc
Packit 1701cf
                                     ^^^^^^^^^^ put your true cmdline here.
Packit 1701cf
Then send me /tmp/trace.gpm* (they may be one or two files, according
Packit 1701cf
to the strace version), and a description of how you reproduce the problem.
Packit 1701cf
Packit 1701cf
The last resort is a core dump, but I'll ask it personally if I have real
Packit 1701cf
difficulties in tracing out your problem.
Packit 1701cf
Packit 1701cf
Packit 1701cf
=========== CREDITS
Packit 1701cf
Packit 1701cf
The following people contributed to gpm, in chronological order. This
Packit 1701cf
list used to reside in a different file, but it's better for it to stand
Packit 1701cf
out in the README
Packit 1701cf
Packit 1701cf
Andrew Haylett (ajh@gec-mrc.co.uk)
Packit 1701cf
		donated "selection" to the linux community, so I could get
Packit 1701cf
		the idea and the code. A few others contributed to selection,
Packit 1701cf
		but I lost track of their contributions and names.
Packit 1701cf
Packit 1701cf
Steven S. Dick (ssd@nevets.oau.org)
Packit 1701cf
		fixed a pair of bugs in early gpm versions.
Packit 1701cf
Packit 1701cf
Miguel de Icaza (miguel@roxanne.nuclecu.unam.mx)
Packit 1701cf
		helped fixing some bugs and provided a good client to test
Packit 1701cf
		my server. He helped a lot in testing the various pre-releases.
Packit 1701cf
Packit 1701cf
Olav Woelfelschneider (wosch@rbg.informatik.th-darmstadt.de)
Packit 1701cf
		fixed 0.10 with MouseSystems compatible mice.
Packit 1701cf
Packit 1701cf
Janne Kukonlehto (jtklehto@stekt.oulu.fi)
Packit 1701cf
		provided xterm mouse decoding to be stolen by me.
Packit 1701cf
Packit 1701cf
Rick Lyons (rick@razorback.brisnet.org.au)
Packit 1701cf
		fixed a bug in gpm-0.9.
Packit 1701cf
Packit 1701cf
Reuben Sumner (rasumner@undergrad.math.uwaterloo.ca)
Packit 1701cf
		helped fixing behaviour with "-t bm".
Packit 1701cf
Packit 1701cf
Larry Bartholdi (lbartho@scsun.unige.ch)
Packit 1701cf
		pinpointed an error in t-mouse-suspend
Packit 1701cf
		and provided good suggestions for 0.97.
Packit 1701cf
Packit 1701cf
Mark Lord (mlord@bnr.ca)
Packit 1701cf
		ported to Dexxa/Logitech mice and gave feedback several times.
Packit 1701cf
Packit 1701cf
Stefan Giessler (stg@gandalf.han.de)
Packit 1701cf
		fixed some problems with gpm-root and
Packit 1701cf
		suggested to put gpm in the background (0.97).
Packit 1701cf
Packit 1701cf
Roman Shapiro
Packit 1701cf
		helped with the Logitech MouseMan.
Packit 1701cf
Packit 1701cf
Andries Brouwer (aeb@cwi.nl)
Packit 1701cf
		Provided a Latin-1 LUT for chars, and enhanced
Packit 1701cf
		lut-loading code (0.98).
Packit 1701cf
Packit 1701cf
Adrian Johnson (ajohnson@apanix.apana.org.au)
Packit 1701cf
		Gave good feedback and ideas for the 0.98's
Packit 1701cf
Packit 1701cf
Stephen Lee (sl14@crux1.cit.cornell.edu)
Packit 1701cf
		Helped a lot with the damned MouseMan protocol (0.98 and 1.0)
Packit 1701cf
Packit 1701cf
John van Leeuwen (johnvl@einstein.et.tudelft.nl)
Packit 1701cf
		Outlined and fixed a pair of bugs in gpm-root 0.98
Packit 1701cf
Packit 1701cf
Alvar Bray (alvar@meiko.co.uk)
Packit 1701cf
		Pointed out an error with awk (0.99)
Packit 1701cf
 
Packit 1701cf
David A. van Leeuwen (david@tm.tno.nl)
Packit 1701cf
		Helped with chord-middle protocols (1.0)
Packit 1701cf
Packit 1701cf
Pavel Kankovsky (KAN@frode.dcit.cz)
Packit 1701cf
		Open /dev/ttyxx instead of /dev/console in the lib (1.01)
Packit 1701cf
Packit 1701cf
Mark Shadley (shadcat@catcher.com) 
Packit 1701cf
		Helped in turning to ELF (1.01 and 1.02) and in fixing
Packit 1701cf
		horrible bugs of mine. Without his help 1.03 wouldn't be there.
Packit 1701cf
Packit 1701cf
Lou Sortman (lou@lounix4.conc.tdsnet.com)
Packit 1701cf
		Added support for glidepoint mice within "-t mman". (1.05)
Packit 1701cf
Packit 1701cf
Marc Meis (100334.1426@compuserve.com)
Packit 1701cf
		Provided support for absolute pointing devices, and in
Packit 1701cf
		particular for the ncr3125 pen. (1.05)
Packit 1701cf
Packit 1701cf
Michael Plass (Michael_Plass.PARC@xerox.com)
Packit 1701cf
		Fixed a damned bug in middle button decoding (M_ms) (1.07)
Packit 1701cf
Packit 1701cf
Markus Gutschke (gutschk@uni-muenster.de)
Packit 1701cf
		Provided a better re-encoding for "-R" (1.10)
Packit 1701cf
Packit 1701cf
Karsten Ballueder (Karsten@piobelix.physik.uni-karlsruhe.de)
Packit 1701cf
		Suggested the reboot compile-time option (1.10)
Packit 1701cf
Packit 1701cf
John Davis (davis@space.mit.edu)
Packit 1701cf
		Found and fixed a buglet in liblow.c for some jed users (1.10)
Packit 1701cf
Packit 1701cf
Julian Thompson (jrt@miel.demon.co.uk)
Packit 1701cf
		Fixed a buglet in gpm-root (1.10)
Packit 1701cf
Packit 1701cf
Dave Flater (dave@universe.digex.net)
Packit 1701cf
		Removed a typo in the disabled decoder for ms-3b (1.11)
Packit 1701cf
Packit 1701cf
Thomas E. Dickey (dickey@clark.net)
Packit 1701cf
		Ported to autoconf (1.11)
Packit 1701cf
Packit 1701cf
Pavel Machek (pavel@ucw.cz)
Packit 1701cf
		New mode "logim" (1.11) and NetMouse (1.14)
Packit 1701cf
Packit 1701cf
Matthias Grimrath (y0001032@rzserv8.rz.tu-bs.de)
Packit 1701cf
		Be c++ compliant in gpm.h (1.11)
Packit 1701cf
Packit 1701cf
Stephen Tell (tell@cs.unc.edu)
Packit 1701cf
		Patch for the ps2 decoder to support misbehaving devices (1.11)
Packit 1701cf
Packit 1701cf
Francois Chastrette (no-email)
Packit 1701cf
		Great help to support plugnpray mice (1.13)
Packit 1701cf
Packit 1701cf
Steve Bennett (s.bennett@lancaster.ac.uk)
Packit 1701cf
		Support for the intellimouse serial devices. (1.13)
Packit 1701cf
Packit 1701cf
Jan Daciuk (jandac@pg.gda.pl)
Packit 1701cf
		t-mouse: yet another regexp possibility
Packit 1701cf
Packit 1701cf
Ian Zimmerman is now actively cooperating in maintaining gpm, so
Packit 1701cf
he'll no longer appear in the acknowledgements ;-)
Packit 1701cf
Packit 1701cf
David Given (dg@tao.co.uk)
Packit 1701cf
		Offered support for joystick mouse emulation (1.14)
Packit 1701cf
Packit 1701cf
Tim Goodwin (tgoodwin@cygnus.co.uk)
Packit 1701cf
Colin Plumb (colin@nyx10.nyx.net)
Packit 1701cf
Ben Pfaff (pfaffben@pilot.msu.edu)
Packit 1701cf
Ian and Iris (brooke@jump.net)
Packit 1701cf
		All of them sent in support for ps2 intellimouse (1.14)
Packit 1701cf
Packit 1701cf
Edmund Grimley Evans (edmund@vocalis.com)
Packit 1701cf
		Added "-t ms+lr"
Packit 1701cf
Packit 1701cf
Stefan Runker (runkeledv@t-online.de)
Packit 1701cf
		Contributed a new Wacom decoder
Packit 1701cf
Packit 1701cf
Alessandro Rubini (rubini@linux.it)
Packit 1701cf
   He's done a lot of work on gpm and maintained it.
Packit 1701cf
   He's still helping me a lot to understand all parts of gpm.