Add character mapping examples

This commit is contained in:
Martin Lund 2025-01-25 15:09:07 +01:00
parent 27f8f2c4e6
commit 37994b3cc5
3 changed files with 15 additions and 0 deletions

View file

@ -275,6 +275,11 @@ Redirect I/O to IPv4 network socket on port 4242:
$ tio --socket inet:4242 /dev/ttyUSB0
```
Map NL to CR-NL on input from device and DEL to BS on output to device:
```
$ tio --map INLCRNL,ODELBS /dev/ttyUSB0
```
Pipe data to the serial device:
```
$ cat data.bin | tio /dev/ttyUSB0