Re: [art] New RFCs text formatting

Keith Moore <moore@network-heretics.com> Fri, 29 November 2019 17:46 UTC

Return-Path: <moore@network-heretics.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 35F54120058 for <ietf@ietfa.amsl.com>; Fri, 29 Nov 2019 09:46:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fKq7aJ7eAak0 for <ietf@ietfa.amsl.com>; Fri, 29 Nov 2019 09:46:14 -0800 (PST)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 38C1812003F for <ietf@ietf.org>; Fri, 29 Nov 2019 09:46:14 -0800 (PST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4C30722A06; Fri, 29 Nov 2019 12:46:12 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 29 Nov 2019 12:46:12 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=bB1qYM/5hRzT59bFdYo7zURaE6KOgXs7kkpZsAMo2 8M=; b=rmkoca93mUWLfpw3D9bsi4M8TpU3nNKWdFZiiaQyHjF5/QB33XPpG2ihr RZctE3BBAbHMSsiDPqlfkHRroA3tDSJldQ8aPDJ2kZZXtXXTkdebW8vmQw8MUC0h kAcUpcQLgpNF413OQsLaVIcpSSPUkRjabWzbX1BJQ+S7VyiUVutlWF7P+ec+EcmM AH6CCUFCueLdx6ymrJhafFEiFT4kdo7TlvMRVqj/APYRM+OBh/uLKW0DmYoQL88o Dh/JSVu5x8POjpwVKAqd18+pGd1bnUAJxB77BfrXsejRBnbfOwHlH8oMzMkbIaVp 84go/c4XUVZTZHdfvcBJhm7//rOEQ==
X-ME-Sender: <xms:YVnhXTG7gjdYIALLOkXPM-yf5MOh0mHd4Ig10wReATx6EjmgFTNw2A>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudeiledguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefmvghi thhhucfoohhorhgvuceomhhoohhrvgesnhgvthifohhrkhdqhhgvrhgvthhitghsrdgtoh hmqeenucfkphepuddtkedrvddvuddrudektddrudehnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehmohhorhgvsehnvghtfihorhhkqdhhvghrvghtihgtshdrtghomhenucevlhhush htvghrufhiiigvpedt
X-ME-Proxy: <xmx:YVnhXUmvKMe1YpQ7WA5vy2lBycoN8VFxhoN9JmbU77L_OSUbbWO4Fg> <xmx:YVnhXQIlxQBOgv18KQ6fhMe96lPIcba_L40Aei343xKwBplkRfCmIA> <xmx:YVnhXVaXB1zBdlg27Pa2RevhgeU-A-zGzvfTHVqyCcg_CgqfQYZ7Hg> <xmx:ZFnhXSSu17ikJ_hYczK9POKGpPFhOBSAyuJe1f8BnNF9Gy8FawtEKQ>
Received: from [192.168.1.97] (108-221-180-15.lightspeed.knvltn.sbcglobal.net [108.221.180.15]) by mail.messagingengine.com (Postfix) with ESMTPA id 233373060115; Fri, 29 Nov 2019 12:46:09 -0500 (EST)
Subject: Re: [art] New RFCs text formatting
To: Julian Reschke <julian.reschke@gmx.de>, ietf@ietf.org
References: <5A8862BB0F82FECBBF737CC6@JcK-HP5.jck.com> <725e1fd3-5af6-02f1-3a81-763797b8222c@gmx.de> <c558eb17-2395-0727-cb9b-4455a277b29b@network-heretics.com> <01eefbde-e519-15a2-69e9-30df008d09f2@gmx.de>
From: Keith Moore <moore@network-heretics.com>
Message-ID: <3d11b3fb-67b0-b69f-68cf-717f048ae278@network-heretics.com>
Date: Fri, 29 Nov 2019 12:46:08 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <01eefbde-e519-15a2-69e9-30df008d09f2@gmx.de>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/4yqNVDJfVzY7NQIFME7-OpayDYU>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Nov 2019 17:46:16 -0000

On 11/29/19 12:07 PM, Julian Reschke wrote:

> On 29.11.2019 17:13, Keith Moore wrote:
>> On 11/29/19 12:01 AM, Julian Reschke wrote:
>>
>>> When we had these discussions many years ago, the assumption was that
>>> tools that operate on plain text RFCs would strip pagination first (or
>>> ignore it altogether) before doing what they need to do next. I would
>>> like to understand whether this assumption was wrong, and how *exactly*
>>> tools now break.
>>
>> Yes, the assumption was wrong.
>
> FWIW, I think this is something the RSE should answer.
>
> From my recollection:
>
> 1) We did not require the new implementation to do proper pagination,
> because we didn't want people to refer to page numbers in RFCs anymore.

