🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3247

Re: Paragraph Re-Formating in vi

#3247
From: Kevin Carothers
Date: Mon, 01 Aug 1988 22:57
41 lines
1954 bytes
>In article <2226@copper.SDP.TEK.COM> jackd@copper.SDP.TEK.COM (Jack Decker) writ
es:
>>I know you vi can do wrapped margins when you are initially entering
>>text, but is there any way to force it to reformat the paragraph if
>>you add or delete text to a paragraph that already exists?
>Sure, use fmt (if you don't have it on your system, there are PD versions):
>
>:f,l!fmt
>
>where f is line number of first line of paragraph
>and   l is line number of last line of paragraph
>
>-dave
> dab@rocky.oswego.edu



Huh?
I thought we had this discussion months ago. Anyway, I don't like
this  method  because  it  leaves "ragged" right-hand margins. It
looks a lot better if you put a ".pl 1" command  at  the  top  of
your  paragraph, position  your  cursor to the ".", and enter the
command "!}nroff". This  gives  "justified"  right-hand  margins,
like in this posting.


More fun facts and trivia from:



 _   ,                      __
' ) /                      /  )             _/_ /
 /-<   _ , __o  ____      /    __.  __  ____/  /_  _  __  _
/   ) </_\/ <__/ / <_    (__/ (_/|_/ (_(_) (__/ /_</_/ (_/_)_
=========================================================================
   The Name:   Kevin Carothers   !{csun,psivax,rdlvax,trwrb}!ttidca!kevin
   The Place:  Citicorp/Transaction Technologies
   The Biz:    Consumer & Commercial banking systems
   The Quote:  "Humalazeelabezimalabeelabazoolabasimulabop"
                           -D. Lee Roth
Technical Details
Message-ID: <3003@ttidca.TTI.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!linus!philabs!ttidca!kevin
References: <2226@copper.SDP.TEK.COM> <894@oswego.Oswego.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!linus!philabs!ttidca!kevin
From: kevin@ttidca.TTI.COM (Kevin Carothers)
Newsgroups: comp.editors
Subject: Re: Paragraph Re-Formating in vi
Keywords: vi, paragraph, reformating
Message-ID: <3003@ttidca.TTI.COM>
Date: 1 Aug 88 22:57:57 GMT
References: <2226@copper.SDP.TEK.COM> <894@oswego.Oswego.EDU>
Reply-To: kevin@ttidcb.tti.com (Kevin Carothers)
Organization: Citicorp/TTI, Santa Monica
Lines: 41