Article View: comp.editors
Article #1392Re: Vi Formating without using fmt
From: J.C. Webber III
Date: Wed, 07 Oct 1992 00:36
Date: Wed, 07 Oct 1992 00:36
24 lines
1660 bytes
1660 bytes
In <92Oct06.1808.662@crash.canon.co.uk> tim@crash.canon.co.uk writes:
>rliles@spuds.mlb.semi.harris.com (Ray Liles) asks:
>|1. How do you insert text into an existing paragraph AND reformat/fill that
>| paragraph so that all text observes the wrapmargin, without part of a word
>| on one line and the rest of the word on the next?
>Insert the text and {!}fmt^M. Oops. I used fmt. What about {!}notfmt^M
>and ln -s /usr/ucb/fmt /usr/local/bin/notfmt? Why do you hate fmt so?
>What has it ever done to you?
Personally, I quit using fmt because it doesn't preserve indentation and
it loses the double space I like to put between sentences. I use either
the public domain program mfold or I use vile with it's builtin reformatting
capabilities (^Af). It can reformat an entire document, a paragraph, several
paragraphs or to a marker. It understands paragraphs and preserves the
indentation. Mfold has many other capabilities also, such as producing
multi-column output.
--
J.C. Webber III jc@skyking.UUCP
Systems Administrator uunet!cadence!mips!skyking!jc
Silicon Graphics Inc. {ames,decwrl,pyramid,prls)!mips!skyking!jc
(408)524-8256 "Sysadm, it's not just a job.....it's a way of LIFE!" - me
Technical Details
Message-ID:
<1992Oct7.003638.14933@skyking.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!yale.edu!spool.mu.edu!sgiblab!skyking!jcReferences:
<1992Oct4.183159.851@mlb.semi.harris.com> <92Oct06.1808.662@crash.canon.co.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.editors Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!yale.edu!spool.mu.edu!sgiblab!skyking!jc From: jc@skyking.uucp (J.C. Webber III) Subject: Re: Vi Formating without using fmt Message-ID: <1992Oct7.003638.14933@skyking.uucp> Organization: Skyking Enterprises References: <1992Oct4.183159.851@mlb.semi.harris.com> <92Oct06.1808.662@crash.canon.co.uk> Distribution: na Date: Wed, 7 Oct 1992 00:36:38 GMT Lines: 19