From ce70f431131f260276ef87f61c770bf8b90cb85d Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Wed, 8 May 2024 13:04:08 +0200 Subject: [PATCH] Update man page --- man/tio.1.in | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/man/tio.1.in b/man/tio.1.in index 7e8d7b7..2e5259a 100644 --- a/man/tio.1.in +++ b/man/tio.1.in @@ -703,7 +703,7 @@ expect -i $uart "prompt> " .RE .TP -It is also possible to use the expect/send script functionality to e.g. automate logins: +It is also possible to use tio's own simpler expect/send script functionality to e.g. automate logins: $ tio --script 'expect("login: "); send("root\\n"); expect("Password: "); send("root\\n")' /dev/ttyUSB0 @@ -744,11 +744,6 @@ Manipulate DTR and RTS lines upon first connect to reset connected microcontroll $ tio --script "set{DTR=high,RTS=low}; msleep(100); set{RTS=toggle}" --script-run once /dev/ttyUSB0 -.TP -Automatically log in to connected OS: - -$ tio --script "expect('password:'); send('my_password\\n')" /dev/ttyUSB0 - .SH "WEBSITE" .PP Visit https://tio.github.io