From a698799a7db06f0354912544ce9aa6bb39d81553 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Mon, 29 Apr 2024 16:22:01 +0200 Subject: [PATCH] Update man page --- man/tio.1.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man/tio.1.in b/man/tio.1.in index 9ef4c73..b305d07 100644 --- a/man/tio.1.in +++ b/man/tio.1.in @@ -691,6 +691,11 @@ expect -i $uart "prompt> " .fi .RE +.TP +It is also possible to use the expect/send script functionality to e.g. automate logins: + +$ tio --script 'expect("login: "); send("root\\n"); expect("Password: "); send("root\\n")' /dev/ttyUSB0 + .TP Redirect device I/O to network file socket for remote TTY sharing: