A serial device I/O tool https://tio.github.io
Find a file
2022-02-07 17:48:32 +01:00
images Update README 2022-02-07 04:06:36 +01:00
man Add description for time stamping. 2022-02-07 17:48:32 +01:00
src Refine timestamps with milliseconds and ISO-8601 format (#129). 2022-02-07 17:18:36 +01:00
.gitignore Added autodetection of available baud rates 2016-05-26 08:59:18 +02:00
.travis.yml Added Travis build configuration 2016-05-25 13:05:31 +02:00
AUTHORS Add attila-v for PR #129 (Refine timestamps with milliseconds and ISO-8601 format). 2022-02-07 17:23:20 +01:00
autogen.sh Initial import 2014-09-27 11:35:17 +02:00
ChangeLog Update ChangeLog 2018-11-03 16:51:47 +01:00
configure.ac Make comparison POSIX compliant 2020-10-07 10:08:31 +02:00
COPYING Initial import 2014-09-27 11:35:17 +02:00
INSTALL Added macOS-related details. 2018-09-04 20:00:07 +02:00
LICENSE Renamed "gotty" to "tio" 2016-05-04 20:20:06 +02:00
Makefile.am Added man page 2014-09-27 14:09:02 +02:00
README.md Update README 2022-02-07 04:06:36 +01:00

tio - a simple TTY terminal I/O tool

Build Status

1. Introduction

tio is a simple TTY terminal tool which features a straightforward command-line interface to easily connect to TTY devices for basic I/O operations.

2. Usage

The command-line interface is straightforward as reflected in the output from 'tio --help':

    Usage: tio [<options>] <tty-device>

    Options:
      -b, --baudrate <bps>        Baud rate (default: 115200)
      -d, --databits 5|6|7|8      Data bits (default: 8)
      -f, --flow hard|soft|none   Flow control (default: none)
      -s, --stopbits 1|2          Stop bits (default: 1)
      -p, --parity odd|even|none  Parity (default: none)
      -o, --output-delay <ms>     Output delay (default: 0)
      -n, --no-autoconnect        Disable automatic connect
      -e, --local-echo            Do local echo
      -l, --log <filename>        Log to file
      -m, --map <flags>           Map special characters
      -v, --version               Display version
      -h, --help                  Display help

    See the man page for list of supported mapping flags.

    In session, press ctrl-t q to quit.

The only option which requires a bit of elaboration is perhaps the --no-autoconnect option.

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 is unplugged), 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.

Tio features full bash autocompletion support.

Tio also supports various key commands. Press ctrl-t ? to list the available key commands.

See the tio man page for more details.

3. Installation

3.1 Installation using package manager

tio comes prepackaged for various GNU/Linux distributions. Please consult your package manager tool to find and install tio.

3.2 Installation using snap

Install latest stable version:

    $ snap install tio

Install bleeding edge:

    $ snap install tio --edge

3.3 Installation from source

The latest source releases can be found here.

Install steps:

     $ ./configure
     $ make
     $ make install

See INSTALL file for more installation details.

4. Contributing

Tio is open source. All contributions (bug fixes, doc, ideas, etc.) are welcome. Visit the tio GitHub page to access latest source code, create pull requests, add issues etc..

GitHub: https://github.com/tio/tio

Also, if you find this free open source software useful please consider making a donation of your choice:

Donate

5. Support

Submit bug reports via GitHub: https://github.com/tio/tio/issues

6. Website

Visit tio.github.io

7. License

Tio is GPLv2+. See COPYING file for license details.

8. Authors

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

See the AUTHORS file for full list of contributors.