I had noticed that some Unicode characters were not displayed (showing the "rhombus with question mark" instead), precissely those that have a 0x8D byte when encoded in UTF-8. Examples: the cyrillic e (), 0xD1 0x8D; the "thumbs up" emoji (), 0xF0 0x9F 0x91 0x8D.
I've found that this issue can be fixed by adding "-keepsoftcr" to the corresponding line in jamnntpd.xlat, just like with CP866:
================================
read UTF-8 utf-8 -keepsoftcr
================================
I had noticed that some Unicode characters were not displayed (showingthe "rhombus with question mark" instead), precissely those that have a 0x8D byte when encoded in UTF-8. Examples: the cyrillic e (�), 0xD1 0x8D; the "thumbs up" emoji (�), 0xF0 0x9F 0x91 0x8D.
�
I've found that this issue can be fixed by adding "-keepsoftcr" to thecorresponding line in jamnntpd.xlat, just like with CP866:
================================
read UTF-8 utf-8 -keepsoftcr
================================
Done. :)
>> ================================
>> read UTF-8 utf-8 -keepsoftcr
>> ================================
TK> Done. :)
Your message arrived here without the 0x8D chars... :-m
Maybe your tosser removed them?
Your message arrived here without the 0x8D chars... :-m
Maybe your tosser removed them?
Test from HPT. ()
Test from HPT. (👍)
TK> Test from HPT. (👍)
Looks fine now 😍 (U+1F60D, 0xF0 0x9F 0x98 0x8D)
Good! I had stripping soft-cr's on in GEcho, now off. Let's see
how this goes out. (👍)(👍)(👍)(👍)(👍)(👍)(👍)(👍)
On 5 Mar 2023 16.17, Carlos Navarro wrote:
Test from HPT. (👍)
Looks fine now 😍 (U+1F60D, 0xF0 0x9F 0x98 0x8D)
Good!
I had stripping soft-cr's on in GEcho, now off. Let's see how this goes out.
(👍)(👍)(👍)(👍)(👍)(👍)(👍)(👍)
Tommi wrote (2023-03-05):
On 5 Mar 2023 16.17, Carlos Navarro wrote:
Test from HPT. (👍)
Looks fine now 😍 (U+1F60D, 0xF0 0x9F 0x98 0x8D)
Good!Does it work?
I had stripping soft-cr's on in GEcho, now off. Let's see how this goes
out.
(👍)(👍)(👍)(👍)(👍)(👍)(👍)(👍)
Did I configure it correctly?
---
* Origin: This site requires JavaScript (2:280/464.47)
I had noticed that some Unicode characters were not displayed (showing the "rhombus with question mark" instead), precissely those that have
a 0x8D byte when encoded in UTF-8. Examples: the cyrillic e (), 0xD1 0x8D; the "thumbs up" emoji (Fl), 0xF0 0x9F 0x91 0x8D.
I've found that this issue can be fixed by adding "-keepsoftcr" to the corresponding line in jamnntpd.xlat, just like with CP866:
================================
read UTF-8 utf-8 -keepsoftcr
================================
Carlos
better is to setup thunderbird to NOT send utf-8 at all
I've found that this issue can be fixed by adding "-keepsoftcr" to the
corresponding line in jamnntpd.xlat, just like with CP866:
================================
read UTF-8 utf-8 -keepsoftcr
================================
problem with jamnntpd is that it does not support multibyte, so only can change singlebyte in diffrent charsets
08/02/2024 6:08, Benny Pedersen -> Carlos Navarro:
I don't understand what you mean. JamNNTPd seems to work fine with UTF-8, except for some issues with quotes.
On Tue, 20 Feb 2024 23:56:32 +0100, Carlos Navarro -> Benny Pedersen wrote:
08/02/2024 6:08, Benny Pedersen -> Carlos Navarro:
I don't understand what you mean. JamNNTPd seems to work fine
with UTF-8, except for some issues with quotes.
Bringing the thread from the Golded echo about Jamnntpd over here.
Here's a test to see if those characters are before level 2 and 3
quotes on this reply.
I've found that this issue can be fixed by adding
"-keepsoftcr" to the corresponding line in jamnntpd.xlat,
just like with CP866:
================================
read UTF-8 utf-8 -keepsoftcr
================================
problem with jamnntpd is that it does not support multibyte,
so only can change singlebyte in diffrent charsets
Bringing the thread from the Golded echo about Jamnntpd over here.
Here's a test to see if those characters are before level 2 and 3
quotes on this reply.
Quoted the whole thing in Golded. I don't see anything here. I also hex dumped the message before replying to it, and didn't see anything in
there either. *shrug*
Quoted the whole thing in Golded. I don't see anything here. I also hex dumped the message before replying to it, and didn't see anything in
there either. *shrug*
If you don't see the crap, it is probably because of
your conversion settings in Golded.
If you don't see the crap, it is probably because of
your conversion settings in Golded.
Or mine. I don't know. :)
I don't understand what you mean. JamNNTPd seems to work fine with
UTF-8, except for some issues with quotes.
Bringing the thread from the Golded echo about Jamnntpd over here. Here's a
test to see if those characters are before level 2 and 3 quotes on this reply.
I don't understand what you mean. JamNNTPd seems to work fine
with UTF-8, except for some issues with quotes.
Bringing the thread from the Golded echo about Jamnntpd over here.
Here's a test to see if those characters are before level 2 and 3
quotes on this reply.
Quoted the whole thing in Golded. I don't see anything here. I also hex dumped the message before replying to it, and didn't see anything in there either. *shrug*
On 23 Feb 2024, Tommi Koivula said the following...
If you don't see the crap, it is probably because of
your conversion settings in Golded.
Or mine. I don't know. :)
When viewing this message in Golded it had as empty tear line & the
origin line has a line break. When viewed in Mystic is has a bunch of UTF-8 characters:
https://postimg.cc/gallery/0khhW7t
When viewing this message in Golded it had as empty tear line & the origin line has a line break. When viewed in Mystic is has a bunch of UTF-8 characters:
https://postimg.cc/gallery/0khhW7t
They are in your message! And I see them:
0160 74 2C 0D 20 C2 A0 43 4E 3E 3E 3E 3E 20 6A 75 73
But I do see crap there. And as you may see, it is not only the quotes, also multiple spaces are converted to crap.
If you don't see the crap, it is probably because of your conversion settings in Golded.
How did my original reply to Carlos look on your end?
I think this is the message you're referring to: https://postimg.cc/gallery/kq34nZw
How did my original reply to Carlos look on your end?
I think this is the message you're referring to: https://postimg.cc/gallery/kq34nZw
They are in your message! And I see them:
0160 74 2C 0D 20 C2 A0 43 4E 3E 3E 3E 3E 20 6A 75 73
And yet they didn't show in your reply to me, like some of the other ones did. This or the last message you wrote, unless you removed them yourself.
I think this is the message you're referring to:
https://postimg.cc/gallery/kq34nZw
Yes, that's the one.. along with most of the others I wrote from Thunderbird. It seems Thunderbird adds non-breaking spaces (or   in html) anywhere there's two or more concurrent spaces next to each other.
I've completely disabled html in TB now, and am forcing plain-text. So we will see in the near future if there's still an issue.
^^
Still there...
^^
Still there...
^^
Still there...
... "Take my advice, I don't use it anyway."
--- Betterbird (Windows)
There is another thunderbird clone called Epyrus. This one allows
posting other charsets than utf-8.
http://www.epyrus.org/
How did my original reply to Carlos look on your end?
I think this is the message you're referring to:
https://postimg.cc/gallery/kq34nZw
Yes, that's the one.. along with most of the others I wrote from Thunderbird. It seems Thunderbird adds non-breaking spaces (or   in html) anywhere there's two or more concurrent spaces next to each other.
^^
Still there...
Last attempt for the evening, I suppose. This one I changed the original message body to plain text before replying to it.
Frustrating, because I can't check it before the message is sent. It's something Thunderbird is doing after the message is saved.
^^
Still there...
Maybe? Maybe not?
There is another thunderbird clone called Epyrus. This one allows
posting other charsets than utf-8.
Seamonkey also allows posting other than utf-8.
However, the problem is not utf-8, I think it has proved that it is Thunderbird.
How did my original reply to Carlos look on your end?
I think this is the message you're referring to:
https://postimg.cc/gallery/kq34nZw
1. An extra space in inserted in quoted lines that begin with one or more spaces.
2. If using format=flowed (def_flowed or user/flowed=on in Smapi/JamNNTPd),
when there are two or more consecutive spaces in the quoted text, all but one are replaced by non-breaking spaces (UTF-8: 0xC2 0xA0 / LATIN-1: 0xA0) when posted to the NNTP server.
As FTN-style quotes are usually prefixed by a space, another one is inserted and then the second one is converted to a NBSP.
If you manually remove the extra spaces in the quotes before sending the reply, no NBSPs are posted. (I'm doing it in this reply.)
Check the .pkt file...
How did my original reply to Carlos look on your end?
I think this is the message you're referring to:
https://postimg.cc/gallery/kq34nZw
1. An extra space in inserted in quoted lines that begin with one or
more spaces.
2. If using format=flowed (def_flowed or user/flowed=on in
Smapi/JamNNTPd), when there are two or more consecutive spaces in the
quoted text, all but one are replaced by non-breaking spaces (UTF-8:
0xC2 0xA0 / LATIN-1: 0xA0) when posted to the NNTP server.
As FTN-style quotes are usually prefixed by a space, another one is
inserted and then the second one is converted to a NBSP.
If you manually remove the extra spaces in the quotes before sending
the reply, no NBSPs are posted. (I'm doing it in this reply.)
I've manually removed all but one space in the quotes above to see if this indeed works on my end as well.
*shakes fist at Thunderbird*
problem with jamnntpd is that it does not support multibyte,
I've manually removed all but one space in the quotes above to see if
this indeed works on my end as well.
*shakes fist at Thunderbird*
How did my original reply to Carlos look on your end?
I think this is the message you're referring to:
https://postimg.cc/gallery/kq34nZw
Yes, that's the one.. along with most of the others I wrote from
Thunderbird. It seems Thunderbird adds non-breaking spaces (or
  in html) anywhere there's two or more concurrent spaces next
to each other.
They are here on these quotes, but on none of the others...?
You're right about JamNNTPd not supporting multibyte. It wraps lines at 79 bytes, not at 79 chars. Therefore those that have UTF-8 chars (2 or more bytes) become shorter when wrapped. The more UTF-8 chars a line has, the shorter.
This is noticeable in readers that don't support flowed text (most NNTP clients).
ASCII:
aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou
UTF-8:
áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú
áéíóú áéíóú
I've manually removed all but one space in the quotes above to see if
this indeed works on my end as well.
All look fine except the ones I'm quoting above. I guess you did not remove
the spaces in that block.
Have you tried adding '/flowed=off' to your username, or setting 'def_flowed off' in your Jam/SmapiNNTPd config? That way, those spaces will
not converted to NBSPs.
problem with jamnntpd is that it does not support multibyte,
You're right about JamNNTPd not supporting multibyte. It wraps lines at
79 bytes, not at 79 chars. Therefore those that have UTF-8 chars (2 or more bytes) become shorter when wrapped. The more UTF-8 chars a line
has, the shorter.
This is noticeable in readers that don't support flowed text (most NNTP clients).
ASCII:
aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou aeiou
UTF-8:
áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú áéíóú
Have you tried adding '/flowed=off' to your username, or setting 'def_flowed off' in your Jam/SmapiNNTPd config? That way, those spaces will not converted to NBSPs.
You're right about JamNNTPd not supporting multibyte. It wraps lines
at 79 bytes, not at 79 chars. Therefore those that have UTF-8 chars
(2 or more bytes) become shorter when wrapped. The more UTF-8 chars a
line has, the shorter.
How did my original reply to Carlos look on your end?
I think this is the message you're referring to:
https://postimg.cc/gallery/kq34nZw
Yes, that's the one.. along with most of the others I wrote from
Thunderbird. It seems Thunderbird adds non-breaking spaces (or
  in html) anywhere there's two or more concurrent spaces next
to each other.
They are here on these quotes, but on none of the others...?
Yes that was kind of a test. I backspaced all of the 2nd and 3rd level quotes to the newly created quote character except for one paragraph of quoted text to nail down the problem. Now if I understand all of this correctly, there shouldn't be any issues with the above quotes.
Have you tried adding '/flowed=off' to your username, or setting
'def_flowed off' in your Jam/SmapiNNTPd config? That way, those
spaces will not converted to NBSPs.
This seems to work better in this regard.
However, now obviously we're not using format=flowed text, so is it now hard wrapping the text that I'm currently writing?
Isn't that supposed to be left alone (ie: no hard wrapping) so the next reader can deal with the message however it seems fit?
There was no hard wrapping in the above qouted 1 lines by you...
There was no hard wrapping in the above qouted 1 lines by you...
Confirmed in Golded. However, everything I write and see now in
Thunderbird is wrapping at <80 columns, even though in Golded it shows otherwise.
Oh well, at least the utf-8 "crap" as Tommi calls it is gone.
Confirmed in Golded. However, everything I write and see now in
Thunderbird is wrapping at <80 columns, even though in Golded it
shows otherwise.
I _think_ that the "flowed" setting does not affect when entering
messages to msgbase. It's about the nntp client how it sends the text.
How did my original reply to Carlos look on your end?
I think this is the message you're referring to:
https://postimg.cc/gallery/kq34nZw
Yes, that's the one.. along with most of the others I wrote from
Thunderbird. It seems Thunderbird adds non-breaking spaces (or
  in html) anywhere there's two or more concurrent spaces next
to each other.
They are here on these quotes, but on none of the others...?
Yes that was kind of a test. I backspaced all of the 2nd and 3rd level
quotes to the newly created quote character except for one paragraph of
quoted text to nail down the problem. Now if I understand all of this
correctly, there shouldn't be any issues with the above quotes.
I _think_ that the "flowed" setting does not affect when enteringI think I may have gotten it! The two settings regarding 'format-flowed' in Thunderbird need to be changed (see my previous message), and it seems to
messages to msgbase. It's about the nntp client how it sends the text.
How did my original reply to Carlos look on your end?
I think this is the message you're referring to:
https://postimg.cc/gallery/kq34nZw
Yes, that's the one.. along with most of the others I wrote from
Thunderbird. It seems Thunderbird adds non-breaking spaces (or
  in html) anywhere there's two or more concurrent spaces
next to each other.
They are here on these quotes, but on none of the others...?
Yes that was kind of a test. I backspaced all of the 2nd and 3rd
level quotes to the newly created quote character except for one
paragraph of quoted text to nail down the problem. Now if I
understand all of this correctly, there shouldn't be any issues with
the above quotes.
Here's testing Smapinntpd with 'def-flowed=on' and Thunderbird with 'mailnews.display.disable_format_flowed_support = true' and 'mailnews.send_plaintext_flowed = false'.
If this doesn't work, and the only option is to disable it in Smapinntpd, I'll probably just avoid Thunderbird, then. Since it seems to work fine in other clients. :(
Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit
On Sun, 25 Feb 2024 21:17:10 GMT, Tommi Koivula -> Nicholas Boel wrote:
TK> I _think_ that the "flowed" setting does not affect when entering
TK> messages to msgbase. It's about the nntp client how it sends the text. I think I may have gotten it! The two settings regarding 'format-flowed' in Thunderbird need to be changed (see my previous message), and it seems to work with 'def-flowed=on' in Smapinntpd config!
Regards,
Nick
... "Take my advice, I don't use it anyway."
--- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
* Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)
Your lines were wrapped as seen above in the quotes. And there were no odd utf-8 characters in front of any of the quotes...
I think I may have gotten it! The two settings regarding 'format-flowed' in
Thunderbird need to be changed (see my previous message), and it seems to
work with 'def-flowed=on' in Smapinntpd config!
Ok.. Lets test, I just applied those two settings to this TB and logged
in with tommi/flowed=on.
However, I wonder why your client is wrapping the end of a couple of
the lines with no quote mark before it? One of them was the tearline. "Thunderb" was wrapped to the next line with no quote character before
it.
However, I wonder why your client is wrapping the end of a couple of
the lines with no quote mark before it? One of them was the tearline.
"Thunderb" was wrapped to the next line with no quote character before
it.
I think the wrapping is happening on your end. Because Tommi's message looked fine here: no wrapping of quoted lines...
On 2024-02-27 17:37:54, you wrote to Tommi Koivula:
NB> However, I wonder why your client is wrapping the end of a couple of
NB> the lines with no quote mark before it? One of them was the tearline.
NB> "Thunderb" was wrapped to the next line with no quote character before
NB> it.
I think the wrapping is happening on your end. Because Tommi's
message looked fine here: no wrapping of quoted lines...
problem with jamnntpd is that it does not support multibyte,
You're right about JamNNTPd not supporting multibyte. It wraps lines
at 79 bytes, not at 79 chars. Therefore those that have UTF-8 chars
(2 or more bytes) become shorter when wrapped. The more UTF-8 chars a
line has, the shorter.
On 25.02.2024 13:25, Carlos Navarro wrote:
Actually by default Jamnntpd wraps to 72, not 79, but that is irrelevant. :) As you said, the problem with utf-8 text is that Jamnntpd counts bytes, not chars.problem with jamnntpd is that it does not support multibyte,You're right about JamNNTPd not supporting multibyte. It wraps lines
at 79 bytes, not at 79 chars. Therefore those that have UTF-8 chars
(2 or more bytes) become shorter when wrapped. The more UTF-8 chars a
line has, the shorter.
I've set "#define WRAP_WIDTH 972" now in this Jamnntpd. I can re-wrap quoted text with Ctrl-R in TB. Seems nice so far.
'Tommi
...0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789
'Tommi
Hello, Tommi Koivula.
On 01/03/2024 8.51 you wrote:
On 25.02.2024 13:25, Carlos Navarro wrote:
problem with jamnntpd is that it does not support multibyte,
You're right about JamNNTPd not supporting multibyte. It wraps lines
at 79 bytes, not at 79 chars. Therefore those that have UTF-8 chars
(2 or more bytes) become shorter when wrapped. The more UTF-8 chars a
line has, the shorter.
Actually by default Jamnntpd wraps to 72, not 79, but that isirrelevant. :) As you said, the problem with utf-8 text is that Jamnntpd counts bytes, not chars.
I've set "#define WRAP_WIDTH 972" now in this Jamnntpd. I canre-wrap quoted text with Ctrl-R in TB. Seems nice so far.
'Tommi0123456789 0123456789 0123456789 0123456789 0123456789
...0123456789 0123456789 0123456789 0123456789 0123456789
'Tommi
http://pics.rsh.ru/img/Screens5769_saapazgl.jpg
Looks ok now in Hotdoged.
Looks ok now in Hotdoged.
http://pics.rsh.ru/img/Screens5769_saapazgl.jpg
Looks ok now in Hotdoged.
Definitely doesn't look ok quoted back by hotdoged though. In TB or Golded. :)
From what I've gathered, WRAP_WIDTH is your quotes. LINE_WIDTH is what
you write.
You probably don't want to mess with stuff you've quoted, as that has to
be viewable in a 80 column terminal (BBSes, for example).
LINE_WIDTH may need to be adjusted to 72, instead of 79. So when quoting
79 characters it won't wrap the last 7 characters on to the next line.
Actually by default Jamnntpd wraps to 72, not 79, but that is
irrelevant. :)
TK> Actually by default Jamnntpd wraps to 72, not 79, but that is
TK> irrelevant. :)
True. O:-)
I've found that JamNNTPd wraps at 72 chars in all lines except the last one, that can be up to 79 chars.
But that's the problem of the author how the written text is formatted. Hotdoded is not the best tool for editing messages. :)
Now I'm testing WRAP_WIDTH = 72 as well as LINE_WIDTH = 72. But I have
a feeling my long tearline will wrap early now, which I can't see
until I post this message.
Regards,
Nick
... "Take my advice, I don't use it anyway."
--- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
* Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)
Now I'm testing WRAP_WIDTH = 72 as well as LINE_WIDTH = 72. But I have a feeling my long tearline will wrap early now, which I can't see until I post this message.
I've found that JamNNTPd wraps at 72 chars in all lines except the
last one, that can be up to 79 chars.
Yes, and it seems that it always wraps the text it shows to the
client. Defined by WRAP_WIDTH in nntpserv.c.
I've found that JamNNTPd wraps at 72 chars in all lines except
the last one, that can be up to 79 chars.
Yes, and it seems that it always wraps the text it shows to the
client. Defined by WRAP_WIDTH in nntpserv.c.
JamNNTPd always sends wrapped text. If flowed=on, it will append a
space to the end of each wrapped line. It's up to the client (if it
supports format=flowed) to re-join those lines and show it as a
paragraph.
However, in this server the Content-Type line has no "format=" part at all:
Content-Type: text/plain; charset="iso-8859-1"
So, IMHO the "hard wrap" setting WRAP_WIDTH 72 is not working as it
should with "flowed on". I think Jamnntpd should adjust the WRAP_WIDTH setting according to the "flowed" setting and not wrap lines with
"flowed on".
So, IMHO the "hard wrap" setting WRAP_WIDTH 72 is not working as
it should with "flowed on". I think Jamnntpd should adjust the
WRAP_WIDTH setting according to the "flowed" setting and not wrap
lines with "flowed on".
If I'm understanding you correctly, WRAP_WIDTH should remain 72 only
when 'def_flowed=off', and when 'def_flowed=on' it should be disabled completely? If that's the case, I agree.
In format=flowed, long lines are wrapped but they have a trailing space.
The client, if it supports this format, joins the lines, showing them as
a paragraph.
If I'm understanding you correctly, WRAP_WIDTH should remain 72 only
when 'def_flowed=off', and when 'def_flowed=on' it should be disabled
completely? If that's the case, I agree.
In format=flowed, long lines are wrapped but they have a trailing space. The client, if it supports this format, joins the lines, showing them as
a paragraph.
In format=flowed, long lines are wrapped but they have a trailing space.
The client, if it supports this format, joins the lines, showing them as
a paragraph.
Yep.
But for some reason TB doesn't act like this when using jam/smapinntpd.
In format=flowed, long lines are wrapped but they have a trailing
space. The client, if it supports this format, joins the lines,
showing them as a paragraph.
Yep.
But for some reason TB doesn't act like this when using
jam/smapinntpd.
In format=flowed, long lines are wrapped but they have a trailing
space. The client, if it supports this format, joins the lines,
showing them as a paragraph.
I understand this. However, what Tommi and I are discussing is that jamnntpd/smapinntpd is not doing this properly. I'm not sure
'WRAP_WIDTH 72' is very constant, as I see wrapping all over the place between 72-79 characters (which sometimes even wraps a word to the
next line and doesn't include a quote character before it). So either
the 'WRAP_WIDTH 72' and 'LINE_WIDTH 79' settings are messing with each other, or they're not implemented properly.
So, in my questions to Tommi, I'm more or less asking if anyone has actually figured out what WRAP_WIDTH is actually doing. It is only
checked for once in the code, and so is LINE_WIDTH. Neither of them
are checked for in the format=flowed section. It almost seems like the format=flowed section was an afterthought, and was added in after what
it was already doing. *shrug*
03 Apr 2024 21:16, you wrote to me:
>> In format=flowed, long lines are wrapped but they have a trailing
>> space. The client, if it supports this format, joins the lines,
>> showing them as a paragraph.
TK> Yep.
TK> But for some reason TB doesn't act like this when using
TK> jam/smapinntpd.
Works fine for me:
https://www.cyberiada.org/fido/tmpfiles/flowed-wide-window.jpg
https://www.cyberiada.org/fido/tmpfiles/flowed-narrow-window.jpg
On 4/4/24 07:57, Carlos Navarro wrote:
03 Apr 2024 21:16, you wrote to me:
>> In format=flowed, long lines are wrapped but they have a trailing
>> space. The client, if it supports this format, joins the lines,
>> showing them as a paragraph.
TK> Yep.
TK> But for some reason TB doesn't act like this when using
TK> jam/smapinntpd.
Works fine for me:
https://www.cyberiada.org/fido/tmpfiles/flowed-wide-window.jpg
https://www.cyberiada.org/fido/tmpfiles/flowed-narrow-window.jpg
Very interesting...
When JamNNTPd sends to the client,
- lines that are 79 or less are not wrapped
- lines longer than 79 are wrapped by 72
Strange as it may seem, that's how format=flowed is defined in the RFC.
Nevertheless, those are the suggested values (that JamNNTPd uses). Other numbers could be used instead, as long as they are 78 or less.
The code block for format=flowed appends spaces to the end of wrapped lines and does the 'space stuffing' at the beginning (inserts extra
space if it begins with space), as defined in the RFC.
I stand corrected. After resetting all wrap and flow custom settings in TB, text seems to flow just fine. :)
TK> Yep.
TK> But for some reason TB doesn't act like this when using
TK> jam/smapinntpd.
Hello Tommi,
On Thu, Apr 04 2024 20:50:50 +0000, you wrote:
I stand corrected. After resetting all wrap and flow customsettings in
TB, text seems to flow just fine. :)
Nevertheless, those are the suggested values (that JamNNTPd
uses). Other numbers could be used instead, as long as they are
78 or less.
Ok. So it's doing what it should be doing, then?
The code block for format=flowed appends spaces to the end of
wrapped lines and does the 'space stuffing' at the beginning
(inserts extra space if it begins with space), as defined in the
RFC.
Why would you want to stuff spaces at the beginning of a line if it
starts with a space? What is the reasoning behind that?
I think the problem comes in to play with this example:
Quoting a 78 (78 is just an example, it could probably be anywhere
from 74 or 75 or more characters) character line with smartquote will
not reformat the line back to 78 characters (or within the 79 line
width limit it should be at). It will then append the space, initials, quote character, and another space.. now making it 4 or 5 characters longer. This will then wrap the last word to the next line and it
won't have a quote character in front of it.
I would imagine it would also do this without smartquote enabled,
however it wouldn't add as many characters to the line, so you would
see the issue less (only when a line hits 77 or 78 characters
probably).
Golded seems to handle this, but Golded also seems to support
displaying quoted lines longer than 79 characters, which may very well
be because of the issue(s) above.
On 4/4/24 14:53, Tommi Koivula wrote:
On 4/4/24 07:57, Carlos Navarro wrote:
03 Apr 2024 21:16, you wrote to me:
In format=flowed, long lines are wrapped but they have a trailing
space. The client, if it supports this format, joins the lines,
showing them as a paragraph.
Yep.
But for some reason TB doesn't act like this when using
jam/smapinntpd.
Works fine for me:
https://www.cyberiada.org/fido/tmpfiles/flowed-wide-window.jpg
https://www.cyberiada.org/fido/tmpfiles/flowed-narrow-window.jpg
Very interesting...
I stand corrected. After resetting all wrap and flow custom settings in TB,
text seems to flow just fine. :)
'Tommi
---
* Origin: smapinntpd/lnx (2:221/1.0)
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 991 |
Nodes: | 10 (1 / 9) |
Uptime: | 76:52:13 |
Calls: | 12,949 |
Calls today: | 3 |
Files: | 186,574 |
Messages: | 3,264,581 |