Update README

This commit is contained in:
Martin Lund 2024-04-27 15:31:43 +02:00
parent 42ff234204
commit 76de9b890e

View file

@ -55,7 +55,7 @@ when used in combination with [tmux](https://tmux.github.io).
* Remapping of characters (nl, cr-nl, bs, lowercase to uppercase, etc.) * Remapping of characters (nl, cr-nl, bs, lowercase to uppercase, etc.)
* Switchable independent input and output * Switchable independent input and output
* Normal mode * Normal mode
* Hex mode * Hex mode (output supports variable width)
* Line mode (input only) * Line mode (input only)
* Timestamp support * Timestamp support
* Per line in normal output mode * Per line in normal output mode
@ -175,7 +175,7 @@ $ tio /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0
Using serial devices by ID ensures that tio automatically reconnects to the Using serial devices by ID ensures that tio automatically reconnects to the
correct serial device if it is disconnected and then reconnected. correct serial device if it is disconnected and then reconnected.
If no serial device by ID is available it is also possible to connect via If no serial device by ID is available it is recommended to connect via
topology ID (TID): topology ID (TID):
``` ```
$ tio bCC2 $ tio bCC2
@ -191,6 +191,11 @@ $ tio --list
Note: One can also use tio bash shell completion on /dev which will Note: One can also use tio bash shell completion on /dev which will
automatically list all available serial TTY devices by ID. automatically list all available serial TTY devices by ID.
Automatically connect to first new appearing serial device:
```
$ tio --auto-connect new
```
Log to file with autogenerated filename: Log to file with autogenerated filename:
``` ```
$ tio --log /dev/ttyUSB0 $ tio --log /dev/ttyUSB0
@ -206,6 +211,11 @@ Enable ISO8601 timestamps per line:
$ tio --timestamp --timestamp-format iso8601 /dev/ttyUSB0 $ tio --timestamp --timestamp-format iso8601 /dev/ttyUSB0
``` ```
Output to hex with width 16:
```
$ tio --output-mode hex16 /dev/ttyUSB0
```
Redirect I/O to IPv4 network socket on port 4242: Redirect I/O to IPv4 network socket on port 4242:
``` ```
$ tio --socket inet:4242 /dev/ttyUSB0 $ tio --socket inet:4242 /dev/ttyUSB0