diff options
author | yokota <yokota@FreeBSD.org> | 1998-03-12 15:00:06 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 1998-03-12 15:00:06 +0000 |
commit | 96f309afbdb8388d731e4a19fad3a087904e44ba (patch) | |
tree | e79da6e1b1d9551a3bc08ded8017aeddf99a1e96 /usr.sbin | |
parent | c4e3921907089a60c01c38a4d75ccffd317698f8 (diff) | |
download | FreeBSD-src-96f309afbdb8388d731e4a19fad3a087904e44ba.zip FreeBSD-src-96f309afbdb8388d731e4a19fad3a087904e44ba.tar.gz |
- Describe the -I option in the man page.
- Add the -I option in the usage line.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/moused/moused.8 | 13 | ||||
-rw-r--r-- | usr.sbin/moused/moused.c | 4 |
2 files changed, 14 insertions, 3 deletions
diff --git a/usr.sbin/moused/moused.8 b/usr.sbin/moused/moused.8 index b154337..c3b950a 100644 --- a/usr.sbin/moused/moused.8 +++ b/usr.sbin/moused/moused.8 @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: moused.8,v 1.10 1998/01/05 12:38:13 yokota Exp $ +.\" $Id: moused.8,v 1.11 1998/01/25 15:49:00 yokota Exp $ .\" .Dd December 3, 1997 .Dt MOUSED 8 @@ -39,6 +39,7 @@ .Sh SYNOPSIS .Nm .Op Fl 3DPRcdfs +.Op Fl I Ar file .Op Fl F Ar rate .Op Fl r Ar resolution .Op Fl S Ar baudrate @@ -106,6 +107,12 @@ to operate in the mode. .It Fl F Ar rate Set the report rate (reports/sec) of the device if supported. +.It Fl I Ar file +Write the process id of the +.Nm +daemon in the specified file. +Without this option, the process id will be stored in +.Pa /var/run/moused.pid . .It Fl P Do not start the Plug and Play COM device enumeration procedure when identifying the serial mouse. @@ -437,6 +444,10 @@ PS/2 mouse driver virtualized mouse driver .It Pa /dev/ttyv%d virtual consoles +.It Pa /var/run/moused.pid +process id of the currently running +.Nm +daemon .El .Sh EXAMPLE .Pp diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c index 0b74614..cba9913 100644 --- a/usr.sbin/moused/moused.c +++ b/usr.sbin/moused/moused.c @@ -46,7 +46,7 @@ #ifndef lint static const char rcsid[] = - "$Id: moused.c,v 1.16 1998/03/06 03:09:31 yokota Exp $"; + "$Id: moused.c,v 1.17 1998/03/07 09:03:43 jkh Exp $"; #endif /* not lint */ #include <err.h> @@ -754,7 +754,7 @@ static void usage(void) { fprintf(stderr, "%s\n%s\n%s\n", - "usage: moused [-3DRcdfs] [-F rate] [-r resolution] [-S baudrate] [-C threshold]", + "usage: moused [-3DRcdfs] [-I file] [-F rate] [-r resolution] [-S baudrate] [-C threshold]", " [-m N=M] [-z N] [-t <mousetype>] -p <port>", " moused [-d] -i -p <port>"); exit(1); |