Commit graph

107 commits

Author SHA1 Message Date
Martin Lund
76a51a4af3 Update README 2022-09-13 16:19:15 +02:00
Martin Lund
eb95a656b0 Update README 2022-09-13 16:15:58 +02:00
Martin Lund
bf3974c2b6 Update README 2022-09-11 22:31:20 +02:00
Martin Lund
81607424f8 Update README 2022-09-11 20:13:21 +02:00
Martin Lund
137e6111f6 Update README 2022-09-11 11:59:42 +02:00
Martin Lund
16479c8d86 Cleanup 2022-09-11 11:55:19 +02:00
Martin Lund
0afcef807b Cleanup 2022-09-11 00:57:05 +02:00
Martin Lund
a85cfcf3ef Update README 2022-09-10 23:01:28 +02:00
Martin Lund
8afbc1d813 Update README 2022-09-10 18:03:08 +02:00
Martin Lund
0dd703e5a2 Remove MacPorts instructions
Remove instructions for MacPorts because the port has no maintainer and
the port build definition is broken (missing dependency on libinih etc.).

It is recommended to use brew instead.
2022-08-23 12:58:58 +02:00
Martin Lund
d2aafc24cc Update README 2022-08-19 15:47:19 +02:00
Martin Lund
1219c6b8c0 Update README 2022-08-16 05:12:39 +02:00
Martin Lund
e837fd0303 Add line response feature
Add a simple line response feature to make it possible to send e.g. a
command string to your serial device and easily receive and parse a line
response.

This is a convenience feature for simple request/response interaction
based on lines. For more advanced interaction the socket feature should
be used instead.

The line response feature is detailed via the following options:

 -r, --response-wait

Wait for line response then quit. A line is considered any string ending
with either CR or NL character. If no line is received tio will quit
after response timeout.

Any tio text is automatically muted when piping a string to tio while in
response mode to make it easy to parse the response.

 --response-timeout <ms>

Set timeout [ms] of line response (default: 100).

Example:

Sending a string (SCPI command) to a test instrument (Korad PSU) and
print line response:

 $ echo "*IDN?" | tio /dev/ttyACM0 --response-wait
 KORAD KD3305P V4.2 SN:32477045
2022-08-15 19:58:28 +02:00
Martin Lund
614517bfc4 Update README 2022-08-13 22:50:22 +02:00
Martin Lund
f82d2353d4 Update README 2022-08-08 15:08:34 +02:00
Martin Lund
0407436624 Update README 2022-07-27 15:06:32 +02:00
Martin Lund
1fb0cad7b9 Update README 2022-07-25 11:06:08 +02:00
Martin Lund
dd785f9a30 Update README 2022-07-25 11:04:05 +02:00
Martin Lund
31459f851b Update README 2022-07-25 11:01:31 +02:00
Martin Lund
4c9f28203d Update README 2022-07-25 10:58:46 +02:00
Martin Lund
0eb59b09cf Update README 2022-07-23 14:52:58 +02:00
Martin Lund
443e07ef8a Update README 2022-07-22 00:29:10 +02:00
Martin Lund
2fb1963da2 Update README 2022-07-22 00:02:42 +02:00
Martin Lund
4031636bce Update README 2022-07-20 11:25:58 +02:00
Victor Oliveira
3bb0ffdeff add macports install instructions
MacPorts support is added by https://github.com/macports/macports-ports/pull/15400
2022-07-19 16:42:53 -03:00
Martin Lund
c57f2c9fba Update README 2022-07-19 18:24:03 +02:00
Martin Lund
3903880106 Rework toggle and pulse feature to support all lines
Replace existing toggle and pulse key commands with the following
generalized key commands which allows to toggle or pulse all serial port
lines:

 ctrl-t g   Toggle serial port line
 ctrl-t p   Pulse serial port line

When used, user will be asked which serial line to toggle or pulse.

Also introduce --line-pulse-duration option for setting specific pulse
duration in milliseconds for each serial line using a key value pair
format. Each key represents a serial line. The following keys are
available: DTR, RTS, CTS, DSR, DCD, RI.

