//// / / ///// //// //// //// //// ///// //// / / / / / / / / / / / / / / / Software -- AutoFile History ///// / / / / / / / / ///// / /// / / Copyright 1992, 1993, 1994 / / / / / / / / / / / / / / / / / //// / //// / / / / //// ///// ///// Development team: Don Crano [don]; Robert Darling [robert]; David John Thomas, B.Sc.(Hons) [davtom]. Source code updates: Please send program updates to David; his address is given in the source code. (You only need to send the procedures you have modified, or patches that I can apply with GNU patch; alternatively, just send the whole source code). Please also send short descriptions for inclusion in this file. If you're working on an area of code, please let us know in ?.SUP.AUTOMAGIC what you're doing, to save duplication of effort. Ideas of possible code to be added: o Pass through areas (Terry May) o Prevention of file forwarding if key words contained in description (James Partner) o Check FIL for the file before allowing file to pass o Inclusion of ZIC, LIC, AIC support (half done; packing them still to be added. Don't do this as it's being done by robert) o Use of netmails to forward files using Jetmail-specific flags (optional) -- is there a good reason for this? o Turbo BBS: file access level to be set at file echo level (Ed Lynch) -- should be very easy to do Note for this release: I have received Don Crano's updates. I haven't yet got permission to use them, but once this is forthcoming, they shall be included; I would expect to see them in the next release. +--- 9 Sep 94 -- Version 1.12 - 90213 bytes | <> robert -- New feature |Users can connect or disconnect themselves from periodic reporting. They need |to specify '%REPORT ON' or '%REPORT OFF' in the body of their message. | <> robert -- Change |(noted by davtom): It used to be the case that only upper case group letters |were possible. Now, group letters of both cases are possible, meaning that a |limit of 52 groups now exists, as opposed to the previous 26. | <> robert, davtom -- New feature |Instead of just scanning the DUP file for the area a file is going into, it is |now possible to scan a new type of duplicate list file called UPPER_?.GRP or |LOWER_?.GRP (the name depends on the case of the group name, and the group |letter is substituted for the '?'). To use this feature, write 'GroupStopDup' |followed by a list of group letters to be treated as groups for duplicate |detection purposes. The first time a new file is imported into a group set, |the new file will be written; this means that the old *.DUP files relevant to |the group will be catenated into the new {UPPER,LOWER}_?.GRP file. You can |decide whether you want to leave the old DUP files in place, or have them |removed; if you want them removed, add the keyword 'GroupDupsDel.' Once the |group file exists, new filenames will be appended to it (along with the *.DUP |file if GroupDupsDel is not set). |NOTE -- this hasn't been tested! Also, the file catenation will proceed |slowly. | <> robert -- Bug |(note by davtom): If the CRC of a file was incorrect, the file was not |stopped. Fixed. | <> davtom -- Change |A new keyword, 'DupByCRC', is used if you need your DUP files to include CRC |information. When reading the DUP files, entries with and without the CRC are |scanned for, and a single DUP file can contain entries of both types. +--- 20 Aug 94 -- Version 1.11 - 86693 bytes | <> robert -- Change |As I mentioned in the notes for V1.09 I have now added a switch to the control |file to limit the size of descriptions. If you want the size limited to 236 |characters then include the statement 'LIMITDESC' in your control file. |Without it a description will not be cut down in size. | <> davtom -- Change |I rewrote the copyright notices a bit, as befits the new team effort. A new |usage parameter 'autofile license' displays the names of the authors, and the |main points of the license. This also works slightly quicker than in previous |releases in that if 'autofile ?' or 'autofile license' is called, the control |file is no longer read. | <> davtom -- (Note) |Someone was having problems with a TOS cursor remaining on the desktop after |AutoFile's execution. I've tried this on my machine (TOS 1.6) and have had no |problem. However, I believe the person that had the problem was not renaming |the output code to *.TTP, and was running the program as a GEM program. For |this reason, I've left the cursor-enabling code in for this release; let us |know if you still have problems. The code for enabling the cursor is found in |the 'fin' proc. | <> robert -- Bug (various) |(noted by davtom): Code was not present to produce the base 36 ?FT files. |Added. | <> robert -- Changes |(noted by davtom): Robert's "wasted" several minutes/hours of his time so that |AutoFile runs several microseconds faster. ;-) +--- 16 Aug 94 -- Version 1.10 - 85555 bytes (Restricted Release) | <> robert -- Bug (Karl Foley) |New file reports were still showing 0 byte count against file size. Fixed. | <> robert -- Bug (Mark Taylor) |Mark brought to my attention a small problem that was never tackled. Areanames |with greater than 8 characters could not be used to create a DUP file when |using the StopDup feature. Actually, this was not true! It only applied to |areanames that included the fullstop character! I have modified the code to |allow a DUP filename for all areanames. Because of the possibility of a |duplicate name being used with the FAN filenames, I alter the name. It |comprises of the first letter of each word before a fullstop, followed by the |letters of the final word in the name. If it totals more than 8 characters |then the name is made up from the first 8 characters of this name. e.g. |FAN.UTIL.SYS will generate a filename FUSYS.DUP | <> robert -- New feature |AIC, LIC, and ZIC files are now detected in your Inbound area and will be |unpacked before TICs are processed. New Keywords required are: | ArcArchiver Drive:fullpath\archiver_name | LzhArchiver Drive:fullpath\archiver_name | ZipArchiver Drive:fullpath\archiver_name |e.g. ZipArchiver E:\ARCHIVER\ZIP.TTP |No parameters need to be included, they are built in! +--- 12 Aug 94 -- Version 1.09 - 82371 bytes (Restricted Release) | -- Format of new entries in this file |Versions of AutoFile since 1.08 are distributed as a team effort. Where a |programmer has changed the program in future, their nickname is noted in the |header of the entry, like this: | <> robert -- Bug (Mark Butler) |TIC files received from PC systems using SEAL by Robert Presland may contain |multiple Desc lines. AutoFile previously only used the description found in |the last Desc line. Now copies all of the description but limits the length of |the desc line to 236 characters. This is to allow for a FILES.BBS line to |include a full filename plus a download count of up to three figures enclosed |in brackets, without extending past 255 characters total. Note: A FILES.BBS |line can actually contain more than 255 characters but most text editors |cannot read in more than 255 characters in a line. I may add a switch in the |control file so that this is switchable. | <> davtom -- (Note) |If you receive descriptions this way then currently TICs sent out from you |will contain only one long line of description! Please let us know if this |causes a problem. Would anyone like FILE_ID.DIZ support? +--- 30 Aug 94 -- Version 1.08 - 82217 bytes | -- Important Change |From this version onwards, the GNU General Public License will apply to |AutoFile. The sources are therefore distributed along with the program |itself. The AUTOFILE.GFA source code is distributed with this release. | -- Change |The CRC-16 code has been made machine code. This will help more with MakeDiff |later, when that release is out. +--- 7 Jan 94 -- Version 1.07 - 86946 bytes | -- Bug |*.TIC files that were renamed to *.TXX were not later renamed to *.TOK. Fixed. | -- Bug |Only the first *.TOK file was found. Fixed. | -- Change |The key code has been changed. I will issue everyone with a new key, of the |format xxxx-yyyyyy, xxxx being letters and yyyy being the serial number; this |key will be presented in the form of a Key statement in the control file. It |will also be necessary to include your name, in the form of a Name statement |in the control file, and you must have specified this in exactly the same way |that you have requested for your key. | -- Bug (Daron Brewood) |The HATCH file was not being processed according to specifications. | -- Bug |The log was not being written. This should be fixed now. | -- Bug (Keyop Troy, John Carolin) |The number of times a file was downloaded was not being set correctly by |AutoFile. Hopefully :-) it should now work :-) hi John ;-) | -- Bug (John Carolin) |Some of the new keys didn't work properly. If you get a problem with your key, |please let me know about it and I will try to solve the problem ASAP. +--- 6 Jan 94 -- Version 1.06 - 89087 bytes | -- New feature |Any file that cannot be imported due to lack of space has its corresponding |TIC file changed in extension to TOK. TOK files are not checked, since they |have already been checked once, so this speeds things up whilst allowing you |to free up more room on your download directories without having to rename |TICs to get them processed. | -- Bug (Al Petersen) |The minus sign, or hyphen (-) wasn't accepted in area names when using |AutoFile's own hatch feature. I suspect that since Al has now discovered |AutoShell, he probably won't notice this bug fix :-) Incidentally, if anyone |out there doesn't know about AutoShell, it makes a pretty good shell for |AutoFile, but sometimes features of AutoFile are missing from AutoShell. | -- Change |Logging should now work a bit better. All lines are sent to screen, and if |they are longer than 80 characters then they are split over to the next line. | -- Change |The default word recognised by AutoFile for automatic file echo attach/detach |is now FILEFIX. | -- Change |ProBBS's configuration file formats changed since the release of 1.05. The |formats are not expected to change any further before beta testing of ProBBS |begins. AutoFile has been modified to take into account of the changes, and |has been extensively tested in consultation with John Carolin (author of |ProBBS). | -- Known bugs |AutoFile has sometimes closed its log early when using the ProBBS |configuration. I'm looking into this, but can't see where the problem lies at |present. However, the program still works normally. |TOKs still seem to be completely checked, even though they have already been |checked, and I'm not sure that they are all detected at once properly. Again |this shouldn't cause too many problems. | -- Note |I couldn't release this formerly as a beta version as I would normally have |done, because I didn't have the time to do so. Development on this program |will slow for the next six months or so, since my final two terms at |University are coming up and I will not have time to continue program |development. Apologies about this, but note that development will continue as |long as there is demand for it, after my exams finish. +--- 10 Nov 93 -- Version 1.05 - 88083 bytes | -- Bug (Daron Brewood) |It was impossible to use file echoes which had areanames with numbers in. | -- Bug (several) |Registrations were not acknowledged; the program said "Unregistered" in all |netmails. | -- New feature |AutoFile is the first ProBBS-ready program to hit the streets! If you decide |to run ProBBS in the future, AutoFile will easily be tailored to suit. You |only need to insert the new config line "ProBBS " and |AutoFile will do the rest. |Please note that you cannot use this feature at the same time as TurboFIL. +--- 4 Oct 93 -- Version 1.04 - 87264 bytes |This release needs ALL keys issued with serial numbers from 1000 onwards to be |updated. Please do not install this version of AutoFile if you have not |received an updated key, but instead, contact the support board. | -- New feature |File echo names can now contain more than eight characters. No limit is now |applied. However, any echo names that contain more than eight characters may |cause problems with some other TIC file processors, so the use of such names |is NOT recommended. If you are using echo names with more than eight |characters then the StopDup feature will not function for those areas. I need |to get this release out, and haven't time to get it working for long area |names. | -- New feature (Daron Brewood) |It is now possible to quit the program without sending a file through file |echoes when the SEND option is used. +--- 16 Aug 93 -- Version 1.03beta (Restricted Release) | -- New feature |AutoFile now supports automatic use of magic names for BinkleyTerm users. |There are a few new keywords to supoprt the feature: |Okfile [], where is the path and name to your |Binkley-compatible Okfile, and is an optional password to be added |to Magics written into the Okfile specified. With this, a new Okfile will be |written out including the new magic name, which will replace any existing one. |AutoMagic , which should be used after an AutoSend line, and will |specify a magic name for files automatically sent. |The HATCH file specification now includes a new optional fourth entry, namely |the magic name. It may be included or not, but do not forget that all HATCH |file specifications should end with the string --- on an otherwise empty line. |When locally hatching a file, the user will now be prompted for a magic |filename. |A keyword Magic has been introduced in the TIC file to support this feature. |Note that this could cause crashes to software that does not support it, but |such software would not be compliant to FSC-0028. This is the reason for this |release being restricted. Please let me know if any problems occur with other |people's software. +--- 17 Jul 93 -- Version 1.02beta (Restricted Release) | -- Bug (Lots of people) |Netmails were not being given the correct flags. This should now be fixed. The |flags will include Pvt, K/Snt and Local. Crash or Hold may also be present, |depending on which flags are set for the outgoing node. | -- Bug (Daron Brewood) |An attempt was made to process deleted, but not received, FileFix requests. | -- Bug (Daron Brewood) |The program terminated abnormally on discovery of a FileFix request using the |wrong password. | -- Bug (Forgotten) |FileFix requests using the wrong password were returned with the wrong address |in the "From:" field. | -- Bug (Ben Van Bokkem) |Default file report template was not found in some instances. | -- New feature (Terry May) |'Send /? for Help' line included in FileFix responses where help was not |originally requested. +--- 28 Jun 93 -- Version 1.01 | -- Bug (Ben Van Bokkem) |Hatching a file into a secondary area failed to add crucial details to the TIC |and FLO files written out. Due to this bug, version 1.0 was not supplied to |the net, hence this release is a full release rather than 1.0. Apologies to |the few that did actually obtain 1.0 from me. | -- Bug |Reporting the size of a hatched file failed; the file size was written in as |0. | -- New feature |FileFix checking speed has been considerably increased, to the point where an |option to disable checking is no longer required. +--- 27 Jun 93 -- Version 1.0 | -- New feature (Daron Brewood) |Reporting options for number of files and origin node number of files. The |REPORT lines of a file reporting template may contain %o, which will be |expanded to the node number of the originating node. If a file is hatched |locally, your first address in the zone given by the first address to hatch to |is used, or the default zone if no nodes are specified. The SUBJect, HEADER, |REPORT or FOOTER lines may contain %n, which will be expanded to the number of |file hatches reported in the block. |The default file reporting template now encloses the origin node number |parameter %o, but to use the number of files hatched %n you must develop your |own template. | -- Bug (Carsten Brockman) |The subject line of the netmail sent with a file still contained some of the |path to the TIC file, or in some cases just digits. This should be fixed now. +--- 20 May 93 -- Version 1.0 PR (The first Non-Beta Release) | -- Bug (Ben Van Bokkem, Terry May) |In some instances, specifically when processing TIC files, the CRC was |calculated correctly but the program placed 0 in each outgoing TIC file. | -- Change |The logging priority of some text lines has been changed. | -- Bug (Ben Van Bokkem) |A GEMDOS internal error has hopefully been eradicated. | -- Bug |"Replaces" lines in TICs were never acted upon, even if "Replace-Del" was |included in the control file. | -- Bug |Small error in information output in response to "autofile ?" rectified. | -- New feature |AutoFile will now exit with errorlevels 0-3 or 99. 99 indicates "autofile ?" |was used, otherwise bit 0 indicates netmail was written, and bit 1 indicates |that echomail was written. +--- 1 May 93 -- Version 0.25 (Restricted Release) | -- New feature |I've added support for the environment variable MAILER. If MAILER is found in |the environment and no AUTOFILE.CTL exists in the current working directory, |AutoFile will search the directory specified by the MAILER environment |variable for AUTOFILE.CTL. +--- 22 Apr 93 -- Version 0.24 (Restricted Release) | -- Bug (Me, Ben Van Bokkem) |The Size of TICked and FLEad files was reported as 0 bytes. | -- New feature |Duplicate file prevention has now been added. The syntax of the new statement, |'StopDup', is 'StopDup []' where is an optional path |specification where the .DUP files will be stored. The information stored |about each file is its name and CRC-32, so files with the same name can still |be processed, as long as they are different. | -- New feature |Where secondary areas are used, there is no real need for the file to exist on |the BBS in two areas. Also there is no need for two descriptions. The file |copy to secondary areas has been discontinued. +--- 21 Apr 93 -- Version 0.23 (Restricted Release) | -- Bug |If more than one report of an echoed file was required, the second and later |reports did not contain descriptions. | -- Bug |If not enough space was available to move a file, AutoFile still reported its |arrival. +--- 20 Apr 93 -- Version 0.22 (Restricted Release) | -- Bug |Sometimes, 'empty' messages were written, which caused LED to assume that no |more messages were in the base, and Jetmail was exporting messages with no |From, To, Subj field, nor mail text. Hopefully no more problems should result. +--- 18 Apr 93 -- Version 0.21 (Restricted Release) | -- Errata |The default filename for file reporting info is REPFILE.TPL, not REPAREA.TPL. |Sorry guys! | -- Bug |If a TIC file was not processed correctly (due to an error in the TIC), then |no other TIC files would be looked at and the program would abort with error |-25. | -- Bug (Ben Van Bokkem) |If, in a report, the default Report line was used then its template was not |properly terminated by a LF, so a full stop appeared before the footer. +--- 17 Apr 93 -- Version 0.20 (Restricted Release) | -- Bug (Ben Van Bokkem) |AutoFile was detecting the presence of a file in a FIL file, but it was |proceeding to append to it anyway. Hopefully this has now been fixed. | -- Bug (Ben Van Bokkem) |Error -33 (File not found) appeared when trying to hatch a file. | -- Bug |When hatching a file, the report would not contain a filename. | -- Bug |When locally hatching a file, the report(s) would not be written. | -- Bug (Many) |When locally hatching a file, the description would not be appended to |FILES.BBS. Hopefully this is now fixed. | -- Bugs |Quite a few more bugs were present in the earlier releases of today, which I |don't think I need to go into. It should suffice to say that all of the bugs |I've found have been eliminated. Now it's your turn, guys :-) +--- 17 Apr 93 -- Version 0.19 (Restricted Release) | -- Bug (Ben Van Bokkem, Daron Brewood, Mark Matts) |If the AUTOFILE.CTL contained any lines with three or more parameters, |AutoFile was bombing out. This was a slight omission caused by me being |extremely tired at about 0300am :-( +--- 17 Apr 93 -- Version 0.18 (Restricted Release) | -- New feature (Joerg Spilker) |You can now use Version 3 BinkleyTerm files, with Base-36 filenames. This |means that you need not specify a private net number for your points, if you |include the "Base36" keyword in AUTOFILE.CTL and use BT version 3 or higher. | -- Bug |The importing of FLE files was not reported in Rep_Area. | -- New feature (Joerg Spilker) |The syntax of RepArea keyword has changed, it is now as follows: |RepArea [