BBS:      TELESC.NET.BR
Assunto:  src/syncterm/Wren.adoc conn.c src/syncterm/scripts/syncterm.wren wrent
De:       Deuc¨
Data:     Tue, 28 Apr 2026 04:42:07 -0700
-----------------------------------------------------------
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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

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