NMEAATTACH(8)           OpenBSD System Manager's Manual          NMEAATTACH(8)

NAME
     nmeaattach - attach serial lines as timedelta sensors

SYNOPSIS
     nmeaattach [-dhm] [-s baudrate] [-t cond] device

DESCRIPTION
     nmeaattach is used to designate a serial line with a device that outputs
     NMEA 0183 data as a source of timedelta sensors.  The following operands
     are supported by nmeaattach:

     -d            Do not daemonize.

     -h            Turn on RTS/CTS flow control.  By default, no flow control
                   is done.

     -m            Maintain modem control signals after closing the line.
                   Specifically, this disables HUPCL.

     -s baudrate   Specifies the speed of the connection.  If not specified,
                   the default of 4800 baud is used.

     -t cond       Chooses the condition which will cause the current system
                   time to be immediately copied to the terminal timestamp
                   storage for subsequent use by nmea(4).  Only one can be
                   used.

                         dcd    Copy the timestamp when DCD is asserted.
                         !dcd   Copy the timestamp when DCD is deasserted.
                         cts    Copy the timestamp when CTS is asserted.
                         !cts   Copy the timestamp when CTS is deasserted.

                   If no condition is specified, the nmea(4) line discipline
                   will timestamp on receiving the leading `$' character of
                   each GPRMC sentence.

                   Configuring the NMEA device to issue a PPS signal is device
                   specific and should be done by device specific applica-
                   tions.

     device        Specifies the name of the serial line.  device should be a
                   string of the form ``cuaXX'', or ``/dev/cuaXX''.

     Only the superuser may designate NMEA devices.

     To detach the interface, kill off the nmeaattach process.

SEE ALSO
     nmea(4), tty(4)

HISTORY
     The nmeaattach command first appeared in OpenBSD 4.0.

OpenBSD 4.1                      June 12, 2006                               1
