From 13f86bd18a82dc17a37b3caf3efa6d625ba20394 Mon Sep 17 00:00:00 2001 From: yabu76 Date: Sat, 14 Feb 2026 09:22:12 +0900 Subject: [PATCH] XMODEM-checksum (aka XMODEM-128) and some fixes Note: XMODEM_SUM refers to the early XMODEM 128bytes/Checksum. --- README.md | 4 ++-- man/tio.1.in | 4 ++-- man/tio.1.txt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e3ab066..0e33721 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ when used in combination with [tmux](https://tmux.github.io). * Useful for reconnecting when serial device has no serial device by ID * Support for non-standard baud rates * Support for mark and space parity - * X-modem (1K/CRC) and Y-modem file upload + * X-modem (1K/CRC/Checksum) and Y-modem file upload * Support for RS-485 mode * List available serial devices * By device @@ -431,7 +431,7 @@ Returns the `tio` table. Send file using x/y-modem protocol. -Protocol can be any of `XMODEM_1K`, `XMODEM_CRC`, `YMODEM`. +Protocol can be any of `XMODEM_1K`, `XMODEM_CRC`, `XMODEM_SUM`, `YMODEM`. #### `tio.ttysearch()` diff --git a/man/tio.1.in b/man/tio.1.in index aaaf8a5..8caeefb 100644 --- a/man/tio.1.in +++ b/man/tio.1.in @@ -426,7 +426,7 @@ Toggle line timestamp mode .IP "\fBctrl-t v" Show version .IP "\fBctrl-t x" -Send file using the XMODEM-1K or XMODEM-CRC protocol (prompts for file name and protocol) +Send file using the XMODEM-1K or XMODEM-CRC or XMODEM-SUM protocol (prompts for file name and protocol) .IP "\fBctrl-t y" Send file using the YMODEM protocol (prompts for file name) .IP "\fBctrl-t ctrl-t" @@ -468,7 +468,7 @@ Returns the tio table. .IP "\fBtio.send(file, protocol)" Send file using x/y-modem protocol. -Protocol can be any of XMODEM_1K, XMODEM_CRC, YMODEM. +Protocol can be any of XMODEM_1K, XMODEM_CRC, XMODEM_SUM, YMODEM. .IP "\fBtio.ttysearch()" Search for serial devices. diff --git a/man/tio.1.txt b/man/tio.1.txt index 46afb5e..c1efbbc 100644 --- a/man/tio.1.txt +++ b/man/tio.1.txt @@ -342,7 +342,7 @@ KEY COMMANDS ctrl-t v Show version - ctrl-t x Send file using the XMODEM-1K or XMODEM-CRC protocol (prompts for file name and protocol) + ctrl-t x Send file using the XMODEM-1K or XMODEM-CRC or XMODEM-SUM protocol (prompts for file name and protocol) ctrl-t y Send file using the YMODEM protocol (prompts for file name) @@ -382,7 +382,7 @@ SCRIPT API send(file, protocol) Send file using x/y-modem protocol. - Protocol can be any of XMODEM_1K, XMODEM_CRC, YMODEM. + Protocol can be any of XMODEM_1K, XMODEM_CRC, XMODEM_SUM, YMODEM. tty_search() Search for serial devices.