mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
A serial device I/O tool
https://tio.github.io
automationclicommand-linedevelopersembeddedhackerslinuxluamacosopen-sourcers-232rs-485scriptserialserial-portterminalttyuartxmodemymodem
Support a single source of baud rate configuration as discussed in https://github.com/tio/tio/issues/45 . To do so, autogeneration of the switch cases which do the baud rate option value check and configuration/conversion in tty_configure() is introduced via a single macro. Just to be safe, this change also enables configure detection of all baud rates, including the ones previously assumed supported by most/all systems (POSIX). |
||
|---|---|---|
| man | ||
| src | ||
| .gitignore | ||
| .travis.yml | ||
| AUTHORS | ||
| autogen.sh | ||
| ChangeLog | ||
| configure.ac | ||
| COPYING | ||
| INSTALL | ||
| LICENSE | ||
| Makefile.am | ||
| README | ||
=== tio - a simple TTY terminal I/O application ===
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
-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 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 exit if an established connection is lost.
Tio features full bash autocompletion support.
3. Download
Find the latest release tarball at https://tio.github.io
The latest source is available on GitHub: https://github.com/tio/tio
4. Installation
Install steps:
$ ./configure
$ make
$ make install
See INSTALL file for installation details.
5. Contributing
Tio is open source. Any contributions (bug fixes, doc, ideas, etc.) are
welcome.
6. Support
Submit bug reports on GitHub: https://github.com/tio/tio/issues
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.