Subject: CVS commit: src/usr.sbin/wsmoused
To: None <source-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: source-changes
Date: 08/06/2003 18:07:54
Module Name:	src
Committed By:	jmmv
Date:		Wed Aug  6 18:07:54 UTC 2003

Modified Files:
	src/usr.sbin/wsmoused: Makefile config.c config_lex.l config_yacc.y
	    pathnames.h selection.c wsmoused.8 wsmoused.c wsmoused.conf.5
	    wsmoused.h
Removed Files:
	src/usr.sbin/wsmoused: events.c

Log Message:
- 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.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/usr.sbin/wsmoused/Makefile \
    src/usr.sbin/wsmoused/pathnames.h
cvs rdiff -r1.2 -r1.3 src/usr.sbin/wsmoused/config.c \
    src/usr.sbin/wsmoused/config_lex.l
cvs rdiff -r1.1 -r1.2 src/usr.sbin/wsmoused/config_yacc.y
cvs rdiff -r1.4 -r0 src/usr.sbin/wsmoused/events.c
cvs rdiff -r1.3 -r1.4 src/usr.sbin/wsmoused/selection.c \
    src/usr.sbin/wsmoused/wsmoused.conf.5 src/usr.sbin/wsmoused/wsmoused.h
cvs rdiff -r1.11 -r1.12 src/usr.sbin/wsmoused/wsmoused.8
cvs rdiff -r1.10 -r1.11 src/usr.sbin/wsmoused/wsmoused.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.