BBS:      TELESC.NET.BR
Assunto:  src/conio/cterm.adoc cterm.c cterm_test.c
De:       Deuc¨
Data:     Fri, 20 Mar 2026 11:13:24 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/9a318870ea9352444b35be18
Modified Files:
	src/conio/cterm.adoc cterm.c cterm_test.c
Log Message:
Re-process (not discard) invalid bytes in command strings

When a byte outside the allowed command string range (ECMA-48 5.6)
appeared inside a DCS, OSC, APC, or PM string, both the string and
the invalid byte were silently discarded.  The discard behavior was a
placeholder from before string processing was implemented (c99f9885).

Now the malformed string is discarded but the invalid byte is
re-processed as normal input (e.g., BEL beeps, FF clears screen).

Added 4 tests: OSC+BEL, DCS+BEL, APC+SI, SOS+SOS.
Documented the behavior in cterm.adoc.
Added comment documenting the SOS frame invariant in STS readback.

Co-Authored-By: Claude Opus 4.6 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]