🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #10496

Re: Proposal: "Good Net-Keeping Seal" for Usenet software

#10496
From: John Payson
Date: Mon, 01 Aug 1994 01:26
35 lines
2333 bytes
In article <31a145$olk@panix3.panix.com>,
Seth Breidbart <sethb@panix.com> wrote:
>In article <1994Jul27.141102.29317@chemabs.uucp>,
>Larry W. Virden <lvirden@cas.org> wrote:
>>No need to require a built in editor - just require the newsreader to 
>>wrap the lines to point 11 standards.  IN ALL CASES.
>
>NO.  If I quote somebody whose lines are too long, the last thing
>anyone wants to see is 70 character lines interspersed with 8
>character lines.  I've seen it; it's ugly.
>
>Unless you want a _lot_ of AI to solve the quoting/wrapping problem,
>which I don't think belongs in the spec.

It's not too hard: use a two-state machine:

State A: (default)
  Read a line
  If under 79 characters, output it followed by newline.  Stay in state A.
  Else Output the words that fit, newline, then the rest (no newline).  Go to
    state B.

State B:
  Read a line.  Strip leading blanks.
  If under 60 characters, output it (breaking if necessary) followed by
    a newline.  Go to state A.
  Else Output it (breaking if nessary), no newline, stay in state B.

Not perfect, but it will work in almost all cases, and is much better than
either leaving the long lines or wrapping them but keeping the CR's on them.
-- 
-------------------------------------------------------------------------------
 supercat@mcs.com    |  "Je crois que je ne vais jamais voir...  |   J\_/L
 John Payson         |   Un animal si beau qu'un chat."          |  ( o o )
Technical Details
Message-ID: <31hivu$3eq@Mercury.mcs.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.policy.mbox.zip!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!news.kei.com!ddsw1!not-for-mail
References: <1994Jul26.042000.10850@news.media.mit.edu> <CtJxE1.K2K@stortek.com> <1994Jul27.141102.29317@chemabs.uucp> <31a145$olk@panix3.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <31hivu$3eq@Mercury.mcs.com>
Subject: Re: Proposal: "Good Net-Keeping Seal" for Usenet software
Date: Mon, 01 Aug 1994 01:26:22 +0000
From: supercat@MCS.COM (John Payson)
References: <1994Jul26.042000.10850@news.media.mit.edu> <CtJxE1.K2K@stortek.com> <1994Jul27.141102.29317@chemabs.uucp> <31a145$olk@panix3.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.policy.mbox.zip!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!news.kei.com!ddsw1!not-for-mail
Newsgroups: news.admin.misc,news.admin.policy,news.software.readers
Organization: /usr/lib/news/organi[sz]ation
Lines: 34
NNTP-Posting-Host: mercury.mcs.com