Home | History | Annotate | Download | only in wsmoused
History log of /src/usr.sbin/wsmoused/wsmoused.c
RevisionDateAuthorComments
 1.29  20-May-2022  andvar s/appropiate/appropriate/ in comments and readme file.
 1.28  24-Nov-2021  uwe wsmoused: support absolute mouse position events

Tested with VirtualBox Guest Addtions.
 1.27  01-Sep-2021  mlelstv conditional build fix.
 1.26  31-May-2011  christos a little undocumented debugging.
 1.25  19-Jan-2009  christos fix version ioctl
 1.24  13-Jan-2009  christos set the event protocol version.
 1.23  21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.22  24-Feb-2008  dholland branches: 1.22.4;
This file requires errno.h
 1.21  05-Feb-2004  jmmv branches: 1.21.22; 1.21.28;
Use the correct size when clearing an array.
 1.20  05-Feb-2004  jmmv Print a new line after an information message.
 1.19  20-Jan-2004  matt Forgot to remove #include <stdbool.h>
 1.18  20-Jan-2004  matt Remove "bool" support for now since some platforms are still not able to
cope with it.
 1.17  05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.16  05-Jan-2004  jmmv Add the xconsole_delay property which specifies the number of seconds to
wait when returning from the X console before reactivating the mouse.
Some systems may require more than the default (or may want less to get
faster response).
 1.15  05-Jan-2004  jmmv Call wscons mode hooks before and after generic_wscons_event. This is to
allow the selection mode hide the mouse before the device is closed, thus
fixing a minor problem (the pointer remained visible when returning from
X for some seconds).
 1.14  05-Jan-2004  jmmv Recognize the "fifo" property (again) in configuration files. This was lost
in some previous commit...
 1.13  06-Aug-2003  jmmv Add and use the log_err, log_errx, log_warn and log_warnx functions that act as
wrappers for err, errx, warn and warnx respectively when running in foreground
and call syslog functions when running in daemon mode.
Also add and use an extra log_info function for other types of information.
 1.12  06-Aug-2003  jmmv Add the `action' mode, which can be used to associate commands with mouse
button events. This mode needs to be explicitly enabled at runtime, and
does nothing if not configured.

As there are now two different modes available, adjust the manpages
accordingly, describing what they do and how they work separatedly.

While here, remove a bunch of unused stuff (event syntax) from config file
parsing. This was initially added with this new mode in mind, but it has
not been used to make it a lot simpler.
 1.11  06-Aug-2003  jmmv - Let the main program handle multiple run modes easily. Each one is
described by a structure with pointers to functions.
- Clearly separate the "selection" mode (which provides copy and paste support
in console) from wsmoused's main program.
- Added the "modes" property to the configuration file and the "-m" command
line option to specify which modes should be activated. (this is mostly
useless for now, as only the "selection" mode exists; a new mode will
be added soon, hopefully).
- While here, several style fixes according to share/misc/style.
 1.10  05-Mar-2003  jmmv Make the global XConsole variable static.
 1.9  04-Mar-2003  jmmv Create a pidfile while running (which can be tuned with the new "pidfile"
configuration variable). Ok'ed by christos.
 1.8  04-Mar-2003  jmmv Avoid writing things to the fifo if it was not opened.
 1.7  04-Mar-2003  jmmv Add support to parse a configuration file, /etc/wsmoused.conf by default.
This file lets users tune the behavior of the daemon in a easy way, without
having to mess with command line options (nor in rc.conf).
It will also simplify future integration of new functionality within the
program as multiple "modes" of operator are recognized.
The new wsmoused.conf(5) manpage contains all related details.

Some error message cleanup and minor manpage fixes too.

Ok'ed by christos.
 1.6  25-Dec-2002  jmmv Add a new flag, -l, which swaps mouse buttons; this is useful for left
handed users.

Patch provided in my own PR bin/19143 with some minor changes as suggested
by wiz.
 1.5  20-Aug-2002  christos PR/17402: Julio Merino: better fine tuning for both x and y.
 1.4  04-Jul-2002  christos Fix selection code [and remove trailing spaces] from Julio Merino.
 1.3  27-Jun-2002  wiz Sort options in usage.
 1.2  27-Jun-2002  christos rename /dev/wsdisplay -> /dev/ttyEstat since it has the same major number
as the other ttyE devices.
 1.1  26-Jun-2002  christos PR/17402: Julio Merino: Userland portion for moused (with some changes from me).
 1.21.28.1  24-Mar-2008  keiichi sync with head.
 1.21.22.1  23-Mar-2008  matt sync with HEAD
 1.22.4.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.

RSS XML Feed