BBS:      TELESC.NET.BR
Assunto:  Differing origin lines fr
De:       Nightfox
Data:     Sun, 22 Feb 2026 13:57:00 -0800
-----------------------------------------------------------
  hbRenb: hcDiffering origin lines from Vertrauen on Dove-Net
  bBynb: hcDigital Man bto cNightfox bon cSat Feb 21 2026 06:12 pmn

 DM> msglist.js doesn't rely on putmsg() to do the word-wrapping and instead
 DM> calls the JS global function word_wrap(), but only when appropriate. It
 DM> likely should *not* be using this to word-wrap the message tails, but it
 DM> currently treats the tails as just part of the message body (and so they
 DM> go through word-wrap too).

 >> I'm not having Vertrauen do word-wrapping; I'm doing that on my side.

 DM> How are you doing the word wrap on your side - calling the JS global
 DM> word_wrap() or your own functions?

I'm using word_wrap().

 DM> Sure, or you can check and confirm that the messages in question all have
 DM> 2 data fields each (a separate body and tail), e.g.

 DM> data_field[0]    TEXT_BODY, offset 0, length 1181 data_field[1]
 DM> TEXT_TAIL, offset 1181, length 71

Yes, they have those 2 fields.

I'm curious how you determine what's a tail and what the message body is? When you get a message body from the messagebase in JS, it always looked to me like it returns all of that (including the tails?) as part of the message body.  If you examine data_fields and see the TEXT_BODY and TEXT_TAIL entries, does the 'offset' specify the index in the message body where it starts?

Nightfox
n
---
  gSynchronetn  Digital Distortion: digitaldistortionbbs.com

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