Update README

This commit is contained in:
Martin Lund 2022-07-06 15:08:35 +02:00
parent 36e091842e
commit 167a19fcdd
2 changed files with 10 additions and 10 deletions

View file

@ -153,18 +153,18 @@ Example configuration file:
```
# Defaults
baudrate = 115200
baudrate = 9600
databits = 8
parity = none
stopbits = 1
color = 10
[ftdi]
[rpi3]
tty = /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0
baudrate = 9600
baudrate = 115200
no-autoconnect = enable
log = enable
log-file = ftdi.log
log-file = rpi3.log
color = 12
[usb devices]
@ -175,7 +175,7 @@ color = 13
To use a specific sub-configuration by name simply start tio like so:
```
$ tio ftdi
$ tio rpi3
```
Or by pattern match:
```

View file

@ -286,7 +286,7 @@ To change the default configuration simply set options like so:
.nf
.eo
# Defaults
baudrate = 115200
baudrate = 9600
databits = 8
parity = none
stopbits = 1
@ -301,9 +301,9 @@ Named sub-configurations can be added via labels:
.RS
.nf
.eo
[ftdi]
baudrate = 115200
[rpi3]
tty = /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0
baudrate = 115200
color = 11
.ec
.fi
@ -312,7 +312,7 @@ color = 11
.TP
Activate the sub-configuration by name:
$ tio ftdi
$ tio rpi3
.TP
Which is equivalent to:
@ -327,8 +327,8 @@ A sub-configuration can also be activated by its pattern which supports regular
.eo
[usb device]
pattern = usb([0-9]*)
baudrate = 115200
tty = /dev/ttyUSB%s
baudrate = 115200
.ec
.fi
.RE