EnglishFrenchSpanish

OnWorks favicon

gpscat - Online in the Cloud

Run gpscat in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gpscat that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gpscat - dump the output from a GPS

SYNOPSIS


gpscat [-s speed] [-p] [-t] [-D debuglevel] file-or-serial-port

DESCRIPTION


gpscat is a simple program for logging and packetizing GPS data streams. It takes input
from a specified file or serial device (presumed to have a GPS attached) and reports to
standard output. The program runs until end of input or it is interrupted by ^C or other
means. It does not terminate on a bad backet; this is intentional.

In raw mode (the default) gpscat simply dumps its input to standard output. Nonprintable
characters other than ASCII whitespace are rendered as hexadecimal string escapes.

In packetizing mode, gpscat uses the same code as gpsd(8)'s packet sniffer to break the
input into packets. Packets are reported one per line; line breaks in the packets
themselves are escaped.

This program is useful as a sanity checker when examining a new device. It can be used as
a primitive NMEA logger, but beware that (a) interrupting it likely to cut off output in
mid-sentence, and (b) to avoid displaying incomplete NMEA sentences right up next to shell
prompts that often contain a $, raw mode always emits an extra final linefeed.

Also, be aware that packetizing mode will produce useless results — probably consuming the
entirety of input and appearing to hang — if it is fed data that is not a sequence of
packets of one of the known types.

The program accepts the following options:

-p
Invoke packetizer mode.

-s
Set the port's baud rate (and optionally its parity and stop bits) before reading.
Argument should begin with one of the normal integer baud rates (300, 1200, 4800,
9600, 19200, 38400, etc.). It may be followed by an optional suffix [NOE][12] to set
parity (None, Even, Odd) and stop bits (1 or 2).

-t
Invoke packetizer mode, with the packet type and length (in parentheses) reported
before a colon and space on each line.

-D
In packetizer mode, enable progress messages from the packet getter. Probably only of
interest to developers testing packet getter changes.

-h
Display program usage and exit.

Specifying -s 4800N1 is frequently helpful with unknown devices.

Use gpscat online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad