summaryrefslogtreecommitdiff
path: root/gpsfake.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-08-01 14:38:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-08-01 14:38:56 +0000
commitbcac3c79862d0a50f7ca3a10950997b191d772c5 (patch)
treeb3a86cf017230f3ef9bcb09a8c1c8868060c35f1 /gpsfake.xml
parent4c7ea920558d224581425234dbbe6335ccdfb7a0 (diff)
downloadgpsd-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.xml7
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