Re: Differing origin lines from Vertrauen on Dove-Net
By: Digital Man to Nightfox on Sat Feb 21 2026 06:12 pm
msglist.js doesn't rely on putmsg() to do the word-wrapping and instead calls the JS global function word_wrap(), but only when appropriate. It likely should *not* be using this to word-wrap the message tails, but it currently treats the tails as just part of the message body (and so they go through word-wrap too).
I'm not having Vertrauen do word-wrapping; I'm doing that on my side.
How are you doing the word wrap on your side - calling the JS global word_wrap() or your own functions?
I'm using word_wrap().
Sure, or you can check and confirm that the messages in question all have 2 data fields each (a separate body and tail), e.g.
data_field[0] TEXT_BODY, offset 0, length 1181 data_field[1] 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?
So the first difference is a matter of design/opinion (should tails be word-wrapped on display?) and the second is likely a bug.
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495944:26:14 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 287,036 |