From c931d7690d686b0635032a170a2006c330a8e7fa Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Fri, 15 Jul 2022 19:55:52 +0200 Subject: [PATCH] Update plain text man page --- man/tio.1.txt | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/man/tio.1.txt b/man/tio.1.txt index d5a5b3a..f606b82 100644 --- a/man/tio.1.txt +++ b/man/tio.1.txt @@ -1,4 +1,4 @@ -tio(1) User Commands tio(1) +tio(1) User Commands tio(1) NAME tio - a simple serial device I/O tool @@ -7,8 +7,7 @@ SYNOPSIS tio [] DESCRIPTION - tio is a simple serial device tool which features a straightforward command-line and configuration file interface to easily con‐ - nect to serial TTY devices for basic I/O operations. + tio is a simple serial device tool which features a straightforward command-line and configuration file interface to easily connect to serial TTY devices for basic I/O operations. OPTIONS -b, --baudrate @@ -31,8 +30,7 @@ OPTIONS Set parity (default: none). - Note: With mark parity the parity bit is always 0. With space parity the parity bit is always 1. Not all platforms support - mark and space parity. + Note: With mark parity the parity bit is always 0. With space parity the parity bit is always 1. Not all platforms support mark and space parity. -o, --output-delay @@ -50,12 +48,9 @@ OPTIONS Disable automatic connect. - 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. + 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 an established connec‐ - tion is lost. + However, if the --no-autoconnect option is provided, tio will exit if the device is not present or an established connection is lost. -e, --local-echo @@ -123,19 +118,18 @@ OPTIONS Enable hexadecimal mode. - -c, --color 0..255|none|list + -c, --color 0..255|bold|none|list - Colorize tio text using ANSI color code value ranging from 0 to 255 or use "none" for no color. + Colorize tio text using ANSI color code value ranging from 0 to 255 or use "none" for no color or use "bold" to apply bold formatting to existing system color. Use "list" to print a list of available ANSI color codes. - Default value is 15. + Default value is "bold". -S, --socket - Redirect I/O to socket. Any input from clients connected to the socket is sent on the serial port as if entered at the ter‐ - minal where tio is running (except that ctrl-t sequences are not recognized), and any input from the serial port is multi‐ - plexed to the terminal and all connected clients. + Redirect I/O to socket. Any input from clients connected to the socket is sent on the serial port as if entered at the terminal where tio is running (except that ctrl-t sequences are not recognized), and any input from the serial port is multiplexed to the ter‐ + minal and all connected clients. Sockets remain open while the serial port is disconnected, and writes will block. @@ -160,8 +154,7 @@ OPTIONS Display help. KEYS - In session, the following key sequences, a prefix key (default: ctrl-t) followed by a command key, are intercepted as tio com‐ - mands: + In session, the following key sequences, a prefix key (default: ctrl-t) followed by a command key, are intercepted as tio commands: ctrl-t ? List available key commands @@ -196,12 +189,10 @@ KEYS HEXADECIMAL MODE In hexadecimal mode each incoming byte is printed out as a hexadecimal value. - Bytes can be sent in this mode by typing the two-character hexadecimal representation of the value, e.g.: to send 0xA you must - type 0a or 0A. + Bytes can be sent in this mode by typing the two-character hexadecimal representation of the value, e.g.: to send 0xA you must type 0a or 0A. CONFIGURATION FILE - Options can be set via configuration file using the INI format. tio uses the configuration file first found in the following loca‐ - tions in the order listed: + Options can be set via configuration file using the INI format. tio uses the configuration file first found in the following locations in the order listed: $XDG_CONFIG_HOME/tio/tiorc @@ -321,8 +312,7 @@ EXAMPLES $ 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. + Using serial devices by ID ensures that tio automatically reconnects to the correct serial device if it is disconnected and then reconnected. Redirect serial device I/O to Unix file socket for scripting: @@ -365,4 +355,4 @@ WEBSITE AUTHOR Created by Martin Lund . -tio 1.45 2022-07-13 tio(1) +tio 1.45 2022-07-15 tio(1)