Home » Archimedes archive » Micro User » MU 1991-03.adf » PD-Stuff » Utilities/Bins/!Trash/!ReadMe

Utilities/Bins/!Trash/!ReadMe

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Micro User » MU 1991-03.adf » PD-Stuff
Filename: Utilities/Bins/!Trash/!ReadMe
Read OK:
File size: 43EA bytes
Load address: 0000
Exec address: 0000
File contents
>$.!Trash.!ReadMe

                  Documentation for Trash Can Module V1.40
                  ----------------------------------------

*********************************** Notice ******************************
*                                                                       *
*  The documentation, source, binary and resources for the Trash Can,   *
*  whilst the copyright of Richard K. Lloyd, may be freely distributed  *
*          provided that this Notice is not altered in any way.         *
*                                                                       *
*************************************************************************

New features present in V1.40
-----------------------------

* Context-sensitive support for the !Help application has been (grudgingly)
  provided. I don't like !Help at all - it doesn't co-operate in a sensible
  way when you want to resize its window, you can't get help on menu options
  and, worst of all, it doesn't let you pass it more than 256 bytes or 4 lines
  of help text ! By the way, there's help for the Info Window too... :-)
  I'll tell you this: I've fiddled around with the help text so many times now
  I'm going blue in the face...I've had to cut it down to terse descriptions
  in four lines or less.

* The menu is now "persistent" i.e. it stays open if the right button is
  clicked on a menu item.

