version 1.6, 2000/03/06 03:17:40 |
version 1.7, 2000/03/14 14:58:25 |
|
|
.Nm |
.Nm |
runs in two basic modes, filter mode (see the |
runs in two basic modes, filter mode (see the |
.Fl f |
.Fl f |
option) or regular mode. In filter mode |
option) or regular mode. |
|
In filter mode |
.Nm |
.Nm |
acts as a filter in a manner similar to |
acts as a filter in a manner similar to |
.Xr tbl 1 . |
.Xr tbl 1 . |
|
|
ends processing |
ends processing |
.El |
.El |
.Pp |
.Pp |
These lines are formatted as described above. The output from this |
These lines are formatted as described above. |
filter can be passed to |
The output from this filter can be passed to |
.Xr troff 1 |
.Xr troff 1 |
for output. There need be no particular ordering with |
for output. |
|
There need be no particular ordering with |
.Xr eqn 1 |
.Xr eqn 1 |
or |
or |
.Xr tbl 1 . |
.Xr tbl 1 . |
|
|
Specifies a particular header to put on every output page (default is |
Specifies a particular header to put on every output page (default is |
the file name). |
the file name). |
.It Fl l |
.It Fl l |
Specifies the language to use. Currently known are |
Specifies the language to use. |
|
Currently known are |
.Tn PASCAL |
.Tn PASCAL |
.Pq Fl l Ns Ar p , |
.Pq Fl l Ns Ar p , |
.Tn MODEL |
.Tn MODEL |
|
|
For |
For |
.Tn C |
.Tn C |
\- function names can be preceded on a line only by spaces, tabs, or an |
\- function names can be preceded on a line only by spaces, tabs, or an |
asterisk. The parenthesized arguments must also be on the same line. |
asterisk. |
|
The parenthesized arguments must also be on the same line. |
.Pp |
.Pp |
For |
For |
.Tn PASCAL |
.Tn PASCAL |
|
|
More generally, arbitrary formatting styles for programs mostly look bad. |
More generally, arbitrary formatting styles for programs mostly look bad. |
The use of spaces to align source code fails miserably; if you plan to |
The use of spaces to align source code fails miserably; if you plan to |
.Nm |
.Nm |
your program you should use tabs. This is somewhat inevitable since the |
your program you should use tabs. |
font used by |
This is somewhat inevitable since the font used by |
.Nm |
.Nm |
is variable width. |
is variable width. |
.Pp |
.Pp |