mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Update README
This commit is contained in:
parent
36e091842e
commit
167a19fcdd
2 changed files with 10 additions and 10 deletions
10
README.md
10
README.md
|
|
@ -153,18 +153,18 @@ Example configuration file:
|
||||||
|
|
||||||
```
|
```
|
||||||
# Defaults
|
# Defaults
|
||||||
baudrate = 115200
|
baudrate = 9600
|
||||||
databits = 8
|
databits = 8
|
||||||
parity = none
|
parity = none
|
||||||
stopbits = 1
|
stopbits = 1
|
||||||
color = 10
|
color = 10
|
||||||
|
|
||||||
[ftdi]
|
[rpi3]
|
||||||
tty = /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0
|
tty = /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0
|
||||||
baudrate = 9600
|
baudrate = 115200
|
||||||
no-autoconnect = enable
|
no-autoconnect = enable
|
||||||
log = enable
|
log = enable
|
||||||
log-file = ftdi.log
|
log-file = rpi3.log
|
||||||
color = 12
|
color = 12
|
||||||
|
|
||||||
[usb devices]
|
[usb devices]
|
||||||
|
|
@ -175,7 +175,7 @@ color = 13
|
||||||
|
|
||||||
To use a specific sub-configuration by name simply start tio like so:
|
To use a specific sub-configuration by name simply start tio like so:
|
||||||
```
|
```
|
||||||
$ tio ftdi
|
$ tio rpi3
|
||||||
```
|
```
|
||||||
Or by pattern match:
|
Or by pattern match:
|
||||||
```
|
```
|
||||||
|
|
|
||||||
10
man/tio.1.in
10
man/tio.1.in
|
|
@ -286,7 +286,7 @@ To change the default configuration simply set options like so:
|
||||||
.nf
|
.nf
|
||||||
.eo
|
.eo
|
||||||
# Defaults
|
# Defaults
|
||||||
baudrate = 115200
|
baudrate = 9600
|
||||||
databits = 8
|
databits = 8
|
||||||
parity = none
|
parity = none
|
||||||
stopbits = 1
|
stopbits = 1
|
||||||
|
|
@ -301,9 +301,9 @@ Named sub-configurations can be added via labels:
|
||||||
.RS
|
.RS
|
||||||
.nf
|
.nf
|
||||||
.eo
|
.eo
|
||||||
[ftdi]
|
[rpi3]
|
||||||
baudrate = 115200
|
|
||||||
tty = /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0
|
tty = /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0
|
||||||
|
baudrate = 115200
|
||||||
color = 11
|
color = 11
|
||||||
.ec
|
.ec
|
||||||
.fi
|
.fi
|
||||||
|
|
@ -312,7 +312,7 @@ color = 11
|
||||||
.TP
|
.TP
|
||||||
Activate the sub-configuration by name:
|
Activate the sub-configuration by name:
|
||||||
|
|
||||||
$ tio ftdi
|
$ tio rpi3
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
Which is equivalent to:
|
Which is equivalent to:
|
||||||
|
|
@ -327,8 +327,8 @@ A sub-configuration can also be activated by its pattern which supports regular
|
||||||
.eo
|
.eo
|
||||||
[usb device]
|
[usb device]
|
||||||
pattern = usb([0-9]*)
|
pattern = usb([0-9]*)
|
||||||
baudrate = 115200
|
|
||||||
tty = /dev/ttyUSB%s
|
tty = /dev/ttyUSB%s
|
||||||
|
baudrate = 115200
|
||||||
.ec
|
.ec
|
||||||
.fi
|
.fi
|
||||||
.RE
|
.RE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue