Commit graph

36 commits

Author SHA1 Message Date
Martin Lund
f389f11669 Update plaintext man page 2025-01-26 16:41:24 +01:00
Keith Hill
afd82f7ac4 + Add system timestamps to lua read() and new lua read_line() per global options
+ Add missing timestamp-format epoch
+ Update send_ to use fsync and tcdrain like normal tty_sync does
+ Rework read_line to save partial line at timeout
+ Simplified read_line to reduce cyclomatic complexity

+ renamed example files read.lua and read_line.lua
+ moved #define READ_LINE_SIZE to top of file
+ renamed g_linebuf to linebuf, and moved it into read_line as a static variable
2024-11-07 21:45:06 +01:00
Martin Lund
9f27ce5899 Update version date 2024-08-31 09:09:34 +02:00
Steve Marple
f47467271f Add "epoch" timestamp option
Add an option that prints the timestamp as the number of seconds since
the Unix epoch.
2024-08-24 12:35:30 +02:00
Martin Lund
475bc29cc8 Update plain text man page 2024-07-19 09:39:41 +02:00
Martin Lund
ef6fa8030e Update version date 2024-06-29 12:19:54 +02:00
Jakob Haufe
c5afd86b9a Fix typos 2024-06-15 17:16:23 +02:00
Martin Lund
6f6038ebcd Update plain text man page 2024-05-15 08:35:45 +02:00
Martin Lund
b3aac7b182 Update plain text man page 2024-05-15 00:13:03 +02:00
Martin Lund
9320f54a73 Update plaintext man page 2024-05-07 09:19:51 +02:00
Martin Lund
d19ba1c492 Add new ways to manage serial devices
* Rename --list-devices to --list

 * Rename --no-autoconnect to --no-reconnect

 * Switch -l and -L options

   * -l now lists available serial devices

   * -L enables log to file

 * Add option --auto-connect <strategy>

   * Supported strategies:

     * "new" - Waits to connect first new appearing serial device

     * "latest" - Connects to latest registered serial device

     * "direct" - Connect directly to specified serial device (default)

 * Add options to exclude serial devices from auto connect strategy by
   pattern

   * Supported exclude options:

     * --exclude-devices <pattern>

       Example: '--exclude-devices "/dev/ttyUSB2,/dev/ttyS?"'

     * --exclude-drivers <pattern>

       Example: '--exclude-drivers "cdc_acm"'

     * --exclude-tids <pattern>

       Example: '--exclude-tids "yW07,bCC2"'

     * Patterns support '*' and '?'

 * Connect to same port/device combination via unique topology ID (TID)

   * Topology ID is a 4 digit base62 encoded hash of a device topology
     string coming from the Linux kernel. This means that whenever you
     plug in the same e.g. USB serial port device to the same USB hub
     port connected via the exact same hub topology all the way to your
     computer, you will get the same unique TID.

   * Useful for stable reconnections when serial device has no serial
     device by ID

   * For now, only tested on Linux.

 * Reworked and improved listing of serial devices to show serial devices:

   * By device

     * Including TID, uptime, driver, and description.

     * Sorted by uptime (newest device listed last)

   * By unique topology ID

   * By ID

   * By path

 * Add script interface 'list = tty_search()' for searching for serial
   devices.
2024-04-26 22:19:22 +02:00
Martin Lund
a1a4dc4642 Update plain text man page 2024-04-14 01:42:43 +02:00
Martin Lund
2db87ede53 Update README 2024-04-12 22:21:35 +02:00
Martin Lund
e028544cd0 Update plain text man page 2024-04-12 00:24:01 +02:00
HiFiPhile
fd6a246908 Add manpage. 2024-04-09 14:58:17 +02:00
Fredrik Svedberg
58c9489b92 Add map FF to ESC-c on input
Added map of form feed to ESC-c on input for terminals that
do not clear screen on ^L but do on ESC-c.
2024-02-12 22:22:20 +01:00
Martin Lund
1777206de7 Update plain text man page 2023-09-21 08:47:34 +02:00
Wes Koerber
5656381cc3 chore: update readme, bash completion, man page 2023-07-13 20:58:01 -04:00
Martin Lund
148a3c1da1 Add --log-append option
Add --log-append option which makes tio append to any existing log file.

This also changes the default behaviour of tio from appending to
overwriting any existing log file. Now you have to use this new option
to make tio append.
2023-04-28 20:50:34 +02:00
Martin Lund
3bedd85e7c Update man page 2023-04-27 10:13:57 +02:00
Martin Lund
4782faf47f Update plain text man page 2023-01-05 08:23:09 +01:00
Martin Lund
a2bbab0684 Update plain text man page 2022-12-17 17:11:22 +01:00
Martin Lund
6b084a53b8 Update version tag date 2022-12-02 13:05:00 +01:00
Martin Lund
a21809b090 Update plain text man page 2022-12-02 12:59:51 +01:00
Martin Lund
1aaecef419 Update plain text man page 2022-11-01 11:11:54 +01:00
Martin Lund
a40097f837 Update man page 2022-10-18 15:28:59 +02:00
Martin Lund
14fc77ffc1 Update plain text man page 2022-10-15 00:58:47 +02:00
Attila Veghelyi
4924969268 Complete bit reorder feature for release 2022-09-29 17:33:35 +02:00
Martin Lund
61b204aa3d Update plain text man page 2022-09-11 11:58:18 +02:00
Martin Lund
278750428c Update plain text man page 2022-09-11 11:47:04 +02:00
Martin Lund
88588100e4 Update plain text man page 2022-09-10 22:46:58 +02:00
Martin Lund
a01d8b38b1 Update plain text man page 2022-07-19 13:02:29 +02:00
Martin Lund
0bbaf4a296 Update plain text man page 2022-07-17 13:54:56 +02:00
Martin Lund
c931d7690d Update plain text man page 2022-07-15 19:55:52 +02:00
Martin Lund
52a1e65bc3 Update plain text man page 2022-07-15 12:41:44 +02:00
Martin Lund
eac3dac018 Add plaintext man page 2022-07-14 13:07:28 +02:00