🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #246646

Re: Format flowed/Re-wrap text

#246646
From: Roy Brown
Date: Wed, 10 Aug 2011 22:23
129 lines
6837 bytes
In message <e6rm67Uxc2POFwbn@spam.filter>, vg4cysss7001 
<127@[127.0.0.1]> writing at 05:33:53 in his/her local time opines:-
>[User-Agent: Turnpike/6.07-M]

>Occasionally I notice that articles I post show Format flowed/Re-wrap 
>text when I read them (after posting).

>[Blank line, new paragraph]
???

> I have checked the personality used when posting and it has the 
>Advanced Property 'Rewrap text using standard margin before posting' 
>UNticked.

<snip quoted Help>

>        Right clicking this article as I compose shows "Rewrap Text when
>Posting" as UNticked, yet my Message-ID: <aooHOXS8z1POFwKR@spam.filter>
>in Newsgroups: eternal-september.support shows nothing more relevant
>than:
>Mime-Version: 1.0
>Content-Type: text/plain;charset=us-ascii.

>+++++++++++++++++++++++++++++++++++++++++++++

>Ah! Solution?
>Right clicking that message when _reading_ it shows 'Reflow Message
>Text' ticked (by default?) and unticking it restores the (soft?) line
>break between "2.0" and "Basic".

>        Is this normal, expected and desirable behaviour?

Right, I think I know what I'm looking at now.

> ISTR some whinging in news.software.readers about format-flowed.

What's the whinging, exactly?

I would have though the whinging would be about *not* having 
format=flowed

TP seems to be aware of, and uses, soft line breaks (Space CR/LF) 
whether posting with Rewrap Text or not. Further, it removes any 
preceding spaces you try to put before a hard line break (CR/LF with no 
preceding space) to avoid any ambiguity here.

But when posting with Rewrap Text, it removes the soft line breaks used 
at whatever line length you chose, and replaces them with soft line 
breaks at 72 characters.

Reader software that doesn't recognise soft line breaks (space CR/LF), 
or chooses to disregard them, just thinks "here's a line ending in a 
space", and obeys the CR/LF as a hard line break.

So your text is shown neatly formatted to 72 character lines, 
irrespective of whether you composed it with a very large right margin, 
or a very short one.

Without Rewrap Text, reader software that doesn't recognise soft line 
breaks (space CR/LF), or chooses to disregard them,  just gets the 
original very long or very short lines. And while some reader software 
may wrap the long lines with breaks of its own, the output won't look 
good. And some readers may just truncate the long lines.

Besides just rewrapping, though, TP also adds 'format=flowed' to the 
headers. Reading software can thus tell that TP was aware of soft line 
breaks, that these have possibly been used, and that the reading 
software is allowed to reflow the text at will, as long as it still 
obeys the hard line breaks.

TP does not add 'format=flowed' unless you elect Rewrap Text, although 
it seems that the output it produces is always flowed. RFC3676 (the 
updated  and extended RFC2646) says that software SHOULD be 78 
characters or shorter if format=flowed is to be used. TP appears to 
interpret this as not setting 'format=flowed' in the headers (though 
there might be an interpretation that it applies to flowing text at 
all).

However, TP will not set 'format=flowed' even for lines shorter than 72 
characters if Rewrap Text is Off, even though TP could do so and still 
remain compliant with RFC3676.


When TP reads such a message, it does this reflowing if View/Reflow 
Message Text is set on. The default of this setting is determined by 
Configure/Options/Editor/Always Reflow Paragraphs (though it ought to be 
called 'Default to Reflow Paragraphs', as it is overridden by unticking 
View/Reflow Message Text, or toggling CTRL-N)

When this is On, TP seems to reflow text irrespective of whether or not 
format=flowed is set, treating Space CR/LF as a soft line break that it 
can ignore. This is true even for non-Turnpike-originated messages.

When it is Off, TP treats Space CR/LF as a hard line break, but still 
elides the space. Though maybe it's space-trimming lines anyway, which 
would give the same effect.

It pushes the margin out to 9 inches; if you pull the margin back in to 
less than the longest line, TP wraps (it's a word wrap) at the margin, 
but still obeys the soft CR/LFs as hard, so you get choppy text.

I guess other message reading software might act differently....

NB: There seems to be an anomaly in TP's rendering of your message.

Where it says:-
===================================================
"Re-wrap text using standard margin before posting. This option is
initially set as the default. The raw message header will show
format=flowed.
When this option is set, text prepared using non-standard margins is re-
wrapped to 72 characters before posting. Your paragraphs should remain
intact when viewed by RFC2646-compliant clients (TP, Eudora, Hotmail,
Netscape, ...) regardless of your choice of margins/fonts.
====================================================

there appears to be a hard break after 'format=flowed'. However, TP 
renders this as if it were a soft break. I don't know if this is a bug 
or what; 'Raw Message Text'  is not quite raw enough to show what 
characters are really there :-(

I tired Exporting the message to a text file, and opening it in WinWord, 
on the off-chance that might be more raw. But WinWord says it is not a 
valid Single File Web Page, for some reason, even though it looks like a 
perfectly ordinary .txt file in Notepad or WordPad....
-- 
Roy Brown        'Have nothing in your houses that you do not know to be
Kelmscott Ltd     useful, or believe to be beautiful'  William Morris
Technical Details
Message-ID: <mlFX1KLlTwQOFwkk@x.x>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-demon.ip.support.turnpike.mbox.zip!g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <e6rm67Uxc2POFwbn@spam.filter>

Show Full Headers
Complete Article Headers
Message-ID: <mlFX1KLlTwQOFwkk@x.x>
Subject: Re: Format flowed/Re-wrap text
Date: Wed, 10 Aug 2011 23:23:33 +0100
From: Roy Brown <Roy_now_free_from_spam@acanthus.demon.co.uk>
References: <e6rm67Uxc2POFwbn@spam.filter>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-demon.ip.support.turnpike.mbox.zip!g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: demon.ip.support.turnpike,news.software.readers
Organization: Kelmscott Ltd
Lines: 128
Reply-To: Roy Brown <Roy@acanthus.demon.co.uk>
Mime-Version: 1.0
Content-Type: text/plain;charset=us-ascii;format=flowed
X-Trace: individual.net qF8KJ4DG+b3DQfFrhxsdJAmdE9h7y7A0zMxs/DiRt0qjo72r8=
X-Orig-Path: acanthus.demon.co.uk!Roy_now_free_from_spam
Cancel-Lock: sha1:VOcZ7Mmjm8yeYSP5B2XO86hK4Vc=
User-Agent: Turnpike/6.07-M (<Xuy7SBj7bziySb4mWxifKcSyZ3>)
X-Antivirus: avast! (VPS 110810-1, 08/10/2011), Outbound message
X-Antivirus-Status: Clean