🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #1398

Vi Formating without using fmt

#1398
From: Jim Graham
Date: Wed, 07 Oct 1992 21:56
37 lines
2157 bytes
In article <1992Oct4.183159.851@mlb.semi.harris.com>
rliles@spuds.mlb.semi.harris.com writes:

> 2. How do you justify text for both the left AND right margins without
>    running through fmt?

not sure what your first question was after, but I do have a few
comments on this one....

if you're looking for something to do right-justification, you need to
use something that offers proportional spacing (meaning, plain ASCII
terminals are out).  otherwise, you end up inserting a lot of blank
spaces between words that don't belong, and the text gets very tough
on the reader.

I suggest that you look into something like TeX for this.  in case
you're not familiar with TeX (pronounced like ``tech''), it's a
typesetting system written by Donald Knuth, and is freely available
for lots of different computers.  TeX does a wonderful job with
formatting paragraphs --- it makes minute changes to the spacing between
words and letters, to the point that even if you look *VERY* close, you
still aren't going to notice....

but short of something like that, the general rule is that you don't
do right-justification, period.  this isn't just my preference --- it's
what I've been taught for years.

hope this helps.
   --jim

--
#include <std_disclaimer.h>                                 73 DE N5IAL (/9)
------------------------------------------------------------------------------
INTERNET:  jim@n5ial.chi.il.us  |  grahj@gagme.chi.il.us  |  j.graham@ieee.org
ICBM:  41.70N 87.63W                    UUCP:  gagme!n5ial!jim@clout.chi.il.us
AMATEUR RADIO: n5ial@n9hsi (Chicago.IL.US.Earth)    AMTOR SELCAL:  NIAL
------------------------------------------------------------------------------
Technical Details
Message-ID: <718494976snx@n5ial.chi.il.us>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!serveme!n5ial!jim
References: <1992Oct4.183159.851@mlb.semi.harris.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!serveme!n5ial!jim
From: jim@n5ial.chi.il.us (Jim Graham)
Newsgroups: comp.editors
Subject: Vi Formating without using fmt 
Distribution: world
Message-ID: <718494976snx@n5ial.chi.il.us>
References: <1992Oct4.183159.851@mlb.semi.harris.com>
Date: Wed, 07 Oct 92 21:56:16 GMT
Organization: Me? Organized? Hah! :-)
Lines: 38