• src/syncterm/rip_ansi_validator.py

    From Deucе@VERT to Git commit to main/sbbs/master on Sunday, April 12, 2026 19:55:15
    https://gitlab.synchro.net/main/sbbs/-/commit/1fe5aca4d42bc67d8605d6ce
    Added Files:
    src/syncterm/rip_ansi_validator.py
    Log Message:
    Add RIPscrip v1.54 and ANSI-BBS byte stream validator

    Validates .rip files against the RIPscrip Graphics Protocol v1.54
    spec and CTerm ANSI-BBS emulation rules. Reports command field
    widths, polygon vertex counts exceeding the 255-vertex limit, and
    malformed ANSI escape sequences. Used by the rip-scan harness to
    identify RIPterm-side bugs vs SyncTERM rendering differences.

    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 Monday, April 13, 2026 01:14:04
    https://gitlab.synchro.net/main/sbbs/-/commit/2b451000d5bfb8359199dfb4
    Modified Files:
    src/syncterm/rip_ansi_validator.py
    Log Message:
    More errors:

    Validate RIP parameters are in legal range
    (Warning in relaxed mode)
    Check for |1C before |1P
    If the RIP pastes before copying, it's an error in strict mode.

    Remove the meganum split warning... it's fine.
    Fix parsing of ANSI in RIP commands

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