cgps.adoc 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. = cgps(1)
  2. :date: 25 February 2021
  3. :keywords: gps, gpsd, cgps
  4. :manmanual: GPSD Documentation
  5. :mansource: GPSD Version {gpsdver}
  6. :robots: index,follow
  7. :sectlinks:
  8. :toc: macro
  9. :type: manpage
  10. :webfonts!:
  11. include::../www/inc-menu.adoc[]
  12. == NAME
  13. cgps - curses terminal client for gpsd
  14. == SYNOPSIS
  15. *cgps* [OPTIONS] [server[:port[:device]]]
  16. *cgps* -h
  17. *cgps* -V
  18. == DESCRIPTION
  19. *cgps* is an ncurses based *gpsd* client. It is able to run on a serial
  20. terminal or terminal emulator. It resembles *xgps*(1), but without the
  21. pictorial satellite display and does not require X or other windowing
  22. system.
  23. *cgps* does not require root privileges. It will also run fine as root.
  24. Running under sudo will cause loss of functionality.
  25. None of the error estimates provided by *gpsd*, and displayed by *cgps*,
  26. should be taken as anything other than "goodness" levels. GNSS receiver
  27. manufactures often do not document the basis for their estimates. Those
  28. that do document their estimates are inconsistent about what they mean.
  29. == OPTIONS
  30. *-?*, *-h*, *--help*::
  31. Print a summary of options and then exit.
  32. *-D LVL*, *--debug LVL*::
  33. Sets the debug level; it is primarily for use by GPSD developers. It
  34. enables various progress messages to standard error.
  35. *-l FMT*, *--llfmt FMT*::
  36. Sets the format of latitude and longitude reports. The value 'd'
  37. produces decimal degrees and is the default. The value 'm' produces
  38. degrees and decimal minutes. The value 's' produces degrees, minutes,
  39. and decimal seconds.
  40. *-s*, *--silent*::
  41. Prevents *cgps* from displaying the raw data coming from the daemon. This
  42. display can also be toggled with the s command.
  43. *-m*, *--magtrack*::
  44. Display your magnetic track (as opposed to your true track). This is a
  45. calculated value, not a measured value. Magnetic variation is always
  46. potentially subject to large errors, but is usually better than two
  47. degrees.
  48. *-u UNITS*, *--units UNITS*::
  49. Set the system units for display; follow the keyword with 'i' for
  50. 'imperial' for American units (International Feet in altitude and
  51. error estimates, miles per hour in speeds), 'n' for 'nautical' (feet
  52. in altitude and error estimates, knots in speed) or 'm' for 'metric'
  53. (meters in altitude and error estimates, kilometers per hour in
  54. speeds).
  55. +
  56. Note: The USA Survey Foot is not supported.
  57. *-V*, *--version*::
  58. Print the package version and exit.
  59. == ARGUMENTS
  60. By default, clients collect data from the local *gpsd* daemon running
  61. on localhost, using the default GPSD port 2947. The optional argument
  62. to any client may override this behavior: *[server[:port[:device]]]*
  63. For further explanation, and examples, see the *ARGUMENTS* section in
  64. the *gps*(1) man page
  65. == COMMANDS
  66. *cgps* terminates when you send it a SIGHUP or SIGINT; given default
  67. terminal settings this will happen when you type Ctrl-C at it.
  68. *cgps* will accept a few single letter commands while running:
  69. *c*:: Clear the bottom window.
  70. *d*:: Show lat/lon dd.dddddddd, dd mm.mmmmmm and dd mm ss.ssss
  71. *h*:: Popup a help window.
  72. *i*:: Use imperial units.
  73. *m*:: Use metric units.
  74. *n*:: Use nautical units.
  75. *q*:: Clear screen and exit
  76. *s*:: Toggle showing raw JSON data in the bottom window.
  77. *t*:: Toggle true/magnetic track.
  78. == ENVIRONMENT
  79. The environment variable *GPSD_UNITS* is checked if no unit system is
  80. specified on the command line. It may be set to 'i'. 'imperial', 'm',
  81. 'metric', or 'n', 'nautical'.
  82. +LC_MEASUREMENT+ and then +LANG+ are checked if no unit system has
  83. been specified on the command line, or in +GPSD_UNITS+. If the value
  84. is 'C', 'POSIX', or begins with 'en_US' the unit system is set to
  85. imperial. The default if no system has been selected defaults to metric.
  86. == RETURN VALUES
  87. *0*:: on success.
  88. *1*:: on failure
  89. == SEE ALSO
  90. *gegps*(1), *gpsctl*(1), *gps*(1), gpsprof*(1), *gpsfake*(1),
  91. *gpscat*(1), *gpspipe*(1), *gpsmon*(1), xgps*(1). *xgpsspeed*(1)
  92. *libgps*(3), *libgpsmm*(3)
  93. *gpsd*(8)
  94. == RESOURCES
  95. *Project web site:* {gpsdweb}
  96. == COPYING
  97. This file is Copyright 2013 by the GPSD project +
  98. SPDX-License-Identifier: BSD-2-clause