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
27b8c1b82a
commit
4a1c213409
1 changed files with 2 additions and 2 deletions
|
|
@ -502,12 +502,12 @@ correct serial device if it is disconnected and then reconnected.
|
||||||
.TP
|
.TP
|
||||||
Redirect serial device I/O to Unix file socket for scripting:
|
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
|
.TP
|
||||||
Then, to issue a command via the file socket simply do:
|
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
|
.TP
|
||||||
Or use the expect command to script an interaction:
|
Or use the expect command to script an interaction:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue