Commit graph

719 commits

Author SHA1 Message Date
Martin Lund
40c8753151 Show error message when reading port settings fail 2022-07-20 12:25:51 +02:00
Martin Lund
4031636bce Update README 2022-07-20 11:25:58 +02:00
Martin Lund
02637a92ca
Merge pull request #162 from rhapsodyv/patch-1
Add MacPorts install instructions
2022-07-20 11:19:51 +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
e96d289718 Cleanup 2022-07-19 14:54:02 +02:00
Martin Lund
cbff112ec3 Update NEWS 2022-07-19 14:52:21 +02:00
Martin Lund
a01d8b38b1 Update plain text man page 2022-07-19 13:02:29 +02:00
Martin Lund
62c00ce05e Update TODO 2022-07-19 12:57:12 +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
35f249394c Update AUTHORS 2022-07-18 19:02:03 +02:00
Ralph Siemsen
34e95bb4a5 Fix relative timestamps
Fix the display of relative timestamps. The hack of subtracting 3600
only works if you happen to be in a time zone that is one hour away from
UTC. When subtracting two time values, the result is an absolute
quantity (interval). These should be displayed as-is; without local time
zone nor daylight saving correction. Hence gmtime() instead of
localtime().
2022-07-18 18:58:28 +02:00
Martin Lund
0bbaf4a296 Update plain text man page 2022-07-17 13:54:56 +02:00
Martin Lund
5fd3bf60ba Update man page 2022-07-17 13:14:59 +02:00
Martin Lund
f26abe91b8 Upgrade inih wrap to r56 2022-07-17 13:07:07 +02:00
Martin Lund
110aa1d9dd Update TODO 2022-07-17 09:34:33 +02:00
Martin Lund
fc3e6c40ec Optimization 2022-07-17 09:34:03 +02:00
Martin Lund
4c2d4ed67f Update README 2022-07-17 03:20:56 +02:00
Martin Lund
371a34d23a Add example configuration file 2022-07-16 12:31:53 +02:00
Martin Lund
8b77111bb1 Bump version 2022-07-15 19:56:11 +02:00
Martin Lund
c931d7690d Update plain text man page 2022-07-15 19:55:52 +02:00
Martin Lund
862a3ecadd Bump version date 2022-07-15 19:03:08 +02:00
Martin Lund
7b5529b31f Update NEWS 2022-07-15 19:02:36 +02:00
Martin Lund
019e93a0ed Update AUTHORS 2022-07-15 19:00:19 +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
52a1e65bc3 Update plain text man page 2022-07-15 12:41:44 +02:00
Martin Lund
b7ff637667 Update README 2022-07-15 12:30:28 +02:00
Martin Lund
d510c101b4 Change 'ctrl-t T' to 'ctrl-t t' for timestamp toggle 2022-07-15 12:26:36 +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
1c53af0681 Update TODO 2022-07-14 14:02:17 +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
Martin Lund
00ae3b2fbd Update TODO 2022-07-14 11:13:22 +02:00
Martin Lund
98db32b251
Merge pull request #160 from chenrui333/add-homebrew-installation-note
docs: add homebrew installation note
2022-07-14 04:47:21 +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
96a035a56d
Merge pull request #159 from chenrui333/fix-build-issue
fix macOS build
2022-07-14 04:17:03 +02:00
Rui Chen
223f0c5d13
fix compilation error
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-07-13 22:09:07 -04:00
Martin Lund
e1c7a5c69a Update tio-demo.gif 2022-07-13 19:17:40 +02:00
Martin Lund
44d1812556 Update tio-demo.gif 2022-07-13 19:10:23 +02:00
Martin Lund
b2ab7a69a9 Update tio-demo.gif 2022-07-13 18:44:19 +02:00
Martin Lund
611406c14f Bump version 2022-07-13 16:23:09 +02:00
Martin Lund
dc50b23bec Update README 2022-07-13 16:02:21 +02:00
Martin Lund
3792e10484 Update man page 2022-07-13 15:52:05 +02:00
Martin Lund
ff1ed7ea3f Bump version date 2022-07-13 15:49:51 +02:00
Martin Lund
252545f9e6 Update NEWS 2022-07-13 15:48:55 +02:00
Martin Lund
dfcda015c3 Add missing include 2022-07-12 22:27:42 +02:00
Martin Lund
a23be7f2c2 Simplify arbitrary baudrate code 2022-07-12 12:09:09 +02:00
Martin Lund
ac859f41b9 Cleanup error printing routines
Clean up so that only the following error related printing functions are
used: tio_error_printf(), tio_error_printf_silent(),
tio_warning_printf().

A session mode switch is introduced for error printing so that it will
print error messages with better formatting depending on in or out of
session.
2022-07-11 23:18:19 +02:00
Martin Lund
73a30a89ef Update README 2022-07-11 21:16:45 +02:00