This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/html/setup/magic.html
2001-08-17 05:46:24 +00:00

75 lines
3.3 KiB
HTML

<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO 8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<META name="author" lang="en" "content="Michiel Broek">
<META name="copyright" lang="en" content="Copyright Michiel Broek">
<META name="description" lang="en" content="MBSE BBS Manual">
<META name="keywords" lang="en" content="MBSE BBS, MBSE, BBS, manual, fido, fidonet, gateway, tosser, mail, tic, mailer">
<TITLE>MBSE BBS Setup - File Echo's Setup - Magic Files Setup.</TITLE>
<LINK rel=stylesheet HREF="../manual.css">
</HEAD>
<BODY>
<BLOCKQUOTE>
<h5>Last update 30-Jan-2001</h5>
<P>&nbsp;<P>
<H1>MBSE BBS Setup - File Echo's Setup - Magics Files Setup.</H1>
<P>
<H3>Introduction.</H3>
<P>
Magics are special actions that you can perform if files received in a .tic
area. The actions are: copy file to a directory, unpack file in a directory,
set number of files to keep, move file to another .tic area, update magic
request alias, adopt file into another area, store in another path,
delete file (don't process it further) and execute a command. The edit screen
is different for all kinds of actions you select. More than one magic record
may exist for each area. With all these actions you can for example can setup
processing of nodediff's and unpacking nodelists in the nodelist directory.
<P>&nbsp;<P>
<H3>Magics Setup.</H3>
<P>
<pre>
<strong>Magic </strong>The action to perform, select with the spacebar.
<strong>Filemask </strong>The filemask to scan for. "?" Matches all characters,
"#" matches any digit and "@" any alpha character.
<strong>Active </strong>If this magic is active.
<strong>Deleted </strong>If this magic must be deleted.
<strong>Area </strong>The area in which this magic is found.
<strong>To path </strong>The destination path. (Copy, Other path and Unpack).
<strong>To area </strong>The destination area. (Adopt and Move).
<strong>Command </strong>The command to execute. (Execute).
<strong>Keep # </strong>The number of files to keep. (Keep).
<strong>Compile </strong>Trigger "compile nodelists". (Copy, Unpack and Execute).
</pre>
<P>&nbsp;<P>
<H3>Macro's</H3>
<P>
In the commandline for the magic execute command you may use macro's to replace
parts of the commandline. The following macro's are defined:
<pre>
<strong>%F </strong>Replaced by the full path and filename of the file.
<strong>%P </strong>Replaced by the full path to the file.
<strong>%N </strong>Replaced by the filename without dot and extension.
<strong>%E </strong>Replaced by the extension of the filename.
<strong>%L </strong>The last 2 characters of the filename extension.
<strong>%D </strong>The day number of the year, 3 digits.
<strong>%C </strong>The last 2 digits of the day number of the year.
<strong>%A </strong>The .tic area name.
</pre>
<P>
<IMG SRC="../images/magic.gif" width="589" height="343">
<P>
<A HREF="tic.html"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0" width="40" height="30"> Back to File Echo's Setup</A>&nbsp;
<A HREF="./"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0" width="40" height="30"> Back to index</A>&nbsp;
<A HREF="../"><IMG SRC="../images/b_arrow.gif" ALT="Home" Border="0" width="33" height="35"> Back to main index</A>
</BLOCKQUOTE>
</BODY>
</HTML>