• Differing origin lines from Vertrauen on Dove-Net

    From Digital Man@VERT to Nightfox on Sun Feb 22 20:49:53 2026
    Re: Differing origin lines from Vertrauen on Dove-Net
    By: Nightfox to Digital Man on Sun Feb 22 2026 01:57 pm

    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?

    The offset species the byte offset into the data record for the message, but that's abstracted away in JS. In JS, you get just the message body by calling MsgBase.get_msg_body() with the 'include_tails' argument passed as 'false' and then call get_msg_tail() to get the tail(s) if you want them.
    --
    digital man (rob)

    Rush quote #61:
    He's a rebel and a runner, he's a signal turning green .. New World Man
    Norco, CA WX: 60.5øF, 44.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mortar@VERT/EOTLBBS to Digital Man on Wed Feb 25 11:30:47 2026
    Re: Differing origin lines from Vertrauen on Dove-Net
    By: Digital Man to Nightfox on Sat Feb 21 2026 16:06:47

    So the first difference is a matter of design/opinion (should tails be word-wrapped on display?) and the second is likely a bug.

    JM2C: I think it depends on the max. allowed # of characters, if there is one. If there isn't, and you allow word-wrap, I can see some jokers posting paragraphs of text, just to be cute. If no WW, and the excess just falls off the edge of the world, that'll discourage such behavior.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com