1GPS(1) GPSD Documentation GPS(1)
2
3
4
6 cgps, gegps, gps, lcdgps - simple clients for gpsd
7
9 cgps [-?] [--debug LVL] [--help] [--llfmt [[d] | [m] | [s]]]
10 [--magtrack] [--silent] [--units [[i] | [n] | [m]]] [--version]
11 [-D LVL] [-h] [-l [[d] | [m] | [s]]] [-m] [-s]
12 [-u [[i] | [n] | [m]]] [-V] [server [:port [:device]]]
13
14 gegps [-?] [--debug LVL] [--device DEVICE] [--help] [--host HOST]
15 [--initialize] [--kmldir DIRECTORY] [--port PORT] [--version]
16 [-D DEBUG] [-d DIRECTORY] [-h] [-i] [-V] [server [:port
17 [:device]]]
18
19 lcdgps [-?] [--help] [--sleep] [--version] [-h] [-j]
20 [-l [[d] | [m] | [s]]] [-s] [-u [[i] | [n] | [m]]] [-V] [server
21 [:port [:device]]]
22
24 These are some simple clients shipped with gpsd. They have some common
25 options:
26
27 -?, -h, --help
28 Print a summary of options and then exit.
29
30 -V, --version
31 Print the package version and exit.
32
33 By default, clients collect data from all compatible devices on
34 localhost, using the default GPSD port 2947. An optional argument to
35 any client may specify a server to get data from. A colon-separated
36 suffix is taken as a port number. If there is a second colon-separated
37 suffix, that is taken as a specific device name to be watched. However,
38 if the server specification contains square brackets, the part inside
39 them is taken as an IPv6 address and port/device suffixes are only
40 parsed after the trailing bracket. Possible cases look like this:
41
42 localhost:/dev/ttyS1
43 Look at the default port of localhost, trying both IPv4 and IPv6
44 and watching output from serial device 1.
45
46 example.com:2317
47 Look at port 2317 on example.com, trying both IPv4 and IPv6.
48
49 71.162.241.5:2317:/dev/ttyS3
50 Look at port 2317 at the specified IPv4 address, collecting data
51 from attached serial device 3.
52
53 [FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:2317:/dev/ttyS5
54 Look at port 2317 at the specified IPv6 address, collecting data
55 from attached serial device 5.
56
57 cgps
58 cgps is a client resembling xgps, but without the pictorial satellite
59 display and able to run on a serial terminal or terminal emulator.
60
61 -D LVL, --debug LVL
62 Sets the debug level; it is primarily for use by GPSD developers.
63 It enables various progress messages to standard error.
64
65 -l FMT, --llfmt FMT
66 Sets the format of latitude and longitude reports. The value 'd'
67 produces decimal degrees and is the default. The value 'm' produces
68 degrees and decimal minutes. The value 's' produces degrees,
69 minutes, and decimal seconds.
70
71 -s, --silent
72 Prevents cgps from displaying the data coming from the daemon. This
73 display can also be toggled with the s command.
74
75 -m, --magtrack
76 Display your magnetic track (as opposed to your true track). This
77 is a calculated value, not a measured value. Magnetic variation is
78 always potentially subject to large errors, but is usually better
79 than two degrees.
80
81 -u UNITS, --units UNITS
82 Set the system units for display; follow the keyword with 'i' for
83 'imperial' for American units (International Feet in altitude and
84 error estimates, miles per hour in speeds), 'n' for 'nautical'
85 (feet in altitude and error estimates, knots in speed) or 'm' for
86 'metric' (meters in altitude and error estimates, kilometers per
87 hour in speeds).
88
89 Note: The USA Survey Foot is not supported.
90
91 cgps terminates when you send it a SIGHUP or SIGINT; given default
92 terminal settings this will happen when you type Ctrl-C at it. It will
93 also terminate on 'q'
94
95 gegps
96 This program collects fixes from gpsd and feeds them to a running
97 instance of Google Earth for live location tracking.
98
99 -d DIR, --kmldir DIR
100 Specify the location of the Google Earth installation directory. If
101 not specified, it defaults to the current directory.
102
103 -D LVL, --debug LVL
104 Sets the debug level; it is primarily for use by GPSD developers.
105 It enables various progress messages to standard error.
106
107 --device DEVICE
108 Connect to device DEVICE on gpsd host.
109
110 --host HOST
111 Connect to gpsd on host HOST.
112
113 -i, --initialize
114 If you have the free (non-subscription) version, start by running
115 with the -i option to drop a clue in the Google Earth installation
116 directory, as 'Open_in_Google_Earth_RT_GPS.kml', then open that
117 file in Places (File > Open...). Run gegps in the normal way after
118 that.
119
120 --port PORT
121 Connect to gpsd on port PORT.
122
123 lcdgps
124 A client that passes gpsd data to lcdproc, turning your car computer
125 into a very expensive and nearly feature-free GPS receiver. Currently
126 assumes a 4x40 LCD and writes data formatted to fit that size screen.
127 Also displays 4- or 6-character Maidenhead grid square output.
128
129 -s, --sleep
130 Sleep for 10 seconds before starting.
131
133 The environment variable GPSD_UNITS is checked if no unit system is
134 specified on the command line. It may be set to 'i'. 'imperial', 'm',
135 'metric', or 'n', 'nautical'.
136
137 LC_MEASUREMENT and then LANG are checked if no unit system has been
138 specified on the command line, or in GPSD_UNITS. If the value is 'C',
139 'POSIX', or begins with 'en_US' the unit system is set to imperial. The
140 default if no system has been selected defaults to metric.
141
143 gpsd(8), libgps(3), libgpsmm(3), gpsfake(1), gpsctl(1), gpscat(1),
144 gpsprof(1). gpspipe(1). gpsmon(1). gpxlogger(1). xgps(1).
145 xgpsspeed(1).
146
148 Remco Treffcorn, Derrick Brashear, Russ Nelson & Eric S. Raymond, Jeff
149 Francis (cgps), Chen Wei <weichen302@aol.com> (gegps & xgpsspeed),
150 Robin Wittler <real@the-real.org> (xgpsspeed).
151
152 This manual page by Eric S. Raymond <esr@thyrsus.com>
153
154
155
156The GPSD Project 6 December 2020 GPS(1)