http://wiki.amule.org/w/index.php?title=Casrc_file&feed=atom&action=historyCasrc file - Revision history2024-03-28T20:56:39ZRevision history for this page on the wikiMediaWiki 1.23.3http://wiki.amule.org/w/index.php?title=Casrc_file&diff=28436&oldid=prevReorder: /* Notes */ Add Category:Program Files2012-06-20T10:56:29Z<p><span dir="auto"><span class="autocomment">Notes: </span> Add Category:Program Files</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 10:56, 20 June 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 68:</td>
<td colspan="2" class="diff-lineno">Line 68:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>You might want to see the [[tmp.html file]] article to know how to generate or modify CAS's HTML template.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>You might want to see the [[tmp.html file]] article to know how to generate or modify CAS's HTML template.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Program Files]]</ins></div></td></tr>
</table>Reorderhttp://wiki.amule.org/w/index.php?title=Casrc_file&diff=11757&oldid=prevJacobo221 at 14:59, 11 November 20052005-11-11T14:59:16Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 14:59, 11 November 2005</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*''font_size'' : Size to use in the image font</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*''font_size'' : Size to use in the image font</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*''source image'' : Path to the image to use as source for the generated image (background)</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*''source image'' : Path to the image to use as source for the generated image (background)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*''template'' : Path to the [http://www.w3.org/MarkUp HTML] [[tmp.html file<del class="diffchange diffchange-inline">|</del>|template]] to use to generate the HTML page</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*''template'' : Path to the [http://www.w3.org/MarkUp HTML] [[tmp.html file|template]] to use to generate the HTML page</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Any non-comment and non-parameter line will be considered a line placement. Line placements define where text will be placed in the generated image. The first line placement line found will be used to place the first line in the image, and so on with the second line placement found..., third one, fourth one, fith one and sixth one. Only the six first line placements will be read, the rest are ignored. A line placement definition is as follows:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Any non-comment and non-parameter line will be considered a line placement. Line placements define where text will be placed in the generated image. The first line placement line found will be used to place the first line in the image, and so on with the second line placement found..., third one, fourth one, fith one and sixth one. Only the six first line placements will be read, the rest are ignored. A line placement definition is as follows:</div></td></tr>
</table>Jacobo221http://wiki.amule.org/w/index.php?title=Casrc_file&diff=5492&oldid=prevJacobo221 at 14:57, 11 November 20052005-11-11T14:57:51Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 14:57, 11 November 2005</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*''font_size'' : Size to use in the image font</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*''font_size'' : Size to use in the image font</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*''source image'' : Path to the image to use as source for the generated image (background)</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*''source image'' : Path to the image to use as source for the generated image (background)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*''template'' : Path to the [http://www.w3.org/MarkUp HTML] template to use to generate the HTML page</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*''template'' : Path to the [http://www.w3.org/MarkUp HTML] <ins class="diffchange diffchange-inline">[[tmp.html file||</ins>template<ins class="diffchange diffchange-inline">]] </ins>to use to generate the HTML page</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Any non-comment and non-parameter line will be considered a line placement. Line placements define where text will be placed in the generated image. The first line placement line found will be used to place the first line in the image, and so on with the second line placement found..., third one, fourth one, fith one and sixth one. Only the six first line placements will be read, the rest are ignored. A line placement definition is as follows:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Any non-comment and non-parameter line will be considered a line placement. Line placements define where text will be placed in the generated image. The first line placement line found will be used to place the first line in the image, and so on with the second line placement found..., third one, fourth one, fith one and sixth one. Only the six first line placements will be read, the rest are ignored. A line placement definition is as follows:</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 67:</td>
<td colspan="2" class="diff-lineno">Line 67:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Non-recognized lines are ignored.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Non-recognized lines are ignored.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>You might want to see the [[<del class="diffchange diffchange-inline">CAS template</del>]] article to know how to generate or modify CAS's HTML template.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>You might want to see the [[<ins class="diffchange diffchange-inline">tmp.html file</ins>]] article to know how to generate or modify CAS's HTML template.</div></td></tr>
</table>Jacobo221http://wiki.amule.org/w/index.php?title=Casrc_file&diff=5490&oldid=prevJacobo221 at 14:56, 11 November 20052005-11-11T14:56:30Z<p></p>
<p><b>New page</b></p><div>== File ==<br />
<br />
'''Name:''' ''casrc''<br />
<br />
'''Location:''' ''~/.aMule/''<br />
<br />
== Description ==<br />
<br />
This file contains the configuration for the [[CAS]] application which is shipped with [[aMule]].<br />
<br />
== Format ==<br />
<br />
Each line is considered as a configuration parameter except those '''strictly''' beginning with a ''#'' [[character]].<br />
<br />
Parameters are in the form ''<parameter> <value>''<br />
<br />
Available parameters are:<br />
*''font'' : Path to the font to use in the generated image<br />
*''font_size'' : Size to use in the image font<br />
*''source image'' : Path to the image to use as source for the generated image (background)<br />
*''template'' : Path to the [http://www.w3.org/MarkUp HTML] template to use to generate the HTML page<br />
<br />
Any non-comment and non-parameter line will be considered a line placement. Line placements define where text will be placed in the generated image. The first line placement line found will be used to place the first line in the image, and so on with the second line placement found..., third one, fourth one, fith one and sixth one. Only the six first line placements will be read, the rest are ignored. A line placement definition is as follows:<br />
<br />
''<identification> <x_position>,<y_position>,<enable>''<br />
<br />
Where:<br />
*''identification'' can be any text that will allow you to identify what that line is. CAS will ignore the identification.<br />
*''x_position'' defines the space left, in pixels, from the right most side of the image to the beginning of the text line<br />
*''y_position'' defines the space left, in pixels, from the top most side of the image to the beginning of the text line<br />
*''enable'' defines if that line should be written into the generated image<br />
<br />
== Example ==<br />
<br />
This is the default configuration<br />
<br />
# cas config file<br />
#<br />
# font - full path to a ttf font<br />
# font_size - size the font<br />
# source_image - image where the text will be writen<br />
# *_line - x,y,[1/0] enabled or disabled<br />
<br />
font /usr/share/fonts/corefonts/times.ttf<br />
font_size 10.5<br />
source_image /usr/share/pixmaps/stat.png<br />
first_line 23,19,1<br />
second_line 23,36,1<br />
third_line 23,54,1<br />
fourth_line 23,72,1<br />
fifth_line 23,89,1<br />
sixth_line 23,106,1<br />
template /usr/share/pixmaps/tmp.html<br />
<br />
*First 5 lines are comments and are ignored.<br />
*Line 6 is not a valid configuration parameter or line placement, so it is ignored too.<br />
*''font'' line defines ''/usr/share/fonts/corefonts/times.ttf'' as the font to use in the lines in the generated image.<br />
*''font_size'' line defines the font size to use in the image to 10.5 pixels in height.<br />
*''source_image'' line defines ''/usr/share/pixmaps/stat.png'' as the source image to use for the generated image (you can think of it as a background image).<br />
*''first_line'' line defines the first text line to start 23 pixels from the right of the image, 19 pixels from the top and to be written (enabled).<br />
*''second_line'', ''third_line'', ''fourth_line'', ''fifth_line'' and ''sixth_line' lines work similar to ''first_line''.<br />
*''template'' line defines the template HTML to use for the generated HTML file.<br />
<br />
== Notes ==<br />
<br />
*Line placement identificators cannot be any of the parameters: ''font'', ''font_size'', ''source_image'', ''template''.<br />
*Non-recognized lines are ignored.<br />
<br />
You might want to see the [[CAS template]] article to know how to generate or modify CAS's HTML template.</div>Jacobo221