Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / doc / MHonArc / resources / rcfile.html
CommitLineData
86530b38
AT
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
2<html>
3<head>
4<title>MHonArc Resources: RCFILE</title>
5</head>
6<body>
7<!--x-rc-nav-->
8<table border=0><tr valign="top">
9<td align="left" width="50%">[Prev:&nbsp;<a href="quiet.html">QUIET</a>]</td><td><nobr>[<a href="../resources.html#rcfile">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="refsbegin.html">REFSBEGIN</a>]</td></tr></table>
10<!--/x-rc-nav-->
11<hr>
12<h1>RCFILE</h1>
13
14<!-- *************************************************************** -->
15<hr>
16<h2>Syntax</h2>
17
18<dl>
19
20<dt><strong>Envariable</strong></dt>
21<dd><p>
22<code>M2H_RCFILE=</code><var>filename</var>
23</p>
24</dd>
25
26<dt><strong>Element</strong></dt>
27<dd><p>N/A
28</p>
29</dd>
30
31<dt><strong>Command-line Option</strong></dt>
32<dd><p>
33<code>-rcfile </code><var>filename</var>
34</p>
35</dd>
36
37</dl>
38
39<!-- *************************************************************** -->
40<hr>
41<h2>Description</h2>
42
43<p>RCFILE tells MHonArc what the resource file is.
44The resource file allows you to specify most of the resources set by
45environment variables and command-line options, and it allows you to specify
46other resources to control MHonArc's behavior.
47</p>
48
49<h3>Resource file syntax</h3>
50
51<P>Resources are set in the file by using <EM>elements</EM> similiar
52in style to HTML/SGML markup. However, MHonArc uses simpler
53parsing rules for the resource file than standard SGML: </P>
54
55<UL>
56
57<LI><P>Any line that is not a recognized element open tag, <EM>and</EM>
58the line is not contained within an element, is ignored. This implies
59that regular text can be put anywhere <STRONG>outside</STRONG> of
60recognized elements for commenting purposes. </P>
61
62<table border=0 cellpadding=4>
63<tr valign=top>
64<td><strong>NOTE</strong></td>
65<td><p>You should use SGML comment declarations
66(<CODE>&lt;!-- </CODE>...<CODE> --&gt;</CODE>) when commenting a
67resource file. This will eliminate possible conflicts
68if more stricter parsing rules are adopted.
69</p>
70</td>
71</tr>
72</table>
73<br>
74
75<LI><P>The opening tag of an element must occur by itself on a
76single line. Whitespace is allowed before the the open tag. </P>
77
78<LI><P>No comments are allowed inside elements because the text will
79be treated as element content (unless the comment text is supposed
80to be part of the resource value). </P>
81
82<LI><P>Each element must be closed with a
83<CODE>&lt;/</CODE><VAR>element_name</VAR><CODE>&gt;</CODE> tag on
84its own line unless resource associated with the element is
85a boolean resource.
86Whitespace is allowed
87before the close tag. </P>
88
89<LI><P>Some elements can take an optional attribute called
90"<CODE>Override</CODE>", if applicable. This tells MHonArc
91that the contents of the element will completely override the default
92behavior of MHonArc, and previous instances of the element.
93<STRONG>Example</STRONG>: "<CODE>&lt;EXCS Override&gt;</CODE>". If
94"<CODE>Override</CODE>" is not specified, then the contents of the
95element augment the current setting. </P>
96
97<LI><P>Some elements can take an optional attribute called
98"<CODE>Chop</CODE>", if applicable. This tells MHonArc
99to remove the last line-break of the element's content.
100</P>
101
102<LI><P>Element names are case-insensitive.
103</P>
104
105<LI><P>Elements can occur in any order in the resource file.
106</P>
107
108<LI><P>Elements can<b>NOT</b> be nested. Many resources define
109the values of <a href="../rcvars.html">resource variables</a>, which
110may be used within resource elements.
111</P>
112
113</UL>
114
115<H3>Resource variables</h3>
116
117<p>Many resources are allowed to have <em>resource variables</em> as
118part of there content. Resource variables represent data that
119can only be defined during run-time. I.e. Resource variables
120will get expanded to an appropriate value during the execution
121of MHonArc. For more information on resource variables, see
122the section: <a href="../rcvars.html">Resource Variables</a>.
123</p>
124
125<p>The description for each resource will contain a list
126of all applicable variables that may be used in defining the
127resource's value.
128</p>
129
130<!-- *************************************************************** -->
131<hr>
132<h2>Default Setting</h2>
133
134<p>Nil.
135</p>
136
137<!-- *************************************************************** -->
138<hr>
139<h2>Resource Variables</h2>
140
141<p>N/A
142</p>
143
144<!-- *************************************************************** -->
145<hr>
146<h2>Examples</h2>
147
148<p>The following shows you what a resource file looks like:
149</p>
150
151<PRE>
152&lt;!-- MHonArc resource file
153 --&gt;
154<b>&lt;<a href="sort.html">SORT</a>&gt;</b>
155<b>&lt;<a href="title.html">TITLE</a>&gt;</b>
156MHonArc test
157<b>&lt;/TITLE&gt;</b>
158
159<b>&lt;<a href="ttitle.html">TTITLE</a>&gt;</b>
160MHonArc test (by thread)
161<b>&lt;/TTITLE&gt;</b>
162
163&lt;!--=== Index Page Customizations =========================================--&gt;
164
165&lt;!-- Have LISTBEGIN contain last updated information
166 --&gt;
167<b>&lt;<a href="listbegin.html">LISTBEGIN</a>&gt;</b>
168&lt;address&gt;
169Last updated: $LOCALDATE$&lt;br&gt;
170$NUMOFMSG$ messages in chronological order&lt;br&gt;
171&lt;/address&gt;
172&lt;ul&gt;
173&lt;li&gt;&lt;a href="$TIDXFNAME$"&gt;Thread Index&lt;/a&gt;&lt;/li&gt;
174&lt;/ul&gt;
175&lt;p&gt;
176Listing format is the following:
177&lt;p&gt;
178&lt;ul&gt;&lt;li&gt;
179&lt;strong&gt;Subject&lt;/strong&gt;
180(# of follow-ups)
181&lt;em&gt;From&lt;/em&gt;&lt;br&gt;
182&lt;/ul&gt;
183&lt;p&gt;
184&lt;hr&gt;
185&lt;ul&gt;
186<b>&lt;/LISTBEGIN&gt;</b>
187
188
189&lt;!-- A compact listing template
190 --&gt;
191<b>&lt;<a href="litemplate.html">LITEMPLATE</a>&gt;</b>
192&lt;li&gt;
193&lt;strong&gt;$SUBJECT:40$&lt;/strong&gt;
194($NUMFOLUP$) &lt;em&gt;$FROMNAME$&lt;/em&gt;&lt;br&gt;
195<b>&lt;/LITEMPLATE&gt;</b>
196
197<b>&lt;<a href="listend.html">LISTEND</a>&gt;</b>
198&lt;/ul&gt;
199&lt;p&gt;
200&lt;hr&gt;
201&lt;strong&gt;
202&lt;a href="http://foo.org/"&gt;Home&lt;/a&gt;
203&lt;/strong&gt;
204&lt;p&gt;
205<b>&lt;/LISTEND&gt;</b>
206
207&lt;!--=== Thread Index Page Customizations ==================================--&gt;
208<b>&lt;<a href="thead.html">THEAD</a>&gt;</b>
209&lt;address&gt;
210Thread index&lt;br&gt;
211Last updated: $LOCALDATE$&lt;br&gt;
212$NUMOFMSG$ messages&lt;br&gt;
213&lt;/address&gt;
214&lt;ul&gt;
215&lt;li&gt;&lt;a href="$IDXFNAME$"&gt;Main Index&lt;/a&gt;&lt;/li&gt;
216&lt;/ul&gt;
217&lt;hr&gt;
218<b>&lt;/THEAD&gt;</b>
219
220&lt;!--=== Message Customizations ============================================--&gt;
221<b>&lt;<a href="excs.html">EXCS</a> override&gt;</b>
222apparently
223errors-to
224followup
225forward
226lines
227message-id
228mime-
229nntp-
230originator
231path
232precedence
233received
234replied
235return-path
236status
237via
238x-
239<b>&lt;/EXCS&gt;</b>
240
241<b>&lt;<a href="labelstyles.html">LABELSTYLES</a>&gt;</b>
242-default-
243subject:strong
244from:strong
245to:strong
246&lt;/LABELSTYLES&gt;
247
248<b>&lt;<a href="fieldstyles.html">FIELDSTYLES</a>&gt;</b>
249-default-
250subject:strong
251from:strong
252to:strong
253keywords:em
254newsgroups:strong
255<b>&lt;/FIELDSTYLES&gt;</b>
256
257<b>&lt;<a href="msghead.html">MSGHEAD</a>&gt;</b>
258&lt;address&gt;
259MHonArc test archive
260&lt;/address&gt;
261<b>&lt;/MSGHEAD&gt;</b>
262
263<b>&lt;<a href="msgfoot.html">MSGFOOT</a>&gt;</b>
264&lt;strong&gt;
265&lt;a href="http://foo.org/"&gt;Home&lt;/a&gt; |
266&lt;a href="$IDXFNAME$"&gt;Main Index&lt;/a&gt; |
267&lt;a href="$TIDXFNAME$"&gt;Thread Index&lt;/a&gt;
268&lt;/strong&gt;
269<b>&lt;/MSGFOOT&gt;</b>
270
271&lt;!--=== Icons =============================================================--&gt;
272<b>&lt;<a href="icons.html">ICONS</a>&gt;</b>
273application/octet-stream:http://foo.org/icons/binary.xbm
274application/postscript:http://foo.org/icons/postscript.xbm
275audio/basic:http://foo.org/icons/sound.xbm
276image/gif:http://foo.org/icons/image.xbm
277image/jpeg:http://foo.org/icons/image.xbm
278image/tiff:http://foo.org/icons/image.xbm
279multipart/alternative:http://foo.org/icons/alternative.xbm
280multipart/digest:http://foo.org/icons/text.xbm
281multipart/mixed:http://foo.org/icons/mixed.xbm
282multipart/parallel:http://foo.org/icons/mixed.xbm
283text/richtext:http://foo.org/icons/mixed.xbm
284text/html:http://foo.org/icons/mixed.xbm
285text/plain:http://foo.org/icons/text.xbm
286unknown:http://foo.org/icons/unknown.doc.xbm
287video/mpeg:http://foo.org/icons/movie.xbm
288video/quicktime:http://foo.org/icons/movie.xbm
289<b>&lt;/ICONS&gt;</b>
290</PRE>
291
292
293<!-- *************************************************************** -->
294<hr>
295<h2>Version</h2>
296
297<p>1.0
298</p>
299
300<!-- *************************************************************** -->
301<hr>
302<h2>See Also</h2>
303
304<p>
305</p>
306
307<!-- *************************************************************** -->
308<hr>
309<!--x-rc-nav-->
310<table border=0><tr valign="top">
311<td align="left" width="50%">[Prev:&nbsp;<a href="quiet.html">QUIET</a>]</td><td><nobr>[<a href="../resources.html#rcfile">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="refsbegin.html">REFSBEGIN</a>]</td></tr></table>
312<!--/x-rc-nav-->
313<hr>
314<address>
315$Date: 2002/07/27 05:13:11 $ <br>
316<img align="top" src="../monicon.png" alt="">
317<a href="http://www.mhonarc.org/"
318><strong>MHonArc</strong></a><br>
319Copyright &#169; 1997-1999, <a href="http://www.earlhood.com/"
320>Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org"
321> mhonarc@mhonarc.org</a><br>
322</address>
323
324</body>
325</html>