TIP: Click on subject to list as thread! ANSI
echo: sync_programming
to: GitLab note in main/sbbs
from: Eric Oulashin
date: 2023-08-17 11:58:00
subject: SlyEdit: More small tweak

https://gitlab.synchro.net/main/sbbs/-/merge_requests/316#note_3795

This actually does use word_wrap (line 2946). The issue I found with word_wrap is that it there are some quoted lines in some messages it doesn't handle very well. word_wrap seems to work relatively well if the quote prefixes are " > ", but if the quote prefix for a section of a message is a bit different (i.e., with author's initials or other characters before the >), word_wrap doesn't seem to take that into account. This word wrap function I wrote looks for different sections in the message with various quote prefixes and uses word_wrap() on each section (without that section's prefix) and then prepends the prefix back onto that section.I've seen some more variation in quote prefixes on FSXNet. For instance, some messages are quoted with "-> ", and some have multiple things where people have quoted lines that have been already quoted (such as "-> Av> ", or " Bu>  cl> ").  In messages with such quote prefixes, especially multiple different prefixes for different quoted sections, word_wrap often didn't preserve some of those quote prefixes in front of the quoted sections of the messages.
--- SBBSecho 3.20-Linux
                    
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.