1 .TH "tio" "1" "June 2018"
4 tio \- a simple TTY terminal I/O application
9 .RI "[" <options> "] " "<tty-device>"
14 is a simple TTY terminal application which features a straightforward
15 commandline interface to easily connect to TTY devices for basic input/output.
20 .BR \-b ", " "\-\-baudrate " \fI<bps>
22 Set baud rate [bps] (default: 115200).
24 .BR \-d ", " "\-\-databits 5" | 6 | 7 | 8
26 Set data bits (default: 8).
28 .BR \-f ", " "\-\-flow hard" | soft | none
30 Set flow control (default: none).
32 .BR \-s ", " "\-\-stopbits 1" | 2
34 Set stop bits (default: 1).
36 .BR \-p ", " "\-\-parity odd" | even | none
38 Set parity (default: none).
40 .BR \-o ", " "\-\-output\-delay " \fI<ms>
42 Set output delay [ms] inserted between each sent character (default: 0).
44 .BR \-n ", " \-\-no\-autoconnect
46 Disable automatic connect.
48 By default tio automatically connects to the provided device if present. If the device is not present, it will wait for it to appear and then connect. If the connection is lost (eg. device disconnects), it will wait for the device to reappear and then reconnect.
51 .B \-\-no\-autoconnect
52 option is provided, tio will exit if the device is not present or an established connection is lost.
55 .BR \-e ", " "\-\-local\-echo
60 .BR \-l ", " "\-\-log " \fI<filename>
65 .BR \-m ", " "\-\-map " \fI<flags>
67 Map (replace, translate) special characters on input or output. The following mapping flags are supported:
72 Map CR to NL on input (unless IGNCR is set).
76 Map NL to CR on input.
78 Map NL to CR-NL on input.
80 Map CR to NL on output.
82 Map DEL to BS on output.
84 Map NL to CR-NL on output.
86 If defining more than one flag, the flags must be comma separated.
90 .BR \-v ", " \-\-version
92 Display program version.
101 In session, the following key sequences are intercepted as tio commands:
103 List available key commands
105 Send serial break (triggers SysRq on Linux, etc.)
107 Show configuration (baudrate, databits, etc.)
109 Toggle local echo mode
111 Toggle hexadecimal mode
117 Show TX/RX statistics
123 Typical use is without options. For example:
127 Which corresponds to the commonly used options:
129 tio \-b 115200 \-d 8 \-f none \-s 1 \-p none /dev/ttyUSB0
131 It is recommended to connect serial tty devices by ID. For example:
133 tio /dev/serial/by\-id/usb\-FTDI_TTL232R-3V3_FTGQVXBL\-if00\-port0
135 Using serial devices by ID ensures that tio automatically reconnects to the
136 correct serial device if the device is disconnected and then reconnected.
140 Visit https://tio.github.io
144 Written by Martin Lund <martin.lund@keep\-it\-simple.com>.