🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #257415

Re: Preformatted line length for flowed text

#257415
From: Michael Baeuerle
Date: Fri, 25 Apr 2014 13:21
65 lines
4028 bytes
Adam H. Kerman wrote:
> Michael Baeuerle wrote:
> > Shmuel Metz wrote:
> > > Michael Baeuerle wrote:
> > > > 
> > > > I have done this intentionally (to make it obvious whether the
> > > > newsreader can decode RFC3676 encoded flowed text or not). Using 
> > > > line length greater than 72 characters is explicitly not 
> > > > recommended by RFC3676.
> > > 
> > > More than not recommended; 78 or fewer characters is a SHOULD.
> > 
> > You are right, 78 chars/line is the line length that SHOULD not be
> > excedded.
> 
> That's also related to flowed text, due to the mandatory trailing space
> in internal paragraph lines, and the issue with what the terminal does
> with the 80th character and display of characters beyond 80.

The value 78 is taken from [1], the general standard for all internet
messages (E-Mail and News).

For flowed text it is specified in [2] as follows:
|
| When generating Format=Flowed text, lines SHOULD be 78 characters
| or shorter, including any trailing white space and also including
              ^^^^^^^^^
| any space added as part of stuffing (see Section 4.4).

This means that the additional spaces are counted as part of the line
content (the right choice with user agents in mind that don't have
support for RFC3676).

> > The 72 chars/line is the recommended maximum length for composition
> > wrapping of paragraphs with flowed text:
> > 
> > | [...]
> > | any paragraph longer than 78 characters in total length could be
> > | wrapped using lines of 72 or fewer characters.
> 
> I guess that's a random assumption about the number of followups to be
> written with clients clueless about reformatting quoted text.

Yes. In [2] they give 66 as "most readable", but I prefer 72. If you
really need a citation depth of 10 or something, it's reasonable that
you have to do some right-scrolling.

> > flnews always compose replies in fixed format. Therefore the same rule
> > is used for decoding and paragraphs with flowed text are rewrapped to
> > 72 chars/line. Using this method a reply will never get wider than a
> > reply from a fixed-only agent to an article following recommendations
> > cited above (even if the real article violates them).
> > The result is good error tolerance against things like my first example.
> 
> What does it do with long URLs?

The current version have no special handling for them yet. So if they
are not part of a flowed line, they are not wrapped (regardless of
the length). You can simply cut&paste them into the browser.


Micha

[1] https://tools.ietf.org/html/rfc5322#section-2.1.1
[2] https://tools.ietf.org/html/rfc3676#section-4.2
Technical Details
Message-ID: <AABTWmFCIbQAAAfy.A1.flnews@WStation2.stz-e.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <8g63l9demqhl8sph9lajaqethqrc75br43@4ax.com> <AABTWTAyX3MAAAfu.A1.flnews@WStation2.stz-e.de> <5359a17c$2$fuzhry+tra$mr2ice@news.patriot.net> <AABTWkfq5GYAAAbw.A1.flnews@WStation2.stz-e.de> <ljdlr3$3us$1@news.albasani.net>

Show Full Headers
Complete Article Headers
Message-ID: <AABTWmFCIbQAAAfy.A1.flnews@WStation2.stz-e.de>
Subject: Re: Preformatted line length for flowed text
Date: Fri, 25 Apr 2014 13:21:06 +0000
From: Michael Baeuerle <michael.baeuerle@stz-e.de>
References: <8g63l9demqhl8sph9lajaqethqrc75br43@4ax.com> <AABTWTAyX3MAAAfu.A1.flnews@WStation2.stz-e.de> <5359a17c$2$fuzhry+tra$mr2ice@news.patriot.net> <AABTWkfq5GYAAAbw.A1.flnews@WStation2.stz-e.de> <ljdlr3$3us$1@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 65
Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net IZ/KNv6C1LSmjpEUgN2MbAAJL6d4ixZ28xAFICnGFrbYMaZ0Ib
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:gjM8gcSRdZcOmM7m8NWlExmST2Y=
Injection-Date: 25 Apr 2014 13:21:06 -0000
User-Agent: flnews/0.7pre8 (for NetBSD)
X-Original-Bytes: 3708