This commit is contained in:
Martin Lund 2022-09-11 11:54:27 +02:00
parent 278750428c
commit 16479c8d86
3 changed files with 8 additions and 6 deletions

View file

@ -88,7 +88,7 @@ The command-line interface is straightforward as reflected in the output from
--log-strip Strip control characters and escape sequences
-m, --map <flags> Map characters
-c, --color 0..255|bold|none|list Colorize tio text (default: bold)
-S, --socket <socket> Redirect I/O to file or network socket
-S, --socket <socket> Redirect I/O to socket
-x, --hexadecimal Enable hexadecimal mode
-r, --response-wait Wait for line response then quit
--response-timeout <ms> Response timeout (default: 100)

View file

@ -190,10 +190,12 @@ Default value is "bold".
.TP
.BR \-S ", " "\-\-socket \fI<socket>\fR\fB
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 \fBctrl-t\fR sequences are not recognized), and any input from the serial
port is multiplexed 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 \fBctrl-t\fR sequences
are not recognized), and any input from the serial port is multiplexed to the
terminal and all connected clients.
Sockets remain open while the serial port is disconnected, and writes will block.

View file

@ -116,7 +116,7 @@ void print_help(char *argv[])
printf(" --log-strip Strip control characters and escape sequences\n");
printf(" -m, --map <flags> Map characters\n");
printf(" -c, --color 0..255|bold|none|list Colorize tio text (default: bold)\n");
printf(" -S, --socket <socket> Redirect I/O to file or network socket\n");
printf(" -S, --socket <socket> Redirect I/O to socket\n");
printf(" -x, --hexadecimal Enable hexadecimal mode\n");
printf(" -r, --response-wait Wait for line response then quit\n");
printf(" --response-timeout <ms> Response timeout (default: 100)\n");