=====( TrionTick V1.10 )=========================================== Trion 'TickProcessor' Utility. (c) Copyright Paul Spijkerman, '94-'98. All rights reserved. Written for use with the Trion BBS package. =================================================================== The trion BBS has a simple Tick processor. Tick's are files that come with the mail, during a mail call session. With every file there is al little data files, which tells the BBS what to do with the file. This file usually has a name ending in ".TIC" and contains a description of the file, the systems where it has arrived and a section name and some other data needed to for the tick processor. What normally happens is that a sysop sends a file away in a mail network. Because that file has a section name attached to it .. it is easier to have only send certain files to you .. and you can let the tick processor add the file to a certain section of the file catalogue. The Tick processor has the ability to send netmail with files to the recipient to attention him that he received a new file. The message contains file name, file size, section name and a description. The Tick processor can process compressed archives with files and the .tic files that were send with the files as sometimes generated by PC tick processors. It can Unpack archives with an .Cnn extension where nn is a number. It will start with the lowest nn number. Also it can unpack archives with extensions ending in .?IC like .ZIC Note that it won't try to unpack files with .TIC extension but only process them. The tick processor has 2 modes, the "process" mode which is used to process incoming TIC files and send them to other connected systems and there is the "send" mode which is used if you want to send (hatch) a (fysical) file in a file net. Process mode: ------------- TrionTick -P In process mode you can use the -B flag to backup incoming .TIC files to the "trion:inbound/backup/" directory. When TrionTick encounters a problem then the .TIC file and (if available) the fysical file are moved to the 'BAD' directory "trion:inbound/bad/" so the mail script doesn't process the files over and over if it was started and it only is shown once in the maitenance monitor. Note that files added to the file catalogue are not validated unless they are added to a section that has the auto-validate flag set. When a tick file contains a "replace" line .. it means that the file is an update for an old file. Before the new file is added the old file is removed from the file catalogue and moved to directory "trion:killedfiles/". Send mode: ---------- TrionTick -s FILE TICKAREA "DESCRIPTION" [REPLACES] Note: When you want to use the "send" option you have to be in the directory where the fysical file is you want to send. If you "send" (hatch) a file it is added to you file catalogue and it is Validated , you don't have to validate the file by hand in an editor or file list. When you "send" a file it is copied to the filecatalogue directory note that the original file is not deleted. Configuring: ------------ For TrionTick to work you need 2 configuration files in the directory "Trion:cfg/". The first is "Trion:cfg/filenet.cfg" .. and it contains all the tick file sections. The file can consist of empty lines, comment lines that start with a ";" character and area sections. The format of an area section is like this: AREA # A section starts with an "AREA" line, it contains 5 fields, the first field contains the word "AREA" in capital letters. The second field is a unique section number, which is used to reference to it from the areafix.cfg In the Areafix config you will make groups of tick file sections by using ranges of numbers. So it is the easiest if you give sections in the same net numbers in the same range. Even better is just to reserve ranges for certain nets. The third field is the areaname, which is the name of the tickarea, note that is case-sensitive and that most names are in capitals. The fourth field the origin nodenumber, which means it is your nodenumber for the net this tick section is part of. The fifth field is the FileAreaNumber, which means it is the number of a file section from the fileareas.cfg, here go all the files which arive in this tick section. After the AREA line follows a list of nodenumbers of the systems that get mail from you and your bosses that are connected to this area. Note that the list is vertical, it consists or lines with one nodenumber, and it is terminated with a line with a "#" on it. Note that symbolises a list of nodenumbers. The second file is "Trion:cfg/filenodes.cfg" .. it contains a list of all the nodes that tick can send files to. The file can consist of empty lines, comment lines that start with a ";" character and lines with node information. The format of a line with node information is like this: PASSWORD [flags] A node line contains 4 fields. the first field contains the word "PASSWORD" in capital letters. (so don't replace it with an actuall password) The second field contains the nodenumber of one of the points, nodes or bosses you get mail from or suply mail. The third field contains a password that is used for this node, note that passwords are case-sensitive but they are almost always in capital letters. The (optional) fourth field contains the flags, at this type there is only one flag which controls if there is netmail send with a .tic file or not. Suply an empty flag field "[-]" if no netmail is needed, or a use an "[M]" flag when netmail is wanted. Netmail: If a node has a [M] flag instead of a [-] flag in the filenodes.cfg, it means that the with every tic file for that nodenumber TrionTick will send a simple netmail so the sysop on the other side is notified of a new file. The "to" name for the netmail message is found in the nodelist or pointlist ... if you want to use this option and one of your nodes or points is not in a nodelist you should enter a line like this to the pointlist: Point,14:103/300.1,BBS_Name,City,Name,Tel_Number,baud,flags