• src/syncterm/term.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Friday, July 24, 2026 11:04:33
    https://gitlab.synchro.net/main/sbbs/-/commit/7877652a0c218228a7bac7a0
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Discard stale transfer handshakes

    Remote transfer programs repeat their readiness request while the user navigates SyncTERM's protocol and file menus. Feeding every queued
    request to the protocol adds an avoidable handshake round trip for each
    stale copy before a transfer can begin.

    Drain all receive-buffer layers through the normal decoded input path
    before starting a transfer, then replay the suffix beginning with the
    newest applicable request. Retain ZRINIT for ZMODEM uploads, ZRQINIT
    for ZMODEM downloads, and repeated NAK, C, or G requests for X/YMODEM
    uploads. Leave queues without a recognized request unchanged and avoid trimming protocols without an unambiguous inbound marker.

    Account for replayed input in the receive helpers and reset the
    additional staging state between sessions. Verify with a clean debug
    build and all 67 SyncTERM terminal tests.

    Refs SyncTERM ticket 271

    Co-authored-by: OpenAI Codex <noreply@openai.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tuesday, August 04, 2026 08:51:26
    https://gitlab.synchro.net/main/sbbs/-/commit/5d932c9bd4d90d091b986c4d
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Capture the final screen before popup draw, not after

    When the remote disconnects, we need to grab a copy of the final screen
    before we draw the popup indicating what happened, not after.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sunday, August 09, 2026 16:13:42
    https://gitlab.synchro.net/main/sbbs/-/commit/af25efebf52313a0afe72a5b
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Show disconnect notice without obscuring terminal
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sunday, August 09, 2026 17:12:34
    https://gitlab.synchro.net/main/sbbs/-/commit/22b5de045f651c6beb307b64
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Restore disconnect details shortcut
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)