Scroll to navigation

tio(1) General Commands Manual tio(1)

NAME

tio - a simple TTY terminal I/O application

SYNOPSIS

tio [<options>] <tty-device>

DESCRIPTION

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

OPTIONS

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.

KEYS

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

EXAMPLES

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.

WEBSITE

Visit https://tio.github.io

AUTHOR

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

June 2018