From 4a1c213409a7e514fd731e6a53a27d4d5e29a109 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Thu, 5 Jan 2023 08:20:44 +0100 Subject: [PATCH] Update man page --- man/tio.1.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/tio.1.in b/man/tio.1.in index 52523ee..317e1cb 100644 --- a/man/tio.1.in +++ b/man/tio.1.in @@ -502,12 +502,12 @@ correct serial device if it is disconnected and then reconnected. .TP Redirect serial device I/O to Unix file socket for scripting: -$ tio -S unix:/tmp/tmux-socket0 /dev/ttyUSB0 +$ tio -S unix:/tmp/tio-socket0 /dev/ttyUSB0 .TP Then, to issue a command via the file socket simply do: -$ echo "ls -la" | nc -UN /tmp/tmux-socket0 > /dev/null +$ echo "ls -la" | nc -UN /tmp/tio-socket0 > /dev/null .TP Or use the expect command to script an interaction: