Home » Archimedes archive » Acorn Computing » 1994 03 subscription disc.adf » 9403s » FreeSoft/!TrashFS/!Help

FreeSoft/!TrashFS/!Help

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 » Acorn Computing » 1994 03 subscription disc.adf » 9403s
Filename: FreeSoft/!TrashFS/!Help
Read OK:
File size: 057A bytes
Load address: 0000
Exec address: 0000
File contents
Trash

This is a desktop trashcan after the fashion of the Mac version, it is
written as a module and has a * command interface from the CLI - type
*Help TrashFS from the f12 * prompt.  Just drag files to the icon on the
iconbar to trash them.  You can access the trashcan by clicking Select over
the icon, and adjust closes it.  The position of the trashcan can be altered
by changing the variable TrashFS$TrashDir in the !Run file.  Shift-drag
files out of the trashcan to take them out it is just a normal filer window.
If an action that you are about to do will result in file(s) being deleted
then you will be informed by the border changing colour to red.
The state of the options is stored in CMOS RAM - if you are wondering,
smooth makes the trashcan animation from thin to fat and vice versa
"smoother".  Immediate deletes files dragged to the icon instead of storing
them in the trashcan.  If Warning is off, no red border is displayed.
A Temporary quit removes the icon until the next reset - Permanent removes
it from memory completely.
This version has a bug fix unlike the previously distributed version.
Don't use versions with no help file - the trash directory isn't initialised
properly.
The source is provided - you can delete it to make more room on disc if
you want.  (PD Libraries & anyone distributing !TrashFS: please include the
source code)

