"William James" <[EMAIL PROTECTED]> wrote:
> > Because the style guide says so:
> >
> >
> > http://www.opensolaris.org/os/community/documentation/getting_started_docs/cstyle.ms.pdf
>
> That are Sun rules, not Opensolaris rules. It seems archaic today to
> have a 50 year old punch card-style 80-column limit. Computers use
> silicon chips, not vacuum tubes. Punch cards have been obsoleted,
> operating systems use more than 640k, disks can hold more than 4GB. I
> think the Slashdot article is right: A 80-column limit is history.
There is a modified "cstyle" from me that changed the default to 132 in Summer
2004 by introducing a "Cstyle" wrapper. There are also some other options:
-l
-b
-K
-B
sage: cstyle [-c] [-h] [-p] [-v] [-C] [-P] [-l #] [-b] [-K] [-B] file ...
-c check continuation indentation inside functions
-h perform heuristic checks that are sometimes wrong
-p perform some of the more picky checks
-v verbose
-C don't check anything in header block comments
-P check for use of non-POSIX types
-l # set maxline length (default is 80)
-b do not check for blank after cpp #
-K do not check for blank at /* */ comment bounds
-B allow /*------- box comments
Cstyle contains:
#!/bin/sh
cstyle -l132 -b -K -B "$@"
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code