[comp.editors] Text Formatters for VI on a PC

burkett@csd4.milw.wisc.edu (Edward W Burkett) (01/13/89)

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.