CVS commit: src/usr.sbin/moused

2024-03-29 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Mar 29 06:13:40 UTC 2024

Modified Files:
src/usr.sbin/moused: moused.c

Log Message:
moused: remove undocumented and unused option 'C'


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/moused/moused.c

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



CVS commit: src/usr.sbin/moused

2024-03-29 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Mar 29 06:13:40 UTC 2024

Modified Files:
src/usr.sbin/moused: moused.c

Log Message:
moused: remove undocumented and unused option 'C'


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/moused/moused.c

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

Modified files:

Index: src/usr.sbin/moused/moused.c
diff -u src/usr.sbin/moused/moused.c:1.30 src/usr.sbin/moused/moused.c:1.31
--- src/usr.sbin/moused/moused.c:1.30	Sat Jun 24 05:15:42 2023
+++ src/usr.sbin/moused/moused.c	Fri Mar 29 06:13:40 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: moused.c,v 1.30 2023/06/24 05:15:42 msaitoh Exp $ */
+/* $NetBSD: moused.c,v 1.31 2024/03/29 06:13:40 rillig Exp $ */
 /**
  ** Copyright (c) 1995 Michael Smith, All rights reserved.
  **
@@ -48,7 +48,7 @@
 #include 
 
 #ifndef lint
-__RCSID("$NetBSD: moused.c,v 1.30 2023/06/24 05:15:42 msaitoh Exp $");
+__RCSID("$NetBSD: moused.c,v 1.31 2024/03/29 06:13:40 rillig Exp $");
 #endif /* not lint */
 
 #include 
@@ -685,15 +685,6 @@ main(int argc, char *argv[])
 	}
 	break;
 
-	case 'C':
-	rodent.clickthreshold = atoi(optarg);
-	if ((rodent.clickthreshold < 0) || 
-	(rodent.clickthreshold > MAX_CLICKTHRESHOLD)) {
-	warnx("invalid argument `%s'", optarg);
-	usage();
-	}
-	break;
-
 	case 'D':
 	rodent.flags |= ClearDTR;
 	break;



CVS commit: src/usr.sbin/moused

2022-01-21 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Jan 21 21:39:33 UTC 2022

Modified Files:
src/usr.sbin/moused: moused.c

Log Message:
s/comatible/compatible/


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/moused/moused.c

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



CVS commit: src/usr.sbin/moused

2022-01-21 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Jan 21 21:39:33 UTC 2022

Modified Files:
src/usr.sbin/moused: moused.c

Log Message:
s/comatible/compatible/


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/moused/moused.c

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

Modified files:

Index: src/usr.sbin/moused/moused.c
diff -u src/usr.sbin/moused/moused.c:1.27 src/usr.sbin/moused/moused.c:1.28
--- src/usr.sbin/moused/moused.c:1.27	Sun Dec 12 09:00:07 2021
+++ src/usr.sbin/moused/moused.c	Fri Jan 21 21:39:32 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: moused.c,v 1.27 2021/12/12 09:00:07 andvar Exp $ */
+/* $NetBSD: moused.c,v 1.28 2022/01/21 21:39:32 andvar Exp $ */
 /**
  ** Copyright (c) 1995 Michael Smith, All rights reserved.
  **
@@ -48,7 +48,7 @@
 #include 
 
 #ifndef lint
-__RCSID("$NetBSD: moused.c,v 1.27 2021/12/12 09:00:07 andvar Exp $");
+__RCSID("$NetBSD: moused.c,v 1.28 2022/01/21 21:39:32 andvar Exp $");
 #endif /* not lint */
 
 #include 
@@ -261,19 +261,19 @@ static symtab_t pnpprod[] = {
 { "PNP0F0A",	MOUSE_PROTO_MS,		MOUSE_MODEL_GENERIC }, 
 /* MS PnP BallPoint serial */
 { "PNP0F0B",	MOUSE_PROTO_MS,		MOUSE_MODEL_GENERIC }, 
-/* MS serial comatible */
+/* MS serial compatible */
 { "PNP0F0C",	MOUSE_PROTO_MS,		MOUSE_MODEL_GENERIC }, 
-/* MS InPort comatible */
+/* MS InPort compatible */
 { "PNP0F0D",	MOUSE_PROTO_INPORT,	MOUSE_MODEL_GENERIC }, 
-/* MS PS/2 comatible */
+/* MS PS/2 compatible */
 { "PNP0F0E",	MOUSE_PROTO_PS2,	MOUSE_MODEL_GENERIC },
-/* MS BallPoint comatible */
+/* MS BallPoint compatible */
 { "PNP0F0F",	MOUSE_PROTO_MS,		MOUSE_MODEL_GENERIC }, 
 #if notyet
 /* TI QuickPort */
 { "PNP0F10",	MOUSE_PROTO_???,	MOUSE_MODEL_GENERIC }, 
 #endif
-/* MS bus comatible */
+/* MS bus compatible */
 { "PNP0F11",	MOUSE_PROTO_BUS,	MOUSE_MODEL_GENERIC },
 /* Logitech PS/2 */
 { "PNP0F12",	MOUSE_PROTO_PS2,	MOUSE_MODEL_GENERIC },