diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-08-01 14:38:56 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-08-01 14:38:56 +0000 |
commit | bcac3c79862d0a50f7ca3a10950997b191d772c5 (patch) | |
tree | b3a86cf017230f3ef9bcb09a8c1c8868060c35f1 /gpsfake.xml | |
parent | 4c7ea920558d224581425234dbbe6335ccdfb7a0 (diff) | |
download | gpsd-bcac3c79862d0a50f7ca3a10950997b191d772c5.tar.gz |
In gpsfake, only send w+r to the slave daemon in pipe mode.
Still works for regression testing but doesn't open an extra client
when testing commands interactively.
Diffstat (limited to 'gpsfake.xml')
-rw-r--r-- | gpsfake.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gpsfake.xml b/gpsfake.xml index 20a1038c..e24e80a4 100644 --- a/gpsfake.xml +++ b/gpsfake.xml @@ -99,10 +99,11 @@ option passes -n to start the daemon reading the GPS without waiting for a client (equivalent to -o "-n"). The -D option passes a -D option to the daemon: thus -D 4 is shorthand for -o "-D 4".</para> -<para>The -p option dumps the NMEA and GPSD notifications generated -by the log to standard output.</para> +<para>The -p ("pipe") option sets watcher mode and dumps the NMEA and GPSD +notifications generated by the log to standard output. This is useful +for regression-testing.</para> -<para>The -r option specifies an initialization comand to use. +<para>The -r option specifies an initialization comand to use in pipe mode. The default is "w+r+"; "r=2" might be another interesting value.</para> <para>The -s option sets the baud rate for the slave tty. The |