• src/conio/cterm.c cterm.h

    From Deuc¿@VERT to Git commit to main/sbbs/m on Mon Mar 16 12:27:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/8b1196b593bc5fb0d78a80c7
    Modified Files:
    src/conio/cterm.c cterm.h src/syncterm/ripper.c term.c
    Log Message:
    Preserve per-entry palette override across cterm_reset()

    Custom palettes configured per BBS entry were lost when the remote
    triggered a terminal reset (ESC c), because cterm_reset() unconditionally restored dac_default.

    Store the override palette in the cterm struct so cterm_reset() can
    reapply it after resetting defaults. Also preserve it through RIP's reinit_screen() which destroys and recreates the cterm.

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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Thu Mar 19 10:20:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/6160b43cb83228a4ef3d6d2a
    Modified Files:
    src/conio/cterm.c cterm.h cterm_test.c
    Log Message:
    Fix REP (CSI b) across packet boundaries, add 55 ANSI unit tests

    Move lastch from cterm_write local variable to cterm->lastch in the
    cterminal struct so REP works when the character and the CSI b sequence
    arrive in separate cterm_write calls (e.g., split across TCP packets). Previously REP would silently do nothing if the data was split.

    Add 55 ANSI-BBS tests to cterm_test (177 total): C0 controls (NUL, BS,
    HT, LF, CR, NEL, HTS, RI, RIS), cursor movement (CUU/CUD/CUF/CUB/ CNL/CPL/CUP/HVP/CHA/VPA/HPA/HPR/VPR/HPB/VPB + clamping), erase ops (ED/EL/ICH/DCH/IL/DL/ECH), SGR (reset/bold/blink/negative/fg/bg),
    margins (DECSTBM/DECSLRM), scrolling (SU/SD), modes (autowrap/nowrap/
    origin), DEC rectangular ops (DECERA/DECFRA/DECCRA), REP with split
    regression test, and save/restore cursor (SCOSC/SCORC/DECSC/DECRC).

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Apr 12 19:48:59 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/60fdba3a9f61d2345c760ab1
    Modified Files:
    src/conio/cterm.c cterm.h
    Log Message:
    Add function to detect where CR would go

    Important for RIP to be able to accurately detect if it's at the
    "beginning of a line" for ! parsing to work the same as RIPterm.

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