mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Update man page
This commit is contained in:
parent
f825363606
commit
ce70f43113
1 changed files with 1 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue