logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ttycat - Serial Line Output Utility

Arguments

file   The  name  of  an  input  file.   No  assumptions are made about the file based on the filename or
              extension.  Input files are not modified.

       stdout The name of a serial output device.  A error will occur if the device is not  a  true  tty  device
              according  as  determined  by  the isatty function.  Depending on the amount of input data and the
              baud rate, serial output may take several seconds or several minutes.

Comments

       This program only supports the Linux and MacOSX  platforms, at present.

Credits

        Charles Maier

open-plc-utils-0.0.3                              November 2013                                        ttycat(1)

Description

       Copy  one  or  more  files  to  a  serial device.  This program is similar to traditional cat utility but
       expects stdout to be a serial tty device.  It will configure stdout before writing and will  restore  the
       original  configuration  afterwards.   It  can  be  used  to  send data to the local Atheros UART-enabled
       powerline device.  If the remote powerline device is not UART-enabled, use program edru  to  capture  and
       display arriving at the remote host and program edsu to send files in the opposite direction.

       This program is part of the Qualcomm Atheros Powerline Toolkit.  See the AMP man page for an overview and
       installation instructions.

Examples

       The following command copies files abc.txt and def.bin to stdout which must be an active serial device or
       an error will occur.

          # ttycat abc.txt def.bin > /dev/ttyUSB1

Name

       ttycat - Serial Line Output Utility

Options

       -sspeed
              The  serial  baud  rate.   Supported baud rates are 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200,
              1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 500000 and 921600.

       -?,--help
              Print program help summary on stdout.  This option takes precedence  over  other  options  on  the
              command line.

       -?,--version
              Print  program  version information on stdout.  This option takes precedence over other options on
              the command line.  Use this option when sending screen dumps to Atheros Technical Support so  that
              they know exactly which version of the Linux Toolkit you are using.

See Also

amp(1), edru(1), edsu(1), int6kuart(1),

Synopsis

ttycat [options] [file] [file] [>stdout]

       ttycat [options] [<stdin] [>stdout]

See Also