🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3411

Text Formatters for VI on a PC

#3411
From: Edward W Burkett
Date: Thu, 12 Jan 1989 22:33
47 lines
2089 bytes
Can someone point me in the direction of a text formater that is similar to
the C programs adj or fill that can be used with Vi on a PC.  I use adj on
our Unix system :!}adj and it works great but is it or something like it
also available for the PC?

burkett@csd4.milw.wisc.edu (Edward W Burkett)

********************************************************************************
ADJ(6)              UNIX Programmer's Manual               ADJ(6)

NAME
     adj - fill and adjust text lines

SYNOPSIS
     adj [ -h ] [ -n ] [ -p ] [ -w n1,... ] [ file ]

DESCRIPTION
     Adj copies the given file (standard input if none is given)
     to the standard output, filling lines and adjusting the
     right margin. Indentation and empty lines are preserved.

     Normally, words (uninterrupted sequences of non-blank char-
     acters) are not broken, unless the -h (hyphen) flag is
     given.

     The -n (no adjust) prevents adj from adjusting the right
     margin.

     If the -p (paragraph) option is specified, indentation is
     preserved only on the first line of a paragraph, assuming
     paragraphs are separated by empty lines.

     The -w n (width) option sets the line width to n (default
     65).  When given as -w n1,n2,... (a comma-separated sequence
     of numbers) the output lines will be n1, n2 etc. characters
     long, respectively.  When the sequence is exhausted, it is
     restarted.

SEE ALSO
     ctr(6)

BUGS
     -n does not break words intelligently.

     Change of indentation is done ungracefully.

     There's probably a better way tp specify line lengths.
Technical Details
Message-ID: <365@csd4.milw.wisc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!mailrus!csd4.milw.wisc.edu!burkett

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!mailrus!csd4.milw.wisc.edu!burkett
From: burkett@csd4.milw.wisc.edu (Edward W Burkett)
Newsgroups: comp.editors
Subject: Text Formatters for VI on a PC
Message-ID: <365@csd4.milw.wisc.edu>
Date: 12 Jan 89 22:33:48 GMT
Sender: news@csd4.milw.wisc.edu
Reply-To: burkett@csd4.milw.wisc.edu (Edward W Burkett)
Distribution: na
Organization: Computing Services Division, UW Milwaukee
Lines: 47