home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
memmanagement
/
discspace_1
/
!DiscSpace
/
!Help
< prev
next >
Wrap
Text File
|
1996-10-09
|
6KB
|
128 lines
DiscSpace 1.11 (09-Oct-1996)
Purpose: Display of graphical disc usage statistics for directories
Author: Martin Wuerthner
Jahnstrasse 18
71116 Gaertringen
(Germany)
e-mail: wuerthne@minnie.informatik.uni-stuttgart.de
Runs under: RISC OS 2 or higher
supports RISC OS 3 image files and DragASprite
StrongARM compatible
Status: FREEWARE (see below)
What is does:
-------------
Have you ever wondered where all the free space on your hard disc has
gone? Do you want to know which directories consume most of your hard
disc space without having to count each directory using the filer?
This application shows a diagram of disc usage, displaying a bar for
each directory. The whole directory tree is cached so you can open
subdirectories similar to using a filer window.
How to use it:
--------------
The main menu item 'Count' leads to a standard RISC OS save box. Drag
the 'filer window icon' to the directory you are interested in (e.g.
the root directory of a drive).
You may also simply drag a directory to the icon bar icon of the
application. This is the easier way as long as you don't want to
scan the root directory of a drive.
DiscSpace scans the directory and all its subdirectories displaying
some kind of FilerAction window (offering the menu options 'Faster'
and 'Verbose' like the real FilerAction window). Note that counting
may take some time if the chosen directory is a top-level one.
Having finished the 'Count' operation, DiscSpace displays a window
which shows a 'Total' bar for the whole directory and a bar for each
subdirectory indicating how much disc space it consumes. By
double-clicking on a subdirectory, it is opened and the window is
replaced by a display of the corresponding subdirectory. By chosing
'Open parent' from the menu or by Adjust-clicking on the Close icon
or by Adjust double-clicking anywhere inside the window, you can go
up one level in the directoy tree (but no further up if yor are at
your starting directory, in this case you will hear a beep).
By default files are not shown in the window. Instead, there is one
item which shows how much space all the files in the directory consume
together. If you double-click on this item or choose 'Show files' from
the menu, this item is replaced by one item for each file in the
directory. Double-clicking on any of these file icons or choosing
'Show Files' again switches back to the original display mode. By
choosing 'Open filer' from the menu, a filer window on the currently
displayed directory is opened.
Choose 'Rescan' from the menu to have the directory scanned again
(useful if you have deleted objects in the meantime).
The current limit for file and directory names is 12 characters.
This corresponds to the limits of RISC OS (FileCore) and DOS file names.
Longer file names are simply truncated, longer directory names cause
the application to fail when trying to display the window for such
a directory.
The main menu item 'Images' determines whether DiscSpace also scans
the directory trees of image files (DOSDisc files or archives when
used with !SparkFS). If it is not ticked, images are treated as files.
The displayed size of an image file is always the size of the file
(not the sum of the sizes of the objects inside the image). So for a
DOSDisc image, the overall size usually differs from the sum of the
sizes of the objects inside (as there may be unused space inside the
image).
DiscSpace uses outline fonts wherever possible (i.e. for all icons
and menus). If you do not want this feature or if your version of the
WindowManager already uses outline fonts instead of the system font,
you may switch it off by commenting out the following line in the !Run
file:
Set DiscSpace$UseFont TRUE
or by setting the variable to FALSE.
If the application is used on a RISC PC (i.e. under RISC OS 3.5 or higher),
this option is set to FALSE automatically.
You may change the font to be used and its size by modifying the
lines:
Set DiscSpace$Font ...
SetEval DiscSpace$FontWidth ...
SetEval DiscSpace$FontHeight ...
to suit your own taste. Note that if the font is not found, the
application reverts to using the system font.
History:
version 1.03 (05-Feb-1994): - first version sent to Hensa
version 1.04 (10-Feb-1994): - fixed bug:
- Rescan took the currently displayed directory
as starting directory for the scan instead of
the previous starting directory
version 1.05 (17-Aug-1994): - switches UseFont off if run under RO 3.5 or higher
- contains style guide compliant templates (RO3 only)
version 1.06 (23-Aug-1994): - accepts a directory dragged to the icon bar
- contains sprites for iconised windows
version 1.07 (19-Dec-1994): - contains code to work around a small bug in ArcFS 2
(still present in current version which is 0.71)
version 1.08 (26-Jan-1995): - minor bug fix
version 1.09 (31-Jan-1995): - Sorry, forgot a file in 1.08 (Templates3)
- also forgot to change the Templates after a major
library revision (changed the way fonts in icons
are handled)
version 1.09b (10-Jun-1995): - Adjust double-click on the window can be used
instead of Adjust closing the window (open parent)
(suggested by Sergio Monesi)
version 1.10 (23-Jun-1996): - when an error occurs while counting (e.g. Broken
directory), counting is not aborted
version 1.11 (09-Oct-1996): - StrongARM compatible
To do:
- allow multiple windows (like the filer)
- allow multiple directory trees
- cope with longer file leaf names/directory names
- include options to count only files after a certain date, only certain file types,
not to count applications, etc.
This application is FREEWARE, i.e. it may be copied freely provided
that all files are distributed together and that none of them is
changed. Distribution is only allowed if it is not for profit or
after prior arrangement with the author.