https://gitlab.synchro.net/main/sbbs/-/commit/d1a46ed87e918315429ed9e0
Modified Files:
src/syncterm/Wren.adoc conn.c src/syncterm/scripts/syncterm.wren wrentest.wren src/syncterm/wren_bind.c wren_host.c wren_host.h wren_host_internal.h
Log Message:
SyncTERM: drop Hook.onOutput
The hook fired on bytes the program itself was about to send Ä by
definition, output the script already knows about. Its presence
forced a re-entry guard (`output_dispatching`) around every
Wren-originated `Conn.send`/`sendRaw`, plus a documented carve-out
saying "your own sends won't fire onOutput". Net negative: a
footgun with no real use case.
Removes the hook event, its dispatcher, the foreign binding, and
the re-entry bookkeeping. `Conn.sendRaw` stays Ä it still serves
its other purpose, bypassing IAC escaping.
Co-Authored-By: Claude Opus 4.7 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net