home *** CD-ROM | disk | FTP | other *** search
-
- dP .8888b
- 88 88 "
- .d888b88 .d8888b. .d8888b. 88aaa
- 88' `88 88ooood8 88' `88 88
- 88. .88 88. ... 88. .88 88
- `88888P8 `88888P' `88888P8 dP
-
-
- DEAF - Description Extracting And Filenoting
- (AmiNet oriented)
-
- By Manuel Giorgini (mgiorgin@dsi.unive.it) in 1996
-
-
- *** Disclaimer
-
- Briefly: (1) this program comes with no warranty.
- (2) if your HD burns (or stuff like that), I won't accept
- any responsibility.
- (3) I can only guarantee that this program will occupy disk space
- and (maybe) some memory.
-
- This program is CryWare. That is, if you like it and you decide it's worth
- being used, you're morally obliged to open the window and speak aloud what
- you think about it, in a language of your choice ;)
-
- And BTW if you leave me an EMail with your comments/bugreports/threats/thanks
- or whatever, I'll send you the complete sourcecode in Amiga E (it's so
- easy to write down it. But maybe it can still be useful to someone, just
- to laugh sometime, or to have something to read in the bathroom :)
-
- My address is mgiorgin@dsi.unive.it
-
-
- *** Prologue
-
- First of all: Sorry for my bad command of english language.
-
- Hi!
-
- I run a BBS, and as many other sysops, I like to collect files and put them
- at my users' disposal. Recently (well, not so recently :) I started
- leeching megabytes over megabytes of stuff from the AmiNet sites, and moved
- all my downloads into my file areas. Soon I started getting bored of
- typing all the filenotes by hand, and after having looked (with no result)
- for a fitting utility, I worked on my own. Thus, DEAF was born.
-
-
- *** What is this program for?
-
- DEAF will scan an archive, extract the description from inside it, and link
- it as a comment for that file. Suppose you have downloaded "foo.lha" and
- you have noticed that it contains "foo.readme": DEAF will get the
- "Short:" line from foov103.readme (or whatever line else) and will put it
- as a filenote on "foo.lha" (without the trailing "Short:" and blanks).
-
- DEAF will recognize LHA, LZX and ZIP archives, and will operate
- successfully with all of them, provided you have LhA, LZX and UnZip in your
- path (this is extremely important!); evaluation versions are OK too. Arj
- is not supported simply because it would have taken a whole different
- algorithm to work.
-
- Maybe such an utility is already existing, but I hadn't been able to find
- it. I found a similar utility, but it required the .readme file to be
- already unarchived and in the same directory as the archive file, and this
- is rather annoying. The .readme file could be nested into subdirectories
- in the archive structure, so a manual extraction might be very unhandy and,
- even worse, difficult to insert in a script.
-
-
- *** Syntax
-
- This program works via CLI/Shell only. Nevertheless, it has been developed
- for script purpose.
-
- 1.Work:> deaf ?
- FILE/A,P=PATTERN/K,K=KEYWORD/K,T=TEMPFILE/K,Q=QUIET/S:
-
- Where:
-
- FILE - is the Archived (LhA, LZX, ZIP) file you'd like to comment.
- No wildcards allowed (but you can still use SPat, or a list
- LFORMAT).
- DEAF will automatically recognize the compression type basing on
- the file extension and launch the appropriate command.
-
- PATTERN - is the pattern of the file that contains the description
- (default: *.readme). When more than one file is found, DEAF will
- scan the first only.
-
- KEYWORD - is the word (or part of) immediately previous to the description
- string (default: 'hort:'). No wildcards allowed here too, sorry.
- Search is CASE SENSITIVE, therefore pay attention.
- When more than one string is matched in the file, DEAF will get
- the first only.
- BTW, you can insert "uthor:" or "ploader:" here; guess what it would
- produce... :)
-
- TEMPFILE - Is the temporaneous workfile for DEAF. It will be (hopefully!)
- deleted during the operation, so you can definitely forget about
- it. (default: 'ram:deaf_temp')
-
- QUIET - Will avoid any message printing; DEAF will anyway still return an
- error code. Obviously there could still be a message printed, that
- is the error relative to an eventual ReadArgs() failure :)
-
- If you have DEAF in your path, try this:
-
- 1.Work:> list >T:script dh0:comms/downloads/#?.??? LFORMAT "deaf %p%n QUIET"
- 1.Work:> execute t:script
-
- voila!
-
- For a quick check, try deaf with its very archive (provided the .readme
- file inside has not been deleted beforeward):
-
- 1.Work:> deaf <path>deaf100.lha
-
-
- *** History
-
- v1.00 - First version
- v1.01 - stuff (trust me, this version is better, it's just that I can't
- explain efficiently in English what I have done :)
-
-
- *** Credits
-
- Nobody helped me for the development of DEAF (it would have been worrying,
- for it's so simple :) but there is still someone I'd like to mention:
-
- Gabriele Zaverio, Giuseppe Chillemi, and the whole FreakNet network;
- Claudio Mazzuco, Guido Vaccari, and all my points;
- Peter Van Den Broeck, for his friendship;
- The EFF, for his fight for the freedom of speech and privacy in the 'Net;
- James McOrmond, for his program JamMail (lightyears beyond TrapDoor :), and
- Oliver Wagner, for he accepted my catalog file for AmIRC :)
-
- Last but not least, thanks to the Escom, and may our machine live a
- wonderful future with its new owner.
-
-
- EOF