🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #13114

Proportional Fonts, Word Wrap, and News Compliancy

#13114
From: Tim Pierce
Date: Fri, 25 Nov 1994 20:39
85 lines
4456 bytes
As GUI environments become yet more common for newsreading
and posting -- X, MS Windows, Macintosh, OS/2, etc. -- it
becomes more common for the news-posting user to have the
option of reading and writing posts in environments with
proportional fonts and lines of more than eighty columns.

This is undeniably a feature.  Text is simply easier for
most people to read and write in a proportional font.  It's
good to be able to give them that ability.  However,
producing posts on the net that have more than 80 columns
per line is pretty antisocial.  The 80-column limit is
hardwired into a lot of software and, more importantly,
hardware out there, and though it's more pleasant to read
text in a proportionally-spaced font, it's well-nigh
impossible to read 90-column lines on an 80-column terminal
or window.

What to do?  This is my suggestion:

* Displaying text.

  Newsreaders should allow the user to choose either a
  fixed-width or proportional font for their text window.
  It is an advantage to the user to be able to switch easily
  from one to the other, because it is still very common for
  posts to rely on the assumption of a fixed-width reading
  environment (consider the use of carets to denote
  underlined text, for example).

  If the user chooses a proportional font for their display:
  allow them also to reformat paragraphs automatically.
  Define a "paragraph" as any chunk of text which is bounded
  by blank lines at either end (or lines beginning with
  whitespace), and in which each line begins with an
  alphanumeric character.  This last requirement is intended
  to prevent paragraph reformatting code from being applied
  to quoted text, which would be horribly mangled by this
  algorithm.

  Within a paragraph, hard returns should be interpreted as
  advisory.  Text may be reformatted at will, with sequences
  of white space collapsed into a single space and hard
  returns removed or inserted in order to match the user's
  environment.

  I believe this is very close to the algorithm employed by
  GNU Emacs to refill paragraphs.

* Generating text.

  In order to preserve compliancy with basic news standards,
  ensuring a 75-column word wrap should be the default.  In
  fact, I contend that it should be *difficult* for posters
  to exceed this limit: not impossible, but not something
  that the casual or unthinking user should be able to do
  with the click of a mouse.

  When users quote text in their followups, the text should
  be quoted based on its original formatting, not according
  to the reformatted text.  Quoted text should, in general,
  be assumed "inviolable," and not messed around with.

  Optionally, if the word-wrapping algorithm above proves
  robust enough, newsreader authors may wish to apply it to
  outgoing posts as well, so users could compose text in
  120-column windows with impunity, and not be subjected to
  the ridicule of Usenet for not inserting hard returns into
  their posts.

Among potential problems with this mechanism, I see one: it
will mangle followup posts that use SuperCite beyond
recognition (since those articles typically use alphanumeric
characters at the beginning of their quoted lines).  I am
inclined to say that (a) consideration should not be given
to such articles, since SuperCite should be encouraged to
die a speedy and quiet death anyway, and (b) that is exactly
the reason for permitting users to switch between displaying
their articles in proportional or fixed-width fonts in the
first place.

Comments are invited.

-- 
Green Card fodder: Canter, Siegel, green card, Joel Furr, liable,
fortune, conspiracy, CyberSell, Tennessee Bar.
Technical Details
Message-ID: <1994Nov25.203904.29854@midway.uchicago.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uchinews!quads!twpierce

Show Full Headers
Complete Article Headers
Message-ID: <1994Nov25.203904.29854@midway.uchicago.edu>
Subject: Proportional Fonts, Word Wrap, and News Compliancy
Date: Fri, 25 Nov 1994 20:39:04 GMT
From: twpierce@quads.uchicago.edu (Tim Pierce)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uchinews!quads!twpierce
Newsgroups: news.software.readers
Sender: news@uchinews.uchicago.edu (News System)
Reply-To: twpierce@midway.uchicago.edu
Organization: alt.* cabal, Professor Emeritus
Lines: 85