Debian Codegraph @

reference/interface_options.html

raw symbols SCIP
1
2 <HTML>
3 <!--
4 ***********************************************************************
5 FUNNELWEB MANUAL WEB PAGE
6 =========================
7 Copyright (c) Ross N. Williams 1992,1999. All rights reserved.
8
9 Permission is granted to redistribute and use this manual in
10 any medium, with or without modification, provided that all
11 notices (including, without limitation, the copyright
12 notice, this permission notice, any record of modification,
13 and all legal notices) are preserved on all copies, that all
14 modifications are clearly marked, and that modified versions
15 are not represented as the original version unless all the
16 modifications since the manual's original release by Ross N.
17 Williams (www.ross.net) consist of translations or other
18 transformations that alter only the manual's form, not its
19 content. THIS MANUAL IS PROVIDED "AS IS" AND WITHOUT ANY
20 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
21 LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
22 FITNESS FOR A PARTICULAR PURPOSE. TO THE EXTENT PERMITTED BY
23 LAW THERE IS ABSOLUTELY NO WARRANTY.
24
25 ***********************************************************************
26 -->
27
28 <HEAD>
29 <TITLE>2.3 Options</TITLE>
30 <STYLE TYPE="text/css"> <!-- A {text-decoration: none} // --> </STYLE>
31 </HEAD>
32 <BODY BACKGROUND="binary/background.gif"
33 BGCOLOR="#FFFFFF"
34 TEXT="#000000"
35 VLINK="#660000"
36 LINK="#FF0000"
37 ALINK="#CC0000">
38
39 <TABLE WIDTH="490">
40 <TR>
41 <TD WIDTH="130" VALIGN="top">
42 <IMG SRC="binary/d_clear.gif" ALT="" WIDTH="130" HEIGHT="1"><BR>
43
44 <FONT SIZE="2">
45 <BR>
46
47 <A HREF="http://www.ross.net/"
48 TARGET="rosshome"
49 onClick="window.open('','rosshome','location,status,menubar,scrollbars,resizable',false).focus(); return true;"
50 >
51 <IMG SRC="binary/rossnet_logo.gif"
52 WIDTH="64" HEIGHT="32"
53 BORDER="0" ALT="RossNet"
54 HSPACE="0" VSPACE="1"></A><BR>
55 <BR>
56
57 <A HREF="../index.shtml"
58 TARGET="funnelweb"
59 onClick="window.open('','funnelweb','location,status,menubar,scrollbars,resizable',false).focus(); return true;"
60 >
61 <IMG SRC="binary/linklogo.gif"
62 WIDTH="64" HEIGHT="32"
63 BORDER="0" ALT="FunnelWeb"
64 HSPACE="0" VSPACE="1"></A><BR>
65 <BR>
66 <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD BGCOLOR="#000000">
67 <A HREF="../tutorial/index.html"
68 TARGET="funnelwebtutorial"
69 onClick="window.open('','funnelwebtutorial','location,status,menubar,scrollbars,resizable',false).focus(); return true;"
70 ><FONT COLOR="#FFFFFF"><B>Tutorial</B></FONT></A><BR>
71 <BR>
72 <A HREF="../developer/index.html"
73 TARGET="funnelwebdeveloper"
74 onClick="window.open('','funnelwebdeveloper','location,status,menubar,scrollbars,resizable',false).focus(); return true;"
75 ><FONT COLOR="#FFFFFF"><B>Developer</B></FONT></A><BR>
76 <BR>
77 <A HREF="index.html"><FONT COLOR="#FFFFFF"><B>Reference</B></FONT></A><BR>
78 <A HREF="intro.html"><FONT COLOR="#FFFFFF">1 Introduction</FONT></A><BR>
79 <A HREF="interface.html"><FONT COLOR="#FFFFFF">2 Interface</FONT></A><BR>
80 <A HREF="scanner.html"><FONT COLOR="#FFFFFF">3 Scanner</FONT></A><BR>
81 <A HREF="parser.html"><FONT COLOR="#FFFFFF">4 Parser</FONT></A><BR>
82 <A HREF="analyser.html"><FONT COLOR="#FFFFFF">5 Analyser</FONT></A><BR>
83 <A HREF="tangle.html"><FONT COLOR="#FFFFFF">6 Tangle</FONT></A><BR>
84 <A HREF="weave.html"><FONT COLOR="#FFFFFF">7 Weave</FONT></A><BR>
85 <A HREF="shell.html"><FONT COLOR="#FFFFFF">8 Shell</FONT></A><BR>
86 <A HREF="commands.html"><FONT COLOR="#FFFFFF">9 Commands</FONT></A><BR>
87 <A HREF="glossary.html"><FONT COLOR="#FFFFFF">10 Glossary</FONT></A><BR>
88 <A HREF="references.html"><FONT COLOR="#FFFFFF">11 References</FONT></A><BR>
89
90 <BR>
91 <A HREF="search.html"><FONT COLOR="#FFFFFF"><B>SEARCH</B></FONT></A><BR>
92 </FONT>
93 </TD></TR></TABLE>
94
95
96 </TD>
97 <TD WIDTH="360" VALIGN="top">
98 <FONT SIZE="3">
99
100
101 <A HREF="index.html"><IMG SRC="binary/title.gif"
102 WIDTH="316" HEIGHT="24"
103 BORDER="0" ALT="FunnelWeb Reference Manual"
104 HSPACE="0" VSPACE="0"></A>
105 <P><FONT SIZE="5">2.3 Options</FONT><BR>
106
107
108
109 <P>FunnelWeb's options are internal parameters which can
110 be modified by corresponding arguments on FunnelWeb's
111 command line. A description of each argument and option
112 follows.
113
114 <P><BLOCKQUOTE><B>B1...B6:
115 Tracedumps:</B> These
116 six
117 options have been provided to assist in the debugging and
118 testing of FunnelWeb. They determine which of six possible
119 trace dumps are to be written to the listing file. Only the
120 boolean attributes of these options are ever used. The six
121 dumps are identified by the digits <SAMP>1..6</SAMP> as
122 follows: </BLOCKQUOTE>
123
124 <P>
125 <OL>
126 <LI> Dump a hexdump of each mapped input and include file.
127 <LI> Dump the global line list created by the scanner.
128 <LI> Dump the token list created by the scanner.
129 <LI> Dump the macro table created by the parser.
130 <LI> Dump the document list created by the parser.
131 <LI> Dump a table summarizing CPU and real time usage.
132 </OL>
133
134 <P>Because these options are so closely related, a hack
135 has been pulled to enable them to all to be controlled by
136 the <SAMP>B</SAMP> argument. The string argument to the
137 <SAMP>B</SAMP> argument determines which of the six options are
138 to be affected by the sign. Examples: <SAMP>+B134</SAMP> turns
139 on options <SAMP>B1</SAMP>, <SAMP>B3</SAMP>, and <SAMP>B4</SAMP>.
140 <SAMP>-B1</SAMP> turns off option <SAMP>B1</SAMP>.
141 <SAMP>Default:&nbsp;-B123456</SAMP>.
142
143 <P><BLOCKQUOTE><B>B7: Determinism:</B> If the <SAMP>B7</SAMP>
144 option is turned on, FunnelWeb suppresses the output of
145 anything non-deterministic, or
146 machine dependent. This assists in regression testing. Only
147 the boolean attribute is used in this option. This option is
148 controlled by the <SAMP>B7</SAMP> argument which falls under
149 the same argument syntax as the other <SAMP>B</SAMP> options.
150 Examples: <SAMP>+B7</SAMP>, <SAMP>-B7</SAMP>.
151 <SAMP>Default:&nbsp;-B7</SAMP>.</BLOCKQUOTE>
152
153 <P><BLOCKQUOTE><B>C: Listing File
154 Context:</B> The <SAMP>C</SAMP> option is always turned on and cannot be
155 turned off. Its only attribute is a number which determines
156 the number of lines of context that the lister will place
157 around lines flagged with diagnostics in the listing file
158 (if a listing file is written). A value of 100 indicates
159 infinite context which means that
160 the entire listing file will be written out if a single
161 diagnostic occurs. The value of this number can be specified
162 by specifying it as a string of decimal digits to the
163 <SAMP>+C</SAMP> argument. Examples: <SAMP>+C100</SAMP>,
164 <SAMP>+C10</SAMP>. <SAMP>Default:&nbsp;+C2</SAMP>.</BLOCKQUOTE>
165
166 <P><BLOCKQUOTE><B>D: Delete Identical Output Files:</B> Only the
167 boolean attribute of this option is
168 used. When
169 turned on, the option causes the suppression (deletion) of
170 product files and documentation files (but not listing or
171 journal files) that are identical to the currently existing
172 files of the same name. For example, if FunnelWeb is
173 instructed to generate <SAMP>stack.h</SAMP> as an product file,
174 and the text to be written to <SAMP>stack.h</SAMP> is identical
175 to the currently existing <SAMP>stack.h</SAMP>, then FunnelWeb
176 will simply not write any product file, leaving the
177 currently existing <SAMP>stack.h</SAMP> as it is (and in
178 particular leaving the file's date attribute the same). This
179 prevents unnecessary <SAMP>make</SAMP> propagations. For
180 example, in a C program, if <SAMP>stack.fw</SAMP> is a
181 FunnelWeb input file that generates <SAMP>stack.h</SAMP> and
182 <SAMP>stack.c</SAMP>, a modification to <SAMP>stack.fw</SAMP> that
183 affects <SAMP>stack.c</SAMP> but does not affect
184 <SAMP>stack.h</SAMP> will not provoke the recompilation of
185 modules that <SAMP>#include stack.h</SAMP>, so long as the
186 intervening FunnelWeb run has <SAMP>+D</SAMP> set. Examples:
187 <SAMP>-D</SAMP>, <SAMP>+D</SAMP>. <SAMP>Default:&nbsp;-D</SAMP>.</BLOCKQUOTE>
188
189 <P><BLOCKQUOTE><B>F: FunnelWeb Input
190 File:</B> If this option is turned on,
191 FunnelWeb processes the input
192 file whose name is specified by the option string. Examples:
193 <SAMP>+Fsloth.fw</SAMP>, <SAMP>+Fwalrus</SAMP>, <SAMP>-F</SAMP>.
194 <SAMP>Default:&nbsp;-F</SAMP>.</BLOCKQUOTE>
195
196 <P><BLOCKQUOTE><B>H: Display Help
197 Message:</B> If this
198 option is turned on, FunnelWeb
199 displays the message specified by the argument string. Each
200 message has a name. The main help message is called
201 "<TT>menu</TT>" and contains a list of the other help
202 messages. Examples: <SAMP>+Hregistration</SAMP>,
203 <SAMP>+Hoptions</SAMP>. <SAMP>Default:&nbsp;-Hmenu</SAMP>.</BLOCKQUOTE>
204
205 <P><BLOCKQUOTE><B>I: Include default file
206 specification:</B> This
207 option
208 is always turned on and cannot be turned off. Its string
209 attribute is used as the default file specification for
210 include files. Usually this option is used to specify a
211 directory from which include files should be obtained.
212 Examples: <SAMP>=I/usr/dave/includes/</SAMP>.
213 <SAMP>Default:&nbsp;+I</SAMP>.</BLOCKQUOTE>
214
215 <P><BLOCKQUOTE><B>J: Journal File:</B> If
216 this option is turned on, FunnelWeb generates
217 a
218 journal file. A journal file contains a log of all the
219 console input and output to FunnelWeb during a single
220 invocation of the FunnelWeb program (Note: The <SAMP>Q</SAMP>
221 option does not affect this.). The journal file is
222 particularly useful for examining what happened during a
223 FunnelWeb shell run. The string attribute is the name of the
224 journal file. Examples: <SAMP>+Jjournfile</SAMP>, <SAMP>-J</SAMP>.
225 <SAMP>Default:&nbsp;-J</SAMP>.</BLOCKQUOTE>
226
227 <P><BLOCKQUOTE><B>K: Keyboard:</B> If this
228 option
229 is turned on, FunnelWeb enters an interactive mode in which
230 the user can enter FunnelWeb shell commands interactively.
231 The string attribute is unused. Examples: <SAMP>+K</SAMP>,
232 <SAMP>-K</SAMP>. <SAMP>Default:&nbsp;-K</SAMP>.</BLOCKQUOTE>
233
234 <P><BLOCKQUOTE><B>L: Listing File:</B> If
235 this option is turned on, FunnelWeb generates
236 a
237 listing file containing a summary of a run on FunnelWeb
238 proper. The string argument is the name of the listing file
239 to be created. Examples: <SAMP>+L</SAMP>, <SAMP>-L</SAMP>,
240 <SAMP>+Llisting.lis</SAMP>. <SAMP>Default:&nbsp;-L</SAMP>.</BLOCKQUOTE>
241
242 <P><BLOCKQUOTE><B>O: Product Files:</B> If this option is turned
243 on, FunnelWeb generates a product file for each macro in the
244 input file that is bound to an output file. The string
245 attribute contributes to the name of the product files. This
246 option is controlled by the <SAMP>O</SAMP> argument because
247 product files used to be called "<STRONG>O</STRONG>utput
248 files"). Examples: <SAMP>-O</SAMP>,
249 <SAMP>+O/usr/dave/product/</SAMP>. <SAMP>Default:&nbsp;+O</SAMP>.</BLOCKQUOTE>
250
251 <P><BLOCKQUOTE><B>Q: Quiet:</B> If this
252 option is turned on, FunnelWeb suppresses
253 all
254 output to the screen (standard output) unless one or more
255 errors occur, in which case a single line summarizing the
256 errors is sent to standard output at the end of the run. If
257 this option is turned off, FunnelWeb writes to the console
258 in its normal garrulous way. The string attribute is unused
259 in this option. Examples: <SAMP>-Q</SAMP>, <SAMP>+Q</SAMP>.
260 <SAMP>Default:&nbsp;-Q</SAMP>.</BLOCKQUOTE>
261
262 <P><BLOCKQUOTE><B>S: Screen:</B> If this
263 option is turned on, FunnelWeb writes
264 all diagnostics to the screen
265 (standard output) as well as to the listing file. By
266 default, they are sent only to the listing file. This option
267 has a single numerical attribute that can be specified as a
268 decimal string in the string component of the <SAMP>S</SAMP>
269 argument. The number is the number of lines of context that
270 should surround each diagnostic sent to the
271 screen. Examples: <SAMP>-S</SAMP>,
272 <SAMP>+S6</SAMP>, <SAMP>+S0</SAMP>. <SAMP>Default:&nbsp;-S</SAMP>.</BLOCKQUOTE>
273
274 <P><BLOCKQUOTE><B>T: TeX Documentation
275 file:</B> If this option is turned on,
276 FunnelWeb
277 generates a documentation file in TeX format. The string
278 argument contributes to the name of the documentation file
279 to be created. By default this option is turned off, as
280 experience has shown that most FunnelWeb runs are made
281 during program development; documentation runs occur far
282 more rarely. This option is controlled by the <SAMP>T</SAMP>
283 command line argument because documentation files used to be
284 called typesetter files. Examples: <SAMP>-T</SAMP>,
285 <SAMP>+Tsloth.tex</SAMP>. <SAMP>Default:&nbsp;-T</SAMP>.</BLOCKQUOTE>
286
287 <P><BLOCKQUOTE><B>U: HTML Documentation
288 file:</B> If this option is turned on,
289 FunnelWeb
290 generates a documentation file in HTML format. The string
291 argument contributes to the name of the documentation file
292 to be created. By default this option is turned off, as
293 experience has shown that most FunnelWeb runs are made
294 during program development; documentation runs occur far
295 more rarely. <SAMP>U</SAMP> was chosen for this feature
296 because it follows <SAMP>T</SAMP>, and <SAMP>H</SAMP> and
297 <SAMP>W</SAMP> were already allocated to other functions.
298 Examples: <SAMP>-U</SAMP>,
299 <SAMP>+Usloth.html</SAMP>. <SAMP>Default:&nbsp;-U</SAMP>.</BLOCKQUOTE>
300
301 <P><BLOCKQUOTE><B>W: Width of Product
302 Files:</B> If this
303 option
304 is turned on, a limit is placed on the length of lines in
305 product files generated during the run. Lines that breach
306 the limit are flagged with error messages. This option has a
307 single numerical attribute that can be specified as a
308 decimal string in the string component of the <SAMP>W</SAMP>
309 argument. The number is the specified maximum width. This
310 option is one of two limits that are placed on the width of
311 product files. The other limit is an attribute of the input
312 file that defaults to 80 characters, but can be raised or
313 lowered using an output line length pragma. The width that
314 is enforced is the lower of this value and the value of the
315 <SAMP>W</SAMP> option (if turned on). Examples: <SAMP>-W</SAMP>,
316 <SAMP>+W100</SAMP>. <SAMP>Default:&nbsp;-W80</SAMP>.</BLOCKQUOTE>
317
318 <P><BLOCKQUOTE><B>X: Execute:</B> If this
319 option is turned on,
320 FunnelWeb executes the FunnelWeb shell script file specified
321 by the string attribute. Examples: <SAMP>+Xmaster</SAMP>,
322 <SAMP>-X</SAMP>. <SAMP>Default:&nbsp;-X</SAMP>.</BLOCKQUOTE>
323
324
325 <P>
326 <TABLE WIDTH="100%">
327 <TR>
328 <TD ALIGN="left" VALIGN="bottom"><A HREF="interface_arguments.html"><IMG SRC="binary/fw_left.gif" HEIGHT="32" WIDTH="32" BORDER="0" ALT="Prev"></A></TD>
329 <TD ALIGN="center" VALIGN="bottom"><A HREF="interface.html"><IMG SRC="binary/fw_up.gif" HEIGHT="32" WIDTH="32" BORDER="0" ALT="Up"></A></TD>
330 <TD ALIGN="right" VALIGN="bottom"><A HREF="interface_inheritance.html"><IMG SRC="binary/fw_right.gif" HEIGHT="32" WIDTH="32" BORDER="0" ALT="Next"></A></TD>
331 </TR>
332 </TABLE>
333
334
335
336 <P>
337 <HR>
338 <FONT SIZE="2">
339 <A HREF="mailto:[email protected]">Webmaster</A>&nbsp;&nbsp;&nbsp;
340 <A HREF="copyright.html">Copyright &copy; Ross N. Williams 1992,1999. All rights reserved.</A><BR>
341 </FONT>
342
343 </FONT>
344 </TD>
345 </TR>
346 </TABLE>
347
348
349 </FONT>
350 </BODY>
351
352 <!-- *********************************************************************** -->
353 <!-- End Of A FunnelWeb Manual Web Page (www.ross.net/funnelweb/) -->
354 <!-- *********************************************************************** -->
355
356 </HTML>