From Newsgroup: alt.bbs.synchronet
To: Digital Man
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
Pulling this message out with smbutil shows properly:
(smbutil -1 r#454 data/subs/fsx/fsx_sta)
https://imgur.com/a/kHy8I6k
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.
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.)
You can see from this hexdump that each line is terminated with 0d 0a:
000000e0 41 72 65 61 73 5d 0d 0a 41 72 65 61 20 20 20 20 |Areas]..Area | 000000f0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | *
00000120 20 49 6e 63 6f 6d 69 6e 67 20 20 20 4f 75 74 67 | Incoming Outg| 00000130 6f 69 6e 67 20 0d 0a c4 c4 c4 c4 c4 c4 c4 c4 c4 |oing ...........| 00000140 c4 c4 c4 c4 c4 c4 c4 c4 20 da c4 c4 c4 c4 c4 c4 |........ .......| 00000150 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 |................| 00000160 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 bf 20 |............... | 00000170 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 20 c4 c4 c4 c4 c4 |.......... .....| 00000180 c4 c4 c4 c4 c4 0d 0a 53 43 49 53 54 41 54 53 20 |.......SCISTATS |
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... :)
Thanks...
...ëîåï
... If all economists were laid end to end, they would not reach a conclusion.
---
þ Synchronet þ Alterant | an SBBS in Docker on Pi!
--- Synchronet 3.18c-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California -
telnet://vert.synchro.net
--- Synchronet 3.19c-Linux NewsLink 1.113