Update man page

This commit is contained in:
Martin Lund 2024-05-08 13:04:08 +02:00
parent f825363606
commit ce70f43113

View file

@ -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