1 .TH "tio" "1" "April 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 \-l ", " "\-\-log " \fI<filename>
60 .BR \-m ", " "\-\-map " \fI<flags>
62 Map (replace, translate) special characters on input or output. The following mapping flags are supported:
67 Map CR to NL on input (unless IGNCR is set).
71 Map NL to CR on input.
73 Map NL to CR-NL on input.
75 Map CR to NL on output.
77 Map DEL to BS on output.
79 Map NL to CR-NL on output.
81 If defining more than one flag, the flags must be comma separated.
85 .BR \-v ", " \-\-version
87 Display program version.
96 In session, the following key sequences are intercepted as tio commands:
98 List available key commands
100 Send serial break (triggers SysRq on Linux, etc.)
102 Show configuration (baudrate, databits, etc.)
104 Toggle hexadecimal mode
110 Show TX/RX statistics
116 Typical use is without options. For example:
120 Which corresponds to the commonly used options:
122 tio \-b 115200 \-d 8 \-f none \-s 1 \-p none /dev/ttyUSB0
124 It is recommended to connect serial tty devices by ID. For example:
126 tio /dev/serial/by\-id/usb\-FTDI_TTL232R-3V3_FTGQVXBL\-if00\-port0
128 Using serial devices by ID ensures that tio automatically reconnects to the
129 correct serial device if the device is disconnected and then reconnected.
133 Visit https://tio.github.io
137 Written by Martin Lund <martin.lund@keep\-it\-simple.com>.