Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2020 18:45:04 -0400
From:      Kurt Hackenberg <kh@panix.com>
To:        freebsd-questions@freebsd.org
Subject:   Flowed text
Message-ID:  <e80e54d0-ec7b-2ebf-9778-6420431cd65b@panix.com>
In-Reply-To: <20200614100602.7f5c8092@archlinux>
References:  <00225a04-237d-9051-9aea-12c192106a20@anatoli.ws> <373EDB20-C750-42E2-A41B-EA61F6E49807@kicp.uchicago.edu> <20200609120136.00005b3c@seibercom.net> <2393a1e0-b073-950a-78be-9f57d8e9934b@anatoli.ws> <e1f6623a-3b3c-a43e-446a-d41f20f69418@kicp.uchicago.edu> <20200610063555.00003707@seibercom.net> <82F57D0D-E0EC-49F7-824E-20A296C9F549@kicp.uchicago.edu> <250b853a-b436-0e99-b05c-9abd6b6019ef@panix.com> <alpine.BSF.2.20.2006101345220.97143@fledge.watson.org> <7018FA7A-32A6-4567-AA5D-1A90FF5FFF6C@kreme.com> <20200613154409.GA89618@neutralgood.org> <082AF774-7886-4E56-8482-768A7FE6E5EF@kreme.com> <CAGBxaXm4NLfCcA0jGzEvM4hCGoF_7L0y_Yd_X9kEEGHGL+s1oA@mail.gmail.com> <20200614100602.7f5c8092@archlinux>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

On 2020-06-14 04:06, Ralf Mardorf wrote:

>> Any MUA that arbitrarily reformats text is too smart for its own 
>> good and fundamentally broken in a critical way.
> 
> Yesno!
> 
> The MUA could wrap the lines on demand, so long lines for code are 
> not wrapped by default.

Or a message could contain information about whether lines should be 
filled and word-wrapped. Like this message you're reading, for example. 
It's text/plain format=flowed (RFC 3676). The English text is marked to 
be filled and word-wrapped on display. The C program at the end is not.

Unfortunately, not many mail readers implement text/plain format=flowed. 
Thunderbird does; Mutt has partial support; an obscure mail reader named 
Trojita does. There may be others I don't know about.

Here's a picture of how Thunderbird displays this message: 
<http://www.panix.com/~kh/tmp/msg.png>;


#include <stdio.h>

int main(int argc, char *argv[], char *envp[])
{
     for (;;)
     {
         printf("Yes!\n");
         printf("No!\n");
     }
     return 0;
}



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?e80e54d0-ec7b-2ebf-9778-6420431cd65b>