TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: DEON
from: DIGITAL MAN
date: 2020-11-21 13:32:00
subject: Presentation issue with w

  Re: Presentation issue with wide terminals
  By: deon to Digital Man on Sat Nov 21 2020 11:06 pm

 > Hey DM,
 >
 > I've been using iterm more recently when accessing SBBS - and its a wide
 > terminal (>80 chars) - and I've noticed many messages do not render properly
 > (happens with Syncterm too). They render OK in 80 col mode.
 >
 > Here is an example:
 > https://imgur.com/a/48FMBpy

For whatever reason, that first image link comes up blank for me.

 > Pulling this message out with smbutil shows properly:
 > (smbutil -1 r#454 data/subs/fsx/fsx_sta)
 > https://imgur.com/a/kHy8I6k

smbutil doesn't do any work wrap.

 > I've noticed it has to do with the following line having a character in col
 > 1.
 >
 > IE: If the following line starts with a space - then the wrapping is *NOT*
 > an issue - see the text "10 areas" - its rendered in the right place (as are
 > the intro headings).
 >
 > However, if the following line starts with a character, then its pulled up
 > to the previous line.

word-wrapping is hard to get right.

 > If you turn on raw mode, the message renders correctly. (But I'm thinking
 > you shouldnt need to do that, and it impacts other things.)

Yeah, as I said in the previous message, raw mode is just a temporary mode
mainly for debugging/advanced uses.

 > If you know of the cause, then great, but if not, can you point me where in
 > the code it renders/processes the message and I'll have a play and see if I
 > can identify. (I think its putmsg.cpp - but wanted to be sure before I spend
 > too much time hunting for it... :)

I suspect word-wrap (wordwrap.c), but there may be no complete 100% solution.
It can be difficult for an algorithm to distinguish between
automatically-wrapped and intentionally-wrapped lines of text.

You can disable "Word-wrap Messages" in SCFG->Message Areas on a per-sub-board
basis if it's an issue.
-- 
                                            digital man

Synchronet "Real Fact" #118:
Synchronet v1c r0 (for MS-DOS) was released on August 26, 1993
Norco, CA WX: 81.8øF, 21.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@docsplace.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™.