home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
d
/
dicottery
/
!Dicottery
/
!Help
next >
Wrap
Text File
|
1996-05-11
|
14KB
|
303 lines
!Help for !Dicottery v3.07
-----------------------------------------------------------
Interactive Help now supported!!! (in English and Dutch!)
-----------------------------------------------------------
-----------------------------------------------------------
Virus checking and cheesy external decompression working!
-----------------------------------------------------------
please see the 'New' file for information by clicking on
the version button in the info box.
Going Dutch
-----------
Dicottery has gone Dutch! Thanks to Zorack and indy911 of #acorn (IRC), I
have almost everything in Dutch as well as English now. I haven't got Dutch
versions of the error messages, but they should follow soonish.
Unfortunately, I've had to implement the Dutch version as a bit of a hack.
There is a system variable 'Netherlands$Country' set in the !Run file, which
will tell Dicottery whether to use Dutch or not. I would read the country
set up by the configure options, but there isn't one mentioned for Dutch,
so I can't use this.
If anyone speaks any other languages fluently, like French or German for
example, and has an email address, please get in contact with me. I am
interested in getting as many languages into Dicottery as possible, but I
can't do it on my own - I know a little French, and can buy a baguette quite
happily, but other than that, I'm a little stuck ;-).
Emailing lists
==============
I have set up two emailing lists for Dicottery users. All those on the
first list will be emailed when a new version of Dicottery comes out, with
information on new features etc. Those on the second list will be emailed
a uuencoded copy of new versions of Dicottery aswell. If you want to be
included on either or both of these lists, please email me to say so. Also,
if you tell me what version of Dicottery you are currently using, I'll
send you the latest version if it's been updated since then.
I am afraid that I can't extend this service to normal mail, since I simply
don't have the money, being a student, for discs, envelopes and stamps.
It's all being saved up for next year when I'll need it for food!
What is Dicottery?
------------------
The most important question first, eh? Well, I had been getting really sick
of the fact that every time I downloaded anything off the internet, I had to
work out which decompressor to use, and then decompress it. This often took
several attempts, sometimes crashed the computer and ALWAYS took a long
time. I therefore decided to alleviate this problem, and have written
Dicottery.
Dicottery is another compression program, but one different from the others
because you won't need to hunt around for the right decompressor for its
archives, since the archives decompress themselves! The 'Dicottery SEA's
(Self-Extracting Archives) will run as any other program, with a simple
double-click, and will supply a save box for you to decide where to
decompress the file, application or directory to.
Self-extracting archives are not a new idea by any means. Probably the most
famous on the Acorn scene is the BASIC file on Acorn's ftp area which
produces a copy of !SparkPlug in your current directory when it's run.
However, I have managed to add a few extra features, the best of which is
drag-and-drop decompression. Quite simply, when a Dicottery SEA is loaded,
it initialises itself as a wimp application, and pops up a save box,
enabling you to decide where to put the decompressed data.
How to use Dicottery
--------------------
There are two main ways of compressing things with Dicottery: you may either
use the !Dicottery application, or the Dicottery utility. The two different
methods are supplied so that the user has an easy and user-friendly way of
using Dicottery (the application) and so that other applications can use
Dicottery as a * command (the utility).
Using the application
- - - - - - - - - - -
The application initialises as any other, and places an icon on the icon
bar. You can access the menu from here, and view my wonderful Info box, and
also set or unset the 'Faster' option (this works like the filer windows'
faster option), and even Quit from it if you really want to. To compress
something, simply drag a directory, application etc onto the ibi (icon bar
icon) and drag the file thingy off the save box and onto a filer window or
whatever. After a brief amount of clicking (Dicottery is determining the
size of what you want compressed) a window will appear showing Dicottery's
progress as a green slider bar. It also shows the item you're compressing
and what file it's being compressed to at the top, and a picture of the
application or file's icon at the top-right. Lower down there is another
display field which shows the file that Dicottery is handling at the moment
ONLY if the Faster option is NOT selected. And, of course, there are the
'Abort' and 'Pause' buttons.
If you try to compress something else while Dicottery is still compressing
something, a save box will appear again, and when you drag off the SEA, it
actually loads a second copy of Dicottery. I'm sorry this happens, since it
should really be the same program handling both, but at the moment, the
Dicottery compression code is written recursively, which makes it nearly
impossible to get the same application to do both compression jobs at once.
However, you don't really need to worry about this second copy of Dicottery
loading, since it doesn't create an ibi and automatically quits as soon as
it's finished. So really, you need never know that there are two copies of
Dicottery loaded unless you look in the Task Manager window.
Using the Utility
- - - - - - - - -
The Dicottery utility is provided mainly for programmers, but can also, of
course, be used by someone using the OSCLI, or from an Obey file etc etc.
It is a bit quicker than the application, since it doesn't have to multitask
or redraw any windows. However, it lacks the functionality of the
application, since you cannot pause it, it doesn't multitask and you can
only have one compression task going at once.
In its normal mode, the utility will use the hourglass to display the
percentage of the file sizes which have been compressed (calculated the same
way as is the application's slider bar), but this can be switched off.
Switching this option off does not affect the speed of the program when it
is compressing things, but it doesn't bother to find out the full size of
the data you are compressing, which for large directory structures saves
quite a bit of time, and especially so on floppy discs. The full syntax for
using the Dicottery utility is as follows:
*Dicottery [-faster] input_object output_filename
Using a Dicottery SEA
- - - - - - - - - - -
This is by far the simplest part of Dicottery to use. It has deliberately
been made easy so that anyone with some knowledge about Acorn machines (ie
how to use save boxes, how to run a program etc) will be able to use it
quickly and easily.
To load a Dicottery SEA into memory, simply make sure it's filetype is
Absolute (&FF8) and double-click on it. A nearly-standard save box will
appear, containing a display icon showing the name of the compressed item,
and a file icon, showing either a filetype or a 'directory' or 'application'
sprite. Applications' own sprites are not used, since if you're
decompressing an application, the chances are that your computer hasn't seen
it before, in which case no sprite will appear at all. Note that you cannot
change the name in the display icon. This is partly because it would add to
the size of the Dicottery SEAs, and partly because with applications this
isn't a good idea, since you'd get no icon in the filer windows.
To decompress the object, all you do is to drag the sprite icon from the
window and onto a filer window. The Dicottery SEA will then decompress to
the relevant position, and will quit immediately afterwards. If you change
your mind and decide not to decompress the object, simply click on the close
icon of the window and the application will terminate. Please read the
'know bugs and problems' section, since there's something else you sho