From owner-freebsd-questions@freebsd.org Sun Jun 14 22:45:08 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3D4ED3478A2 for ; Sun, 14 Jun 2020 22:45:08 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49lV0M45lHz3VhL for ; Sun, 14 Jun 2020 22:45:07 +0000 (UTC) (envelope-from kh@panix.com) Received: from rain.home (pool-173-48-64-3.bstnma.fios.verizon.net [173.48.64.3]) by mailbackend.panix.com (Postfix) with ESMTPSA id 49lV0L5mMHz16C2 for ; Sun, 14 Jun 2020 18:45:06 -0400 (EDT) Subject: Flowed text To: freebsd-questions@freebsd.org 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> <20200610063555.00003707@seibercom.net> <82F57D0D-E0EC-49F7-824E-20A296C9F549@kicp.uchicago.edu> <250b853a-b436-0e99-b05c-9abd6b6019ef@panix.com> <7018FA7A-32A6-4567-AA5D-1A90FF5FFF6C@kreme.com> <20200613154409.GA89618@neutralgood.org> <082AF774-7886-4E56-8482-768A7FE6E5EF@kreme.com> <20200614100602.7f5c8092@archlinux> From: Kurt Hackenberg Message-ID: Date: Sun, 14 Jun 2020 18:45:04 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200614100602.7f5c8092@archlinux> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49lV0M45lHz3VhL X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com X-Spamd-Result: default: False [-2.91 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[166.84.1.89:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:166.84.0.0/16]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.956]; DMARC_NA(0.00)[panix.com]; RCVD_IN_DNSWL_MED(-0.20)[166.84.1.89:from]; NEURAL_HAM_SHORT(-0.48)[-0.477]; NEURAL_HAM_MEDIUM(-0.98)[-0.977]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[173.48.64.3:received] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2020 22:45:08 -0000 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: #include int main(int argc, char *argv[], char *envp[]) { for (;;) { printf("Yes!\n"); printf("No!\n"); } return 0; }