[comp.os.minix] Anybody want to work on pretty/indent?

ast@cs.vu.nl (Andy Tanenbaum) (04/11/91)

The 'pretty' program (which is just a front end for 'indent') reformats
programs, but doesn't quite get everything right.  This causes lots of
problems when merging in fixes from various people because I want a
consistent style.  As a consequence, there is more hand editing than
I like.

Is there anyone who is willing to do a bit of work on 'indent' to make it
up to snuff?  Is so, first look at the code (fairly complicated).  If still
interested, please contact me.

Thanks.

Andy Tanenbaum (ast@cs.vu.nl)

leisner.wbst139@xerox.com (04/13/91)

You want to use GNU indent or BSD indent?  GNU indent reads a whole file into a
buffer (bad idea on 64k machines).  BSD indent doesn't.

The GNU code is much better than the BSD code (the GNU stuff is derived from
BSD indent).

I've done some work to get GNU indent to work work on Ms/Dos systems (64k
code/64 data).  Should work fine on Minix.  If there's interest, I can look at
what I did.

Indent is a very handy program to have around...

marty
(Knowledge is useful in the Information Age)
(Software is mindstuff.  It is the hardest activity created by man)
ARPA:	leisner.wbst139@xerox.com
NS:  leisner:wbst139:xerox
UUCP:	hplabs!arisia!leisner