• src/doors/clans-src/src/video.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, October 19, 2025 10:37:09
    https://gitlab.synchro.net/main/sbbs/-/commit/43f3b35a0ff1fe2079fd8f51
    Modified Files:
    src/doors/clans-src/src/video.c
    Log Message:
    Only AllocConsole() if we don't have one, free screen buffer

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, October 19, 2025 10:37:09
    https://gitlab.synchro.net/main/sbbs/-/commit/c8f2ae66d945f6874ac0340c
    Modified Files:
    src/doors/clans-src/src/video.c
    Log Message:
    Free resources in the reverse order they were obtained.

    I was trying to work around a bug in Windows Terminal, but I can't,
    the user needs to upgrade their Terminal.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, October 22, 2025 13:05:39
    https://gitlab.synchro.net/main/sbbs/-/commit/adf2f528cf97eb15693e09d3
    Modified Files:
    src/doors/clans-src/src/video.c
    Log Message:
    Some local display fixups for *nix

    This is still very terrible.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, October 26, 2025 11:58:21
    https://gitlab.synchro.net/main/sbbs/-/commit/fb94ab0ccdbc7d06d492a14c
    Modified Files:
    src/doors/clans-src/src/video.c
    Log Message:
    Fix Windows builds

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, October 26, 2025 13:27:07
    https://gitlab.synchro.net/main/sbbs/-/commit/2e47fc068c84e733d0a9a146
    Modified Files:
    src/doors/clans-src/src/video.c
    Log Message:
    makeraw() is for *nix only

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, October 29, 2025 18:13:55
    https://gitlab.synchro.net/main/sbbs/-/commit/de26a389c2e9a2f547e3863e
    Modified Files:
    src/doors/clans-src/src/video.c
    Log Message:
    Fix screen restor on *nix console

    Now that we don't wrap at the end of lines, we need to move to the
    next line ourselves.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, October 30, 2025 09:42:21
    https://gitlab.synchro.net/main/sbbs/-/commit/28e6d95ee9566b1713d74b99
    Modified Files:
    src/doors/clans-src/src/video.c
    Log Message:
    Call Video_Init() from zputs() if it hasn't bee called

    This means using VideoInitialized better... it now prevents
    Video_Init() from initializing more than once without a Video_Close()
    first.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, October 30, 2025 10:03:16
    https://gitlab.synchro.net/main/sbbs/-/commit/dc5abfc23870c7ca47cef840
    Modified Files:
    src/doors/clans-src/src/video.c
    Log Message:
    Handle case where stdout is not a TTY.

    This fixes the various maint jobs behaving very weirdly when ran
    as an event.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to Git commit to main/sbbs/master on Friday, October 31, 2025 13:36:17
    https://gitlab.synchro.net/main/sbbs/-/commit/7915e31bea2dd103b59170b7
    Modified Files:
    src/doors/clans-src/src/video.c
    Log Message:
    SetCurs() isn't uses anywhere else, make static

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, March 13, 2026 14:48:42
    https://gitlab.synchro.net/main/sbbs/-/commit/144dbf301064f1039b506c49
    Modified Files:
    src/doors/clans-src/src/video.c
    Log Message:
    Fix Windows ScrollUp crash: correct SMALL_RECT off-by-one errors

    SMALL_RECT coordinates are inclusive on all sides. dwSize.X and dwSize.Y
    return buffer dimensions, but must be decremented to get the last valid
    index when used as rectangle bounds.

    Fixed in three functions:
    - ScrollUp(): scroll_rect.Right (line 183)
    - save_screen(): rect_rw.Right and rect_rw.Bottom (lines 1285-1286)
    - restore_screen(): rect_write.Right and rect_write.Bottom (lines 1312-1313)

    Also fixed ClearArea() Windows implementation (lines 890-899):
    - COORD pos struct was missing .Y initialization
    - pos.Y was never updated in the loop, causing all FillConsoleOutput*
    calls to target the same garbage Y coordinate
    - Now initializes .Y and updates it each iteration

    This resolves crashes in ScrollConsoleScreenBuffer, ReadConsoleOutput, WriteConsoleOutput, and FillConsoleOutputCharacter on Windows.

    Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

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