I can sort of see that, because if different people are referring to 
different versions of the RFC, the page numbers don't work.   I 
definitely prefer using section numbers for reference.   At the same 
time, unpaginated RFCs cause problems other than those caused by 
omitting page numbers.

> 2) We also expected that pagination in the plain text output would
> require complexity in the formatter, and we wanted to avoid that. That
> point is moot now, as the developer decided to implement it anyway.
>
> So if you actually want a plain text RFC with "proper" pagination, take
> the "canonical" XML and run it through xml2rfc with the proper options.
Sure, but now I have to go through extra steps, and I have to treat new 
RFCs differently than old ones.
>> And it's not possible to enumerate exactly how all of the tools everyone
>> is using now break.   But more importantly, that's the wrong question to
>> ask.
>>
>> Many of us realize that when we revise deployed protocols, it's better
>> to NOT to make assumptions about which obscure features of deployed
>> protocols people depend on.   Instead we try to maintain strict
>> compatibility when possible, because we realize that we can't reliably
>> know about all of the assumptions that are embedded in existing
>> implementations.    Sometimes it's necessary to break strict
>> compatibility, but arguments of the form "nobody depends on feature X"
>> are always dubious and should be interpreted as red flags.
>>
>> For better or worse, the legacy text RFC format is a widely deployed
>> protocol.   And while most people these days are probably not using this
>> feature, there are actually quite a few modern printers out there that
>> understand plain text, including form feeds, and also several software
>> programs that paginate text files based on form feeds.
>
> For me, printing plain text RFCs never ever made sense, because on DIN
> A4, they leave ~25% of the page unused. So please don't assume everybody
> uses letter-sized paper.

Oh, I don't.   But even if, say, you print RFCs 2-up sideways on A4 
paper, the pagination is still useful.  (Besides, one person's wasted 
space on the page is another person's ample space for notes.)

Printing RFCs makes a lot of sense to me, in some circumstances.   It's 
much easier to make notes on paper than on an HTML or PDF document.   I 
can read paper more easily in coffee shops or on airplanes than I can on 
a laptop.   If I'm writing code based on an RFC, I can print out the RFC 
and refer to it without the RFC taking up screen space.   On the other 
hand, a great many more documents can be carried on a laptop than in 
paper form.   So, I routinely use different RFC formats depending on the 
circumstances.

> I also don't quite get why you are mentioning printers at all. Are you
> saying you can't print the HTML variant?

I never use the HTML variants produced by the RSE.  The type is too 
small, the sans serif typeface is less legible than Courier. On a normal 
width browser window the small type used makes the lines too long to 
read.   And yes, I can narrow the browser window to make the lines 
shorter, but the result "looks" wrong and then I'm constantly resizing 
the browser if I need to view other pages.   The "HTMLized" RFCs 
produced by the IETF tools are a bit better for my purposes.   It's not 
that I have a great love for fixed-pitch type or paginated text on a 
scrolling display, but the RSE HTML versions aren't really making the 
best use of either HTML or the browser environment.

I also don't want to use a web browser to read RFCs in most 
circumstances, because web browsers are themselves pretty dysfunctional 
for document review and not great even for occasional reference when 
writing specifications or code.   They waste too much screen space, they 
make it cumbersome to arrange one's screen space effectively.   Also 
with a typical desktop, when you click on an editor or word processor to 
write code or make notes, it often buries the very browser window you're 
referring to, unless maybe you have so much screen space available that 
you can completely avoid any overlap of windows.  Of course, it's not 
the fault of the RSE that modern desktops and web browsers are so 
dysfunctional, and web browsers aren't all they're cracked up to be.

>> (Expecting everyone out there to use Windows is not only incorrect, it's
>> also insulting.)
>
> Not sure what this has to do with the operating system.

All of the other modern desktop OSes I've used have had little or no 
problem dealing with ordinary text files, even if the default 
end-of-line convention was different.  Windows is the only one I've seen 
that was gratuitously, and aggressively, incompatible.

Keith