Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uw-beaver Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!mtuxo!mtunh!vax135!cornell!uw-beaver!schwartz From: schwartz@uw-beaver (Michael Schwartz) Newsgroups: net.sources Subject: Re: WordStar-like reformat for vi Message-ID: <1704@uw-beaver> Date: Thu, 7-Nov-85 03:12:05 EST Article-I.D.: uw-beave.1704 Posted: Thu Nov 7 03:12:05 1985 Date-Received: Fri, 8-Nov-85 21:59:44 EST References: <3797@dartvax.UUCP> Distribution: net Organization: U of Washington Computer Science Lines: 11 > Here is the source for the "WordStar" style reformating filter > printed in the November, 1985 issue of Unix/World magazine. It > simulates the ^B command available in the popular WordStar (tm Micropro) > editor. It is used to reformat the lines in a paragraph of text > so that no line is longer than 70 characters, and short lines > are joined where possible. > There is a command to do this available on standard Berkeley Unix: fmt(1). - Mike Schwartz