forked from tio/tio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77a5f1d
commit 8a212d1
Showing
15 changed files
with
331 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -224,6 +224,10 @@ KEYS | |
|
||
ctrl-t e Toggle local echo mode | ||
|
||
ctrl-t f Toggle log to file | ||
|
||
ctrl-t F Flush data I/O buffers (discard data written but not transmitted and data received but not read) | ||
|
||
ctrl-t g Toggle serial port line | ||
|
||
ctrl-t h Toggle hexadecimal mode | ||
|
@@ -262,7 +266,7 @@ CONFIGURATION FILE | |
|
||
Labels can be used to group settings into named sub-configurations which can be activated from the command-line when starting tio. | ||
|
||
tio will try to match the user input to a sub-configuration by name or by pattern to get the tty and other options. | ||
tio will try to match the user input to a sub-configuration by name or by pattern to get the TTY device and other options. | ||
|
||
Options without any label change the default options. | ||
|
||
|
@@ -272,7 +276,7 @@ CONFIGURATION FILE | |
|
||
pattern Pattern matching user input. This pattern can be an extended regular expression with a single group. | ||
|
||
tty tty device to open. If it contains a "%s" it is substituted with the first group match. | ||
device TTY device to open. If it contains a "%s" it is substituted with the first group match. | ||
|
||
baudrate Set baud rate | ||
|
||
|
@@ -338,7 +342,7 @@ CONFIGURATION FILE EXAMPLES | |
Named sub-configurations can be added via labels: | ||
|
||
[rpi3] | ||
tty = /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0 | ||
device = /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0 | ||
baudrate = 115200 | ||
color = 11 | ||
|
||
|
@@ -354,7 +358,7 @@ CONFIGURATION FILE EXAMPLES | |
|
||
[usb device] | ||
pattern = usb([0-9]*) | ||
tty = /dev/ttyUSB%s | ||
device = /dev/ttyUSB%s | ||
baudrate = 115200 | ||
|
||
Activate the sub-configuration by pattern match: | ||
|
@@ -378,7 +382,7 @@ EXAMPLES | |
|
||
$ tio -b 115200 -d 8 -f none -s 1 -p none /dev/ttyUSB0 | ||
|
||
It is recommended to connect serial tty devices by ID: | ||
It is recommended to connect serial TTY devices by ID: | ||
|
||
$ tio /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0 | ||
|
||
|
@@ -407,11 +411,11 @@ EXAMPLES | |
send -i $uart "ls -la\n" | ||
expect -i $uart "prompt> " | ||
|
||
Redirect device I/O to network file socket for remote tty sharing: | ||
Redirect device I/O to network file socket for remote TTY sharing: | ||
|
||
$ tio --socket inet:4444 /dev/ttyUSB0 | ||
|
||
Then, use netcat to connect to the shared tty session over network (assuming tio is hosted on IP 10.0.0.42): | ||
Then, use netcat to connect to the shared TTY session over network (assuming tio is hosted on IP 10.0.0.42): | ||
|
||
$ nc -N 10.0.0.42 4444 | ||
|
||
|
@@ -439,4 +443,4 @@ WEBSITE | |
AUTHOR | ||
Created by Martin Lund <[email protected]>. | ||
|
||
tio 2.2 2022-10-18 tio(1) | ||
tio 2.4 2022-11-02 tio(1) |
Oops, something went wrong.