From 76de9b890e1e93287b6e12c612ec7b2b6a610d4b Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Sat, 27 Apr 2024 15:31:43 +0200 Subject: [PATCH] Update README --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 445897d..3daa7fe 100644 --- a/README.md +++ b/README.md @@ -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.) * Switchable independent input and output * Normal mode - * Hex mode + * Hex mode (output supports variable width) * Line mode (input only) * Timestamp support * 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 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): ``` $ tio bCC2 @@ -191,6 +191,11 @@ $ tio --list Note: One can also use tio bash shell completion on /dev which will 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: ``` $ tio --log /dev/ttyUSB0 @@ -206,6 +211,11 @@ Enable ISO8601 timestamps per line: $ 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: ``` $ tio --socket inet:4242 /dev/ttyUSB0