• src/sbbs3/con_out.cpp

    From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Thursday, May 25, 2023 18:45:30
    https://gitlab.synchro.net/main/sbbs/-/commit/94b5d624147ffe4baf9448fe
    Modified Files:
    src/sbbs3/con_out.cpp
    Log Message:
    Trimmed trailing whitespace (no functional change)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, April 10, 2025 22:21:16
    https://gitlab.synchro.net/main/sbbs/-/commit/b55f86216976f0e90d2e4b6d
    Modified Files:
    src/sbbs3/con_out.cpp
    Log Message:
    Fix test in last commit

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, January 03, 2026 22:25:58
    https://gitlab.synchro.net/main/sbbs/-/commit/a9c51e9408ff05cdfc9c8918
    Modified Files:
    src/sbbs3/con_out.cpp
    Log Message:
    Add comment about curious legacy behavior when sending a FF via outchar()

    Cosmetically, the blank line before the screen clear often looks good/best, except when it doesn't. But I'm pretty sure this was originally added to avoid a pause prompt being displayed near the right edge of the screen and possibly wrapping.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Sunday, March 15, 2026 20:35:47
    https://gitlab.synchro.net/main/sbbs/-/commit/15fde4bd32f361dd5a887f08
    Modified Files:
    src/sbbs3/con_out.cpp
    Log Message:
    Fix infinite loop in cp437_out() TAB expansion

    cp437_out() expands TAB (0x09) by calling term_out(' ') in a loop,
    polling term->column to determine when to stop. When the ANSI parser (parse_output) is mid-sequence Ä e.g. because binary data containing
    ESC was passed through rputs()/console.write() Ä the space is consumed
    by the parser without advancing term->column, causing an infinite loop
    that sends spaces forever and pegs the CPU at 100%.

    Prior to the Terminal class refactor (374282bf81), TAB expansion lived
    in outchar() and used outcom(' ') with manual column++ tracking,
    which was immune to ANSI parser state. The refactor moved it to
    cp437_out() and switched to term_out(), introducing the dependency on parse_output() advancing the column.

    Fix: compute the target column and space count upfront from the current
    column and tabstop, then loop a fixed number of iterations regardless
    of whether term->column actually advances. Also guard against
    tabstop == 0 (would be division by zero in the original modulo check).

    Found by ANSI fuzz testing (termtest.js) sending random byte streams
    containing ESC followed by TAB.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Monday, March 16, 2026 01:30:02
    https://gitlab.synchro.net/main/sbbs/-/commit/2686d621c9e2fa15e40dcd3b
    Modified Files:
    src/sbbs3/con_out.cpp
    Log Message:
    Add typecasts to address new GCC warnings

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, March 22, 2026 19:58:15
    https://gitlab.synchro.net/main/sbbs/-/commit/4f9445b48fda63af8ab7f4d9
    Modified Files:
    src/sbbs3/con_out.cpp
    Log Message:
    Cap progress() output at "100%"

    Fix issue observed from output of sbbs_t::finduserstr() for auto-login via IP apparently enabled at http://themegabbs.ddns.net:2000/

    [ Searching for duplicates... 112.5% ]

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