Re: [netmod] New Version Notification for draft-kwatsen-netmod-artwork-folding-07.txt

Bob Harold <rharolde@umich.edu> Wed, 19 September 2018 19:12 UTC

Return-Path: <rharolde@umich.edu>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1A04130EA8 for <netmod@ietfa.amsl.com>; Wed, 19 Sep 2018 12:12:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=umich.edu
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 qeEB2RnrDXhK for <netmod@ietfa.amsl.com>; Wed, 19 Sep 2018 12:12:31 -0700 (PDT)
Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 481EA130EA6 for <netmod@ietf.org>; Wed, 19 Sep 2018 12:12:31 -0700 (PDT)
Received: by mail-lj1-x234.google.com with SMTP id p6-v6so6093493ljc.5 for <netmod@ietf.org>; Wed, 19 Sep 2018 12:12:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/JTPftJ5alZ3/faLsahnVPzkR9dMFlg25LbbFtjjo3Y=; b=ie0ymuXQPVC9zyvNzg4p1UuOCB0vtRLZJq2+VZPvCgZ/jJOqO4KXooRnmMyA2LS3sk OeFIE88O9PKT2XiwXnn6zPq2RbLDUTPdsEw4RvVnrlGcP7YG/C9kT+7Y/r/WgYXTul8I VDocQ+EVNiwfkIP+1vuZVTPLY6cgUSTvDLxU1JNJxP6eRscANoOmTkVnYi7l4yb0Inya D854up+INHYlHj6ACz+Q/4ToIf6BT0Xk6VSQGzospq6ILL3w4oJqhecCEnfWyVRBhJpY 8Hae3xG9Txz69FzygCnc5pGz6OaB5XqbT+MSgcJxfcNo3hphuP9KixiJteyDFhB8tOOs UI3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/JTPftJ5alZ3/faLsahnVPzkR9dMFlg25LbbFtjjo3Y=; b=muM3PFlQN10vUqkQsod5/e1OLBDv9aM0tXX5IvhU+NxJoa/e0hfxTjXDZLYGRWzvA2 ePE7g9TggbBeBVLRQvZgbUIw5lmoDhSaHxlRrZLkxiPmxiaM6rktX/b/KscjKSBa7K+/ +zepnlXNdgHJ4OrwxvWy86x+Kfj/ETBFHlmptsQPCRCz2yKIZP52sRsFxVXJL9HzkC+i ujYGw64yvgoW4oEXt4J4mifqdMwkrx4ssRWEOvWCF2msgRqgSmec5/6VYqckJeG0KoE5 ijqByqu1mFrxT0KrO9lGuoZRKWfzaotZRETOW2MywqEXt8NPiGOWW+ESpjANJfatPFtr Pnrg==
X-Gm-Message-State: APzg51AaydT47MxUBAv0Ko9Fr6vaphxjAjEVJOzIr2Ieum5OAh0AzGWU 0vApDINcMHs7+WyG6zJSTtRchFY4dKlcpIgG0KGEDA==
X-Google-Smtp-Source: ANB0VdZs0d1i3LRm6sDNIPHO4MlP45QNkhq2WQYVqBH4aIj0jqJSwgoccvgqwyTBq+5ZtLlnBKoigDEFBrylOFmh4vY=
X-Received: by 2002:a2e:1517:: with SMTP id s23-v6mr24319890ljd.73.1537384349166; Wed, 19 Sep 2018 12:12:29 -0700 (PDT)
MIME-Version: 1.0
References: <153617788181.19783.8030234113753073864.idtracker@ietfa.amsl.com> <5404BB62-C21E-4A70-AABC-6FEF1FC5C44F@juniper.net> <072a01d44771$0da216b0$28e64410$@olddog.co.uk> <8e62fa6d-b4a9-a6e3-b13f-145d2e50d208@cisco.com> <5ED5E487-E172-482B-ADB2-CD52A1EBCA14@bogus.com> <becad6b4-16f6-1d42-cdee-5fcf487b7d6e@cisco.com> <C0044BB4-1C2A-47AD-BE27-5A1697112B44@tzi.org> <041e01d44f35$77937340$4001a8c0@gateway.2wire.net> <029001d44f36$8d3becd0$a7b3c670$@olddog.co.uk>
In-Reply-To: <029001d44f36$8d3becd0$a7b3c670$@olddog.co.uk>
From: Bob Harold <rharolde@umich.edu>
Date: Wed, 19 Sep 2018 15:12:17 -0400
Message-ID: <CA+nkc8AUZzUbC-oNxnYBabrRxY8TiVOZLjZ9D2YgkAAbWAk+Fw@mail.gmail.com>
To: adrian@olddog.co.uk
Cc: ietfc@btconnect.com, cabo@tzi.org, rwilton=40cisco.com@dmarc.ietf.org, netmod@ietf.org
Content-Type: multipart/alternative; boundary="00000000000003f78905763e30d2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/clJNkq2EWgvvmn4HcHI78LWETYA>
Subject: Re: [netmod] New Version Notification for draft-kwatsen-netmod-artwork-folding-07.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Sep 2018 19:12:35 -0000

