• src/syncterm/term.c

    From Rob Swindell@VERT to Git commit to sbbs/master on Tuesday, November 10, 2020 23:30:43
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/81492c8a4be0f5a00a2994dd
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Add original XMODEM send/receive protocol options.

    Previously, SyncTERM only supported the more modern XMODEM-1K uploads and XMODEM-CRC downloads. This commit adds support for XMODEM-128 uploads and XMODEM-Checksum downloads.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Stephen Hurd@VERT to Git commit to sbbs/master on Sunday, November 15, 2020 23:47:05
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/fea6104bc351255a90e45937
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix array size issues introduced on last commit.

    Options were added to arrays without increasing the size of arrays.
    This caused the menu generated from them to depend on uninitialized
    memory and potentially crash or emit garbage.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, November 28, 2020 13:21:51
    https://gitlab.synchro.net/main/sbbs/-/commit/ebd7708defaa3c5fa35dd281
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Include timestamps in file transfer log lines

    (emulating the syslog date/timestamp format). Makes debugging file transfer issues easier.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, March 13, 2021 00:17:52
    https://gitlab.synchro.net/main/sbbs/-/commit/ecc690f573875558e0cf0a21
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Handle the new value of CIO_KEY_QUIT better.

    The low byte is no longer zero.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, March 13, 2021 14:23:07
    https://gitlab.synchro.net/main/sbbs/-/commit/0f312cb33a391e7addf592f4
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Remove some backslashes from the ends of lines...

    Presumably these were part of macros once and never cleaned up?

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Sunday, March 14, 2021 22:57:48
    https://gitlab.synchro.net/main/sbbs/-/commit/2ca3bc02fda2de5eb85d8e15
    Modified Files:
    src/syncterm/term.c
    Log Message:
    In XModem/YModem, when total_files reaches zero, stop downloading.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, March 15, 2021 00:03:43
    https://gitlab.synchro.net/main/sbbs/-/commit/24739b234af6f95de7651d7b
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Revert last change... YModem is supposed to send a termination block.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, March 15, 2021 01:30:18
    https://gitlab.synchro.net/main/sbbs/-/commit/581087f329a38dc7130b0c76
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Work around broken sz

    Some broken protocol drivers (like sz) don't send a YModem terminate
    at the end of a batch (or maybe just after a single file?) so SyncTERM
    ends up trying to fall back from G to CRC-16 to 8-bit before ending.

    This detects when the last known file was received, and if the YModem
    header that follows is not correct, aborts the transfer.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Friday, March 19, 2021 11:05:12
    https://gitlab.synchro.net/main/sbbs/-/commit/d8920e0602d46033d5949aa0
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Better comment conformance in key parsing

    There's a comment saying we set key=0 when we consume it... do so
    in a couple cases where it wasn't done.

    Range check the key before sending to the remote.

    This should not actually do anything different, but in the future
    if things are changed at least the comments won't be misleading.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, May 17, 2021 22:29:22
    https://gitlab.synchro.net/main/sbbs/-/commit/b815404814b9dd6819c14c13
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix ETA calculation.

    Use remaining bytes divided by CPS rather than total estimated time
    minus elapsed time.

    We squirrley on resumed ZModem downloads.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Sunday, December 25, 2022 14:09:03
    https://gitlab.synchro.net/main/sbbs/-/commit/cd3a3a2d9f5b63b722194c80
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix b64 decode buf length calculation

    Previously, b64_decode was being asked to decode past the end of
    the application string.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, December 28, 2022 19:54:31
    https://gitlab.synchro.net/main/sbbs/-/commit/29eb84a9762d210550e54c0e
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Since we have the code to generate the correct gamma transfer, let's
    not scale it in one colour space before translating it to a different
    one.

    Also, since almost all PPMs will use a maxval of 255, compile that
    in as the default so we don't need to generate it.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, December 28, 2022 20:21:12
    https://gitlab.synchro.net/main/sbbs/-/commit/6cfed436084fb6acf5591e7e
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Initialize pointer to NULL to avoid free()ing unallocated memory.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Wednesday, December 28, 2022 20:22:50
    https://gitlab.synchro.net/main/sbbs/-/commit/fafed094c52b0ca167e6fd51
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Initialize mbuf too.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net