DOKK / manpages / debian 11 / tio / tio.1.en
tio(1) General Commands Manual tio(1)

tio - a simple TTY terminal I/O application

tio [<options>] <tty-device>

tio is a simple TTY terminal application which features a straightforward commandline interface to easily connect to TTY devices for basic input/output.

Set baud rate [bps] (default: 115200).

Set data bits (default: 8).

Set flow control (default: none).

Set stop bits (default: 1).

Set parity (default: none).

Set output delay [ms] inserted between each sent character (default: 0).

Disable automatic connect.

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.

However, if the --no-autoconnect option is provided, tio will exit if the device is not present or an established connection is lost.

Enable local echo.

Log to file.

Map (replace, translate) special characters on input or output. The following mapping flags are supported:

Map CR to NL on input (unless IGNCR is set).
Ignore CR on input.
Map NL to CR on input.
Map NL to CR-NL on input.
Map CR to NL on output.
Map DEL to BS on output.
Map NL to CR-NL on output.

If defining more than one flag, the flags must be comma separated.

Display program version.

Display help.

List available key commands
Send serial break (triggers SysRq on Linux, etc.)
Show configuration (baudrate, databits, etc.)
Toggle local echo mode
Toggle hexadecimal mode
Clear screen
Quit
Show TX/RX statistics
Send ctrl-t key code

tio /dev/ttyUSB0

tio -b 115200 -d 8 -f none -s 1 -p none /dev/ttyUSB0

tio /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0

Using serial devices by ID ensures that tio automatically reconnects to the correct serial device if the device is disconnected and then reconnected.

Visit https://tio.github.io

Written by Martin Lund <martin.lund@keep-it-simple.com>.

June 2018