* The Trash Can module is now "Spark-aware" regardless of the order of
  installation. This wasn't easy and shows up a big hole in the Wimp SWI
  calls: there's no call to get a list of active Wimp task handles/names !
  I ended up sending a dummy broadcast, translating the handles returned
  into task names and comparing them with the "Spark" name...horrible :-(

* Two new sprites, !trash3 and !trash4, have been defined with an extra
  Spark-like "flash" - these are used to indicate that Spark is installed
  simultaneously with the Trash Can module.

* The 'feature' of the border turning red when the Trash Can is simply clicked
  on (with Warning and Immediate options enabled) rather than a file being
  dragged onto it has now been fixed i.e. removed.

How to install the Trash Can
----------------------------

The Trash Can module is supplied with the following files:

!Trash            : The application dir.
!Trash.!ReadMe    : This file.
!Trash.!Run       : An Obey file to set up the Trash Can (may need editing).
!Trash.!RunImage  : The Trash Can Module. Do NOT run this on its own.
!Trash.!Sprites   : Five trash can sprites...
                             !trash : Used in the Filer window
                    !trash1/!trash2 : Used on the icon bar
                    !trash3/!trash4 : As 1/2, but with an extra "flash"
                    Do NOT rename any of these sprites !
!Trash.Templates  : The definition, created by !FormEd, for the Info window.
!Trash.TrashSrc   : The heavily annotated source code.
!Trash.VanSprites : Six trash van sprites...
                    vanlft1..vanlft3 : 3-stage animation of left-pointing van
                    vanrgt1..vanrgt3 : Ditto, but for right-pointing van

The Trash Can Module has been designed to run from the Desktop by double-
clicking on the !Trash directory and, because it is a service utility, it
installs an icon on the left-hand side of the icon bar. Attempts to run it
outside the Desktop (by typing *!Trash) will install the Trash Can module
with a message informing you to enter the Desktop afterwards with a *Desktop
command to properly start up the utility.

Setting up the Trash$Dir directory
----------------------------------

The environmental variable Trash$Dir is read (and deliberately re-read
frequently during the module's life) - this should be set in the !Run file
to point to a directory where the trash is to be placed. If the directory
does not exist, then it will created when the first trashing or viewing of
the trash contents takes place.

The recommended settings are:

For hard disk owners:  Set Trash$Dir <Obey$Dir>.Trash
For floppy    owners:  Set Trash$Dir <Obey$Dir>.Trash
                  OR   Set Trash$Dir adfs:$.Trash
                  OR   Set Trash$Dir adfs:$.!Trash.Trash

Whatever you decide, Trash$Dir (after environmental variable expansion) MUST
contain the filing system name (usually adfs:) and at least ONE full-stop
(directory separator to give it its full title). Please note that there is
now a second environmental variable called TrashWork$Dir declared in the !Run
file. This is used by the Trash Can Module to locate the sprites and template
files it needs.

Problems with floppy disc-based Trash Can
-----------------------------------------

If you specify <Obey$Dir> in the Trash$Dir variable, then the disk with the
!Trash directory on it MUST be in a drive at all times. If it isn't, then
the Filer will prompt you for it VERY frequently...
   If you decide to rename the floppy disk (*NameDisc or whatever) that
contains the Trash$Dir directory, then you should restart the Trash Can by
double-clicking on !Trash again to get the new disk name read in.
   One tip for people who are panicking - define Trash$Dir as the string
'adfs:$.!Trash.Trash' (the third alternative mentioned above) and copy the
!Trash directory (without the TrashSrc file !) onto all your workdisks.

If you are still annoyed at having to fumble for disks, you can now enable
a new 'Immediate' option which will bypass the Trash$Dir directory and
immediately delete files that are dragged onto the Trash Can icon. This
is not recommended for hard disk owners unless you are short of hard disk
space.

Using the RAM Disk
------------------

Yes, it is possible to use the RAM Disk to store trashed files, but this has
some snags:

1. Files will always be COPIED/DELETED (assuming you are trashing an ADFS
   file) rather than renamed - making the trashing a lot slower process.

2. It's likely that the size of your RAM disc will not be large enough to
   trash many files (especially compared to a hard disk).

3. The biggest problem: A hard reset or a power off will lose the contents
   of the RAM disk - and hence all the files you trashed will be irrecoverable.

There are only two advantages as far as I can see:

1. Floppy owners won't have to keep the disk containing Trash$Dir in one
   of the drives all the time.

2. Emptying the trash is incredibly fast.

If, after all this, you still want to use the RAM Disk, change the Trash$Dir
line in the !Run file to:

Set Trash$Dir RAM:$.Trash

Make sure you have a fairly big RAMFsSize setting too (128K recommended).

The Trash Can Icon Bar Icon (now known as the 'Trash Can Icon')
---------------------------

There are TWO possible trash can icons depending on the state of the contents
of the Trash Can :

If Trash$Dir is empty or doesn't exist, then the thin icon (!trash1/3) is used.
If Trash$Dir is not empty, then the fat icon (!trash2/4) is used.

The icon is updated during any *SAVE,*RENAME,*DELETE,*WIPE,*COPY,*CREATE or
file opening for output, which should mean that it reflects the current
contents of Trash$Dir accurately.

Context-sensitive help will be shown if the pointer is moved over the Trash Can
Icon whilst the !Help window is open. Put more simply, the help text changes
depending on the current settings of the Immediate, Warning and Animation
modes.

If Spark is installed at the same time as the Trash Can module, then an extra
Spark-like "flash" is shown on the Trash Can icon.

Trashing Files
--------------

To trash a file, select it using the left button (right button if more than
one) and drag it over the trash can icon using the left button. If the
'Warning' and 'Immediate' options are both enabled, then the border will turn
red whilst the drag is over the Trash Can icon as a warning that a button
release will immediately and irretrieveably delete the dragged files.

If the 'Immediate' option is disabled, the Trash Can Module will attempt a
*Rename for speed. If this fails (and you're not trying to be clever by
dragging the Trash$Dir directory onto the trash can icon !), then a
*Copy/*Delete mechanism is used instead. Any identically named files in
Trash$Dir will be overwritten.

Lucky owners of V2.xx of Spark will be able to drag compressed files from
a Spark Archive window onto the Trash Can icon. The files will be decompressed
(to a temporary Wimp$Scrap file), moved to Trash$Dir and then deleted from the
original Archive. Please note: Due to the use of the Wimp$Scrap system,
an Archived directory will appear as an ARCHIVE FILE in Trash$Dir when it is
dragged onto the Trash Can.
PLEASE NOTE: Beta-test copies of Spark 2.00 do not behave properly with
             this facility (they have a tendency to fatally crash).
             Use the proper commercial release of Spark 2.00.

When you want to empty the contents of the Trash Can, select the 'Empty Trash'
memu item (see below). If the emptying of the Trash Can or the trashing of
files fails (e.g. write-protected disk, disk fault), then a standard error
dialogue box will appear (OK = retry, Cancel = abort). If the operations are
OK, but are taking longer than 1 second, then an Hourglass pointer will appear.

The Trash Can Window
--------------------

When the trash can icon is clicked on using the left or right buttons, a
Filer window is opened to show the current contents of Trash$Dir. All normal
Filer operations can be performed on this window, which makes it far more
flexible than all other Trash Can Windows I've seen to date (he says
modestly !). The Trash Can Window CANNOT be viewed whilst the Immediate option
is enabled.

The Trash Can Menu
------------------

When the trash can icon is clicked on using the middle button, a pop-up menu
appears as follows:

    Info      =>

    This is a version/author message displayed as a standard Info window,
    which can now be dragged around the screen for no apparent reason.
    It was created by !FormEd and saved in the Templates file. There is
    !Help text available for the Info Window (overkill, but since it uses
    a special 'auto-stamp' system for version/date stamping, it's worth
    mentioning).

    Immediate

    If this option is ticked, then any files dragged onto the Trash Can icon
    will be immediately and irretrieveably deleted. If is not ticked, then
    the files will be *Renamed (or *Copied/*Deleted) into the Trash$Dir
    directory instead. The Immediate option state is saved in Bit 0 of
    CMOS RAM location 38.

    Warning

    If this (and the 'Immediate' option) option is ticked, then the border
    will turn red whilst the pointer (during a file drag) is situated over the
    Trash Can icon. The border will also turn red if the 'Immediate' option is
    disabled and the 'Empty Trash' option is highlighted. These signal
    'dangerous' operations for the unwary... The Warning option state is saved
    in Bit 1 of CMOS RAM location 38.

    Animation

    If this option is ticked, then a simple Trash Van animation occurs on
    the icon bar whenever 'Empty Trash' is selected or when files are dragged
    onto the Trash Can icon with the 'Immediate' option enabled. The Animation
    option state is saved in Bit 2 of CMOS RAM location 38. Many thanks to
    Gary Bartlett for the inspiration and the sprite definitions !
    NOTE: The animation only works in 16-colour MODEs.

    Empty Trash

    This will appear 'shaded' (normally grey) if either Trash$Dir is empty or
    if the Immediate option is enabled, but solid if it contains any files and
    the Immediate option is disabled. THIS IS THE ONLY WAY TO CLEAR Trash$Dir
    using the Trash Can Module - direct drags from the Trash Can Window
    onto the trash can icon DO NOT delete the files (in fact, they get
    renamed onto themselves !).

    Quit      =>
    
    This points to a sub-menu which has two options:

    Quit      => Temporary

    This removes the Trash Can utility from the Desktop, but the module still
    remains in memory. You can, of course, use the Task Manager to Quit the
    Trash Can Module in an identical way. To reactivate, use the Task Manager's
    'New Task' to type *Desktop_TrashCan (you can use the f12 mechanism also)
    or simply exit and re-enter the Desktop (Shift-Ctrl-f12 then *Desktop).

    Quit      => Permanent    (this is the default if Quit is selected
                               on the MAIN menu)

    This not only removes the Trash Can Desktop utility but also kills the
    Trash Can module and unsets the two environmental variables used by it
    (Trash$Dir and TrashWork$Dir). This is the recommended way to completely
    remove the Trash Can program from the system.

The Trash Can Menu is now "persistent" - it remains open if the right button
is clicked on a menu item.

Recovering trashed files
------------------------

To recover files that have been trashed with the 'Immediate' option disabled
(assuming that you haven't emptied the trash yet), open the Trash Can Window
(left or right button) and SHIFT-drag the files from that window onto another
open Filer Window. Remember that holding down SHIFT during a file drag deletes
the files in the source window, which is what you want.

What can the Trash Can Module survive ?
---------------------------------------

Unlike BASIC versions of the Trash Can, this module can survive:

1.  Complete wipe of application workspace (e.g. *InitStore 0).
2.  Exit from and re-entry to the Desktop.
3.  A soft reset.
4.  *RMReInit TrashCan.             } Normally issued
5.  *RMTidy.                        } outside the Desktop
6.  Various run-time errors (e.g. missing sprites/templates, not enough RMA).
7.  *Unset Trash$Dir.
8.  Setting (the expanded) Trash$Dir longer than 63 characters.
9.  The Trash Can Temporary Quit option.
10. Shutdown of it via the Task Manager window.

Please note that 2, 4, 5, 9 and 10 above will cause a reload of the Trash Can
sprite and template files upon re-entry to the Desktop. If you are inside the
Desktop, the Trash Can can be restarted by issuing the *Desktop_TrashCan
command after any problems have been fixed.

It cannot survive:

1. A hard reset.
2. *RMKill TrashCan.
3. *RMClear.
4. The Trash Can Permanent Quit Option.
5. Power off and on (obvious !).

Known Problems (some of which may be fixed in the next release)
--------------

* Someone from Acorn claims that the border is flashed red when the
  pointer is moved over the "Empty Trash" menu item when it is actually
  greyed-out. I suspect that he was running a version of RISC OS higher than
  2.00, because I've been unable to reproduce this fault under any conditions.

* The Trash Van flickers due to the use of Wimp_SpriteOp (much slower than
  OS_SpriteOp). This can be solved by buying an ARM3 upgrade :-)

* The "!spark -d <file inside archive>" command in the command window of
  Spark 2.00 (15 Jun 90 version) quite often causes Spark to fatally crash.
  Unfortunately, this is the command the Trash Can module sends to Spark
  to delete an archive file...it's up to David Pilling to fix this I'm afraid.

Conclusion
----------

Well, that's it. My first multi-tasking RISC OS module. The Trash Can icons
were based (as was the idea of storing the files in a Trash directory) on
the Macintosh icons (ResEdit was rather handy...). At least my module doesn't
empty the trash when you start a new application or eject the disk (a
disgraceful oversight on the part of Apple) ! Have you seen a better Trash Can
program ? If so, let me know because my disks are full of them (although you
can now 'trash' all other Trash Cans apart from mine !!)...

I just realised something: the source code for this project is 86K long !
What started out as a quick and dirty hack has now become a labour of love
and I feel the quality of code now surpasses anything I have previously
released into the Public Domain. However, I'm hoping that the next version,
V1.50, will be last main release for some considerable time - updates after
V1.50 will simply be bug-fix releases (unless someone suggests a missing
feature that's not too difficult to include...).

Revision History
----------------

Supplied in the form of comments at the start of the source code. New features
in this latest release are described at the top of this document.

Future Enhancements (see "Known Problems" too)
-------------------

* Grab some RMA for buffer storage. In particular, the environmental variable
  translation buffer, the Filer_Open/CloseDir OS_CLI strings, the Wimp palette
  and the Help text (store the latter in an !Help text file and read at
  startup).

* Optional digitised sound playback when the trash is emptied. Now if only
  RISC OS had support for playing a digitised sound sample (rather than having
  to rely upon the third-party, but admittedly clever, SoundTracker module)...

Estimated Date of Release of V1.50
----------------------------------

Approximately December 1990, but no guarantees...
Likely to be last time I do any extensive work on this program.

A Plea From The Author
----------------------

If you make some USEFUL changes to the source or fix any bugs, can you please
send me those changes to the following address:

Snail Mail                   JANET e-mail
----------                   ------------

Richard K. Lloyd,            rkl@uk.ac.liv.cs.and
1, Banks Road,
Lower Heswall,
Wirral,
Merseyside. L60 9JS
00000000  3e 24 2e 21 54 72 61 73  68 2e 21 52 65 61 64 4d  |>$.!Trash.!ReadM|
00000010  65 0a 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |e..             |
00000020  20 20 20 20 20 44 6f 63  75 6d 65 6e 74 61 74 69  |     Documentati|
00000030  6f 6e 20 66 6f 72 20 54  72 61 73 68 20 43 61 6e  |on for Trash Can|
00000040  20 4d 6f 64 75 6c 65 20  56 31 2e 34 30 0a 20 20  | Module V1.40.  |
00000050  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000060  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000080  2d 2d 2d 2d 2d 2d 2d 2d  0a 0a 2a 2a 2a 2a 2a 2a  |--------..******|
00000090  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
000000a0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 20 4e 6f  |************* No|
000000b0  74 69 63 65 20 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |tice ***********|
000000c0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
000000d0  2a 2a 2a 0a 2a 20 20 20  20 20 20 20 20 20 20 20  |***.*           |
000000e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000110  20 20 20 20 20 20 20 20  20 20 20 20 2a 0a 2a 20  |            *.* |
00000120  20 54 68 65 20 64 6f 63  75 6d 65 6e 74 61 74 69  | The documentati|
00000130  6f 6e 2c 20 73 6f 75 72  63 65 2c 20 62 69 6e 61  |on, source, bina|
00000140  72 79 20 61 6e 64 20 72  65 73 6f 75 72 63 65 73  |ry and resources|
00000150  20 66 6f 72 20 74 68 65  20 54 72 61 73 68 20 43  | for the Trash C|
00000160  61 6e 2c 20 20 20 2a 0a  2a 20 20 77 68 69 6c 73  |an,   *.*  whils|
00000170  74 20 74 68 65 20 63 6f  70 79 72 69 67 68 74 20  |t the copyright |
00000180  6f 66 20 52 69 63 68 61  72 64 20 4b 2e 20 4c 6c  |of Richard K. Ll|
00000190  6f 79 64 2c 20 6d 61 79  20 62 65 20 66 72 65 65  |oyd, may be free|
000001a0  6c 79 20 64 69 73 74 72  69 62 75 74 65 64 20 20  |ly distributed  |
000001b0  2a 0a 2a 20 20 20 20 20  20 20 20 20 20 70 72 6f  |*.*          pro|
000001c0  76 69 64 65 64 20 74 68  61 74 20 74 68 69 73 20  |vided that this |
000001d0  4e 6f 74 69 63 65 20 69  73 20 6e 6f 74 20 61 6c  |Notice is not al|
000001e0  74 65 72 65 64 20 69 6e  20 61 6e 79 20 77 61 79  |tered in any way|
000001f0  2e 20 20 20 20 20 20 20  20 20 2a 0a 2a 20 20 20  |.         *.*   |
00000200  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000240  20 20 20 20 2a 0a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |    *.**********|
00000250  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
00000280  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 0a  |***************.|
00000290  0a 4e 65 77 20 66 65 61  74 75 72 65 73 20 70 72  |.New features pr|
000002a0  65 73 65 6e 74 20 69 6e  20 56 31 2e 34 30 0a 2d  |esent in V1.40.-|
000002b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000002c0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 0a 2a 20  |------------..* |
000002d0  43 6f 6e 74 65 78 74 2d  73 65 6e 73 69 74 69 76  |Context-sensitiv|
000002e0  65 20 73 75 70 70 6f 72  74 20 66 6f 72 20 74 68  |e support for th|
000002f0  65 20 21 48 65 6c 70 20  61 70 70 6c 69 63 61 74  |e !Help applicat|
00000300  69 6f 6e 20 68 61 73 20  62 65 65 6e 20 28 67 72  |ion has been (gr|
00000310  75 64 67 69 6e 67 6c 79  29 0a 20 20 70 72 6f 76  |udgingly).  prov|
00000320  69 64 65 64 2e 20 49 20  64 6f 6e 27 74 20 6c 69  |ided. I don't li|
00000330  6b 65 20 21 48 65 6c 70  20 61 74 20 61 6c 6c 20  |ke !Help at all |
00000340  2d 20 69 74 20 64 6f 65  73 6e 27 74 20 63 6f 2d  |- it doesn't co-|
00000350  6f 70 65 72 61 74 65 20  69 6e 20 61 20 73 65 6e  |operate in a sen|
00000360  73 69 62 6c 65 0a 20 20  77 61 79 20 77 68 65 6e  |sible.  way when|
00000370  20 79 6f 75 20 77 61 6e  74 20 74 6f 20 72 65 73  | you want to res|
00000380  69 7a 65 20 69 74 73 20  77 69 6e 64 6f 77 2c 20  |ize its window, |
00000390  79 6f 75 20 63 61 6e 27  74 20 67 65 74 20 68 65  |you can't get he|
000003a0  6c 70 20 6f 6e 20 6d 65  6e 75 20 6f 70 74 69 6f  |lp on menu optio|
000003b0  6e 73 0a 20 20 61 6e 64  2c 20 77 6f 72 73 74 20  |ns.  and, worst |
000003c0  6f 66 20 61 6c 6c 2c 20  69 74 20 64 6f 65 73 6e  |of all, it doesn|
000003d0  27 74 20 6c 65 74 20 79  6f 75 20 70 61 73 73 20  |'t let you pass |
000003e0  69 74 20 6d 6f 72 65 20  74 68 61 6e 20 32 35 36  |it more than 256|
000003f0  20 62 79 74 65 73 20 6f  72 20 34 20 6c 69 6e 65  | bytes or 4 line|
00000400  73 0a 20 20 6f 66 20 68  65 6c 70 20 74 65 78 74  |s.  of help text|
00000410  20 21 20 42 79 20 74 68  65 20 77 61 79 2c 20 74  | ! By the way, t|
00000420  68 65 72 65 27 73 20 68  65 6c 70 20 66 6f 72 20  |here's help for |
00000430  74 68 65 20 49 6e 66 6f  20 57 69 6e 64 6f 77 20  |the Info Window |
00000440  74 6f 6f 2e 2e 2e 20 3a  2d 29 0a 20 20 49 27 6c  |too... :-).  I'l|
00000450  6c 20 74 65 6c 6c 20 79  6f 75 20 74 68 69 73 3a  |l tell you this:|
00000460  20 49 27 76 65 20 66 69  64 64 6c 65 64 20 61 72  | I've fiddled ar|
00000470  6f 75 6e 64 20 77 69 74  68 20 74 68 65 20 68 65  |ound with the he|
00000480  6c 70 20 74 65 78 74 20  73 6f 20 6d 61 6e 79 20  |lp text so many |
00000490  74 69 6d 65 73 20 6e 6f  77 0a 20 20 49 27 6d 20  |times now.  I'm |
000004a0  67 6f 69 6e 67 20 62 6c  75 65 20 69 6e 20 74 68  |going blue in th|
000004b0  65 20 66 61 63 65 2e 2e  2e 49 27 76 65 20 68 61  |e face...I've ha|
000004c0  64 20 74 6f 20 63 75 74  20 69 74 20 64 6f 77 6e  |d to cut it down|
000004d0  20 74 6f 20 74 65 72 73  65 20 64 65 73 63 72 69  | to terse descri|
000004e0  70 74 69 6f 6e 73 0a 20  20 69 6e 20 66 6f 75 72  |ptions.  in four|
000004f0  20 6c 69 6e 65 73 20 6f  72 20 6c 65 73 73 2e 0a  | lines or less..|
00000500  0a 2a 20 54 68 65 20 6d  65 6e 75 20 69 73 20 6e  |.* The menu is n|
00000510  6f 77 20 22 70 65 72 73  69 73 74 65 6e 74 22 20  |ow "persistent" |
00000520  69 2e 65 2e 20 69 74 20  73 74 61 79 73 20 6f 70  |i.e. it stays op|
00000530  65 6e 20 69 66 20 74 68  65 20 72 69 67 68 74 20  |en if the right |
00000540  62 75 74 74 6f 6e 20 69  73 0a 20 20 63 6c 69 63  |button is.  clic|
00000550  6b 65 64 20 6f 6e 20 61  20 6d 65 6e 75 20 69 74  |ked on a menu it|
00000560  65 6d 2e 0a 0a 2a 20 54  68 65 20 54 72 61 73 68  |em...* The Trash|
00000570  20 43 61 6e 20 6d 6f 64  75 6c 65 20 69 73 20 6e  | Can module is n|
00000580  6f 77 20 22 53 70 61 72  6b 2d 61 77 61 72 65 22  |ow "Spark-aware"|
00000590  20 72 65 67 61 72 64 6c  65 73 73 20 6f 66 20 74  | regardless of t|
000005a0  68 65 20 6f 72 64 65 72  20 6f 66 0a 20 20 69 6e  |he order of.  in|
000005b0  73 74 61 6c 6c 61 74 69  6f 6e 2e 20 54 68 69 73  |stallation. This|
000005c0  20 77 61 73 6e 27 74 20  65 61 73 79 20 61 6e 64  | wasn't easy and|
000005d0  20 73 68 6f 77 73 20 75  70 20 61 20 62 69 67 20  | shows up a big |
000005e0  68 6f 6c 65 20 69 6e 20  74 68 65 20 57 69 6d 70  |hole in the Wimp|
000005f0  20 53 57 49 0a 20 20 63  61 6c 6c 73 3a 20 74 68  | SWI.  calls: th|
00000600  65 72 65 27 73 20 6e 6f  20 63 61 6c 6c 20 74 6f  |ere's no call to|
00000610  20 67 65 74 20 61 20 6c  69 73 74 20 6f 66 20 61  | get a list of a|
00000620  63 74 69 76 65 20 57 69  6d 70 20 74 61 73 6b 20  |ctive Wimp task |
00000630  68 61 6e 64 6c 65 73 2f  6e 61 6d 65 73 20 21 0a  |handles/names !.|
00000640  20 20 49 20 65 6e 64 65  64 20 75 70 20 73 65 6e  |  I ended up sen|
00000650  64 69 6e 67 20 61 20 64  75 6d 6d 79 20 62 72 6f  |ding a dummy bro|
00000660  61 64 63 61 73 74 2c 20  74 72 61 6e 73 6c 61 74  |adcast, translat|
00000670  69 6e 67 20 74 68 65 20  68 61 6e 64 6c 65 73 20  |ing the handles |
00000680  72 65 74 75 72 6e 65 64  0a 20 20 69 6e 74 6f 20  |returned.  into |
00000690  74 61 73 6b 20 6e 61 6d  65 73 20 61 6e 64 20 63  |task names and c|
000006a0  6f 6d 70 61 72 69 6e 67  20 74 68 65 6d 20 77 69  |omparing them wi|
000006b0  74 68 20 74 68 65 20 22  53 70 61 72 6b 22 20 6e  |th the "Spark" n|
000006c0  61 6d 65 2e 2e 2e 68 6f  72 72 69 62 6c 65 20 3a  |ame...horrible :|
000006d0  2d 28 0a 0a 2a 20 54 77  6f 20 6e 65 77 20 73 70  |-(..* Two new sp|
000006e0  72 69 74 65 73 2c 20 21  74 72 61 73 68 33 20 61  |rites, !trash3 a|
000006f0  6e 64 20 21 74 72 61 73  68 34 2c 20 68 61 76 65  |nd !trash4, have|
00000700  20 62 65 65 6e 20 64 65  66 69 6e 65 64 20 77 69  | been defined wi|
00000710  74 68 20 61 6e 20 65 78  74 72 61 0a 20 20 53 70  |th an extra.  Sp|
00000720  61 72 6b 2d 6c 69 6b 65  20 22 66 6c 61 73 68 22  |ark-like "flash"|
00000730  20 2d 20 74 68 65 73 65  20 61 72 65 20 75 73 65  | - these are use|
00000740  64 20 74 6f 20 69 6e 64  69 63 61 74 65 20 74 68  |d to indicate th|
00000750  61 74 20 53 70 61 72 6b  20 69 73 20 69 6e 73 74  |at Spark is inst|
00000760  61 6c 6c 65 64 0a 20 20  73 69 6d 75 6c 74 61 6e  |alled.  simultan|
00000770  65 6f 75 73 6c 79 20 77  69 74 68 20 74 68 65 20  |eously with the |
00000780  54 72 61 73 68 20 43 61  6e 20 6d 6f 64 75 6c 65  |Trash Can module|
00000790  2e 0a 0a 2a 20 54 68 65  20 27 66 65 61 74 75 72  |...* The 'featur|
000007a0  65 27 20 6f 66 20 74 68  65 20 62 6f 72 64 65 72  |e' of the border|
000007b0  20 74 75 72 6e 69 6e 67  20 72 65 64 20 77 68 65  | turning red whe|
000007c0  6e 20 74 68 65 20 54 72  61 73 68 20 43 61 6e 20  |n the Trash Can |
000007d0  69 73 20 73 69 6d 70 6c  79 20 63 6c 69 63 6b 65  |is simply clicke|
000007e0  64 0a 20 20 6f 6e 20 28  77 69 74 68 20 57 61 72  |d.  on (with War|
000007f0  6e 69 6e 67 20 61 6e 64  20 49 6d 6d 65 64 69 61  |ning and Immedia|
00000800  74 65 20 6f 70 74 69 6f  6e 73 20 65 6e 61 62 6c  |te options enabl|
00000810  65 64 29 20 72 61 74 68  65 72 20 74 68 61 6e 20  |ed) rather than |
00000820  61 20 66 69 6c 65 20 62  65 69 6e 67 0a 20 20 64  |a file being.  d|
00000830  72 61 67 67 65 64 20 6f  6e 74 6f 20 69 74 20 68  |ragged onto it h|
00000840  61 73 20 6e 6f 77 20 62  65 65 6e 20 66 69 78 65  |as now been fixe|
00000850  64 20 69 2e 65 2e 20 72  65 6d 6f 76 65 64 2e 0a  |d i.e. removed..|
00000860  0a 48 6f 77 20 74 6f 20  69 6e 73 74 61 6c 6c 20  |.How to install |
00000870  74 68 65 20 54 72 61 73  68 20 43 61 6e 0a 2d 2d  |the Trash Can.--|
00000880  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000890  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 0a 54 68 65 20  |----------..The |
000008a0  54 72 61 73 68 20 43 61  6e 20 6d 6f 64 75 6c 65  |Trash Can module|
000008b0  20 69 73 20 73 75 70 70  6c 69 65 64 20 77 69 74  | is supplied wit|
000008c0  68 20 74 68 65 20 66 6f  6c 6c 6f 77 69 6e 67 20  |h the following |
000008d0  66 69 6c 65 73 3a 0a 0a  21 54 72 61 73 68 20 20  |files:..!Trash  |
000008e0  20 20 20 20 20 20 20 20  20 20 3a 20 54 68 65 20  |          : The |
000008f0  61 70 70 6c 69 63 61 74  69 6f 6e 20 64 69 72 2e  |application dir.|
00000900  0a 21 54 72 61 73 68 2e  21 52 65 61 64 4d 65 20  |.!Trash.!ReadMe |
00000910  20 20 20 3a 20 54 68 69  73 20 66 69 6c 65 2e 0a  |   : This file..|
00000920  21 54 72 61 73 68 2e 21  52 75 6e 20 20 20 20 20  |!Trash.!Run     |
00000930  20 20 3a 20 41 6e 20 4f  62 65 79 20 66 69 6c 65  |  : An Obey file|
00000940  20 74 6f 20 73 65 74 20  75 70 20 74 68 65 20 54  | to set up the T|
00000950  72 61 73 68 20 43 61 6e  20 28 6d 61 79 20 6e 65  |rash Can (may ne|
00000960  65 64 20 65 64 69 74 69  6e 67 29 2e 0a 21 54 72  |ed editing)..!Tr|
00000970  61 73 68 2e 21 52 75 6e  49 6d 61 67 65 20 20 3a  |ash.!RunImage  :|
00000980  20 54 68 65 20 54 72 61  73 68 20 43 61 6e 20 4d  | The Trash Can M|
00000990  6f 64 75 6c 65 2e 20 44  6f 20 4e 4f 54 20 72 75  |odule. Do NOT ru|
000009a0  6e 20 74 68 69 73 20 6f  6e 20 69 74 73 20 6f 77  |n this on its ow|
000009b0  6e 2e 0a 21 54 72 61 73  68 2e 21 53 70 72 69 74  |n..!Trash.!Sprit|
000009c0  65 73 20 20 20 3a 20 46  69 76 65 20 74 72 61 73  |es   : Five tras|
000009d0  68 20 63 61 6e 20 73 70  72 69 74 65 73 2e 2e 2e  |h can sprites...|
000009e0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
000009f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 21 74  |              !t|
00000a00  72 61 73 68 20 3a 20 55  73 65 64 20 69 6e 20 74  |rash : Used in t|
00000a10  68 65 20 46 69 6c 65 72  20 77 69 6e 64 6f 77 0a  |he Filer window.|
00000a20  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000a30  20 20 20 20 21 74 72 61  73 68 31 2f 21 74 72 61  |    !trash1/!tra|
00000a40  73 68 32 20 3a 20 55 73  65 64 20 6f 6e 20 74 68  |sh2 : Used on th|
00000a50  65 20 69 63 6f 6e 20 62  61 72 0a 20 20 20 20 20  |e icon bar.     |
00000a60  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 21  |               !|
00000a70  74 72 61 73 68 33 2f 21  74 72 61 73 68 34 20 3a  |trash3/!trash4 :|
00000a80  20 41 73 20 31 2f 32 2c  20 62 75 74 20 77 69 74  | As 1/2, but wit|
00000a90  68 20 61 6e 20 65 78 74  72 61 20 22 66 6c 61 73  |h an extra "flas|
00000aa0  68 22 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |h".             |
00000ab0  20 20 20 20 20 20 20 44  6f 20 4e 4f 54 20 72 65  |       Do NOT re|
00000ac0  6e 61 6d 65 20 61 6e 79  20 6f 66 20 74 68 65 73  |name any of thes|
00000ad0  65 20 73 70 72 69 74 65  73 20 21 0a 21 54 72 61  |e sprites !.!Tra|
00000ae0  73 68 2e 54 65 6d 70 6c  61 74 65 73 20 20 3a 20  |sh.Templates  : |
00000af0  54 68 65 20 64 65 66 69  6e 69 74 69 6f 6e 2c 20  |The definition, |
00000b00  63 72 65 61 74 65 64 20  62 79 20 21 46 6f 72 6d  |created by !Form|
00000b10  45 64 2c 20 66 6f 72 20  74 68 65 20 49 6e 66 6f  |Ed, for the Info|
00000b20  20 77 69 6e 64 6f 77 2e  0a 21 54 72 61 73 68 2e  | window..!Trash.|
00000b30  54 72 61 73 68 53 72 63  20 20 20 3a 20 54 68 65  |TrashSrc   : The|
00000b40  20 68 65 61 76 69 6c 79  20 61 6e 6e 6f 74 61 74  | heavily annotat|
00000b50  65 64 20 73 6f 75 72 63  65 20 63 6f 64 65 2e 0a  |ed source code..|
00000b60  21 54 72 61 73 68 2e 56  61 6e 53 70 72 69 74 65  |!Trash.VanSprite|
00000b70  73 20 3a 20 53 69 78 20  74 72 61 73 68 20 76 61  |s : Six trash va|
00000b80  6e 20 73 70 72 69 74 65  73 2e 2e 2e 0a 20 20 20  |n sprites....   |
00000b90  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000ba0  20 76 61 6e 6c 66 74 31  2e 2e 76 61 6e 6c 66 74  | vanlft1..vanlft|
00000bb0  33 20 3a 20 33 2d 73 74  61 67 65 20 61 6e 69 6d  |3 : 3-stage anim|
00000bc0  61 74 69 6f 6e 20 6f 66  20 6c 65 66 74 2d 70 6f  |ation of left-po|
00000bd0  69 6e 74 69 6e 67 20 76  61 6e 0a 20 20 20 20 20  |inting van.     |
00000be0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 76  |               v|
00000bf0  61 6e 72 67 74 31 2e 2e  76 61 6e 72 67 74 33 20  |anrgt1..vanrgt3 |
00000c00  3a 20 44 69 74 74 6f 2c  20 62 75 74 20 66 6f 72  |: Ditto, but for|
00000c10  20 72 69 67 68 74 2d 70  6f 69 6e 74 69 6e 67 20  | right-pointing |
00000c20  76 61 6e 0a 0a 54 68 65  20 54 72 61 73 68 20 43  |van..The Trash C|
00000c30  61 6e 20 4d 6f 64 75 6c  65 20 68 61 73 20 62 65  |an Module has be|
00000c40  65 6e 20 64 65 73 69 67  6e 65 64 20 74 6f 20 72  |en designed to r|
00000c50  75 6e 20 66 72 6f 6d 20  74 68 65 20 44 65 73 6b  |un from the Desk|
00000c60  74 6f 70 20 62 79 20 64  6f 75 62 6c 65 2d 0a 63  |top by double-.c|
00000c70  6c 69 63 6b 69 6e 67 20  6f 6e 20 74 68 65 20 21  |licking on the !|
00000c80  54 72 61 73 68 20 64 69  72 65 63 74 6f 72 79 20  |Trash directory |
00000c90  61 6e 64 2c 20 62 65 63  61 75 73 65 20 69 74 20  |and, because it |
00000ca0  69 73 20 61 20 73 65 72  76 69 63 65 20 75 74 69  |is a service uti|
00000cb0  6c 69 74 79 2c 20 69 74  0a 69 6e 73 74 61 6c 6c  |lity, it.install|
00000cc0  73 20 61 6e 20 69 63 6f  6e 20 6f 6e 20 74 68 65  |s an icon on the|
00000cd0  20 6c 65 66 74 2d 68 61  6e 64 20 73 69 64 65 20  | left-hand side |
00000ce0  6f 66 20 74 68 65 20 69  63 6f 6e 20 62 61 72 2e  |of the icon bar.|
00000cf0  20 41 74 74 65 6d 70 74  73 20 74 6f 20 72 75 6e  | Attempts to run|
00000d00  20 69 74 0a 6f 75 74 73  69 64 65 20 74 68 65 20  | it.outside the |
00000d10  44 65 73 6b 74 6f 70 20  28 62 79 20 74 79 70 69  |Desktop (by typi|
00000d20  6e 67 20 2a 21 54 72 61  73 68 29 20 77 69 6c 6c  |ng *!Trash) will|
00000d30  20 69 6e 73 74 61 6c 6c  20 74 68 65 20 54 72 61  | install the Tra|
00000d40  73 68 20 43 61 6e 20 6d  6f 64 75 6c 65 0a 77 69  |sh Can module.wi|
00000d50  74 68 20 61 20 6d 65 73  73 61 67 65 20 69 6e 66  |th a message inf|
00000d60  6f 72 6d 69 6e 67 20 79  6f 75 20 74 6f 20 65 6e  |orming you to en|
00000d70  74 65 72 20 74 68 65 20  44 65 73 6b 74 6f 70 20  |ter the Desktop |
00000d80  61 66 74 65 72 77 61 72  64 73 20 77 69 74 68 20  |afterwards with |
00000d90  61 20 2a 44 65 73 6b 74  6f 70 0a 63 6f 6d 6d 61  |a *Desktop.comma|
00000da0  6e 64 20 74 6f 20 70 72  6f 70 65 72 6c 79 20 73  |nd to properly s|
00000db0  74 61 72 74 20 75 70 20  74 68 65 20 75 74 69 6c  |tart up the util|
00000dc0  69 74 79 2e 0a 0a 53 65  74 74 69 6e 67 20 75 70  |ity...Setting up|
00000dd0  20 74 68 65 20 54 72 61  73 68 24 44 69 72 20 64  | the Trash$Dir d|
00000de0  69 72 65 63 74 6f 72 79  0a 2d 2d 2d 2d 2d 2d 2d  |irectory.-------|
00000df0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000e00  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 0a 54 68 65  |-----------..The|
00000e10  20 65 6e 76 69 72 6f 6e  6d 65 6e 74 61 6c 20 76  | environmental v|
00000e20  61 72 69 61 62 6c 65 20  54 72 61 73 68 24 44 69  |ariable Trash$Di|
00000e30  72 20 69 73 20 72 65 61  64 20 28 61 6e 64 20 64  |r is read (and d|
00000e40  65 6c 69 62 65 72 61 74  65 6c 79 20 72 65 2d 72  |eliberately re-r|
00000e50  65 61 64 0a 66 72 65 71  75 65 6e 74 6c 79 20 64  |ead.frequently d|
00000e60  75 72 69 6e 67 20 74 68  65 20 6d 6f 64 75 6c 65  |uring the module|
00000e70  27 73 20 6c 69 66 65 29  20 2d 20 74 68 69 73 20  |'s life) - this |
00000e80  73 68 6f 75 6c 64 20 62  65 20 73 65 74 20 69 6e  |should be set in|
00000e90  20 74 68 65 20 21 52 75  6e 20 66 69 6c 65 0a 74  | the !Run file.t|
00000ea0  6f 20 70 6f 69 6e 74 20  74 6f 20 61 20 64 69 72  |o point to a dir|
00000eb0  65 63 74 6f 72 79 20 77  68 65 72 65 20 74 68 65  |ectory where the|
00000ec0  20 74 72 61 73 68 20 69  73 20 74 6f 20 62 65 20  | trash is to be |
00000ed0  70 6c 61 63 65 64 2e 20  49 66 20 74 68 65 20 64  |placed. If the d|
00000ee0  69 72 65 63 74 6f 72 79  0a 64 6f 65 73 20 6e 6f  |irectory.does no|
00000ef0  74 20 65 78 69 73 74 2c  20 74 68 65 6e 20 69 74  |t exist, then it|
00000f00  20 77 69 6c 6c 20 63 72  65 61 74 65 64 20 77 68  | will created wh|
00000f10  65 6e 20 74 68 65 20 66  69 72 73 74 20 74 72 61  |en the first tra|
00000f20  73 68 69 6e 67 20 6f 72  20 76 69 65 77 69 6e 67  |shing or viewing|
00000f30  20 6f 66 0a 74 68 65 20  74 72 61 73 68 20 63 6f  | of.the trash co|
00000f40  6e 74 65 6e 74 73 20 74  61 6b 65 73 20 70 6c 61  |ntents takes pla|
00000f50  63 65 2e 0a 0a 54 68 65  20 72 65 63 6f 6d 6d 65  |ce...The recomme|
00000f60  6e 64 65 64 20 73 65 74  74 69 6e 67 73 20 61 72  |nded settings ar|
00000f70  65 3a 0a 0a 46 6f 72 20  68 61 72 64 20 64 69 73  |e:..For hard dis|
00000f80  6b 20 6f 77 6e 65 72 73  3a 20 20 53 65 74 20 54  |k owners:  Set T|
00000f90  72 61 73 68 24 44 69 72  20 3c 4f 62 65 79 24 44  |rash$Dir <Obey$D|
00000fa0  69 72 3e 2e 54 72 61 73  68 0a 46 6f 72 20 66 6c  |ir>.Trash.For fl|
00000fb0  6f 70 70 79 20 20 20 20  6f 77 6e 65 72 73 3a 20  |oppy    owners: |
00000fc0  20 53 65 74 20 54 72 61  73 68 24 44 69 72 20 3c  | Set Trash$Dir <|
00000fd0  4f 62 65 79 24 44 69 72  3e 2e 54 72 61 73 68 0a  |Obey$Dir>.Trash.|
00000fe0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000ff0  20 20 4f 52 20 20 20 53  65 74 20 54 72 61 73 68  |  OR   Set Trash|
00001000  24 44 69 72 20 61 64 66  73 3a 24 2e 54 72 61 73  |$Dir adfs:$.Tras|
00001010  68 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |h.              |
00001020  20 20 20 20 4f 52 20 20  20 53 65 74 20 54 72 61  |    OR   Set Tra|
00001030  73 68 24 44 69 72 20 61  64 66 73 3a 24 2e 21 54  |sh$Dir adfs:$.!T|
00001040  72 61 73 68 2e 54 72 61  73 68 0a 0a 57 68 61 74  |rash.Trash..What|
00001050  65 76 65 72 20 79 6f 75  20 64 65 63 69 64 65 2c  |ever you decide,|
00001060  20 54 72 61 73 68 24 44  69 72 20 28 61 66 74 65  | Trash$Dir (afte|
00001070  72 20 65 6e 76 69 72 6f  6e 6d 65 6e 74 61 6c 20  |r environmental |
00001080  76 61 72 69 61 62 6c 65  20 65 78 70 61 6e 73 69  |variable expansi|
00001090  6f 6e 29 20 4d 55 53 54  0a 63 6f 6e 74 61 69 6e  |on) MUST.contain|
000010a0  20 74 68 65 20 66 69 6c  69 6e 67 20 73 79 73 74  | the filing syst|
000010b0  65 6d 20 6e 61 6d 65 20  28 75 73 75 61 6c 6c 79  |em name (usually|
000010c0  20 61 64 66 73 3a 29 20  61 6e 64 20 61 74 20 6c  | adfs:) and at l|
000010d0  65 61 73 74 20 4f 4e 45  20 66 75 6c 6c 2d 73 74  |east ONE full-st|
000010e0  6f 70 0a 28 64 69 72 65  63 74 6f 72 79 20 73 65  |op.(directory se|
000010f0  70 61 72 61 74 6f 72 20  74 6f 20 67 69 76 65 20  |parator to give |
00001100  69 74 20 69 74 73 20 66  75 6c 6c 20 74 69 74 6c  |it its full titl|
00001110  65 29 2e 20 50 6c 65 61  73 65 20 6e 6f 74 65 20  |e). Please note |
00001120  74 68 61 74 20 74 68 65  72 65 20 69 73 0a 6e 6f  |that there is.no|
00001130  77 20 61 20 73 65 63 6f  6e 64 20 65 6e 76 69 72  |w a second envir|
00001140  6f 6e 6d 65 6e 74 61 6c  20 76 61 72 69 61 62 6c  |onmental variabl|
00001150  65 20 63 61 6c 6c 65 64  20 54 72 61 73 68 57 6f  |e called TrashWo|
00001160  72 6b 24 44 69 72 20 64  65 63 6c 61 72 65 64 20  |rk$Dir declared |
00001170  69 6e 20 74 68 65 20 21  52 75 6e 0a 66 69 6c 65  |in the !Run.file|
00001180  2e 20 54 68 69 73 20 69  73 20 75 73 65 64 20 62  |. This is used b|
00001190  79 20 74 68 65 20 54 72  61 73 68 20 43 61 6e 20  |y the Trash Can |
000011a0  4d 6f 64 75 6c 65 20 74  6f 20 6c 6f 63 61 74 65  |Module to locate|
000011b0  20 74 68 65 20 73 70 72  69 74 65 73 20 61 6e 64  | the sprites and|
000011c0  20 74 65 6d 70 6c 61 74  65 0a 66 69 6c 65 73 20  | template.files |
000011d0  69 74 20 6e 65 65 64 73  2e 0a 0a 50 72 6f 62 6c  |it needs...Probl|
000011e0  65 6d 73 20 77 69 74 68  20 66 6c 6f 70 70 79 20  |ems with floppy |
000011f0  64 69 73 63 2d 62 61 73  65 64 20 54 72 61 73 68  |disc-based Trash|
00001200  20 43 61 6e 0a 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | Can.-----------|
00001210  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00001220  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 0a  |--------------..|
00001230  49 66 20 79 6f 75 20 73  70 65 63 69 66 79 20 3c  |If you specify <|
00001240  4f 62 65 79 24 44 69 72  3e 20 69 6e 20 74 68 65  |Obey$Dir> in the|
00001250  20 54 72 61 73 68 24 44  69 72 20 76 61 72 69 61  | Trash$Dir varia|
00001260  62 6c 65 2c 20 74 68 65  6e 20 74 68 65 20 64 69  |ble, then the di|
00001270  73 6b 20 77 69 74 68 20  74 68 65 0a 21 54 72 61  |sk with the.!Tra|
00001280  73 68 20 64 69 72 65 63  74 6f 72 79 20 6f 6e 20  |sh directory on |
00001290  69 74 20 4d 55 53 54 20  62 65 20 69 6e 20 61 20  |it MUST be in a |
000012a0  64 72 69 76 65 20 61 74  20 61 6c 6c 20 74 69 6d  |drive at all tim|
000012b0  65 73 2e 20 49 66 20 69  74 20 69 73 6e 27 74 2c  |es. If it isn't,|
000012c0  20 74 68 65 6e 0a 74 68  65 20 46 69 6c 65 72 20  | then.the Filer |
000012d0  77 69 6c 6c 20 70 72 6f  6d 70 74 20 79 6f 75 20  |will prompt you |
000012e0  66 6f 72 20 69 74 20 56  45 52 59 20 66 72 65 71  |for it VERY freq|
000012f0  75 65 6e 74 6c 79 2e 2e  2e 0a 20 20 20 49 66 20  |uently....   If |
00001300  79 6f 75 20 64 65 63 69  64 65 20 74 6f 20 72 65  |you decide to re|
00001310  6e 61 6d 65 20 74 68 65  20 66 6c 6f 70 70 79 20  |name the floppy |
00001320  64 69 73 6b 20 28 2a 4e  61 6d 65 44 69 73 63 20  |disk (*NameDisc |
00001330  6f 72 20 77 68 61 74 65  76 65 72 29 20 74 68 61  |or whatever) tha|
00001340  74 0a 63 6f 6e 74 61 69  6e 73 20 74 68 65 20 54  |t.contains the T|
00001350  72 61 73 68 24 44 69 72  20 64 69 72 65 63 74 6f  |rash$Dir directo|
00001360  72 79 2c 20 74 68 65 6e  20 79 6f 75 20 73 68 6f  |ry, then you sho|
00001370  75 6c 64 20 72 65 73 74  61 72 74 20 74 68 65 20  |uld restart the |
00001380  54 72 61 73 68 20 43 61  6e 20 62 79 0a 64 6f 75  |Trash Can by.dou|
00001390  62 6c 65 2d 63 6c 69 63  6b 69 6e 67 20 6f 6e 20  |ble-clicking on |
000013a0  21 54 72 61 73 68 20 61  67 61 69 6e 20 74 6f 20  |!Trash again to |
000013b0  67 65 74 20 74 68 65 20  6e 65 77 20 64 69 73 6b  |get the new disk|
000013c0  20 6e 61 6d 65 20 72 65  61 64 20 69 6e 2e 0a 20  | name read in.. |
000013d0  20 20 4f 6e 65 20 74 69  70 20 66 6f 72 20 70 65  |  One tip for pe|
000013e0  6f 70 6c 65 20 77 68 6f  20 61 72 65 20 70 61 6e  |ople who are pan|
000013f0  69 63 6b 69 6e 67 20 2d  20 64 65 66 69 6e 65 20  |icking - define |
00001400  54 72 61 73 68 24 44 69  72 20 61 73 20 74 68 65  |Trash$Dir as the|
00001410  20 73 74 72 69 6e 67 0a  27 61 64 66 73 3a 24 2e  | string.'adfs:$.|
00001420  21 54 72 61 73 68 2e 54  72 61 73 68 27 20 28 74  |!Trash.Trash' (t|
00001430  68 65 20 74 68 69 72 64  20 61 6c 74 65 72 6e 61  |he third alterna|
00001440  74 69 76 65 20 6d 65 6e  74 69 6f 6e 65 64 20 61  |tive mentioned a|
00001450  62 6f 76 65 29 20 61 6e  64 20 63 6f 70 79 20 74  |bove) and copy t|
00001460  68 65 0a 21 54 72 61 73  68 20 64 69 72 65 63 74  |he.!Trash direct|
00001470  6f 72 79 20 28 77 69 74  68 6f 75 74 20 74 68 65  |ory (without the|
00001480  20 54 72 61 73 68 53 72  63 20 66 69 6c 65 20 21  | TrashSrc file !|
00001490  29 20 6f 6e 74 6f 20 61  6c 6c 20 79 6f 75 72 20  |) onto all your |
000014a0  77 6f 72 6b 64 69 73 6b  73 2e 0a 0a 49 66 20 79  |workdisks...If y|
000014b0  6f 75 20 61 72 65 20 73  74 69 6c 6c 20 61 6e 6e  |ou are still ann|
000014c0  6f 79 65 64 20 61 74 20  68 61 76 69 6e 67 20 74  |oyed at having t|
000014d0  6f 20 66 75 6d 62 6c 65  20 66 6f 72 20 64 69 73  |o fumble for dis|
000014e0  6b 73 2c 20 79 6f 75 20  63 61 6e 20 6e 6f 77 20  |ks, you can now |
000014f0  65 6e 61 62 6c 65 0a 61  20 6e 65 77 20 27 49 6d  |enable.a new 'Im|
00001500  6d 65 64 69 61 74 65 27  20 6f 70 74 69 6f 6e 20  |mediate' option |
00001510  77 68 69 63 68 20 77 69  6c 6c 20 62 79 70 61 73  |which will bypas|
00001520  73 20 74 68 65 20 54 72  61 73 68 24 44 69 72 20  |s the Trash$Dir |
00001530  64 69 72 65 63 74 6f 72  79 20 61 6e 64 0a 69 6d  |directory and.im|
00001540  6d 65 64 69 61 74 65 6c  79 20 64 65 6c 65 74 65  |mediately delete|
00001550  20 66 69 6c 65 73 20 74  68 61 74 20 61 72 65 20  | files that are |
00001560  64 72 61 67 67 65 64 20  6f 6e 74 6f 20 74 68 65  |dragged onto the|
00001570  20 54 72 61 73 68 20 43  61 6e 20 69 63 6f 6e 2e  | Trash Can icon.|
00001580  20 54 68 69 73 0a 69 73  20 6e 6f 74 20 72 65 63  | This.is not rec|
00001590  6f 6d 6d 65 6e 64 65 64  20 66 6f 72 20 68 61 72  |ommended for har|
000015a0  64 20 64 69 73 6b 20 6f  77 6e 65 72 73 20 75 6e  |d disk owners un|
000015b0  6c 65 73 73 20 79 6f 75  20 61 72 65 20 73 68 6f  |less you are sho|
000015c0  72 74 20 6f 66 20 68 61  72 64 20 64 69 73 6b 0a  |rt of hard disk.|
000015d0  73 70 61 63 65 2e 0a 0a  55 73 69 6e 67 20 74 68  |space...Using th|
000015e0  65 20 52 41 4d 20 44 69  73 6b 0a 2d 2d 2d 2d 2d  |e RAM Disk.-----|
000015f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 0a 59  |-------------..Y|
00001600  65 73 2c 20 69 74 20 69  73 20 70 6f 73 73 69 62  |es, it is possib|
00001610  6c 65 20 74 6f 20 75 73  65 20 74 68 65 20 52 41  |le to use the RA|
00001620  4d 20 44 69 73 6b 20 74  6f 20 73 74 6f 72 65 20  |M Disk to store |
00001630  74 72 61 73 68 65 64 20  66 69 6c 65 73 2c 20 62  |trashed files, b|
00001640  75 74 20 74 68 69 73 20  68 61 73 0a 73 6f 6d 65  |ut this has.some|
00001650  20 73 6e 61 67 73 3a 0a  0a 31 2e 20 46 69 6c 65  | snags:..1. File|
00001660  73 20 77 69 6c 6c 20 61  6c 77 61 79 73 20 62 65  |s will always be|
00001670  20 43 4f 50 49 45 44 2f  44 45 4c 45 54 45 44 20  | COPIED/DELETED |
00001680  28 61 73 73 75 6d 69 6e  67 20 79 6f 75 20 61 72  |(assuming you ar|
00001690  65 20 74 72 61 73 68 69  6e 67 20 61 6e 20 41 44  |e trashing an AD|
000016a0  46 53 0a 20 20 20 66 69  6c 65 29 20 72 61 74 68  |FS.   file) rath|
000016b0  65 72 20 74 68 61 6e 20  72 65 6e 61 6d 65 64 20  |er than renamed |
000016c0  2d 20 6d 61 6b 69 6e 67  20 74 68 65 20 74 72 61  |- making the tra|
000016d0  73 68 69 6e 67 20 61 20  6c 6f 74 20 73 6c 6f 77  |shing a lot slow|
000016e0  65 72 20 70 72 6f 63 65  73 73 2e 0a 0a 32 2e 20  |er process...2. |
000016f0  49 74 27 73 20 6c 69 6b  65 6c 79 20 74 68 61 74  |It's likely that|
00001700  20 74 68 65 20 73 69 7a  65 20 6f 66 20 79 6f 75  | the size of you|
00001710  72 20 52 41 4d 20 64 69  73 63 20 77 69 6c 6c 20  |r RAM disc will |
00001720  6e 6f 74 20 62 65 20 6c  61 72 67 65 20 65 6e 6f  |not be large eno|
00001730  75 67 68 20 74 6f 0a 20  20 20 74 72 61 73 68 20  |ugh to.   trash |
00001740  6d 61 6e 79 20 66 69 6c  65 73 20 28 65 73 70 65  |many files (espe|
00001750  63 69 61 6c 6c 79 20 63  6f 6d 70 61 72 65 64 20  |cially compared |
00001760  74 6f 20 61 20 68 61 72  64 20 64 69 73 6b 29 2e  |to a hard disk).|
00001770  0a 0a 33 2e 20 54 68 65  20 62 69 67 67 65 73 74  |..3. The biggest|
00001780  20 70 72 6f 62 6c 65 6d  3a 20 41 20 68 61 72 64  | problem: A hard|
00001790  20 72 65 73 65 74 20 6f  72 20 61 20 70 6f 77 65  | reset or a powe|
000017a0  72 20 6f 66 66 20 77 69  6c 6c 20 6c 6f 73 65 20  |r off will lose |
000017b0  74 68 65 20 63 6f 6e 74  65 6e 74 73 0a 20 20 20  |the contents.   |
000017c0  6f 66 20 74 68 65 20 52  41 4d 20 64 69 73 6b 20  |of the RAM disk |
000017d0  2d 20 61 6e 64 20 68 65  6e 63 65 20 61 6c 6c 20  |- and hence all |
000017e0  74 68 65 20 66 69 6c 65  73 20 79 6f 75 20 74 72  |the files you tr|
000017f0  61 73 68 65 64 20 77 69  6c 6c 20 62 65 20 69 72  |ashed will be ir|
00001800  72 65 63 6f 76 65 72 61  62 6c 65 2e 0a 0a 54 68  |recoverable...Th|
00001810  65 72 65 20 61 72 65 20  6f 6e 6c 79 20 74 77 6f  |ere are only two|
00001820  20 61 64 76 61 6e 74 61  67 65 73 20 61 73 20 66  | advantages as f|
00001830  61 72 20 61 73 20 49 20  63 61 6e 20 73 65 65 3a  |ar as I can see:|
00001840  0a 0a 31 2e 20 46 6c 6f  70 70 79 20 6f 77 6e 65  |..1. Floppy owne|
00001850  72 73 20 77 6f 6e 27 74  20 68 61 76 65 20 74 6f  |rs won't have to|
00001860  20 6b 65 65 70 20 74 68  65 20 64 69 73 6b 20 63  | keep the disk c|
00001870  6f 6e 74 61 69 6e 69 6e  67 20 54 72 61 73 68 24  |ontaining Trash$|
00001880  44 69 72 20 69 6e 20 6f  6e 65 0a 20 20 20 6f 66  |Dir in one.   of|
00001890  20 74 68 65 20 64 72 69  76 65 73 20 61 6c 6c 20  | the drives all |
000018a0  74 68 65 20 74 69 6d 65  2e 0a 0a 32 2e 20 45 6d  |the time...2. Em|
000018b0  70 74 79 69 6e 67 20 74  68 65 20 74 72 61 73 68  |ptying the trash|
000018c0  20 69 73 20 69 6e 63 72  65 64 69 62 6c 79 20 66  | is incredibly f|
000018d0  61 73 74 2e 0a 0a 49 66  2c 20 61 66 74 65 72 20  |ast...If, after |
000018e0  61 6c 6c 20 74 68 69 73  2c 20 79 6f 75 20 73 74  |all this, you st|
000018f0  69 6c 6c 20 77 61 6e 74  20 74 6f 20 75 73 65 20  |ill want to use |
00001900  74 68 65 20 52 41 4d 20  44 69 73 6b 2c 20 63 68  |the RAM Disk, ch|
00001910  61 6e 67 65 20 74 68 65  20 54 72 61 73 68 24 44  |ange the Trash$D|
00001920  69 72 0a 6c 69 6e 65 20  69 6e 20 74 68 65 20 21  |ir.line in the !|
00001930  52 75 6e 20 66 69 6c 65  20 74 6f 3a 0a 0a 53 65  |Run file to:..Se|
00001940  74 20 54 72 61 73 68 24  44 69 72 20 52 41 4d 3a  |t Trash$Dir RAM:|
00001950  24 2e 54 72 61 73 68 0a  0a 4d 61 6b 65 20 73 75  |$.Trash..Make su|
00001960  72 65 20 79 6f 75 20 68  61 76 65 20 61 20 66 61  |re you have a fa|
00001970  69 72 6c 79 20 62 69 67  20 52 41 4d 46 73 53 69  |irly big RAMFsSi|
00001980  7a 65 20 73 65 74 74 69  6e 67 20 74 6f 6f 20 28  |ze setting too (|
00001990  31 32 38 4b 20 72 65 63  6f 6d 6d 65 6e 64 65 64  |128K recommended|
000019a0  29 2e 0a 0a 54 68 65 20  54 72 61 73 68 20 43 61  |)...The Trash Ca|
000019b0  6e 20 49 63 6f 6e 20 42  61 72 20 49 63 6f 6e 20  |n Icon Bar Icon |
000019c0  28 6e 6f 77 20 6b 6e 6f  77 6e 20 61 73 20 74 68  |(now known as th|
000019d0  65 20 27 54 72 61 73 68  20 43 61 6e 20 49 63 6f  |e 'Trash Can Ico|
000019e0  6e 27 29 0a 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |n').------------|
000019f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
00001a00  0a 54 68 65 72 65 20 61  72 65 20 54 57 4f 20 70  |.There are TWO p|
00001a10  6f 73 73 69 62 6c 65 20  74 72 61 73 68 20 63 61  |ossible trash ca|
00001a20  6e 20 69 63 6f 6e 73 20  64 65 70 65 6e 64 69 6e  |n icons dependin|
00001a30  67 20 6f 6e 20 74 68 65  20 73 74 61 74 65 20 6f  |g on the state o|
00001a40  66 20 74 68 65 20 63 6f  6e 74 65 6e 74 73 0a 6f  |f the contents.o|
00001a50  66 20 74 68 65 20 54 72  61 73 68 20 43 61 6e 20  |f the Trash Can |
00001a60  3a 0a 0a 49 66 20 54 72  61 73 68 24 44 69 72 20  |:..If Trash$Dir |
00001a70  69 73 20 65 6d 70 74 79  20 6f 72 20 64 6f 65 73  |is empty or does|
00001a80  6e 27 74 20 65 78 69 73  74 2c 20 74 68 65 6e 20  |n't exist, then |
00001a90  74 68 65 20 74 68 69 6e  20 69 63 6f 6e 20 28 21  |the thin icon (!|
00001aa0  74 72 61 73 68 31 2f 33  29 20 69 73 20 75 73 65  |trash1/3) is use|
00001ab0  64 2e 0a 49 66 20 54 72  61 73 68 24 44 69 72 20  |d..If Trash$Dir |
00001ac0  69 73 20 6e 6f 74 20 65  6d 70 74 79 2c 20 74 68  |is not empty, th|
00001ad0  65 6e 20 74 68 65 20 66  61 74 20 69 63 6f 6e 20  |en the fat icon |
00001ae0  28 21 74 72 61 73 68 32  2f 34 29 20 69 73 20 75  |(!trash2/4) is u|
00001af0  73 65 64 2e 0a 0a 54 68  65 20 69 63 6f 6e 20 69  |sed...The icon i|
00001b00  73 20 75 70 64 61 74 65  64 20 64 75 72 69 6e 67  |s updated during|
00001b10  20 61 6e 79 20 2a 53 41  56 45 2c 2a 52 45 4e 41  | any *SAVE,*RENA|
00001b20  4d 45 2c 2a 44 45 4c 45  54 45 2c 2a 57 49 50 45  |ME,*DELETE,*WIPE|
00001b30  2c 2a 43 4f 50 59 2c 2a  43 52 45 41 54 45 20 6f  |,*COPY,*CREATE o|
00001b40  72 0a 66 69 6c 65 20 6f  70 65 6e 69 6e 67 20 66  |r.file opening f|
00001b50  6f 72 20 6f 75 74 70 75  74 2c 20 77 68 69 63 68  |or output, which|
00001b60  20 73 68 6f 75 6c 64 20  6d 65 61 6e 20 74 68 61  | should mean tha|
00001b70  74 20 69 74 20 72 65 66  6c 65 63 74 73 20 74 68  |t it reflects th|
00001b80  65 20 63 75 72 72 65 6e  74 0a 63 6f 6e 74 65 6e  |e current.conten|
00001b90  74 73 20 6f 66 20 54 72  61 73 68 24 44 69 72 20  |ts of Trash$Dir |
00001ba0  61 63 63 75 72 61 74 65  6c 79 2e 0a 0a 43 6f 6e  |accurately...Con|
00001bb0  74 65 78 74 2d 73 65 6e  73 69 74 69 76 65 20 68  |text-sensitive h|
00001bc0  65 6c 70 20 77 69 6c 6c  20 62 65 20 73 68 6f 77  |elp will be show|
00001bd0  6e 20 69 66 20 74 68 65  20 70 6f 69 6e 74 65 72  |n if the pointer|
00001be0  20 69 73 20 6d 6f 76 65  64 20 6f 76 65 72 20 74  | is moved over t|
00001bf0  68 65 20 54 72 61 73 68  20 43 61 6e 0a 49 63 6f  |he Trash Can.Ico|
00001c00  6e 20 77 68 69 6c 73 74  20 74 68 65 20 21 48 65  |n whilst the !He|
00001c10  6c 70 20 77 69 6e 64 6f  77 20 69 73 20 6f 70 65  |lp window is ope|
00001c20  6e 2e 20 50 75 74 20 6d  6f 72 65 20 73 69 6d 70  |n. Put more simp|
00001c30  6c 79 2c 20 74 68 65 20  68 65 6c 70 20 74 65 78  |ly, the help tex|
00001c40  74 20 63 68 61 6e 67 65  73 0a 64 65 70 65 6e 64  |t changes.depend|
00001c50  69 6e 67 20 6f 6e 20 74  68 65 20 63 75 72 72 65  |ing on the curre|
00001c60  6e 74 20 73 65 74 74 69  6e 67 73 20 6f 66 20 74  |nt settings of t|
00001c70  68 65 20 49 6d 6d 65 64  69 61 74 65 2c 20 57 61  |he Immediate, Wa|
00001c80  72 6e 69 6e 67 20 61 6e  64 20 41 6e 69 6d 61 74  |rning and Animat|
00001c90  69 6f 6e 0a 6d 6f 64 65  73 2e 0a 0a 49 66 20 53  |ion.modes...If S|
00001ca0  70 61 72 6b 20 69 73 20  69 6e 73 74 61 6c 6c 65  |park is installe|
00001cb0  64 20 61 74 20 74 68 65  20 73 61 6d 65 20 74 69  |d at the same ti|
00001cc0  6d 65 20 61 73 20 74 68  65 20 54 72 61 73 68 20  |me as the Trash |
00001cd0  43 61 6e 20 6d 6f 64 75  6c 65 2c 20 74 68 65 6e  |Can module, then|
00001ce0  20 61 6e 20 65 78 74 72  61 0a 53 70 61 72 6b 2d  | an extra.Spark-|
00001cf0  6c 69 6b 65 20 22 66 6c  61 73 68 22 20 69 73 20  |like "flash" is |
00001d00  73 68 6f 77 6e 20 6f 6e  20 74 68 65 20 54 72 61  |shown on the Tra|
00001d10  73 68 20 43 61 6e 20 69  63 6f 6e 2e 0a 0a 54 72  |sh Can icon...Tr|
00001d20  61 73 68 69 6e 67 20 46  69 6c 65 73 0a 2d 2d 2d  |ashing Files.---|
00001d30  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 0a 54 6f 20  |-----------..To |
00001d40  74 72 61 73 68 20 61 20  66 69 6c 65 2c 20 73 65  |trash a file, se|
00001d50  6c 65 63 74 20 69 74 20  75 73 69 6e 67 20 74 68  |lect it using th|
00001d60  65 20 6c 65 66 74 20 62  75 74 74 6f 6e 20 28 72  |e left button (r|
00001d70  69 67 68 74 20 62 75 74  74 6f 6e 20 69 66 20 6d  |ight button if m|
00001d80  6f 72 65 20 74 68 61 6e  0a 6f 6e 65 29 20 61 6e  |ore than.one) an|
00001d90  64 20 64 72 61 67 20 69  74 20 6f 76 65 72 20 74  |d drag it over t|
00001da0  68 65 20 74 72 61 73 68  20 63 61 6e 20 69 63 6f  |he trash can ico|
00001db0  6e 20 75 73 69 6e 67 20  74 68 65 20 6c 65 66 74  |n using the left|
00001dc0  20 62 75 74 74 6f 6e 2e  20 49 66 20 74 68 65 0a  | button. If the.|
00001dd0  27 57 61 72 6e 69 6e 67  27 20 61 6e 64 20 27 49  |'Warning' and 'I|
00001de0  6d 6d 65 64 69 61 74 65  27 20 6f 70 74 69 6f 6e  |mmediate' option|
00001df0  73 20 61 72 65 20 62 6f  74 68 20 65 6e 61 62 6c  |s are both enabl|
00001e00  65 64 2c 20 74 68 65 6e  20 74 68 65 20 62 6f 72  |ed, then the bor|
00001e10  64 65 72 20 77 69 6c 6c  20 74 75 72 6e 0a 72 65  |der will turn.re|
00001e20  64 20 77 68 69 6c 73 74  20 74 68 65 20 64 72 61  |d whilst the dra|
00001e30  67 20 69 73 20 6f 76 65  72 20 74 68 65 20 54 72  |g is over the Tr|
00001e40  61 73 68 20 43 61 6e 20  69 63 6f 6e 20 61 73 20  |ash Can icon as |
00001e50  61 20 77 61 72 6e 69 6e  67 20 74 68 61 74 20 61  |a warning that a|
00001e60  20 62 75 74 74 6f 6e 0a  72 65 6c 65 61 73 65 20  | button.release |
00001e70  77 69 6c 6c 20 69 6d 6d  65 64 69 61 74 65 6c 79  |will immediately|
00001e80  20 61 6e 64 20 69 72 72  65 74 72 69 65 76 65 61  | and irretrievea|
00001e90  62 6c 79 20 64 65 6c 65  74 65 20 74 68 65 20 64  |bly delete the d|
00001ea0  72 61 67 67 65 64 20 66  69 6c 65 73 2e 0a 0a 49  |ragged files...I|
00001eb0  66 20 74 68 65 20 27 49  6d 6d 65 64 69 61 74 65  |f the 'Immediate|
00001ec0  27 20 6f 70 74 69 6f 6e  20 69 73 20 64 69 73 61  |' option is disa|
00001ed0  62 6c 65 64 2c 20 74 68  65 20 54 72 61 73 68 20  |bled, the Trash |
00001ee0  43 61 6e 20 4d 6f 64 75  6c 65 20 77 69 6c 6c 20  |Can Module will |
00001ef0  61 74 74 65 6d 70 74 20  61 0a 2a 52 65 6e 61 6d  |attempt a.*Renam|
00001f00  65 20 66 6f 72 20 73 70  65 65 64 2e 20 49 66 20  |e for speed. If |
00001f10  74 68 69 73 20 66 61 69  6c 73 20 28 61 6e 64 20  |this fails (and |
00001f20  79 6f 75 27 72 65 20 6e  6f 74 20 74 72 79 69 6e  |you're not tryin|
00001f30  67 20 74 6f 20 62 65 20  63 6c 65 76 65 72 20 62  |g to be clever b|
00001f40  79 0a 64 72 61 67 67 69  6e 67 20 74 68 65 20 54  |y.dragging the T|
00001f50  72 61 73 68 24 44 69 72  20 64 69 72 65 63 74 6f  |rash$Dir directo|
00001f60  72 79 20 6f 6e 74 6f 20  74 68 65 20 74 72 61 73  |ry onto the tras|
00001f70  68 20 63 61 6e 20 69 63  6f 6e 20 21 29 2c 20 74  |h can icon !), t|
00001f80  68 65 6e 20 61 0a 2a 43  6f 70 79 2f 2a 44 65 6c  |hen a.*Copy/*Del|
00001f90  65 74 65 20 6d 65 63 68  61 6e 69 73 6d 20 69 73  |ete mechanism is|
00001fa0  20 75 73 65 64 20 69 6e  73 74 65 61 64 2e 20 41  | used instead. A|
00001fb0  6e 79 20 69 64 65 6e 74  69 63 61 6c 6c 79 20 6e  |ny identically n|
00001fc0  61 6d 65 64 20 66 69 6c  65 73 20 69 6e 0a 54 72  |amed files in.Tr|
00001fd0  61 73 68 24 44 69 72 20  77 69 6c 6c 20 62 65 20  |ash$Dir will be |
00001fe0  6f 76 65 72 77 72 69 74  74 65 6e 2e 0a 0a 4c 75  |overwritten...Lu|
00001ff0  63 6b 79 20 6f 77 6e 65  72 73 20 6f 66 20 56 32  |cky owners of V2|
00002000  2e 78 78 20 6f 66 20 53  70 61 72 6b 20 77 69 6c  |.xx of Spark wil|
00002010  6c 20 62 65 20 61 62 6c  65 20 74 6f 20 64 72 61  |l be able to dra|
00002020  67 20 63 6f 6d 70 72 65  73 73 65 64 20 66 69 6c  |g compressed fil|
00002030  65 73 20 66 72 6f 6d 0a  61 20 53 70 61 72 6b 20  |es from.a Spark |
00002040  41 72 63 68 69 76 65 20  77 69 6e 64 6f 77 20 6f  |Archive window o|
00002050  6e 74 6f 20 74 68 65 20  54 72 61 73 68 20 43 61  |nto the Trash Ca|
00002060  6e 20 69 63 6f 6e 2e 20  54 68 65 20 66 69 6c 65  |n icon. The file|
00002070  73 20 77 69 6c 6c 20 62  65 20 64 65 63 6f 6d 70  |s will be decomp|
00002080  72 65 73 73 65 64 0a 28  74 6f 20 61 20 74 65 6d  |ressed.(to a tem|
00002090  70 6f 72 61 72 79 20 57  69 6d 70 24 53 63 72 61  |porary Wimp$Scra|
000020a0  70 20 66 69 6c 65 29 2c  20 6d 6f 76 65 64 20 74  |p file), moved t|
000020b0  6f 20 54 72 61 73 68 24  44 69 72 20 61 6e 64 20  |o Trash$Dir and |
000020c0  74 68 65 6e 20 64 65 6c  65 74 65 64 20 66 72 6f  |then deleted fro|
000020d0  6d 20 74 68 65 0a 6f 72  69 67 69 6e 61 6c 20 41  |m the.original A|
000020e0  72 63 68 69 76 65 2e 20  50 6c 65 61 73 65 20 6e  |rchive. Please n|
000020f0  6f 74 65 3a 20 44 75 65  20 74 6f 20 74 68 65 20  |ote: Due to the |
00002100  75 73 65 20 6f 66 20 74  68 65 20 57 69 6d 70 24  |use of the Wimp$|
00002110  53 63 72 61 70 20 73 79  73 74 65 6d 2c 0a 61 6e  |Scrap system,.an|
00002120  20 41 72 63 68 69 76 65  64 20 64 69 72 65 63 74  | Archived direct|
00002130  6f 72 79 20 77 69 6c 6c  20 61 70 70 65 61 72 20  |ory will appear |
00002140  61 73 20 61 6e 20 41 52  43 48 49 56 45 20 46 49  |as an ARCHIVE FI|
00002150  4c 45 20 69 6e 20 54 72  61 73 68 24 44 69 72 20  |LE in Trash$Dir |
00002160  77 68 65 6e 20 69 74 20  69 73 0a 64 72 61 67 67  |when it is.dragg|
00002170  65 64 20 6f 6e 74 6f 20  74 68 65 20 54 72 61 73  |ed onto the Tras|
00002180  68 20 43 61 6e 2e 0a 50  4c 45 41 53 45 20 4e 4f  |h Can..PLEASE NO|
00002190  54 45 3a 20 42 65 74 61  2d 74 65 73 74 20 63 6f  |TE: Beta-test co|
000021a0  70 69 65 73 20 6f 66 20  53 70 61 72 6b 20 32 2e  |pies of Spark 2.|
000021b0  30 30 20 64 6f 20 6e 6f  74 20 62 65 68 61 76 65  |00 do not behave|
000021c0  20 70 72 6f 70 65 72 6c  79 20 77 69 74 68 0a 20  | properly with. |
000021d0  20 20 20 20 20 20 20 20  20 20 20 20 74 68 69 73  |            this|
000021e0  20 66 61 63 69 6c 69 74  79 20 28 74 68 65 79 20  | facility (they |
000021f0  68 61 76 65 20 61 20 74  65 6e 64 65 6e 63 79 20  |have a tendency |
00002200  74 6f 20 66 61 74 61 6c  6c 79 20 63 72 61 73 68  |to fatally crash|
00002210  29 2e 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |)..             |
00002220  55 73 65 20 74 68 65 20  70 72 6f 70 65 72 20 63  |Use the proper c|
00002230  6f 6d 6d 65 72 63 69 61  6c 20 72 65 6c 65 61 73  |ommercial releas|
00002240  65 20 6f 66 20 53 70 61  72 6b 20 32 2e 30 30 2e  |e of Spark 2.00.|
00002250  0a 0a 57 68 65 6e 20 79  6f 75 20 77 61 6e 74 20  |..When you want |
00002260  74 6f 20 65 6d 70 74 79  20 74 68 65 20 63 6f 6e  |to empty the con|
00002270  74 65 6e 74 73 20 6f 66  20 74 68 65 20 54 72 61  |tents of the Tra|
00002280  73 68 20 43 61 6e 2c 20  73 65 6c 65 63 74 20 74  |sh Can, select t|
00002290  68 65 20 27 45 6d 70 74  79 20 54 72 61 73 68 27  |he 'Empty Trash'|
000022a0  0a 6d 65 6d 75 20 69 74  65 6d 20 28 73 65 65 20  |.memu item (see |
000022b0  62 65 6c 6f 77 29 2e 20  49 66 20 74 68 65 20 65  |below). If the e|
000022c0  6d 70 74 79 69 6e 67 20  6f 66 20 74 68 65 20 54  |mptying of the T|
000022d0  72 61 73 68 20 43 61 6e  20 6f 72 20 74 68 65 20  |rash Can or the |
000022e0  74 72 61 73 68 69 6e 67  20 6f 66 0a 66 69 6c 65  |trashing of.file|
000022f0  73 20 66 61 69 6c 73 20  28 65 2e 67 2e 20 77 72  |s fails (e.g. wr|
00002300  69 74 65 2d 70 72 6f 74  65 63 74 65 64 20 64 69  |ite-protected di|
00002310  73 6b 2c 20 64 69 73 6b  20 66 61 75 6c 74 29 2c  |sk, disk fault),|
00002320  20 74 68 65 6e 20 61 20  73 74 61 6e 64 61 72 64  | then a standard|
00002330  20 65 72 72 6f 72 0a 64  69 61 6c 6f 67 75 65 20  | error.dialogue |
00002340  62 6f 78 20 77 69 6c 6c  20 61 70 70 65 61 72 20  |box will appear |
00002350  28 4f 4b 20 3d 20 72 65  74 72 79 2c 20 43 61 6e  |(OK = retry, Can|
00002360  63 65 6c 20 3d 20 61 62  6f 72 74 29 2e 20 49 66  |cel = abort). If|
00002370  20 74 68 65 20 6f 70 65  72 61 74 69 6f 6e 73 20  | the operations |
00002380  61 72 65 0a 4f 4b 2c 20  62 75 74 20 61 72 65 20  |are.OK, but are |
00002390  74 61 6b 69 6e 67 20 6c  6f 6e 67 65 72 20 74 68  |taking longer th|
000023a0  61 6e 20 31 20 73 65 63  6f 6e 64 2c 20 74 68 65  |an 1 second, the|
000023b0  6e 20 61 6e 20 48 6f 75  72 67 6c 61 73 73 20 70  |n an Hourglass p|
000023c0  6f 69 6e 74 65 72 20 77  69 6c 6c 20 61 70 70 65  |ointer will appe|
000023d0  61 72 2e 0a 0a 54 68 65  20 54 72 61 73 68 20 43  |ar...The Trash C|
000023e0  61 6e 20 57 69 6e 64 6f  77 0a 2d 2d 2d 2d 2d 2d  |an Window.------|
000023f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 0a  |--------------..|
00002400  57 68 65 6e 20 74 68 65  20 74 72 61 73 68 20 63  |When the trash c|
00002410  61 6e 20 69 63 6f 6e 20  69 73 20 63 6c 69 63 6b  |an icon is click|
00002420  65 64 20 6f 6e 20 75 73  69 6e 67 20 74 68 65 20  |ed on using the |
00002430  6c 65 66 74 20 6f 72 20  72 69 67 68 74 20 62 75  |left or right bu|
00002440  74 74 6f 6e 73 2c 20 61  0a 46 69 6c 65 72 20 77  |ttons, a.Filer w|
00002450  69 6e 64 6f 77 20 69 73  20 6f 70 65 6e 65 64 20  |indow is opened |
00002460  74 6f 20 73 68 6f 77 20  74 68 65 20 63 75 72 72  |to show the curr|
00002470  65 6e 74 20 63 6f 6e 74  65 6e 74 73 20 6f 66 20  |ent contents of |
00002480  54 72 61 73 68 24 44 69  72 2e 20 41 6c 6c 20 6e  |Trash$Dir. All n|
00002490  6f 72 6d 61 6c 0a 46 69  6c 65 72 20 6f 70 65 72  |ormal.Filer oper|
000024a0  61 74 69 6f 6e 73 20 63  61 6e 20 62 65 20 70 65  |ations can be pe|
000024b0  72 66 6f 72 6d 65 64 20  6f 6e 20 74 68 69 73 20  |rformed on this |
000024c0  77 69 6e 64 6f 77 2c 20  77 68 69 63 68 20 6d 61  |window, which ma|
000024d0  6b 65 73 20 69 74 20 66  61 72 20 6d 6f 72 65 0a  |kes it far more.|
000024e0  66 6c 65 78 69 62 6c 65  20 74 68 61 6e 20 61 6c  |flexible than al|
000024f0  6c 20 6f 74 68 65 72 20  54 72 61 73 68 20 43 61  |l other Trash Ca|
00002500  6e 20 57 69 6e 64 6f 77  73 20 49 27 76 65 20 73  |n Windows I've s|
00002510  65 65 6e 20 74 6f 20 64  61 74 65 20 28 68 65 20  |een to date (he |
00002520  73 61 79 73 0a 6d 6f 64  65 73 74 6c 79 20 21 29  |says.modestly !)|
00002530  2e 20 54 68 65 20 54 72  61 73 68 20 43 61 6e 20  |. The Trash Can |
00002540  57 69 6e 64 6f 77 20 43  41 4e 4e 4f 54 20 62 65  |Window CANNOT be|
00002550  20 76 69 65 77 65 64 20  77 68 69 6c 73 74 20 74  | viewed whilst t|
00002560  68 65 20 49 6d 6d 65 64  69 61 74 65 20 6f 70 74  |he Immediate opt|
00002570  69 6f 6e 0a 69 73 20 65  6e 61 62 6c 65 64 2e 0a  |ion.is enabled..|
00002580  0a 54 68 65 20 54 72 61  73 68 20 43 61 6e 20 4d  |.The Trash Can M|
00002590  65 6e 75 0a 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |enu.------------|
000025a0  2d 2d 2d 2d 2d 2d 0a 0a  57 68 65 6e 20 74 68 65  |------..When the|
000025b0  20 74 72 61 73 68 20 63  61 6e 20 69 63 6f 6e 20  | trash can icon |
000025c0  69 73 20 63 6c 69 63 6b  65 64 20 6f 6e 20 75 73  |is clicked on us|
000025d0  69 6e 67 20 74 68 65 20  6d 69 64 64 6c 65 20 62  |ing the middle b|
000025e0  75 74 74 6f 6e 2c 20 61  20 70 6f 70 2d 75 70 20  |utton, a pop-up |
000025f0  6d 65 6e 75 0a 61 70 70  65 61 72 73 20 61 73 20  |menu.appears as |
00002600  66 6f 6c 6c 6f 77 73 3a  0a 0a 20 20 20 20 49 6e  |follows:..    In|
00002610  66 6f 20 20 20 20 20 20  3d 3e 0a 0a 20 20 20 20  |fo      =>..    |
00002620  54 68 69 73 20 69 73 20  61 20 76 65 72 73 69 6f  |This is a versio|
00002630  6e 2f 61 75 74 68 6f 72  20 6d 65 73 73 61 67 65  |n/author message|
00002640  20 64 69 73 70 6c 61 79  65 64 20 61 73 20 61 20  | displayed as a |
00002650  73 74 61 6e 64 61 72 64  20 49 6e 66 6f 20 77 69  |standard Info wi|
00002660  6e 64 6f 77 2c 0a 20 20  20 20 77 68 69 63 68 20  |ndow,.    which |
00002670  63 61 6e 20 6e 6f 77 20  62 65 20 64 72 61 67 67  |can now be dragg|
00002680  65 64 20 61 72 6f 75 6e  64 20 74 68 65 20 73 63  |ed around the sc|
00002690  72 65 65 6e 20 66 6f 72  20 6e 6f 20 61 70 70 61  |reen for no appa|
000026a0  72 65 6e 74 20 72 65 61  73 6f 6e 2e 0a 20 20 20  |rent reason..   |
000026b0  20 49 74 20 77 61 73 20  63 72 65 61 74 65 64 20  | It was created |
000026c0  62 79 20 21 46 6f 72 6d  45 64 20 61 6e 64 20 73  |by !FormEd and s|
000026d0  61 76 65 64 20 69 6e 20  74 68 65 20 54 65 6d 70  |aved in the Temp|
000026e0  6c 61 74 65 73 20 66 69  6c 65 2e 20 54 68 65 72  |lates file. Ther|
000026f0  65 20 69 73 0a 20 20 20  20 21 48 65 6c 70 20 74  |e is.    !Help t|
00002700  65 78 74 20 61 76 61 69  6c 61 62 6c 65 20 66 6f  |ext available fo|
00002710  72 20 74 68 65 20 49 6e  66 6f 20 57 69 6e 64 6f  |r the Info Windo|
00002720  77 20 28 6f 76 65 72 6b  69 6c 6c 2c 20 62 75 74  |w (overkill, but|
00002730  20 73 69 6e 63 65 20 69  74 20 75 73 65 73 0a 20  | since it uses. |
00002740  20 20 20 61 20 73 70 65  63 69 61 6c 20 27 61 75  |   a special 'au|
00002750  74 6f 2d 73 74 61 6d 70  27 20 73 79 73 74 65 6d  |to-stamp' system|
00002760  20 66 6f 72 20 76 65 72  73 69 6f 6e 2f 64 61 74  | for version/dat|
00002770  65 20 73 74 61 6d 70 69  6e 67 2c 20 69 74 27 73  |e stamping, it's|
00002780  20 77 6f 72 74 68 0a 20  20 20 20 6d 65 6e 74 69  | worth.    menti|
00002790  6f 6e 69 6e 67 29 2e 0a  0a 20 20 20 20 49 6d 6d  |oning)...    Imm|
000027a0  65 64 69 61 74 65 0a 0a  20 20 20 20 49 66 20 74  |ediate..    If t|
000027b0  68 69 73 20 6f 70 74 69  6f 6e 20 69 73 20 74 69  |his option is ti|
000027c0  63 6b 65 64 2c 20 74 68  65 6e 20 61 6e 79 20 66  |cked, then any f|
000027d0  69 6c 65 73 20 64 72 61  67 67 65 64 20 6f 6e 74  |iles dragged ont|
000027e0  6f 20 74 68 65 20 54 72  61 73 68 20 43 61 6e 20  |o the Trash Can |
000027f0  69 63 6f 6e 0a 20 20 20  20 77 69 6c 6c 20 62 65  |icon.    will be|
00002800  20 69 6d 6d 65 64 69 61  74 65 6c 79 20 61 6e 64  | immediately and|
00002810  20 69 72 72 65 74 72 69  65 76 65 61 62 6c 79 20  | irretrieveably |
00002820  64 65 6c 65 74 65 64 2e  20 49 66 20 69 73 20 6e  |deleted. If is n|
00002830  6f 74 20 74 69 63 6b 65  64 2c 20 74 68 65 6e 0a  |ot ticked, then.|
00002840  20 20 20 20 74 68 65 20  66 69 6c 65 73 20 77 69  |    the files wi|
00002850  6c 6c 20 62 65 20 2a 52  65 6e 61 6d 65 64 20 28  |ll be *Renamed (|
00002860  6f 72 20 2a 43 6f 70 69  65 64 2f 2a 44 65 6c 65  |or *Copied/*Dele|
00002870  74 65 64 29 20 69 6e 74  6f 20 74 68 65 20 54 72  |ted) into the Tr|
00002880  61 73 68 24 44 69 72 0a  20 20 20 20 64 69 72 65  |ash$Dir.    dire|
00002890  63 74 6f 72 79 20 69 6e  73 74 65 61 64 2e 20 54  |ctory instead. T|
000028a0  68 65 20 49 6d 6d 65 64  69 61 74 65 20 6f 70 74  |he Immediate opt|
000028b0  69 6f 6e 20 73 74 61 74  65 20 69 73 20 73 61 76  |ion state is sav|
000028c0  65 64 20 69 6e 20 42 69  74 20 30 20 6f 66 0a 20  |ed in Bit 0 of. |
000028d0  20 20 20 43 4d 4f 53 20  52 41 4d 20 6c 6f 63 61  |   CMOS RAM loca|
000028e0  74 69 6f 6e 20 33 38 2e  0a 0a 20 20 20 20 57 61  |tion 38...    Wa|
000028f0  72 6e 69 6e 67 0a 0a 20  20 20 20 49 66 20 74 68  |rning..    If th|
00002900  69 73 20 28 61 6e 64 20  74 68 65 20 27 49 6d 6d  |is (and the 'Imm|
00002910  65 64 69 61 74 65 27 20  6f 70 74 69 6f 6e 29 20  |ediate' option) |
00002920  6f 70 74 69 6f 6e 20 69  73 20 74 69 63 6b 65 64  |option is ticked|
00002930  2c 20 74 68 65 6e 20 74  68 65 20 62 6f 72 64 65  |, then the borde|
00002940  72 0a 20 20 20 20 77 69  6c 6c 20 74 75 72 6e 20  |r.    will turn |
00002950  72 65 64 20 77 68 69 6c  73 74 20 74 68 65 20 70  |red whilst the p|
00002960  6f 69 6e 74 65 72 20 28  64 75 72 69 6e 67 20 61  |ointer (during a|
00002970  20 66 69 6c 65 20 64 72  61 67 29 20 69 73 20 73  | file drag) is s|
00002980  69 74 75 61 74 65 64 20  6f 76 65 72 20 74 68 65  |ituated over the|
00002990  0a 20 20 20 20 54 72 61  73 68 20 43 61 6e 20 69  |.    Trash Can i|
000029a0  63 6f 6e 2e 20 54 68 65  20 62 6f 72 64 65 72 20  |con. The border |
000029b0  77 69 6c 6c 20 61 6c 73  6f 20 74 75 72 6e 20 72  |will also turn r|
000029c0  65 64 20 69 66 20 74 68  65 20 27 49 6d 6d 65 64  |ed if the 'Immed|
000029d0  69 61 74 65 27 20 6f 70  74 69 6f 6e 20 69 73 0a  |iate' option is.|
000029e0  20 20 20 20 64 69 73 61  62 6c 65 64 20 61 6e 64  |    disabled and|
000029f0  20 74 68 65 20 27 45 6d  70 74 79 20 54 72 61 73  | the 'Empty Tras|
00002a00  68 27 20 6f 70 74 69 6f  6e 20 69 73 20 68 69 67  |h' option is hig|
00002a10  68 6c 69 67 68 74 65 64  2e 20 54 68 65 73 65 20  |hlighted. These |
00002a20  73 69 67 6e 61 6c 0a 20  20 20 20 27 64 61 6e 67  |signal.    'dang|
00002a30  65 72 6f 75 73 27 20 6f  70 65 72 61 74 69 6f 6e  |erous' operation|
00002a40  73 20 66 6f 72 20 74 68  65 20 75 6e 77 61 72 79  |s for the unwary|
00002a50  2e 2e 2e 20 54 68 65 20  57 61 72 6e 69 6e 67 20  |... The Warning |
00002a60  6f 70 74 69 6f 6e 20 73  74 61 74 65 20 69 73 20  |option state is |
00002a70  73 61 76 65 64 0a 20 20  20 20 69 6e 20 42 69 74  |saved.    in Bit|
00002a80  20 31 20 6f 66 20 43 4d  4f 53 20 52 41 4d 20 6c  | 1 of CMOS RAM l|
00002a90  6f 63 61 74 69 6f 6e 20  33 38 2e 0a 0a 20 20 20  |ocation 38...   |
00002aa0  20 41 6e 69 6d 61 74 69  6f 6e 0a 0a 20 20 20 20  | Animation..    |
00002ab0  49 66 20 74 68 69 73 20  6f 70 74 69 6f 6e 20 69  |If this option i|
00002ac0  73 20 74 69 63 6b 65 64  2c 20 74 68 65 6e 20 61  |s ticked, then a|
00002ad0  20 73 69 6d 70 6c 65 20  54 72 61 73 68 20 56 61  | simple Trash Va|
00002ae0  6e 20 61 6e 69 6d 61 74  69 6f 6e 20 6f 63 63 75  |n animation occu|
00002af0  72 73 20 6f 6e 0a 20 20  20 20 74 68 65 20 69 63  |rs on.    the ic|
00002b00  6f 6e 20 62 61 72 20 77  68 65 6e 65 76 65 72 20  |on bar whenever |
00002b10  27 45 6d 70 74 79 20 54  72 61 73 68 27 20 69 73  |'Empty Trash' is|
00002b20  20 73 65 6c 65 63 74 65  64 20 6f 72 20 77 68 65  | selected or whe|
00002b30  6e 20 66 69 6c 65 73 20  61 72 65 20 64 72 61 67  |n files are drag|
00002b40  67 65 64 0a 20 20 20 20  6f 6e 74 6f 20 74 68 65  |ged.    onto the|
00002b50  20 54 72 61 73 68 20 43  61 6e 20 69 63 6f 6e 20  | Trash Can icon |
00002b60  77 69 74 68 20 74 68 65  20 27 49 6d 6d 65 64 69  |with the 'Immedi|
00002b70  61 74 65 27 20 6f 70 74  69 6f 6e 20 65 6e 61 62  |ate' option enab|
00002b80  6c 65 64 2e 20 54 68 65  20 41 6e 69 6d 61 74 69  |led. The Animati|
00002b90  6f 6e 0a 20 20 20 20 6f  70 74 69 6f 6e 20 73 74  |on.    option st|
00002ba0  61 74 65 20 69 73 20 73  61 76 65 64 20 69 6e 20  |ate is saved in |
00002bb0  42 69 74 20 32 20 6f 66  20 43 4d 4f 53 20 52 41  |Bit 2 of CMOS RA|
00002bc0  4d 20 6c 6f 63 61 74 69  6f 6e 20 33 38 2e 20 4d  |M location 38. M|
00002bd0  61 6e 79 20 74 68 61 6e  6b 73 20 74 6f 0a 20 20  |any thanks to.  |
00002be0  20 20 47 61 72 79 20 42  61 72 74 6c 65 74 74 20  |  Gary Bartlett |
00002bf0  66 6f 72 20 74 68 65 20  69 6e 73 70 69 72 61 74  |for the inspirat|
00002c00  69 6f 6e 20 61 6e 64 20  74 68 65 20 73 70 72 69  |ion and the spri|
00002c10  74 65 20 64 65 66 69 6e  69 74 69 6f 6e 73 20 21  |te definitions !|
00002c20  0a 20 20 20 20 4e 4f 54  45 3a 20 54 68 65 20 61  |.    NOTE: The a|
00002c30  6e 69 6d 61 74 69 6f 6e  20 6f 6e 6c 79 20 77 6f  |nimation only wo|
00002c40  72 6b 73 20 69 6e 20 31  36 2d 63 6f 6c 6f 75 72  |rks in 16-colour|
00002c50  20 4d 4f 44 45 73 2e 0a  0a 20 20 20 20 45 6d 70  | MODEs...    Emp|
00002c60  74 79 20 54 72 61 73 68  0a 0a 20 20 20 20 54 68  |ty Trash..    Th|
00002c70  69 73 20 77 69 6c 6c 20  61 70 70 65 61 72 20 27  |is will appear '|
00002c80  73 68 61 64 65 64 27 20  28 6e 6f 72 6d 61 6c 6c  |shaded' (normall|
00002c90  79 20 67 72 65 79 29 20  69 66 20 65 69 74 68 65  |y grey) if eithe|
00002ca0  72 20 54 72 61 73 68 24  44 69 72 20 69 73 20 65  |r Trash$Dir is e|
00002cb0  6d 70 74 79 20 6f 72 0a  20 20 20 20 69 66 20 74  |mpty or.    if t|
00002cc0  68 65 20 49 6d 6d 65 64  69 61 74 65 20 6f 70 74  |he Immediate opt|
00002cd0  69 6f 6e 20 69 73 20 65  6e 61 62 6c 65 64 2c 20  |ion is enabled, |
00002ce0  62 75 74 20 73 6f 6c 69  64 20 69 66 20 69 74 20  |but solid if it |
00002cf0  63 6f 6e 74 61 69 6e 73  20 61 6e 79 20 66 69 6c  |contains any fil|
00002d00  65 73 20 61 6e 64 0a 20  20 20 20 74 68 65 20 49  |es and.    the I|
00002d10  6d 6d 65 64 69 61 74 65  20 6f 70 74 69 6f 6e 20  |mmediate option |
00002d20  69 73 20 64 69 73 61 62  6c 65 64 2e 20 54 48 49  |is disabled. THI|
00002d30  53 20 49 53 20 54 48 45  20 4f 4e 4c 59 20 57 41  |S IS THE ONLY WA|
00002d40  59 20 54 4f 20 43 4c 45  41 52 20 54 72 61 73 68  |Y TO CLEAR Trash|
00002d50  24 44 69 72 0a 20 20 20  20 75 73 69 6e 67 20 74  |$Dir.    using t|
00002d60  68 65 20 54 72 61 73 68  20 43 61 6e 20 4d 6f 64  |he Trash Can Mod|
00002d70  75 6c 65 20 2d 20 64 69  72 65 63 74 20 64 72 61  |ule - direct dra|
00002d80  67 73 20 66 72 6f 6d 20  74 68 65 20 54 72 61 73  |gs from the Tras|
00002d90  68 20 43 61 6e 20 57 69  6e 64 6f 77 0a 20 20 20  |h Can Window.   |
00002da0  20 6f 6e 74 6f 20 74 68  65 20 74 72 61 73 68 20  | onto the trash |
00002db0  63 61 6e 20 69 63 6f 6e  20 44 4f 20 4e 4f 54 20  |can icon DO NOT |
00002dc0  64 65 6c 65 74 65 20 74  68 65 20 66 69 6c 65 73  |delete the files|
00002dd0  20 28 69 6e 20 66 61 63  74 2c 20 74 68 65 79 20  | (in fact, they |
00002de0  67 65 74 0a 20 20 20 20  72 65 6e 61 6d 65 64 20  |get.    renamed |
00002df0  6f 6e 74 6f 20 74 68 65  6d 73 65 6c 76 65 73 20  |onto themselves |
00002e00  21 29 2e 0a 0a 20 20 20  20 51 75 69 74 20 20 20  |!)...    Quit   |
00002e10  20 20 20 3d 3e 0a 20 20  20 20 0a 20 20 20 20 54  |   =>.    .    T|
00002e20  68 69 73 20 70 6f 69 6e  74 73 20 74 6f 20 61 20  |his points to a |
00002e30  73 75 62 2d 6d 65 6e 75  20 77 68 69 63 68 20 68  |sub-menu which h|
00002e40  61 73 20 74 77 6f 20 6f  70 74 69 6f 6e 73 3a 0a  |as two options:.|
00002e50  0a 20 20 20 20 51 75 69  74 20 20 20 20 20 20 3d  |.    Quit      =|
00002e60  3e 20 54 65 6d 70 6f 72  61 72 79 0a 0a 20 20 20  |> Temporary..   |
00002e70  20 54 68 69 73 20 72 65  6d 6f 76 65 73 20 74 68  | This removes th|
00002e80  65 20 54 72 61 73 68 20  43 61 6e 20 75 74 69 6c  |e Trash Can util|
00002e90  69 74 79 20 66 72 6f 6d  20 74 68 65 20 44 65 73  |ity from the Des|
00002ea0  6b 74 6f 70 2c 20 62 75  74 20 74 68 65 20 6d 6f  |ktop, but the mo|
00002eb0  64 75 6c 65 20 73 74 69  6c 6c 0a 20 20 20 20 72  |dule still.    r|
00002ec0  65 6d 61 69 6e 73 20 69  6e 20 6d 65 6d 6f 72 79  |emains in memory|
00002ed0  2e 20 59 6f 75 20 63 61  6e 2c 20 6f 66 20 63 6f  |. You can, of co|
00002ee0  75 72 73 65 2c 20 75 73  65 20 74 68 65 20 54 61  |urse, use the Ta|
00002ef0  73 6b 20 4d 61 6e 61 67  65 72 20 74 6f 20 51 75  |sk Manager to Qu|
00002f00  69 74 20 74 68 65 0a 20  20 20 20 54 72 61 73 68  |it the.    Trash|
00002f10  20 43 61 6e 20 4d 6f 64  75 6c 65 20 69 6e 20 61  | Can Module in a|
00002f20  6e 20 69 64 65 6e 74 69  63 61 6c 20 77 61 79 2e  |n identical way.|
00002f30  20 54 6f 20 72 65 61 63  74 69 76 61 74 65 2c 20  | To reactivate, |
00002f40  75 73 65 20 74 68 65 20  54 61 73 6b 20 4d 61 6e  |use the Task Man|
00002f50  61 67 65 72 27 73 0a 20  20 20 20 27 4e 65 77 20  |ager's.    'New |
00002f60  54 61 73 6b 27 20 74 6f  20 74 79 70 65 20 2a 44  |Task' to type *D|
00002f70  65 73 6b 74 6f 70 5f 54  72 61 73 68 43 61 6e 20  |esktop_TrashCan |
00002f80  28 79 6f 75 20 63 61 6e  20 75 73 65 20 74 68 65  |(you can use the|
00002f90  20 66 31 32 20 6d 65 63  68 61 6e 69 73 6d 20 61  | f12 mechanism a|
00002fa0  6c 73 6f 29 0a 20 20 20  20 6f 72 20 73 69 6d 70  |lso).    or simp|
00002fb0  6c 79 20 65 78 69 74 20  61 6e 64 20 72 65 2d 65  |ly exit and re-e|
00002fc0  6e 74 65 72 20 74 68 65  20 44 65 73 6b 74 6f 70  |nter the Desktop|
00002fd0  20 28 53 68 69 66 74 2d  43 74 72 6c 2d 66 31 32  | (Shift-Ctrl-f12|
00002fe0  20 74 68 65 6e 20 2a 44  65 73 6b 74 6f 70 29 2e  | then *Desktop).|
00002ff0  0a 0a 20 20 20 20 51 75  69 74 20 20 20 20 20 20  |..    Quit      |
00003000  3d 3e 20 50 65 72 6d 61  6e 65 6e 74 20 20 20 20  |=> Permanent    |
00003010  28 74 68 69 73 20 69 73  20 74 68 65 20 64 65 66  |(this is the def|
00003020  61 75 6c 74 20 69 66 20  51 75 69 74 20 69 73 20  |ault if Quit is |
00003030  73 65 6c 65 63 74 65 64  0a 20 20 20 20 20 20 20  |selected.       |
00003040  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003050  20 20 20 20 20 20 20 20  6f 6e 20 74 68 65 20 4d  |        on the M|
00003060  41 49 4e 20 6d 65 6e 75  29 0a 0a 20 20 20 20 54  |AIN menu)..    T|
00003070  68 69 73 20 6e 6f 74 20  6f 6e 6c 79 20 72 65 6d  |his not only rem|
00003080  6f 76 65 73 20 74 68 65  20 54 72 61 73 68 20 43  |oves the Trash C|
00003090  61 6e 20 44 65 73 6b 74  6f 70 20 75 74 69 6c 69  |an Desktop utili|
000030a0  74 79 20 62 75 74 20 61  6c 73 6f 20 6b 69 6c 6c  |ty but also kill|
000030b0  73 20 74 68 65 0a 20 20  20 20 54 72 61 73 68 20  |s the.    Trash |
000030c0  43 61 6e 20 6d 6f 64 75  6c 65 20 61 6e 64 20 75  |Can module and u|
000030d0  6e 73 65 74 73 20 74 68  65 20 74 77 6f 20 65 6e  |nsets the two en|
000030e0  76 69 72 6f 6e 6d 65 6e  74 61 6c 20 76 61 72 69  |vironmental vari|
000030f0  61 62 6c 65 73 20 75 73  65 64 20 62 79 20 69 74  |ables used by it|
00003100  0a 20 20 20 20 28 54 72  61 73 68 24 44 69 72 20  |.    (Trash$Dir |
00003110  61 6e 64 20 54 72 61 73  68 57 6f 72 6b 24 44 69  |and TrashWork$Di|
00003120  72 29 2e 20 54 68 69 73  20 69 73 20 74 68 65 20  |r). This is the |
00003130  72 65 63 6f 6d 6d 65 6e  64 65 64 20 77 61 79 20  |recommended way |
00003140  74 6f 20 63 6f 6d 70 6c  65 74 65 6c 79 0a 20 20  |to completely.  |
00003150  20 20 72 65 6d 6f 76 65  20 74 68 65 20 54 72 61  |  remove the Tra|
00003160  73 68 20 43 61 6e 20 70  72 6f 67 72 61 6d 20 66  |sh Can program f|
00003170  72 6f 6d 20 74 68 65 20  73 79 73 74 65 6d 2e 0a  |rom the system..|
00003180  0a 54 68 65 20 54 72 61  73 68 20 43 61 6e 20 4d  |.The Trash Can M|
00003190  65 6e 75 20 69 73 20 6e  6f 77 20 22 70 65 72 73  |enu is now "pers|
000031a0  69 73 74 65 6e 74 22 20  2d 20 69 74 20 72 65 6d  |istent" - it rem|
000031b0  61 69 6e 73 20 6f 70 65  6e 20 69 66 20 74 68 65  |ains open if the|
000031c0  20 72 69 67 68 74 20 62  75 74 74 6f 6e 0a 69 73  | right button.is|
000031d0  20 63 6c 69 63 6b 65 64  20 6f 6e 20 61 20 6d 65  | clicked on a me|
000031e0  6e 75 20 69 74 65 6d 2e  0a 0a 52 65 63 6f 76 65  |nu item...Recove|
000031f0  72 69 6e 67 20 74 72 61  73 68 65 64 20 66 69 6c  |ring trashed fil|
00003200  65 73 0a 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |es.-------------|
00003210  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 0a 54 6f 20  |-----------..To |
00003220  72 65 63 6f 76 65 72 20  66 69 6c 65 73 20 74 68  |recover files th|
00003230  61 74 20 68 61 76 65 20  62 65 65 6e 20 74 72 61  |at have been tra|
00003240  73 68 65 64 20 77 69 74  68 20 74 68 65 20 27 49  |shed with the 'I|
00003250  6d 6d 65 64 69 61 74 65  27 20 6f 70 74 69 6f 6e  |mmediate' option|
00003260  20 64 69 73 61 62 6c 65  64 0a 28 61 73 73 75 6d  | disabled.(assum|
00003270  69 6e 67 20 74 68 61 74  20 79 6f 75 20 68 61 76  |ing that you hav|
00003280  65 6e 27 74 20 65 6d 70  74 69 65 64 20 74 68 65  |en't emptied the|
00003290  20 74 72 61 73 68 20 79  65 74 29 2c 20 6f 70 65  | trash yet), ope|
000032a0  6e 20 74 68 65 20 54 72  61 73 68 20 43 61 6e 20  |n the Trash Can |
000032b0  57 69 6e 64 6f 77 0a 28  6c 65 66 74 20 6f 72 20  |Window.(left or |
000032c0  72 69 67 68 74 20 62 75  74 74 6f 6e 29 20 61 6e  |right button) an|
000032d0  64 20 53 48 49 46 54 2d  64 72 61 67 20 74 68 65  |d SHIFT-drag the|
000032e0  20 66 69 6c 65 73 20 66  72 6f 6d 20 74 68 61 74  | files from that|
000032f0  20 77 69 6e 64 6f 77 20  6f 6e 74 6f 20 61 6e 6f  | window onto ano|
00003300  74 68 65 72 0a 6f 70 65  6e 20 46 69 6c 65 72 20  |ther.open Filer |
00003310  57 69 6e 64 6f 77 2e 20  52 65 6d 65 6d 62 65 72  |Window. Remember|
00003320  20 74 68 61 74 20 68 6f  6c 64 69 6e 67 20 64 6f  | that holding do|
00003330  77 6e 20 53 48 49 46 54  20 64 75 72 69 6e 67 20  |wn SHIFT during |
00003340  61 20 66 69 6c 65 20 64  72 61 67 20 64 65 6c 65  |a file drag dele|
00003350  74 65 73 0a 74 68 65 20  66 69 6c 65 73 20 69 6e  |tes.the files in|
00003360  20 74 68 65 20 73 6f 75  72 63 65 20 77 69 6e 64  | the source wind|
00003370  6f 77 2c 20 77 68 69 63  68 20 69 73 20 77 68 61  |ow, which is wha|
00003380  74 20 79 6f 75 20 77 61  6e 74 2e 0a 0a 57 68 61  |t you want...Wha|
00003390  74 20 63 61 6e 20 74 68  65 20 54 72 61 73 68 20  |t can the Trash |
000033a0  43 61 6e 20 4d 6f 64 75  6c 65 20 73 75 72 76 69  |Can Module survi|
000033b0  76 65 20 3f 0a 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |ve ?.-----------|
000033c0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000033d0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 0a 55 6e  |------------..Un|
000033e0  6c 69 6b 65 20 42 41 53  49 43 20 76 65 72 73 69  |like BASIC versi|
000033f0  6f 6e 73 20 6f 66 20 74  68 65 20 54 72 61 73 68  |ons of the Trash|
00003400  20 43 61 6e 2c 20 74 68  69 73 20 6d 6f 64 75 6c  | Can, this modul|
00003410  65 20 63 61 6e 20 73 75  72 76 69 76 65 3a 0a 0a  |e can survive:..|
00003420  31 2e 20 20 43 6f 6d 70  6c 65 74 65 20 77 69 70  |1.  Complete wip|
00003430  65 20 6f 66 20 61 70 70  6c 69 63 61 74 69 6f 6e  |e of application|
00003440  20 77 6f 72 6b 73 70 61  63 65 20 28 65 2e 67 2e  | workspace (e.g.|
00003450  20 2a 49 6e 69 74 53 74  6f 72 65 20 30 29 2e 0a  | *InitStore 0)..|
00003460  32 2e 20 20 45 78 69 74  20 66 72 6f 6d 20 61 6e  |2.  Exit from an|
00003470  64 20 72 65 2d 65 6e 74  72 79 20 74 6f 20 74 68  |d re-entry to th|
00003480  65 20 44 65 73 6b 74 6f  70 2e 0a 33 2e 20 20 41  |e Desktop..3.  A|
00003490  20 73 6f 66 74 20 72 65  73 65 74 2e 0a 34 2e 20  | soft reset..4. |
000034a0  20 2a 52 4d 52 65 49 6e  69 74 20 54 72 61 73 68  | *RMReInit Trash|
000034b0  43 61 6e 2e 20 20 20 20  20 20 20 20 20 20 20 20  |Can.            |
000034c0  20 7d 20 4e 6f 72 6d 61  6c 6c 79 20 69 73 73 75  | } Normally issu|
000034d0  65 64 0a 35 2e 20 20 2a  52 4d 54 69 64 79 2e 20  |ed.5.  *RMTidy. |
000034e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000034f0  20 20 20 20 20 20 20 7d  20 6f 75 74 73 69 64 65  |       } outside|
00003500  20 74 68 65 20 44 65 73  6b 74 6f 70 0a 36 2e 20  | the Desktop.6. |
00003510  20 56 61 72 69 6f 75 73  20 72 75 6e 2d 74 69 6d  | Various run-tim|
00003520  65 20 65 72 72 6f 72 73  20 28 65 2e 67 2e 20 6d  |e errors (e.g. m|
00003530  69 73 73 69 6e 67 20 73  70 72 69 74 65 73 2f 74  |issing sprites/t|
00003540  65 6d 70 6c 61 74 65 73  2c 20 6e 6f 74 20 65 6e  |emplates, not en|
00003550  6f 75 67 68 20 52 4d 41  29 2e 0a 37 2e 20 20 2a  |ough RMA)..7.  *|
00003560  55 6e 73 65 74 20 54 72  61 73 68 24 44 69 72 2e  |Unset Trash$Dir.|
00003570  0a 38 2e 20 20 53 65 74  74 69 6e 67 20 28 74 68  |.8.  Setting (th|
00003580  65 20 65 78 70 61 6e 64  65 64 29 20 54 72 61 73  |e expanded) Tras|
00003590  68 24 44 69 72 20 6c 6f  6e 67 65 72 20 74 68 61  |h$Dir longer tha|
000035a0  6e 20 36 33 20 63 68 61  72 61 63 74 65 72 73 2e  |n 63 characters.|
000035b0  0a 39 2e 20 20 54 68 65  20 54 72 61 73 68 20 43  |.9.  The Trash C|
000035c0  61 6e 20 54 65 6d 70 6f  72 61 72 79 20 51 75 69  |an Temporary Qui|
000035d0  74 20 6f 70 74 69 6f 6e  2e 0a 31 30 2e 20 53 68  |t option..10. Sh|
000035e0  75 74 64 6f 77 6e 20 6f  66 20 69 74 20 76 69 61  |utdown of it via|
000035f0  20 74 68 65 20 54 61 73  6b 20 4d 61 6e 61 67 65  | the Task Manage|
00003600  72 20 77 69 6e 64 6f 77  2e 0a 0a 50 6c 65 61 73  |r window...Pleas|
00003610  65 20 6e 6f 74 65 20 74  68 61 74 20 32 2c 20 34  |e note that 2, 4|
00003620  2c 20 35 2c 20 39 20 61  6e 64 20 31 30 20 61 62  |, 5, 9 and 10 ab|
00003630  6f 76 65 20 77 69 6c 6c  20 63 61 75 73 65 20 61  |ove will cause a|
00003640  20 72 65 6c 6f 61 64 20  6f 66 20 74 68 65 20 54  | reload of the T|
00003650  72 61 73 68 20 43 61 6e  0a 73 70 72 69 74 65 20  |rash Can.sprite |
00003660  61 6e 64 20 74 65 6d 70  6c 61 74 65 20 66 69 6c  |and template fil|
00003670  65 73 20 75 70 6f 6e 20  72 65 2d 65 6e 74 72 79  |es upon re-entry|
00003680  20 74 6f 20 74 68 65 20  44 65 73 6b 74 6f 70 2e  | to the Desktop.|
00003690  20 49 66 20 79 6f 75 20  61 72 65 20 69 6e 73 69  | If you are insi|
000036a0  64 65 20 74 68 65 0a 44  65 73 6b 74 6f 70 2c 20  |de the.Desktop, |
000036b0  74 68 65 20 54 72 61 73  68 20 43 61 6e 20 63 61  |the Trash Can ca|
000036c0  6e 20 62 65 20 72 65 73  74 61 72 74 65 64 20 62  |n be restarted b|
000036d0  79 20 69 73 73 75 69 6e  67 20 74 68 65 20 2a 44  |y issuing the *D|
000036e0  65 73 6b 74 6f 70 5f 54  72 61 73 68 43 61 6e 0a  |esktop_TrashCan.|
000036f0  63 6f 6d 6d 61 6e 64 20  61 66 74 65 72 20 61 6e  |command after an|
00003700  79 20 70 72 6f 62 6c 65  6d 73 20 68 61 76 65 20  |y problems have |
00003710  62 65 65 6e 20 66 69 78  65 64 2e 0a 0a 49 74 20  |been fixed...It |
00003720  63 61 6e 6e 6f 74 20 73  75 72 76 69 76 65 3a 0a  |cannot survive:.|
00003730  0a 31 2e 20 41 20 68 61  72 64 20 72 65 73 65 74  |.1. A hard reset|
00003740  2e 0a 32 2e 20 2a 52 4d  4b 69 6c 6c 20 54 72 61  |..2. *RMKill Tra|
00003750  73 68 43 61 6e 2e 0a 33  2e 20 2a 52 4d 43 6c 65  |shCan..3. *RMCle|
00003760  61 72 2e 0a 34 2e 20 54  68 65 20 54 72 61 73 68  |ar..4. The Trash|
00003770  20 43 61 6e 20 50 65 72  6d 61 6e 65 6e 74 20 51  | Can Permanent Q|
00003780  75 69 74 20 4f 70 74 69  6f 6e 2e 0a 35 2e 20 50  |uit Option..5. P|
00003790  6f 77 65 72 20 6f 66 66  20 61 6e 64 20 6f 6e 20  |ower off and on |
000037a0  28 6f 62 76 69 6f 75 73  20 21 29 2e 0a 0a 4b 6e  |(obvious !)...Kn|
000037b0  6f 77 6e 20 50 72 6f 62  6c 65 6d 73 20 28 73 6f  |own Problems (so|
000037c0  6d 65 20 6f 66 20 77 68  69 63 68 20 6d 61 79 20  |me of which may |
000037d0  62 65 20 66 69 78 65 64  20 69 6e 20 74 68 65 20  |be fixed in the |
000037e0  6e 65 78 74 20 72 65 6c  65 61 73 65 29 0a 2d 2d  |next release).--|
000037f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 0a 2a 20  |------------..* |
00003800  53 6f 6d 65 6f 6e 65 20  66 72 6f 6d 20 41 63 6f  |Someone from Aco|
00003810  72 6e 20 63 6c 61 69 6d  73 20 74 68 61 74 20 74  |rn claims that t|
00003820  68 65 20 62 6f 72 64 65  72 20 69 73 20 66 6c 61  |he border is fla|
00003830  73 68 65 64 20 72 65 64  20 77 68 65 6e 20 74 68  |shed red when th|
00003840  65 0a 20 20 70 6f 69 6e  74 65 72 20 69 73 20 6d  |e.  pointer is m|
00003850  6f 76 65 64 20 6f 76 65  72 20 74 68 65 20 22 45  |oved over the "E|
00003860  6d 70 74 79 20 54 72 61  73 68 22 20 6d 65 6e 75  |mpty Trash" menu|
00003870  20 69 74 65 6d 20 77 68  65 6e 20 69 74 20 69 73  | item when it is|
00003880  20 61 63 74 75 61 6c 6c  79 0a 20 20 67 72 65 79  | actually.  grey|
00003890  65 64 2d 6f 75 74 2e 20  49 20 73 75 73 70 65 63  |ed-out. I suspec|
000038a0  74 20 74 68 61 74 20 68  65 20 77 61 73 20 72 75  |t that he was ru|
000038b0  6e 6e 69 6e 67 20 61 20  76 65 72 73 69 6f 6e 20  |nning a version |
000038c0  6f 66 20 52 49 53 43 20  4f 53 20 68 69 67 68 65  |of RISC OS highe|
000038d0  72 20 74 68 61 6e 0a 20  20 32 2e 30 30 2c 20 62  |r than.  2.00, b|
000038e0  65 63 61 75 73 65 20 49  27 76 65 20 62 65 65 6e  |ecause I've been|
000038f0  20 75 6e 61 62 6c 65 20  74 6f 20 72 65 70 72 6f  | unable to repro|
00003900  64 75 63 65 20 74 68 69  73 20 66 61 75 6c 74 20  |duce this fault |
00003910  75 6e 64 65 72 20 61 6e  79 20 63 6f 6e 64 69 74  |under any condit|
00003920  69 6f 6e 73 2e 0a 0a 2a  20 54 68 65 20 54 72 61  |ions...* The Tra|
00003930  73 68 20 56 61 6e 20 66  6c 69 63 6b 65 72 73 20  |sh Van flickers |
00003940  64 75 65 20 74 6f 20 74  68 65 20 75 73 65 20 6f  |due to the use o|
00003950  66 20 57 69 6d 70 5f 53  70 72 69 74 65 4f 70 20  |f Wimp_SpriteOp |
00003960  28 6d 75 63 68 20 73 6c  6f 77 65 72 20 74 68 61  |(much slower tha|
00003970  6e 0a 20 20 4f 53 5f 53  70 72 69 74 65 4f 70 29  |n.  OS_SpriteOp)|
00003980  2e 20 54 68 69 73 20 63  61 6e 20 62 65 20 73 6f  |. This can be so|
00003990  6c 76 65 64 20 62 79 20  62 75 79 69 6e 67 20 61  |lved by buying a|
000039a0  6e 20 41 52 4d 33 20 75  70 67 72 61 64 65 20 3a  |n ARM3 upgrade :|
000039b0  2d 29 0a 0a 2a 20 54 68  65 20 22 21 73 70 61 72  |-)..* The "!spar|
000039c0  6b 20 2d 64 20 3c 66 69  6c 65 20 69 6e 73 69 64  |k -d <file insid|
000039d0  65 20 61 72 63 68 69 76  65 3e 22 20 63 6f 6d 6d  |e archive>" comm|
000039e0  61 6e 64 20 69 6e 20 74  68 65 20 63 6f 6d 6d 61  |and in the comma|
000039f0  6e 64 20 77 69 6e 64 6f  77 20 6f 66 0a 20 20 53  |nd window of.  S|
00003a00  70 61 72 6b 20 32 2e 30  30 20 28 31 35 20 4a 75  |park 2.00 (15 Ju|
00003a10  6e 20 39 30 20 76 65 72  73 69 6f 6e 29 20 71 75  |n 90 version) qu|
00003a20  69 74 65 20 6f 66 74 65  6e 20 63 61 75 73 65 73  |ite often causes|
00003a30  20 53 70 61 72 6b 20 74  6f 20 66 61 74 61 6c 6c  | Spark to fatall|
00003a40  79 20 63 72 61 73 68 2e  0a 20 20 55 6e 66 6f 72  |y crash..  Unfor|
00003a50  74 75 6e 61 74 65 6c 79  2c 20 74 68 69 73 20 69  |tunately, this i|
00003a60  73 20 74 68 65 20 63 6f  6d 6d 61 6e 64 20 74 68  |s the command th|
00003a70  65 20 54 72 61 73 68 20  43 61 6e 20 6d 6f 64 75  |e Trash Can modu|
00003a80  6c 65 20 73 65 6e 64 73  20 74 6f 20 53 70 61 72  |le sends to Spar|
00003a90  6b 0a 20 20 74 6f 20 64  65 6c 65 74 65 20 61 6e  |k.  to delete an|
00003aa0  20 61 72 63 68 69 76 65  20 66 69 6c 65 2e 2e 2e  | archive file...|
00003ab0  69 74 27 73 20 75 70 20  74 6f 20 44 61 76 69 64  |it's up to David|
00003ac0  20 50 69 6c 6c 69 6e 67  20 74 6f 20 66 69 78 20  | Pilling to fix |
00003ad0  74 68 69 73 20 49 27 6d  20 61 66 72 61 69 64 2e  |this I'm afraid.|
00003ae0  0a 0a 43 6f 6e 63 6c 75  73 69 6f 6e 0a 2d 2d 2d  |..Conclusion.---|
00003af0  2d 2d 2d 2d 2d 2d 2d 0a  0a 57 65 6c 6c 2c 20 74  |-------..Well, t|
00003b00  68 61 74 27 73 20 69 74  2e 20 4d 79 20 66 69 72  |hat's it. My fir|
00003b10  73 74 20 6d 75 6c 74 69  2d 74 61 73 6b 69 6e 67  |st multi-tasking|
00003b20  20 52 49 53 43 20 4f 53  20 6d 6f 64 75 6c 65 2e  | RISC OS module.|
00003b30  20 54 68 65 20 54 72 61  73 68 20 43 61 6e 20 69  | The Trash Can i|
00003b40  63 6f 6e 73 0a 77 65 72  65 20 62 61 73 65 64 20  |cons.were based |
00003b50  28 61 73 20 77 61 73 20  74 68 65 20 69 64 65 61  |(as was the idea|
00003b60  20 6f 66 20 73 74 6f 72  69 6e 67 20 74 68 65 20  | of storing the |
00003b70  66 69 6c 65 73 20 69 6e  20 61 20 54 72 61 73 68  |files in a Trash|
00003b80  20 64 69 72 65 63 74 6f  72 79 29 20 6f 6e 0a 74  | directory) on.t|
00003b90  68 65 20 4d 61 63 69 6e  74 6f 73 68 20 69 63 6f  |he Macintosh ico|
00003ba0  6e 73 20 28 52 65 73 45  64 69 74 20 77 61 73 20  |ns (ResEdit was |
00003bb0  72 61 74 68 65 72 20 68  61 6e 64 79 2e 2e 2e 29  |rather handy...)|
00003bc0  2e 20 41 74 20 6c 65 61  73 74 20 6d 79 20 6d 6f  |. At least my mo|
00003bd0  64 75 6c 65 20 64 6f 65  73 6e 27 74 0a 65 6d 70  |dule doesn't.emp|
00003be0  74 79 20 74 68 65 20 74  72 61 73 68 20 77 68 65  |ty the trash whe|
00003bf0  6e 20 79 6f 75 20 73 74  61 72 74 20 61 20 6e 65  |n you start a ne|
00003c00  77 20 61 70 70 6c 69 63  61 74 69 6f 6e 20 6f 72  |w application or|
00003c10  20 65 6a 65 63 74 20 74  68 65 20 64 69 73 6b 20  | eject the disk |
00003c20  28 61 0a 64 69 73 67 72  61 63 65 66 75 6c 20 6f  |(a.disgraceful o|
00003c30  76 65 72 73 69 67 68 74  20 6f 6e 20 74 68 65 20  |versight on the |
00003c40  70 61 72 74 20 6f 66 20  41 70 70 6c 65 29 20 21  |part of Apple) !|
00003c50  20 48 61 76 65 20 79 6f  75 20 73 65 65 6e 20 61  | Have you seen a|
00003c60  20 62 65 74 74 65 72 20  54 72 61 73 68 20 43 61  | better Trash Ca|
00003c70  6e 0a 70 72 6f 67 72 61  6d 20 3f 20 49 66 20 73  |n.program ? If s|
00003c80  6f 2c 20 6c 65 74 20 6d  65 20 6b 6e 6f 77 20 62  |o, let me know b|
00003c90  65 63 61 75 73 65 20 6d  79 20 64 69 73 6b 73 20  |ecause my disks |
00003ca0  61 72 65 20 66 75 6c 6c  20 6f 66 20 74 68 65 6d  |are full of them|
00003cb0  20 28 61 6c 74 68 6f 75  67 68 20 79 6f 75 0a 63  | (although you.c|
00003cc0  61 6e 20 6e 6f 77 20 27  74 72 61 73 68 27 20 61  |an now 'trash' a|
00003cd0  6c 6c 20 6f 74 68 65 72  20 54 72 61 73 68 20 43  |ll other Trash C|
00003ce0  61 6e 73 20 61 70 61 72  74 20 66 72 6f 6d 20 6d  |ans apart from m|
00003cf0  69 6e 65 20 21 21 29 2e  2e 2e 0a 0a 49 20 6a 75  |ine !!).....I ju|
00003d00  73 74 20 72 65 61 6c 69  73 65 64 20 73 6f 6d 65  |st realised some|
00003d10  74 68 69 6e 67 3a 20 74  68 65 20 73 6f 75 72 63  |thing: the sourc|
00003d20  65 20 63 6f 64 65 20 66  6f 72 20 74 68 69 73 20  |e code for this |
00003d30  70 72 6f 6a 65 63 74 20  69 73 20 38 36 4b 20 6c  |project is 86K l|
00003d40  6f 6e 67 20 21 0a 57 68  61 74 20 73 74 61 72 74  |ong !.What start|
00003d50  65 64 20 6f 75 74 20 61  73 20 61 20 71 75 69 63  |ed out as a quic|
00003d60  6b 20 61 6e 64 20 64 69  72 74 79 20 68 61 63 6b  |k and dirty hack|
00003d70  20 68 61 73 20 6e 6f 77  20 62 65 63 6f 6d 65 20  | has now become |
00003d80  61 20 6c 61 62 6f 75 72  20 6f 66 20 6c 6f 76 65  |a labour of love|
00003d90  0a 61 6e 64 20 49 20 66  65 65 6c 20 74 68 65 20  |.and I feel the |
00003da0  71 75 61 6c 69 74 79 20  6f 66 20 63 6f 64 65 20  |quality of code |
00003db0  6e 6f 77 20 73 75 72 70  61 73 73 65 73 20 61 6e  |now surpasses an|
00003dc0  79 74 68 69 6e 67 20 49  20 68 61 76 65 20 70 72  |ything I have pr|
00003dd0  65 76 69 6f 75 73 6c 79  0a 72 65 6c 65 61 73 65  |eviously.release|
00003de0  64 20 69 6e 74 6f 20 74  68 65 20 50 75 62 6c 69  |d into the Publi|
00003df0  63 20 44 6f 6d 61 69 6e  2e 20 48 6f 77 65 76 65  |c Domain. Howeve|
00003e00  72 2c 20 49 27 6d 20 68  6f 70 69 6e 67 20 74 68  |r, I'm hoping th|
00003e10  61 74 20 74 68 65 20 6e  65 78 74 20 76 65 72 73  |at the next vers|
00003e20  69 6f 6e 2c 0a 56 31 2e  35 30 2c 20 77 69 6c 6c  |ion,.V1.50, will|
00003e30  20 62 65 20 6c 61 73 74  20 6d 61 69 6e 20 72 65  | be last main re|
00003e40  6c 65 61 73 65 20 66 6f  72 20 73 6f 6d 65 20 63  |lease for some c|
00003e50  6f 6e 73 69 64 65 72 61  62 6c 65 20 74 69 6d 65  |onsiderable time|
00003e60  20 2d 20 75 70 64 61 74  65 73 20 61 66 74 65 72  | - updates after|
00003e70  0a 56 31 2e 35 30 20 77  69 6c 6c 20 73 69 6d 70  |.V1.50 will simp|
00003e80  6c 79 20 62 65 20 62 75  67 2d 66 69 78 20 72 65  |ly be bug-fix re|
00003e90  6c 65 61 73 65 73 20 28  75 6e 6c 65 73 73 20 73  |leases (unless s|
00003ea0  6f 6d 65 6f 6e 65 20 73  75 67 67 65 73 74 73 20  |omeone suggests |
00003eb0  61 20 6d 69 73 73 69 6e  67 0a 66 65 61 74 75 72  |a missing.featur|
00003ec0  65 20 74 68 61 74 27 73  20 6e 6f 74 20 74 6f 6f  |e that's not too|
00003ed0  20 64 69 66 66 69 63 75  6c 74 20 74 6f 20 69 6e  | difficult to in|
00003ee0  63 6c 75 64 65 2e 2e 2e  29 2e 0a 0a 52 65 76 69  |clude...)...Revi|
00003ef0  73 69 6f 6e 20 48 69 73  74 6f 72 79 0a 2d 2d 2d  |sion History.---|
00003f00  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 0a 53  |-------------..S|
00003f10  75 70 70 6c 69 65 64 20  69 6e 20 74 68 65 20 66  |upplied in the f|
00003f20  6f 72 6d 20 6f 66 20 63  6f 6d 6d 65 6e 74 73 20  |orm of comments |
00003f30  61 74 20 74 68 65 20 73  74 61 72 74 20 6f 66 20  |at the start of |
00003f40  74 68 65 20 73 6f 75 72  63 65 20 63 6f 64 65 2e  |the source code.|
00003f50  20 4e 65 77 20 66 65 61  74 75 72 65 73 0a 69 6e  | New features.in|
00003f60  20 74 68 69 73 20 6c 61  74 65 73 74 20 72 65 6c  | this latest rel|
00003f70  65 61 73 65 20 61 72 65  20 64 65 73 63 72 69 62  |ease are describ|
00003f80  65 64 20 61 74 20 74 68  65 20 74 6f 70 20 6f 66  |ed at the top of|
00003f90  20 74 68 69 73 20 64 6f  63 75 6d 65 6e 74 2e 0a  | this document..|
00003fa0  0a 46 75 74 75 72 65 20  45 6e 68 61 6e 63 65 6d  |.Future Enhancem|
00003fb0  65 6e 74 73 20 28 73 65  65 20 22 4b 6e 6f 77 6e  |ents (see "Known|
00003fc0  20 50 72 6f 62 6c 65 6d  73 22 20 74 6f 6f 29 0a  | Problems" too).|
00003fd0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00003fe0  2d 2d 2d 0a 0a 2a 20 47  72 61 62 20 73 6f 6d 65  |---..* Grab some|
00003ff0  20 52 4d 41 20 66 6f 72  20 62 75 66 66 65 72 20  | RMA for buffer |
00004000  73 74 6f 72 61 67 65 2e  20 49 6e 20 70 61 72 74  |storage. In part|
00004010  69 63 75 6c 61 72 2c 20  74 68 65 20 65 6e 76 69  |icular, the envi|
00004020  72 6f 6e 6d 65 6e 74 61  6c 20 76 61 72 69 61 62  |ronmental variab|
00004030  6c 65 0a 20 20 74 72 61  6e 73 6c 61 74 69 6f 6e  |le.  translation|
00004040  20 62 75 66 66 65 72 2c  20 74 68 65 20 46 69 6c  | buffer, the Fil|
00004050  65 72 5f 4f 70 65 6e 2f  43 6c 6f 73 65 44 69 72  |er_Open/CloseDir|
00004060  20 4f 53 5f 43 4c 49 20  73 74 72 69 6e 67 73 2c  | OS_CLI strings,|
00004070  20 74 68 65 20 57 69 6d  70 20 70 61 6c 65 74 74  | the Wimp palett|
00004080  65 0a 20 20 61 6e 64 20  74 68 65 20 48 65 6c 70  |e.  and the Help|
00004090  20 74 65 78 74 20 28 73  74 6f 72 65 20 74 68 65  | text (store the|
000040a0  20 6c 61 74 74 65 72 20  69 6e 20 61 6e 20 21 48  | latter in an !H|
000040b0  65 6c 70 20 74 65 78 74  20 66 69 6c 65 20 61 6e  |elp text file an|
000040c0  64 20 72 65 61 64 20 61  74 0a 20 20 73 74 61 72  |d read at.  star|
000040d0  74 75 70 29 2e 0a 0a 2a  20 4f 70 74 69 6f 6e 61  |tup)...* Optiona|
000040e0  6c 20 64 69 67 69 74 69  73 65 64 20 73 6f 75 6e  |l digitised soun|
000040f0  64 20 70 6c 61 79 62 61  63 6b 20 77 68 65 6e 20  |d playback when |
00004100  74 68 65 20 74 72 61 73  68 20 69 73 20 65 6d 70  |the trash is emp|
00004110  74 69 65 64 2e 20 4e 6f  77 20 69 66 20 6f 6e 6c  |tied. Now if onl|
00004120  79 0a 20 20 52 49 53 43  20 4f 53 20 68 61 64 20  |y.  RISC OS had |
00004130  73 75 70 70 6f 72 74 20  66 6f 72 20 70 6c 61 79  |support for play|
00004140  69 6e 67 20 61 20 64 69  67 69 74 69 73 65 64 20  |ing a digitised |
00004150  73 6f 75 6e 64 20 73 61  6d 70 6c 65 20 28 72 61  |sound sample (ra|
00004160  74 68 65 72 20 74 68 61  6e 20 68 61 76 69 6e 67  |ther than having|
00004170  0a 20 20 74 6f 20 72 65  6c 79 20 75 70 6f 6e 20  |.  to rely upon |
00004180  74 68 65 20 74 68 69 72  64 2d 70 61 72 74 79 2c  |the third-party,|
00004190  20 62 75 74 20 61 64 6d  69 74 74 65 64 6c 79 20  | but admittedly |
000041a0  63 6c 65 76 65 72 2c 20  53 6f 75 6e 64 54 72 61  |clever, SoundTra|
000041b0  63 6b 65 72 20 6d 6f 64  75 6c 65 29 2e 2e 2e 0a  |cker module)....|
000041c0  0a 45 73 74 69 6d 61 74  65 64 20 44 61 74 65 20  |.Estimated Date |
000041d0  6f 66 20 52 65 6c 65 61  73 65 20 6f 66 20 56 31  |of Release of V1|
000041e0  2e 35 30 0a 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.50.------------|
000041f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00004200  2d 2d 2d 2d 2d 2d 0a 0a  41 70 70 72 6f 78 69 6d  |------..Approxim|
00004210  61 74 65 6c 79 20 44 65  63 65 6d 62 65 72 20 31  |ately December 1|
00004220  39 39 30 2c 20 62 75 74  20 6e 6f 20 67 75 61 72  |990, but no guar|
00004230  61 6e 74 65 65 73 2e 2e  2e 0a 4c 69 6b 65 6c 79  |antees....Likely|
00004240  20 74 6f 20 62 65 20 6c  61 73 74 20 74 69 6d 65  | to be last time|
00004250  20 49 20 64 6f 20 61 6e  79 20 65 78 74 65 6e 73  | I do any extens|
00004260  69 76 65 20 77 6f 72 6b  20 6f 6e 20 74 68 69 73  |ive work on this|
00004270  20 70 72 6f 67 72 61 6d  2e 0a 0a 41 20 50 6c 65  | program...A Ple|
00004280  61 20 46 72 6f 6d 20 54  68 65 20 41 75 74 68 6f  |a From The Autho|
00004290  72 0a 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |r.--------------|
000042a0  2d 2d 2d 2d 2d 2d 2d 2d  0a 0a 49 66 20 79 6f 75  |--------..If you|
000042b0  20 6d 61 6b 65 20 73 6f  6d 65 20 55 53 45 46 55  | make some USEFU|
000042c0  4c 20 63 68 61 6e 67 65  73 20 74 6f 20 74 68 65  |L changes to the|
000042d0  20 73 6f 75 72 63 65 20  6f 72 20 66 69 78 20 61  | source or fix a|
000042e0  6e 79 20 62 75 67 73 2c  20 63 61 6e 20 79 6f 75  |ny bugs, can you|
000042f0  20 70 6c 65 61 73 65 0a  73 65 6e 64 20 6d 65 20  | please.send me |
00004300  74 68 6f 73 65 20 63 68  61 6e 67 65 73 20 74 6f  |those changes to|
00004310  20 74 68 65 20 66 6f 6c  6c 6f 77 69 6e 67 20 61  | the following a|
00004320  64 64 72 65 73 73 3a 0a  0a 53 6e 61 69 6c 20 4d  |ddress:..Snail M|
00004330  61 69 6c 20 20 20 20 20  20 20 20 20 20 20 20 20  |ail             |
00004340  20 20 20 20 20 20 4a 41  4e 45 54 20 65 2d 6d 61  |      JANET e-ma|
00004350  69 6c 0a 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 20 20 20  |il.----------   |
00004360  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00004370  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 0a 52 69  |------------..Ri|
00004380  63 68 61 72 64 20 4b 2e  20 4c 6c 6f 79 64 2c 20  |chard K. Lloyd, |
00004390  20 20 20 20 20 20 20 20  20 20 20 72 6b 6c 40 75  |           rkl@u|
000043a0  6b 2e 61 63 2e 6c 69 76  2e 63 73 2e 61 6e 64 0a  |k.ac.liv.cs.and.|
000043b0  31 2c 20 42 61 6e 6b 73  20 52 6f 61 64 2c 0a 4c  |1, Banks Road,.L|
000043c0  6f 77 65 72 20 48 65 73  77 61 6c 6c 2c 0a 57 69  |ower Heswall,.Wi|
000043d0  72 72 61 6c 2c 0a 4d 65  72 73 65 79 73 69 64 65  |rral,.Merseyside|
000043e0  2e 20 4c 36 30 20 39 4a  53 0a                    |. L60 9JS.|
000043ea