summaryrefslogtreecommitdiff
path: root/gpspipe.c
Commit message (Collapse)AuthorAgeFilesLines
* This diff goes most of the way to getting us splint-clean again.Eric S. Raymond2009-01-051-11/+13
|
* GCC now gets huffy about unchecked write(2) returns. Fix some of these.Eric S. Raymond2008-12-291-4/+5
|
* typoJeff Francis2008-08-291-1/+1
|
* rename "FILE * fd" to "FILE * fp"... Chris Kuethe2008-08-231-19/+19
| | | | | | | | | | | I prefer to use names like "fp" for "FILE *" and "fd" for integers representing a file descriptor. Fix a small bug related to the first point. The test for failure to open the log file was basically comparing the return from fopen() against -1. This is the right test for open(), but fopen() returns NULL on failure. And clean up some whitespace while I'm here.
* Everyone should share equally in the joy of reading the gpspipe output files.Jeff Francis2008-08-121-1/+1
|
* #include <sys/stat.h> for umask(2)Chris Kuethe2008-08-011-0/+1
|
* Oops. Daemonize *then* sleep... Duh.Jeff Francis2008-07-311-4/+4
|
* Add options to gpspipe to run as a daemon...Jeff Francis2008-07-311-5/+92
| | | | | | ...to write output to a file (instead of stdout), and to sleep for ten seconds before attempting to connect to gpsd (useful when running from /etc/init.d/ as a daemon).
* Allow gpspipe to specify the remote device too. Chris Kuethe2007-03-241-1/+2
| | | | | Would've been handy earlier today while I was running a few receivers in parallel.
* Suppress spinner if stderr is not a tty.Chris Kuethe2007-01-161-0/+3
| | | | Inspired by Hans' patch to gpsfake.
* Sync documentation with realityChris Kuethe2006-12-121-1/+1
|
* splint cleanup.Eric S. Raymond2006-11-271-5/+5
|
* octal character code seems to be a more robust way of generating the backspaceChris Kuethe2006-11-251-1/+1
|
* use an escape sequence rather than a control character to generate backspaceChris Kuethe2006-11-251-1/+1
|
* add some very fluffy eyecandy to gpspipe:Chris Kuethe2006-11-251-1/+18
| | | | | | a spinner ("twirling baton") on stderr. this might be useful if you are redirecting gpspipe output somewhere but want to see if gpspipe is doing anything.
* Shut up splint some more.Eric S. Raymond2006-10-311-4/+4
|
* Get rid of several flag variables...Eric S. Raymond2006-10-311-56/+31
| | | | | ...these aren't necessary when we can assemble and test a buffer of GPSD commands directly.
* First stage of gpspipe cleanup.Eric S. Raymond2006-10-311-266/+238
|
* Fix and document the implementation of the J switch in gpspipe.Eric S. Raymond2006-10-301-4/+3
|
* Rename config.h so it can be installed as gpsd_config.h...Chris Kuethe2006-10-261-1/+3
| | | | | | ...for those who want to build their own apps linked against libgps and want the headers to work. Works on OpenBSD, tested by Jeff Francis on OS X and Linux
* Add J command to gpspipe. Thanks to JeffFrancis.Gary E. Miller2006-10-121-1/+18
|
* quell compiler warning.Chris Kuethe2006-10-101-2/+2
| | | | | i'm not sure why gcc didn't complain that these were shadowing other variables, as their scope was local to that block.
* ckuethe points out that super-raw is not just SiRF binary.Gary E. Miller2006-09-251-1/+5
|
* Add super-raw mode to gpspipe for ckuetheGary E. Miller2006-09-251-2/+11
|
* Add subversion ID tags near the beginning of every file.Chris Kuethe2006-09-211-2/+1
| | | | First line where possible, second line for scripts called with #!
* splint cleanup and cosmetic fixes.Eric S. Raymond2005-09-011-18/+18
|
* The old hypothetical -p option is the new actual -s option.Eric S. Raymond2005-08-311-5/+0
|
* Jeff Francis's patch to gpspipe to add serial output.Gary E. Miller2005-08-301-3/+103
| | | | | | This allows gpspipe to connect to gpsd andoutput the raw NMEA to a serial port for use by an external device looking for NMEA standard data.
* More optimization tweaks and cleanup.Eric S. Raymond2005-08-201-1/+1
|
* Warning and splint cleanup.Eric S. Raymond2005-08-201-0/+2
|
* Geez, I stop using a var last night and already people complain about the ↵Gary E. Miller2005-08-191-3/+3
| | | | unused parm. :-)
* gpspipe now supports [server[:port]], instead of just local only. Add svn ID.Gary E. Miller2005-08-191-11/+38
|
* Eliminate duplicated code between sirf.c/sirfflash.c/nmea_parse.c.Eric S. Raymond2005-08-041-0/+176
Integrate gpspipe.