• src/syncterm/conn_conpty.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sunday, January 05, 2025 13:53:46
    https://gitlab.synchro.net/main/sbbs/-/commit/39bf23adb8ad077a1388cfe7
    Modified Files:
    src/syncterm/conn_conpty.c
    Log Message:
    Maybe I need to move the #include to after <windows.h>?
    --- SBBSecho 3.23-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, January 05, 2025 14:10:29
    https://gitlab.synchro.net/main/sbbs/-/commit/f7c52aa39f7c2edcfaa4eb50
    Modified Files:
    src/syncterm/conn_conpty.c
    Log Message:
    Reset terminate to false during connect()

    Fixes bug where you could only open a Shell session on Windows once
    per invocation of SyncTERM.
    --- SBBSecho 3.23-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, January 05, 2025 19:29:31
    https://gitlab.synchro.net/main/sbbs/-/commit/a535dd36b3cb66b74d2f2bd2
    Modified Files:
    src/syncterm/conn_conpty.c
    Log Message:
    Translate ConPty I/O to/from UTF-8.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Monday, January 06, 2025 22:29:36
    https://gitlab.synchro.net/main/sbbs/-/commit/6fb2a1e1f2884a0e4a948658
    Modified Files:
    src/syncterm/conn_conpty.c
    Log Message:
    sz needs to be a SIZE_T, not a size_t.

    :|
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Saturday, October 04, 2025 20:29:09
    https://gitlab.synchro.net/main/sbbs/-/commit/030f8b8fb38623f84081c0cf
    Modified Files:
    src/syncterm/conn_conpty.c
    Log Message:
    Fix some warnings when built with MSVC
    --- SBBSecho 3.30-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, March 15, 2026 14:09:13
    https://gitlab.synchro.net/main/sbbs/-/commit/2836b0a2fe1df7c154492ad0
    Modified Files:
    src/syncterm/conn_conpty.c
    Log Message:
    Fix get_utf8_span() boundary checks in conn_conpty.c

    Multi-byte UTF-8 completeness checks compared (b + N) <= last after
    advancing b past the sequence, requiring N extra bytes beyond the
    sequence end. Changed all three cases to (b - 1) <= last, which
    correctly checks that the last byte of the sequence is within bounds. Previously, complete multi-byte sequences at the buffer end were
    incorrectly excluded from the span count.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)