Date: Wed, 22 Jul 1998 11:07:16 +0300 (IDT) From: Eli Zaretskii To: Hans-Bernhard Broeker cc: "Claus P." , djgpp AT delorie DOT com Subject: Re: c code formatter / pretty-printer In-Reply-To: <199807211232.OAA11903@acp3bf.physik.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 21 Jul 1998, Hans-Bernhard Broeker wrote: > (BTW: that other program is called 'vgrind', not 'vgring'. There's > also a variant of it, 'tgrind', that prints to TeX). If I am not mistaken, `vgrind' and `tgrind' have different functionality: they pretty-print a source without restructuring it, whereas `indent' re-indents and restructures the source. If the original poster is after a pretty-printer, then GNU Enscript (also ported to DJGPP) is another possibility. It generates a PostScript file which nicely highlights language-specific constructs (keywords, identifiers, etc.) And of course, there's the `ps-print' command in Emacs which does the same.