BBS:      TELESC.NET.BR
Assunto:  src/syncterm/ripper.c
De:       Deuc¨
Data:     Sat, 21 Mar 2026 21:02:24 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/c438d8a8d55fcc325c3911af
Modified Files:
	src/syncterm/ripper.c
Log Message:
Restrict post-|# bang acceptance to new RIP_STATE_NO_MORE state

The '!' acceptance added in 6cce9286f0 was in RIP_STATE_BANG, which
is also entered from BOL when the initial '!' is seen. This caused
"!!|c04|..." to treat the second '!' as a new RIP sequence start
instead of falling out of RIP parsing  the entire line should
display as literal text since '!!' is not a valid RIP start.

Add RIP_STATE_NO_MORE, entered only by |# (RIP_NO_MORE). Only this
state accepts '!'/CTRL-A/CTRL-B for starting a new RIP sequence.
RIP_STATE_BANG reverts to only accepting '|'.

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

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