pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/tio tio: update to 1.38.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/148054fce467
branches:  trunk
changeset: 380298:148054fce467
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Fri Jun 03 08:49:10 2022 +0000

description:
tio: update to 1.38.

=== tio v1.38 ===

Changes since tio v1.37:

 * Redirect error messages to stderr

 * Improve help and man page

 * Mention config file in --help

 * Fix running without config file

 * Fix config file error messages

 * Redirect error messages to stderr

 * Add repology packaging status

 * Fix parsing of default settings

   Default configuration file settings were not parsed in case a section
   was matched. Now we make sure that the default (unnamed) settings are
   always parsed.

 * Append to existing log file (no truncation)

 * Add socket info to show configuration

 * Print socket info at startup

 * Fix socket option parsing

Peter Collingbourne:

 * Match user input against config section names if pattern matching was unsuccessful.

   This allows for better config file ergonomics if the user has a diverse
   set of serial devices as the name does not need to be specified in
   the config file twice.

 * Add support for external control via a Unix domain socket.

   This feature allows an external program to inject output into and
   listen to input from a serial port via a Unix domain socket (path
   specified via the -S/--socket command line flag, or the socket
   config file option) while tio is running. This is useful for ad-hoc
   scripting of serial port interactions while still permitting manual
   control. Since many serial devices (at least on Linux) get confused
   when opened by multiple processes, and most commands do not know
   how to correctly open a serial device, this allows a more convenient
   usage model than directly writing to the device node from an external
   program.

   Any input from clients connected to the socket is sent on the serial
   port as if entered at the terminal where tio is running (except that
   ctrl-t sequences are not recognized), and any input from the serial
   port is multiplexed to the terminal and all connected clients.

   Sockets remain open while the serial port is disconnected, and writes
   will block.

   Example usage 1 (issue a command):

     echo command | nc -UN /path/to/socket > /dev/null

   Example usage 2 (use the expect command to script an interaction):

     #!/usr/bin/expect -f

     set timeout -1
     log_user 0

     spawn nc -UN /path/to/socket
     set uart $spawn_id

     send -i $uart "command1\n"
     expect -i $uart "prompt> "
     send -i $uart "command2\n"
     expect -i $uart "prompt> "

lexaone:

 * fix for using option 'log' without 'log-filename' in config file

diffstat:

 comms/tio/Makefile |  4 ++--
 comms/tio/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r aad3ab8e8d9b -r 148054fce467 comms/tio/Makefile
--- a/comms/tio/Makefile        Fri Jun 03 08:37:11 2022 +0000
+++ b/comms/tio/Makefile        Fri Jun 03 08:49:10 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2022/04/15 07:57:15 fcambus Exp $
+# $NetBSD: Makefile,v 1.9 2022/06/03 08:49:10 fcambus Exp $
 
-DISTNAME=      tio-1.37
+DISTNAME=      tio-1.38
 CATEGORIES=    comms
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tio/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
diff -r aad3ab8e8d9b -r 148054fce467 comms/tio/distinfo
--- a/comms/tio/distinfo        Fri Jun 03 08:37:11 2022 +0000
+++ b/comms/tio/distinfo        Fri Jun 03 08:49:10 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2022/04/15 07:57:15 fcambus Exp $
+$NetBSD: distinfo,v 1.9 2022/06/03 08:49:10 fcambus Exp $
 
-BLAKE2s (tio-1.37.tar.xz) = 46014a1655fb87fb552465f34aecf8bac9225ef39ce6021179baa8d167ff14cd
-SHA512 (tio-1.37.tar.xz) = 207184d297809c7f88185353b55519cf119eed26b5710b644418ef0603d003618c69e593a0f531822c0455a512397cea1b4747a453af5bbb369dad14025b0847
-Size (tio-1.37.tar.xz) = 1804236 bytes
+BLAKE2s (tio-1.38.tar.xz) = 211cb1098dc5db582acd6c0133e50ed1f25a778d4e8dad9df2221e6e5ddd5c0d
+SHA512 (tio-1.38.tar.xz) = d702c907460abd3c15d051f185592d5ec9245734016e299960a4a102724e28208bb21b71cb3cba7919cd2197f338470297034401c7978bcd207195b548e8a2b9
+Size (tio-1.38.tar.xz) = 1806556 bytes



Home | Main Index | Thread Index | Old Index