home *** CD-ROM | disk | FTP | other *** search
-
-
-
- -----------------------------------------------------------------------------
-
-
-
-
- Illegal LhA file Stripper v1.1
- ------------------------------
-
- Coded by TAS in 1994
-
-
-
-
- INTRODUCTION:
- -------------
-
- As a regular scene file trader/sysop, you will notice that increasingly
- boards are appending bbs adverts which come under filenames such as:
-
- #?#?#?#?#?, ?#?, *, *.*, -** ....etc
-
- These files are difficult to delete due to the fact that they are wild
- cards, and this is (I suppose) designed to prevent upload checkers on bbs's
- from stripping these files out.
-
-
-
- WHAT ISTRIP DOES:
- -----------------
-
- Istrip removes any files within an LhA which contain such illegal
- characters such as:
-
- #, *
-
- v0.5: will now also remove filenames beginning with a space
- v0.6: will now also remove filenames with the µ symbol
- v1.0: will now remove any known banners definable in a brainfile
- v1.1: removed checking for the ? character as this is not always invalid
- v1.3: now another file s:Istrip.nowild like Istrip.known but no wildcards
-
-
- USAGE:
- ------
-
- To process a file with Istrip, simply type:
-
- ISTRIP <source>
- or:
- ISTRIP <source> <destination>
-
-
- If only the source file is specified then this file will also be used as
- the destination.
-
- (This software is designed with the plug-in-and-go ideal)
-
-
- BBS USAGE:
- ----------
-
- Different BBS systems use different file check techniques, but generally I
- would suggest that you place the ISTRIP program after your LhA checker,
- because if a half finished file was checked, Istrip might add some
- characters to it which might make it impossable to resume.
-
- Example scripts are included for processing files with Istrip.
-
- Please would BBS sysops who use ISTRIP mail me the scripts they use on any
- of the boards listed at the end of this file so that I can distribute them
- with future version of ISTRIP.
-
-
- BRAINFILE:
- ----------
-
- As from version 1.0 Istrip now has a 'brainfile' which is called
-
- S:Istrip.known
-
- (Copy the given one into your S: otherwise Istrip wont find it!)
-
- Whenever Istrip is called if this brainfile exists it will be loaded in and
- used to strip known bbs banners. This allows you to use Istrip to replace
- your existing lhA stripper. However when adding entries or creating your
- own brainfile, extreme caution must be observed because inccorect defintion
- of the known banners could result in Istrip removing files from an Lha that
- are not bbs banners, it could even remove all files! So please follow these
- instructions to the letter.
-
- 1) Make sure that any text you put in the brainfile could only describe a
- bbs banner, istrip will add wildcards to each end ie.
-
- AT&T
-
- becomes
-
- #?AT&T#?
-
- so for example DO NOT put such things into the brainfile as
-
- README
-
- as this will erase any file anywhere in the lhA that has README in it
- and there are many many files that are not bbs banners!
-
- also do not put such things as
-
- A
-
- into the brainfile as this means that any file containing an A would
- be deleted.
-
- 2) There is no need to put wildcards into the brainfile such as
-
- #?RULEZ#?
-
- as the wildcards are automatically added.
-
- 3) When adding banner names to the archive be as specific as possable for
- example if you wanted to make ISTRIP remove the banner that was called
-
- >>TRIP_TO_NOWHERE-+49-235-647-346<<
-
- Then you really only need to put in
-
- TRIP_TO_NOWHERE
-
- as there would not be a valid file in an LHA called this.
-
- 4) Remember not to leave any lines in the brainfile blank and to make sure
- that there are no extra carrage returns at the end. The best way to
- ensure this is to add your banners into the middle of the Istrip.known
- file, as the one that comes with this archive works fine.
-
- 5) When you have added some banners it is a good idea to test ISTRIP by
- running it on an existing Lha file to see if it works ok.
-
- -------- UPDATE:
-
- v1.3: Some sysops asked me if I could add a way of deleting files that
- were short or too generic to use wildcard stripping techniques, so
- there is now another brainfile called:
-
- s:Istrip.nowild
-
- This is defined in exactly the same was as s:Istrip.known
- except that it does not automatically add wildcards to the end
- so it will only strip files that exactly match the description,
- although it is not case sensitive.
-
- This means you can remove those stupid banners called:
-
- -
-
- or
-
- A
-
- Just put that name into the s:Istrip.nowild (remember not to leave
- any trailing spaces)
-
- If you are wondering why I didn't combine these to one file, it is
- because I can't make my own character to signal wildcards in the
- Istrip.known file because then people will only start using it as a banner
- name! Trust me, this is the fastest and best way.
-
- (Please note the included Istrip.nowild file is only a small
- example as the feature is new and sysops are crying out for this
- update, I have rushed it out, a full Istrip.nowild file will
- accompany v1.4)
-
-
-
- WHY ISTRIP WAS MADE:
- --------------------
-
- I am annoyed that BBS sysops have resorted to such means to send their
- board adverts out, making illegal file names is not very popular especially
- with myself as these files are hard to delete and almost as hard to view
- due to their wildcard nature.
-
- Another very important note is that these files corrupt your harddisk, the
- disk validator software is not designed to handle these filenames and so if
- you get a validation error on your harddisk, the presence of these files
- can make a minor error which can be fixed, into a bad error like 'bad header
- type' or similar.
-
- It is no coincidence that all the errors I have had on my harddisk which
- could not be fixed have been on these files.
-
- People should also note that Quartback tools 2.2 cannot fix these files
- either and regards them as bad header types. There could be a new version
- that can fix these problems, I am not aware of it though.
-
- I would say to all sysops using such banners that they should change them
- to legal file names. If their board is cool then people will call it
- anyway. If they are worried about people deleting their board ads then they
- should change them every week or so.
-
-
-
- NEW MOTIVE:
- -----------
-
- Seeing as ISTRIP is so fast and useful, I have decided to make it strip out
- any files the names of which do not contain standard ascii. I will be
- careful to allow language characters, just symbols and other illegal
- characters I will make it remove.
-
- V1.0:
-
- Istrip now can strip any bbs add known to man, these are simply defined in
- a brainfile called S:Istrip.known please read the documentation very
- carefully when installing your own names into the brain file!
-
- V1.3:
-
- Seems people are lamer than I thought, making single character adds! So a
- new file called s:Istrip.nowild has been added, which does not add
- wildcards to the search strings and can be used to define those generic
- adverts specifically, like:
-
- -
- A
-
- etc.. Have fun and let me know if theres anything Istrip cant Istrip!
-
-
- TECHNICAL NOTES:
- ----------------
-
- Istrip is written in 68000 machine code and should work on all OS version
- and all processors, and all memory configurations (assuming you have
- enough!)
-
- You will notice the tiny file size of Istrip, this should be an indication
- of how efficiently I wrote it, zap it and you will see that this is mostly
- text!
-
- Istrip will remove any files containing any of these characters:
-
- # *
-
- let me know of any other characters which should be added. Or you can add
- them to the Istrip.known file as single characters, but use extreme caution
- as European languages can use these characters.
-
-
- How Istrip works.
-
- 1) Istrip loads in the entire .lha file into ram
- 2) It is processed, the illegal files removed
- 3) It is saved to the destination file (which can be the same as the source)
-
- If the source and destination are the same file then nothing is saved
- if there are no files to be removed.
-
-
- Istrip can remove files from subdirectories within an LhA also!
-
- Istrip does not call LHA ever! so it is VERY fast!
-
- If you do not have enough memory to load the entire file in at one go. If
- it cannot load it all in then it simply aborts and the illegal files are
- not deleted. So there is no problem, just that particular file is not
- processed.
-
-
- Due to some updates in the way ISTRIP stores the structure of the LHA file
- it now requires 32k of workspace rather than the old 1k of workspace,
- however this means that it can process lha files with upto 16000 files in
- them (I hope this is enough!)
-
-
-
- KNOWN BUGS:
- -----------
-
- Istrip will abort if not enough memory.
-
- Istrip has a limitation of 5000 known files in each brainfile.
-
- No other known bugs, please report any you find!
-
-
-
-
- NEW VERSIONS:
- -------------
-
- 68020/68030 improved/optimised versions.
-
- Maximum load size specification (so you can choose not to process larger
- files) - This will be done as soon as I find a 1.3 equivent dos call to
- STRING-LONG call.
-
- Speed increases (is it not fast enough?)
-
- Hopefully some people can send me scripts and config files for setup on
- various BBS systems, such as AmiExpress, Xenolink, CNET etc... if you run
- one of these then please release the scripts or send them to me.
-
- Link list use to increase speed when searching for files
-
- Ansi Analiser so that even unknown BBS adds can be stripped!
-
- Adding of LhA testing also so that ISTRIP will be a total replacement for
- all BBS checkers. And it will not use LHA so it will be VERY fast!
-
- Ability to add your own BBS banners, I'm considering this because people
- want to make ISTRIP a complete replacement for all lha checkers/adders etc,
- I will do this if I can make it faster than LHA!
-
-
-
- HISTORY:
- --------
-
- v0.4 - First release version
- - .lha / .lzh files supported - strips #,?,*,@
- - released 14/02/94 - Filesize 2300 bytes
-
- v0.5 - now strips files beginning with spaces
- - if only a source file is specified, this is used as the
- destination file aswell
- - released 16/02/94 - Filesize 2344 bytes
-
- v0.6 - Progress indicator (Working...) when writing data to disk
- - massive speed up when there are no changes to file, does not
- write a destination file if there was no change. However always
- writes if the destination file has a different name to the source!
- - now strips #,?,*,@,µ and files beginning with a space, more soon!
- - now checks if file is a valid lha file before processing
- - released under the Medellin label
-
- v1.0 - Addition of brainfile so that it is possable to add in a list of
- all the known bbs banners you have seen and ISTRIP will strip
- them all still with the same lightening speed!
-
- v1.1 - Removal of stripping ? file names
- - released 12/03/94 - Filesize 3596 bytes
-
- v1.3 - Release with new Istrip.nowild brainfile for specific bbs add
- removal.
- - Also removed the µ and @ stripping, if you want it, just put the
- names in the Istrip.known file as single characters
- - released 13/06/94 - Filesize 4376 bytes
-
-
- new versions all the time! keep upgrading it gets better!
-
-
-
- ABOUT THE AUTHOR:
- -----------------
-
- Tas can be contacted on any of these boards:
-
- Dawn-Raid, Dawn-Of-Eternity
- Kin-Madness, Bad-Dreams, Chaotic-Entity
-
- Or you can internet mail me at Tas@dawnraid.demon.co.uk
-
- preferably call my board in the UK, (+44-707-320-320)
-
- If you want to thank me for this util, then just call my board and upload
- something nice! That always makes me happy. Positive and Negative feedback
- is also accepted!
-
- -----------------------------------------------------------------------------
-
-