Example:

 $ tio /dev/ttyUSB0 --line-pulse-duration DTR=200,RTS=300,RI=50

Likewise, the pulse duration can also be set via configuration file
using the line-pulse-duration variable:

 line-pulse-duration = DTR=200,RTS=300,RI=50
2022-07-19 12:54:40 +02:00
Martin Lund
4c2d4ed67f Update README 2022-07-17 03:20:56 +02:00
Martin Lund
9733bdf19c Introduce bold color option
Introduce "bold" color option which only apply bold color formatting to
existing system color.

Also make "bold" the default color option.

Fixes all white issue with black on white tio text.
2022-07-15 18:42:03 +02:00
Martin Lund
9db7bb4fbb Update README 2022-07-15 13:45:14 +02:00
Martin Lund
b7ff637667 Update README 2022-07-15 12:30:28 +02:00
Martin Lund
02729c10b1 Add support for remapping prefix key
Make it possible to remap the prefix key (default: ctrl-t) by setting
the prefix-ctrl-key variable in the configuration file.

Allowed values are in the range a..z.

Example, to set the prefix key to ctrl-a simply do:

prefix-ctrl-key = a
2022-07-15 12:18:40 +02:00
Martin Lund
670c31d6f7 Update README 2022-07-14 13:12:46 +02:00
Martin Lund
eac3dac018 Add plaintext man page 2022-07-14 13:07:28 +02:00
Rui Chen
80977e2f1d
docs: add homebrew installation note
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-07-13 22:21:39 -04:00
Martin Lund
dc50b23bec Update README 2022-07-13 16:02:21 +02:00
Martin Lund
73a30a89ef Update README 2022-07-11 21:16:45 +02:00
Martin Lund
c009e19d89 Update README 2022-07-11 18:39:59 +02:00
Martin Lund
bf972bd2f9 Cleanup 2022-07-11 14:15:54 +02:00
Martin Lund
39af74f263 Rename EOL delay to Output line delay 2022-07-11 14:08:12 +02:00
Martin Lund
11762b2300 Replace -U,--upcase with mapping flag OLTU 2022-07-11 10:15:12 +02:00
Robert Snell
944ee9173b Additional commands: EOL delay, lower to upper translation, added mark parity
Added command line options:
-O, --eol-delay to have a separate delay for end of line
-U, --upper to enable translation of lower case alpha to upper case

Added ability to set mark parity.
Added ctrl-t U key sequence to allow enable/disable lower case alpha to
upper case during a session.
Updated Man page with command line options, ctrl-t sequences and
configuration file options.
Updated README.md, with above information.
2022-07-09 21:22:43 -04:00
George Joseph
f24cee61e7 Add Pulse DTR command
MCUs like the ESP32 can be reset if the serial port DTR line is
pulsed for a short time.  You could just type CTRL-t d CTRL-t d
but that's a little awkward since you have to lift your finger
off the CTRL key to type the Ds.  Now you can just type CTRL-T D.

* Added new command "D" to pulse the DTR line.  I.E.  Toggle its
  state twice with a configurable duration between toggles.

* Added new config/command line option "--dtr-pulse-duration"
  to set the duration between the DTR state toggles.  The default
  is 100ms.
2022-07-07 12:45:29 -06:00
Martin Lund
a717631207 Improve description of socket option 2022-07-07 14:00:56 +02:00
Martin Lund
e5d71a5e51 Update README 2022-07-06 16:28:49 +02:00
Martin Lund
167a19fcdd Update README 2022-07-06 15:08:35 +02:00
Martin Lund
36e091842e Update README 2022-07-06 14:58:17 +02:00
Martin Lund
736c1ed003 Update README 2022-07-06 14:51:25 +02:00
Martin Lund
028bd34cbe Update README 2022-07-06 14:46:28 +02:00
Martin Lund
233152f0db Update README 2022-07-04 09:29:55 +02:00