!TrashFS is (c) David J Seery 1993
00000000  54 72 61 73 68 0a 0a 54  68 69 73 20 69 73 20 61  |Trash..This is a|
00000010  20 64 65 73 6b 74 6f 70  20 74 72 61 73 68 63 61  | desktop trashca|
00000020  6e 20 61 66 74 65 72 20  74 68 65 20 66 61 73 68  |n after the fash|
00000030  69 6f 6e 20 6f 66 20 74  68 65 20 4d 61 63 20 76  |ion of the Mac v|
00000040  65 72 73 69 6f 6e 2c 20  69 74 20 69 73 0a 77 72  |ersion, it is.wr|
00000050  69 74 74 65 6e 20 61 73  20 61 20 6d 6f 64 75 6c  |itten as a modul|
00000060  65 20 61 6e 64 20 68 61  73 20 61 20 2a 20 63 6f  |e and has a * co|
00000070  6d 6d 61 6e 64 20 69 6e  74 65 72 66 61 63 65 20  |mmand interface |
00000080  66 72 6f 6d 20 74 68 65  20 43 4c 49 20 2d 20 74  |from the CLI - t|
00000090  79 70 65 0a 2a 48 65 6c  70 20 54 72 61 73 68 46  |ype.*Help TrashF|
000000a0  53 20 66 72 6f 6d 20 74  68 65 20 66 31 32 20 2a  |S from the f12 *|
000000b0  20 70 72 6f 6d 70 74 2e  20 20 4a 75 73 74 20 64  | prompt.  Just d|
000000c0  72 61 67 20 66 69 6c 65  73 20 74 6f 20 74 68 65  |rag files to the|
000000d0  20 69 63 6f 6e 20 6f 6e  20 74 68 65 0a 69 63 6f  | icon on the.ico|
000000e0  6e 62 61 72 20 74 6f 20  74 72 61 73 68 20 74 68  |nbar to trash th|
000000f0  65 6d 2e 20 20 59 6f 75  20 63 61 6e 20 61 63 63  |em.  You can acc|
00000100  65 73 73 20 74 68 65 20  74 72 61 73 68 63 61 6e  |ess the trashcan|
00000110  20 62 79 20 63 6c 69 63  6b 69 6e 67 20 53 65 6c  | by clicking Sel|
00000120  65 63 74 20 6f 76 65 72  0a 74 68 65 20 69 63 6f  |ect over.the ico|
00000130  6e 2c 20 61 6e 64 20 61  64 6a 75 73 74 20 63 6c  |n, and adjust cl|
00000140  6f 73 65 73 20 69 74 2e  20 20 54 68 65 20 70 6f  |oses it.  The po|
00000150  73 69 74 69 6f 6e 20 6f  66 20 74 68 65 20 74 72  |sition of the tr|
00000160  61 73 68 63 61 6e 20 63  61 6e 20 62 65 20 61 6c  |ashcan can be al|
00000170  74 65 72 65 64 0a 62 79  20 63 68 61 6e 67 69 6e  |tered.by changin|
00000180  67 20 74 68 65 20 76 61  72 69 61 62 6c 65 20 54  |g the variable T|
00000190  72 61 73 68 46 53 24 54  72 61 73 68 44 69 72 20  |rashFS$TrashDir |
000001a0  69 6e 20 74 68 65 20 21  52 75 6e 20 66 69 6c 65  |in the !Run file|
000001b0  2e 20 20 53 68 69 66 74  2d 64 72 61 67 0a 66 69  |.  Shift-drag.fi|
000001c0  6c 65 73 20 6f 75 74 20  6f 66 20 74 68 65 20 74  |les out of the t|
000001d0  72 61 73 68 63 61 6e 20  74 6f 20 74 61 6b 65 20  |rashcan to take |
000001e0  74 68 65 6d 20 6f 75 74  20 69 74 20 69 73 20 6a  |them out it is j|
000001f0  75 73 74 20 61 20 6e 6f  72 6d 61 6c 20 66 69 6c  |ust a normal fil|
00000200  65 72 20 77 69 6e 64 6f  77 2e 0a 49 66 20 61 6e  |er window..If an|
00000210  20 61 63 74 69 6f 6e 20  74 68 61 74 20 79 6f 75  | action that you|
00000220  20 61 72 65 20 61 62 6f  75 74 20 74 6f 20 64 6f  | are about to do|
00000230  20 77 69 6c 6c 20 72 65  73 75 6c 74 20 69 6e 20  | will result in |
00000240  66 69 6c 65 28 73 29 20  62 65 69 6e 67 20 64 65  |file(s) being de|
00000250  6c 65 74 65 64 0a 74 68  65 6e 20 79 6f 75 20 77  |leted.then you w|
00000260  69 6c 6c 20 62 65 20 69  6e 66 6f 72 6d 65 64 20  |ill be informed |
00000270  62 79 20 74 68 65 20 62  6f 72 64 65 72 20 63 68  |by the border ch|
00000280  61 6e 67 69 6e 67 20 63  6f 6c 6f 75 72 20 74 6f  |anging colour to|
00000290  20 72 65 64 2e 0a 54 68  65 20 73 74 61 74 65 20  | red..The state |
000002a0  6f 66 20 74 68 65 20 6f  70 74 69 6f 6e 73 20 69  |of the options i|
000002b0  73 20 73 74 6f 72 65 64  20 69 6e 20 43 4d 4f 53  |s stored in CMOS|
000002c0  20 52 41 4d 20 2d 20 69  66 20 79 6f 75 20 61 72  | RAM - if you ar|
000002d0  65 20 77 6f 6e 64 65 72  69 6e 67 2c 0a 73 6d 6f  |e wondering,.smo|
000002e0  6f 74 68 20 6d 61 6b 65  73 20 74 68 65 20 74 72  |oth makes the tr|
000002f0  61 73 68 63 61 6e 20 61  6e 69 6d 61 74 69 6f 6e  |ashcan animation|
00000300  20 66 72 6f 6d 20 74 68  69 6e 20 74 6f 20 66 61  | from thin to fa|
00000310  74 20 61 6e 64 20 76 69  63 65 20 76 65 72 73 61  |t and vice versa|
00000320  0a 22 73 6d 6f 6f 74 68  65 72 22 2e 20 20 49 6d  |."smoother".  Im|
00000330  6d 65 64 69 61 74 65 20  64 65 6c 65 74 65 73 20  |mediate deletes |
00000340  66 69 6c 65 73 20 64 72  61 67 67 65 64 20 74 6f  |files dragged to|
00000350  20 74 68 65 20 69 63 6f  6e 20 69 6e 73 74 65 61  | the icon instea|
00000360  64 20 6f 66 20 73 74 6f  72 69 6e 67 0a 74 68 65  |d of storing.the|
00000370  6d 20 69 6e 20 74 68 65  20 74 72 61 73 68 63 61  |m in the trashca|
00000380  6e 2e 20 20 49 66 20 57  61 72 6e 69 6e 67 20 69  |n.  If Warning i|
00000390  73 20 6f 66 66 2c 20 6e  6f 20 72 65 64 20 62 6f  |s off, no red bo|
000003a0  72 64 65 72 20 69 73 20  64 69 73 70 6c 61 79 65  |rder is displaye|
000003b0  64 2e 0a 41 20 54 65 6d  70 6f 72 61 72 79 20 71  |d..A Temporary q|
000003c0  75 69 74 20 72 65 6d 6f  76 65 73 20 74 68 65 20  |uit removes the |
000003d0  69 63 6f 6e 20 75 6e 74  69 6c 20 74 68 65 20 6e  |icon until the n|
000003e0  65 78 74 20 72 65 73 65  74 20 2d 20 50 65 72 6d  |ext reset - Perm|
000003f0  61 6e 65 6e 74 20 72 65  6d 6f 76 65 73 0a 69 74  |anent removes.it|
00000400  20 66 72 6f 6d 20 6d 65  6d 6f 72 79 20 63 6f 6d  | from memory com|
00000410  70 6c 65 74 65 6c 79 2e  0a 54 68 69 73 20 76 65  |pletely..This ve|
00000420  72 73 69 6f 6e 20 68 61  73 20 61 20 62 75 67 20  |rsion has a bug |
00000430  66 69 78 20 75 6e 6c 69  6b 65 20 74 68 65 20 70  |fix unlike the p|
00000440  72 65 76 69 6f 75 73 6c  79 20 64 69 73 74 72 69  |reviously distri|
00000450  62 75 74 65 64 20 76 65  72 73 69 6f 6e 2e 0a 44  |buted version..D|
00000460  6f 6e 27 74 20 75 73 65  20 76 65 72 73 69 6f 6e  |on't use version|
00000470  73 20 77 69 74 68 20 6e  6f 20 68 65 6c 70 20 66  |s with no help f|
00000480  69 6c 65 20 2d 20 74 68  65 20 74 72 61 73 68 20  |ile - the trash |
00000490  64 69 72 65 63 74 6f 72  79 20 69 73 6e 27 74 20  |directory isn't |
000004a0  69 6e 69 74 69 61 6c 69  73 65 64 0a 70 72 6f 70  |initialised.prop|
000004b0  65 72 6c 79 2e 0a 54 68  65 20 73 6f 75 72 63 65  |erly..The source|
000004c0  20 69 73 20 70 72 6f 76  69 64 65 64 20 2d 20 79  | is provided - y|
000004d0  6f 75 20 63 61 6e 20 64  65 6c 65 74 65 20 69 74  |ou can delete it|
000004e0  20 74 6f 20 6d 61 6b 65  20 6d 6f 72 65 20 72 6f  | to make more ro|
000004f0  6f 6d 20 6f 6e 20 64 69  73 63 20 69 66 0a 79 6f  |om on disc if.yo|
00000500  75 20 77 61 6e 74 2e 20  20 28 50 44 20 4c 69 62  |u want.  (PD Lib|
00000510  72 61 72 69 65 73 20 26  20 61 6e 79 6f 6e 65 20  |raries & anyone |
00000520  64 69 73 74 72 69 62 75  74 69 6e 67 20 21 54 72  |distributing !Tr|
00000530  61 73 68 46 53 3a 20 70  6c 65 61 73 65 20 69 6e  |ashFS: please in|
00000540  63 6c 75 64 65 20 74 68  65 0a 73 6f 75 72 63 65  |clude the.source|
00000550  20 63 6f 64 65 29 0a 0a  21 54 72 61 73 68 46 53  | code)..!TrashFS|
00000560  20 69 73 20 28 63 29 20  44 61 76 69 64 20 4a 20  | is (c) David J |
00000570  53 65 65 72 79 20 31 39  39 33                    |Seery 1993|
0000057a