On Tue, Sep 18, 2018 at 6:01 AM Adrian Farrel <adrian@olddog.co.uk> wrote:

> Yeah :-Z
>
> So my inclination is to say "tabs in artwork are evil" and move on.
> Some folk like to use them when constructing text, but my suggestion is
> that they convert to spaces/LF before posting drafts.
>
> If anyone wants to write another document tabs in json then, erm, knock
> yourselves out. But I would prefer to just exclude them from folding at
> this time.
>
> Cheers,
> Adrian
>
> > -----Original Message-----
> > From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of tom petch
> > Sent: 18 September 2018 10:54
> > To: Carsten Bormann; Robert Wilton
> > Cc: netmod@ietf.org
> > Subject: Re: [netmod] New Version Notification for draft-kwatsen-netmod-
> > artwork-folding-07.txt
> >
> > ----- Original Message -----
> > From: "Carsten Bormann" <cabo@tzi.org>
> > Sent: Friday, September 14, 2018 12:14 PM
> >
> > > On Sep 14, 2018, at 13:05, Robert Wilton
> > <rwilton=40cisco.com@dmarc.ietf.org> wrote:
> > > >
> > > > If all input files that we might ever want to fold and include in an
> > RFC are guaranteed to never contain tabs then I agree with the position
> > that they can just be rejected.
> > >
> > > Yep.
> > >
> > > > But if there is some future file format that we want to fold that
> > might contain tabs, then I wonder whether it would not be more robust to
> > look at whether they could be handled in some way.
> > >
> > > VT characters (colloquially tabs) should not be significant in any
> > file format designed in the last couple of decades (i.e., they should be
> > replaceable by spaces).  If they (or any other characters not
> > representable in RFCs) are, or preserving byte wise identity is
> > important, follow the lead of RFC 6716 and base64-encode.
> >
> > This confuses me.  This I-D references RFC7991 which clearly defines tab
> > as  9, which RFC20 labels H(orizontal) T(ab).  V(ertical) T(ab) is 11.
> >
> > I would not expect VT to appear in any recent document but when it does,
> > then replacing it by spaces would be wrong, IMHO.  HT I do see, far too
> > much of, because there is no metadata saying what the Horizontal Tab
> > settings should be and while a  value of five is common, there are RFC
> > where replacing tab characters with five spaces yields rubbish.
> >
> > Tom Petch
> >
> > > Grüße, Carsten
>
>
The purpose of folding is to get all lines under a certain max width.  Tabs
were historically set every 8 characters, although terminals and editors
have allowed users to change them.  Changes are typically to reduce them to
4 or 2.  I have not heard of anyone increasing them beyond 8.  So for
purposes of max line length, 8 is the worst case.   Then for folding, count
tabs as filling to the next multiple of 8, (or worst case, assume a full 8)
and fold appropriately.  This should unfold properly.  (Do not attempt to
replace tabs with spaces.)  It won't always be what the author intended,
but it is the best that we can do.  Better and simpler than trying to
enforce "no tabs allowed".

-- 
Bob Harold