Short: FlushHeaders for Yam2NN_087 V39.20 Author: Karol Bryd & H. vd Ree Uploader: H van der Ree Type: comm/news Version: 39.20 (1-May-2003) Replaces: comm/news/FlushHeaders.lha Requires: OS3.x, 68020, Yam2NN_0.87, YAM2.x and REXX. Architecture: m68k-amigaos New version of FlushHeaders for Yam2NN v0.87. Changes from version 1.00 (1-Jun-2001) Version now reflects the minimum needed OS. Removed Enforcer hits!! If the .folders file is newer than the YAM2NN.folders file the last one is rewriten. Added check for YAM 2.4's different .folders file. FlushHeaders' task is to delete all files found in the Delete folder of YAM and if it is a newsposting to look for a matching headerfile in NNTP-Headers and delete that too. This new version of FlushHeaders now knows the format of the file Yam2NN.folders as written by Yam2NN v0.87. Even better, it produces a version of the file Yam2NN.folders that contains only the four standard YAM folders, your newsfolders AND takes care of separatorbars if YAM is version 2.3 or lower! To get this 'new' version rename or delete your existing Yam2NN.folders file. Then run FlushHeaders from a shell while YAM is running. Or simply start YAM if you are using the rexx script 'FlushUnusedHeaders.rexx', ** AFTER ** replacing the old FlushHeaders with this new one. The version of 'FlushUnusedHeaders.rexx' in this archive is stipped down to only the command FlushHeaders. You do not need more, unless you want to select another folder than 'Incoming' which is selected by FlushHeaders. Because Yam2NN v0.87 checks for changes in YAM:.folders and if found writes out a new Yam2NN.folders file, you may have to repeat the above. But it only makes sense if you have separatorbars in your YAM folderslist and use an older version of YAM. Other changes are: * It frees all used memory! * It quits if an error occurs, but without any output. Use SnoopDos to find out why. * It will look for the headerfile in all subdirectories of NNTP-Headers if it cannot find it because the posting was a cross-posting. It is a drop-in replacement for the old FlushHeaders as found in the archive 2b_Yam2NN.lha, so copy it to your C: directory. This version was done by H. van der Ree and compiles with DICE 3.16. It requires OS3.x and a 68020 or better. It works with YAM 2.2, YAM 2.3, YAM 2.4, OS 3.1 and OS 3.9. ** FlushHeaders is part of YAM2NN - Usenet access for YAM p7 and ** newer, copyright (C) 1999 Karol Bryd ** ** This program is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License ** as published by the Free Software Foundation; either version 2 ** of the License, or (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details.