🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #239537

Re: Format=flowed

#239537
From: Frank Slootweg
Date: Sun, 24 Jan 2010 13:58
46 lines
2945 bytes
Mike Easter <MikeE@ster.invalid> wrote:
> Frank Slootweg wrote:
> 
> > All which needs to be done, is to incorporate that same
> > algorithm into the display engine of your newsreader. 
> 
> I don't actually know how you would write an algorithm to add spaces to 
> some of the EOLs and not others.  I would be interested to hear what 
> kind of an algo you think that would be.

  I was talking about the *display engine*, so I was not talking about
adding trailing spaces, but about re-wrapping/reflowing:

> > 3. But *in the meantime*, get the *display* engine of *your*
> >    newsreader 'fixed', so that it re-wraps/reflows (all-but-last)
> >    lines of a paragraph which have *no* trailing spaces, to *your*
> >    desired linelength.

  But of course *both* can be done.

  The concept of a paragraph[1] without trailing spaces is:

- Each line ends with an EOL sequence, CRLF in the over-the-wire format.

- The last line of a paragraph ends with a punctuation mark or a blank
  line.

For display:

- Each line which is *not* the end of the paragraph is folded to the
  display linelength which the user set.

- The last line of the paragraph is folded in the same way.

For posting:

- Each line is folded to a sensible linelength (<80 columns) and a
  space is added at each folding point.

- The last line of the paragraph is folded if neccessary, but no
  trailing space is added.

[...]

[1] It is probably best to use the definition of a paragraph from the
f=f RFC, rather than my simplified version.
Technical Details
Message-ID: <7s3208FcbpU1@mid.individual.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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <7rbl7tFmc9U1@mid.individual.net> <7rmmfsFfipU1@mid.individual.net> <7roj5oF146U1@mid.individual.net> <7rolk3FfhfU1@mid.individual.net> <7rr6k1Fs8oU1@mid.individual.net> <7rra9hFhrnU1@mid.individual.net> <7rrcjmFv3uU1@mid.individual.net> <7rrdg9F4oeU1@mid.individual.net> <1jcpxhv.zorr9817tpfriN%kmorgan@spamcop.net> <7rv4u8FupaU1@mid.individual.net> <7s0u8vFscmU1@mid.individual.net> <7s144nFtm5U1@mid.individual.net> <7s1a0tFvoaU1@mid.individual.net> <7s1b1iF64pU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <7s3208FcbpU1@mid.individual.net>
Subject: Re: Format=flowed
Date: Sun, 24 Jan 2010 13:58:33 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <7rbl7tFmc9U1@mid.individual.net> <7rmmfsFfipU1@mid.individual.net> <7roj5oF146U1@mid.individual.net> <7rolk3FfhfU1@mid.individual.net> <7rr6k1Fs8oU1@mid.individual.net> <7rra9hFhrnU1@mid.individual.net> <7rrcjmFv3uU1@mid.individual.net> <7rrdg9F4oeU1@mid.individual.net> <1jcpxhv.zorr9817tpfriN%kmorgan@spamcop.net> <7rv4u8FupaU1@mid.individual.net> <7s0u8vFscmU1@mid.individual.net> <7s144nFtm5U1@mid.individual.net> <7s1a0tFvoaU1@mid.individual.net> <7s1b1iF64pU1@mid.individual.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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
Lines: 46
X-Trace: individual.net /sBEIaiTekH3VbPF6iXDWQuJFsPUQNyZN7oAOj6melO0eAlIXm
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:qNL9PvADh7/IgKBa4SZONVPXNaY=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
 (CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2