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
fcfeb9189c
commit
92fbe86c49
1 changed files with 11 additions and 7 deletions
18
man/tio.1.in
18
man/tio.1.in
|
|
@ -275,9 +275,9 @@ color=11
|
||||||
.TP
|
.TP
|
||||||
With this config section defined in the configuration file the following commands would be equivalent:
|
With this config section defined in the configuration file the following commands would be equivalent:
|
||||||
|
|
||||||
tio ftdi
|
$ tio ftdi
|
||||||
|
|
||||||
tio -b 115200 -c 11 /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0
|
$ tio -b 115200 -c 11 /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
A config section can also be matched by its pattern which supports regular expressions:
|
A config section can also be matched by its pattern which supports regular expressions:
|
||||||
|
|
@ -296,26 +296,30 @@ tty=/dev/ttyUSB%s
|
||||||
.TP
|
.TP
|
||||||
Making the following commands equivalent:
|
Making the following commands equivalent:
|
||||||
|
|
||||||
tio usb12
|
$ tio usb12
|
||||||
|
|
||||||
tio -b 115200 /dev/ttyUSB12
|
$ tio -b 115200 /dev/ttyUSB12
|
||||||
|
|
||||||
.SH "EXAMPLES"
|
.SH "EXAMPLES"
|
||||||
.TP
|
.TP
|
||||||
Typical use is without options. For example:
|
Typical use is without options. For example:
|
||||||
|
|
||||||
tio /dev/ttyUSB0
|
$ tio /dev/ttyUSB0
|
||||||
.TP
|
.TP
|
||||||
Which corresponds to the commonly used options:
|
Which corresponds to the commonly used options:
|
||||||
|
|
||||||
tio \-b 115200 \-d 8 \-f none \-s 1 \-p none /dev/ttyUSB0
|
$ tio \-b 115200 \-d 8 \-f none \-s 1 \-p none /dev/ttyUSB0
|
||||||
.TP
|
.TP
|
||||||
It is recommended to connect serial tty devices by ID. For example:
|
It is recommended to connect serial tty devices by ID. For example:
|
||||||
|
|
||||||
tio /dev/serial/by\-id/usb\-FTDI_TTL232R-3V3_FTGQVXBL\-if00\-port0
|
$ tio /dev/serial/by\-id/usb\-FTDI_TTL232R-3V3_FTGQVXBL\-if00\-port0
|
||||||
.PP
|
.PP
|
||||||
Using serial devices by ID ensures that tio automatically reconnects to the
|
Using serial devices by ID ensures that tio automatically reconnects to the
|
||||||
correct serial device if the device is disconnected and then reconnected.
|
correct serial device if the device is disconnected and then reconnected.
|
||||||
|
.TP
|
||||||
|
To listen and redirect serial device I/O to network socket on port 4444 do:
|
||||||
|
|
||||||
|
$ tio -S inet:4444 /dev/ttyUSB0
|
||||||
|
|
||||||
.SH "WEBSITE"
|
.SH "WEBSITE"
|
||||||
.PP
|
.PP
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue