A serial device I/O tool https://tio.github.io
Find a file
Henner Zeller 763a09e172 Write to logfile as soon as we have the data, don't buffer.
Logfiles are important to see what happend, in particular if something
unexpected happened; so we want to make sure that the logfile is flushed
to disk.

Before this change, the logfile was typically written at the end in
a large chunk as the default (large) buffering applied. Now, characters are
written out ASAP, so it is possible to get a live-view with a
tail -f <logfile>
2018-06-23 11:42:23 -07:00
man Update man page and bash completion 2018-04-18 20:48:04 +02:00
src Write to logfile as soon as we have the data, don't buffer. 2018-06-23 11:42:23 -07: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 Update AUTHORS 2018-04-18 10:49:22 +02:00
autogen.sh Initial import 2014-09-27 11:35:17 +02:00
ChangeLog Update ChangeLog 2018-04-18 21:01:50 +02:00
configure.ac Bump version 2018-01-28 03:50:27 +01:00
COPYING Initial import 2014-09-27 11:35:17 +02:00
INSTALL Initial import 2014-09-27 11:35:17 +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 Update README 2018-04-18 20:51:27 +02:00
README.md Update README 2017-12-03 23:36:54 +01:00

tio - a simple TTY terminal I/O application

Build Status Snap Status

1. Introduction

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

It was created because the author needed a simple no-nonsense TTY terminal application to easily connect to various terminal TTY devices.

2. Usage

The commandline 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 even|odd|none  Parity (default: none)
      -o, --output-delay <ms>     Output delay (default: 0)
      -n, --no-autoconnect        Disable automatic connect
      -l, --log <filename>        Log to file
      -m, --map <flags>           Map special characters
      -v, --version               Display version
      -h, --help                  Display help

    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

The latest release version is available at https://tio.github.io

3.1 Installation using release tarball

Install steps:

     $ ./configure
     $ make
     $ make install

See INSTALL file for more installation details.

3.2 Installation using package

Tio comes prepackaged for various GNU/Linux distributions. Visit https://tio.github.io for package 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:

Donate

5. Support

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

6. Website

Visit https://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 authors.