• src/conio/cterm.adoc cterm_test.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Mar 19 01:34:48 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/37088cdb5b85c52e394d8170
    Modified Files:
    src/conio/cterm.adoc cterm_test.c
    Log Message:
    Add ATASCII documentation and 19 unit tests (57 total)

    Document the ATASCII emulation mode in cterm.adoc: two screen modes
    (40x24 standard, 80x25 XEP80), control codes, cursor wrapping
    behavior, ESC inverse mode, tab stops, and character encoding.
    Normal mode stores raw ATASCII bytes; ESC (inverse) mode applies
    screen code translation.

    19 ATASCII tests: printable chars, return, clear screen, cursor
    movement with wrapping (up/down/left/right), destructive backspace,
    ESC inverse mode and auto-reset, delete/insert line, delete/insert
    char, bell, return with scroll, tab, tab set/clear, screen code
    mapping in normal vs ESC mode.

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