ttycat(7) Atheros Powerline Toolkit ttycat(7)
NAME
ttycat - Serial Line Test Program
SYNOPSIS
ttycat [options] file [file] [...]
ttycat [<stdin] [>stdout]
DESCRIPTION
Sequentially copy one or more input files to an output file over a serial line communica‐
tions link where the source and destination ports are must both on the host computer.
This program is part of the Atheros Powerline Toolkit. See the AMP man page for an
overview and installation instructions.
OPTIONS
-r device
Specify the serial device used for input. This device is read and written to th
standard output file. The default is serial consoledevice "/dev/ttyS1".
-s device
Specify the serial device used for output. The standard input file is read and
written to this device. The default is serial console device "/dev/ttyS0".
-?,--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.
DISCLAIMER
The following example reads infile.txt and writes to the output serial device while read‐
ing from the input serial device and writing to outfile.txt. Since no serial devices are
specified, program defaults are used.
# ttycat infile.txt > outfile.txt
The following example reads infile.txt and writes to /dev/tty2/fR while reading from the
/dev/tty3 and writing to outfile.txt.
# ttycat -r /dev/tty2 -s /dev/tty3 infile.txt > outfile.txt
EXAMPLES
SEE ALSO
AMP(7)
CREDITS
Charles Maier <charles.maier@atheros.com>
int6000-utils-linux Atheros Communications ttycat(7)