-------------------------------------------------------------------------------- Fedora EPEL Update Notification FEDORA-EPEL-2024-ca0f6325e8 2024-04-24 02:13:53.449911 --------------------------------------------------------------------------------
Name : tio Product : Fedora EPEL 8 Version : 2.8 Release : 1.el8 URL : https://tio.github.io/ Summary : Simple TTY terminal I/O application Description : Tio is a simple TTY terminal application which features a straightforward commandline interface to easily connect to TTY devices for basic input/output. -------------------------------------------------------------------------------- Update Information: tio v2.8 Rework resolve_config_file() Rework line_pulse_duration_option_parse() Introduce proper sscanf() checks. Rework rs485_parse_config() Introduce proper sscanf() checks. Clean up file descriptor name shadowing Add missing header guard Upgrade inih subproject Remove options --response-wait, --response-timeout Remove options and rework input handling so it is possible to do the same thing but via script which is much more flexible. These options were always a bit of a hardcoded solution. With the new script expect feature we can wait for any type of response. For example, pipe command to serial device and wait for line response within 1 second: $ echo "*IDN?" | tio /dev/ttyACM0 --script "expect('\r\n', 1000)" --mute Add lua exit(code) Add timeout feature to expect() Add lua expect(string) Add simple expect functionality. The expect(string) function will wait for input from the tty device and only return when there is a string match. Regular expressions are supported. Example: script = expect('password:'); send('my_password\n') Add lua send(string) Add lua modem_send(file,protocol) Fix xymodem error print outs Rework x/y-modem transfer command Remove ctrl-t X option and instead introduce submenu to ctrl-t x option for picking which xmodem protocol to use. Update README Cleanup options Add independent input and output mode Replaces -x, --hexadecimal option with --input-mode and --output-mode so it is possible to select hex or normal mode for both input and output independently. To obtain same behaviour as -x, --hexadecimal use the following configuration: input-mode = hex output-mode = hex Fix file descriptor handling on MacOS Add tty line configuration script API On some platforms calling high()/low() to switch line states result in costly system calls whick makes it impossible to swith two or more tty lines simultaneously. To help solve this timing issue we introduce a tty line state configuration API which can be used instead of using high()/low(). Using config_low(line) and config_high(line) one can set up a new line state configuration for multiple lines and then use config_apply() to finally apply the configuration. This will result in only one system call to instruct the serial port drive to switch all the configured line states which should help ensure that the lines are switched simultaneously. Example: script = config_high(DTR); config_low(RTS); config_apply() Add ONULBRK mapping flag Add ONULBRK mapping to map nul (zero) to send break signal on output. This is useful if one needs to e.g. send the break signal to the tty device when connected via socket. Add --log-directory option For specifying directory path in which to save automatically named log files. Add Lua scripting feature Add support for running Lua scripts that can manipulate the tty control lines. Script is activated automatically on connect or manually via in session key command. The Lua scripting feature opens up for many posibilities in the future such as adding expect like functionality to easily and programatically interact with the connected device. Invert line states to reflect true electrical level Add support for disabling prefix key handling To disable prefix key input handing simply set prefix-ctrl-key to none. Add meson man pages install option Defaults to installing man pages. Poll on serial port read instead of delay. Add Xmodem-CRC support. CYGWIN: Fix port auto connection. Check return values of sscanf() Failing to check that a call to sscanf actually writes to an output variable can lead to unexpected behavior at reading time. Support NO_COLOR env variable as per no-color.org Fix troff warning .eo/.ec sections seemingly need explicit empty lines using .sp Otherwise, troff complains: troff:<standard input>:535: warning: expected numeric expression, got '\' troff:<standard input>:538: warning: expected numeric expression, got '\' troff:<standard input>:541: warning: expected numeric expression, got '\' 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. Add CodeQL Workflow for Code Security Analysis Fix double call of tty_disconnect() on macOS/Darwin. -------------------------------------------------------------------------------- ChangeLog: * Mon Apr 15 2024 Robert Scheck <rob...@fedoraproject.org> 2.8-1 - Upgrade to 2.8 (#2275155) * Sat Jan 27 2024 Fedora Release Engineering <rel...@fedoraproject.org> - 2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild -------------------------------------------------------------------------------- References: [ 1 ] Bug #2275155 - tio-2.8 is available https://bugzilla.redhat.com/show_bug.cgi?id=2275155 -------------------------------------------------------------------------------- This update can be installed with the "yum" update programs. Use su -c 'yum update tio' at the command line. For more information, refer to "YUM", available at https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7\ /html/System_Administrators_Guide/ch-yum.html All packages are signed with the Fedora EPEL GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- -- _______________________________________________ epel-package-announce mailing list -- epel-package-announce@lists.fedoraproject.org To unsubscribe send an email to epel-package-announce-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/epel-package-announce@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue