home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
APPS
/
dm14.lzh
/
dm.doc
< prev
next >
Wrap
Text File
|
1996-08-30
|
14KB
|
331 lines
╔════════════════════════════╗
║ ║
║ DiskMaster ║
║ ║
║ Version 1.4 ║
║ ║
║ by Bob Devries ║
║ ║
╚════════════════════════════╝
DiskMaster v1.4 Friday, 30th August, 1996
DiskMaster
by Bob Devries
DiskMaster is a file manipulation utility I wrote for the
SECAD AS-68K computer. Since the user base for this computer is
vanishingly small, I could not wait for someone else to write a
programme like this. Since I knew that I could not be without it, I
decided that I should write it myself.
This first version will ONLY work on the SECAD AS-68K, and
probably only on one with a sixteen colour EGA screen. I haven't
tried it on anything else. Future versions may use the TermCap
Library, and I hope that an MM/1 version will come out, too.
DiskMaster is loosely based on two programmes: DMTREE on the
Tandy Colour Computer (OS-9 Level II), and XTREE on the IBM PC.
Since the SECAD AS-68K does not have a windowing interface, all
prompts have to re-draw the screen every time it is altered. This
makes for a little slowness in some parts.
As from version 1.1, DiskMaster is capable of using the system
mouse. It tries to open the device '/mouse', and if successful, it
uses it in parallel with the keyboard functions. Move the cursor,
using the mouse, to the desired file, and press the left button to
select it. Then move to the desired operation, and press the left
button again. To move down into a directory, or back to the parent,
place the cursor over the desired directory, and press the right
button. To move to the next page of filenames, move the cursor to
the double line under the last filename, and press the right button.
To move to the previous page, move the cursor to the double line
above the first filename, and press the right button.
As from version 1.2, there is an MM/1 version of DiskMaster,
and mouse support was added in version 1.3.
SYSTEM REQUIREMENTS
For the commands in DiskMaster to work, the following commands
must be in your CMDS directory, or in your PATH.
AR2, LHA, UNZIP, ZOO, UUDECODE, GZIP,
COPY, DELDIR, MOVE, ATTR.
HOW TO USE DISKMASTER
Starting DiskMaster from the command line is very easy, but
enough flexibility is built into the programme to give some measure
of control. Just type:
DM
and press ENTER, and DiskMaster will start using your current data
directory as its starting directory. Or type:
DM -d /h0
if you wish to start in the root directory of your hard drive. Any
legal RBF path descriptor will work.
If you type:
DM -c
DiskMaster v1.4 Friday, 30th August, 1996
DiskMaster will not clear the screen on exit, leaving you with the
filenames on the screen. Type:
DM -?
and you get:
Usage: DiskMaster [-c] [-d<dir name>]
-c don't clear screen on exit
dir name is initial directory
Easy?
Now, once DiskMaster is loaded, you will see a blue screen,
with white borders, with the left two-thirds of the screen devoted to
filenames in your chosen directory, and the right one-third with file
descriptor information. At the bottom of the window frame, the
current directory name is displayed. At the bottom of the screen is
a line of the commands that are available. The UP and DOWN ARROW
keys are used to move up and down in the file list. The HOME or
<CTRL>-Z key will move to the top of the current screen, and the END
or <CTRL>-V key to the bottom. The PgUp or <CTRL>-Z key will take
you to the top of the previous page, and the PgDn or <CTRL>-V key
will take you to the top of the next page of files. The BACKSPACE
and SPACE keys will move to the start and end of the current
directory. Commands are then used for each chosen file. They are:
Attr Copy Rename Del Newdir Makdir Move Tag List Unarc Help Quit Shell
Here is an explanation of each.
ATTR - This command will change the attributes of the
selected file. The file's attributes are first
displayed, followed by a prompt to change them. Use
the normal ATTR format when supplying the new
attributes. This command will not allow changes to
the directory attribute. Pressing Enter or ESC at
the prompt will abort this command. If multiple
files are tagged, you will be asked if you want to
confirm each attribute change. If you answer 'y' or
'Y', you will be asked 'Change attributes of filename
to ...'. Pressing 'y' or 'Y' will complete the
attribute change, pressing 'n' or 'N' or <ENTER> will
skip that file.
COPY - This command will copy the selected file to wherever
you want it to go. This may be a new filename, or
another directory or device, a new filename in a
different directory or device. DiskMaster checks to
see if the file already exists, and asks if you want
to overwrite if it does. It checks to see if the
destination is a directory, and if so, uses the copy
-w= format. Pressing ENTER or ESC at the prompt will
abort the command. If multiple files are tagged, you
will be asked if you want to confirm each copy, and
then if you want to overwrite the file if it exists.
If you choose 'Y' or 'y' for the confirm question,
you will be asked at each file, 'Copy filename to
path (y/N)'. Press 'y' or 'Y' to complete the copy,
or 'n' or 'N' or <ENTER> to skip that file.
DiskMaster v1.4 Friday, 30th August, 1996
RENAME - This command will change the name of the currently
selected file. DiskMaster will check to see if the
new filename already exists, and aborts with a
message if it does. Pressing ENTER or ESC at the
prompt will abort the command.
DEL - This command will delete the currently selected file.
You will be asked if you are sure before proceeding.
This command will delete a directory id that is what
is selected. DiskMaster will tell you whether it is
a file or directory you are deleting. Pressing any
other key except 'Y' or 'y' will abort this command.
If multiple files are tagged, you will be asked if
you want to confirm each deletion. Then it will
print 'Delete filename (y/N)'. Pressing 'y' or 'Y'
will complete the delete, pressing 'n' or 'N' or
<ENTER> will skip that file.
NEWDIR - This command will allow you to change to another
directory, or to another disk. Pressing ENTER or ESC
will abort this command.
MAKDIR - This command will create a new directory. The
directory will be created wherever you tell it in the
pathname. If you just supply a name, it will be
created in the current directory. DiskMaster
automatically converts the filename to UPPERCASE.
Pressing ENTER or ESC at the prompt will abort this
command.
MOVE - This command will move the currently selected file
into another directory ON THE SAME DEVICE.
DiskMaster will check if the file exists, and abort
with a message if so. If multiple files have been
tagged, you will be asked if you want to confirm each
move, then when each file is processed, DiskMaster
will ask 'Move filename to path (y/N)'. Pressing 'y'
or 'Y' will complete the command, pressing 'n' or 'N'
or <ENTER> will skip that file. The OS-9 command
MOVE, written by Lukas Zeller is used. This file is
available from the EFFO (European Forum For OS-9)
group, and also from the Internet site:
os9archive.rtsi.com.
TAG - This command highlights and un-highlights the
selected file for further processing by those
commands that support multiple files. Pressing CTRL-
T will tag or untag ALL files. If there are any
files tagged, they will be untagged.
LIST - This command will display the contents of an ASCII
file inside the borders of the main DiskMaster
screen. Nineteen lines will be displayed at a time,
press any key or the left mouse button to continue
the display, or 'Q' or 'q' or ESC or the right mouse
button to stop, and go back to the main screen. If
the highlighted file is an archive and has an
extension of .lzh, .lha, .arc, .zoo, .ar, .zip, or
.gz, this command will list the contents of the
archive.
DiskMaster v1.4 Friday, 30th August, 1996
UNARC - This command will un-archive a files with the
extensions .ar, .lha, .lzh, .gz, .uue, .zip and .zoo.
You will be asked where you want to un-archive the
files to. Supply the name of a device or directory,
or press ENTER to select the current directory.
Pressing ESC at the prompt will abort this command.
HELP - This command will bring up a multiple page help
screen. Press any key to page through the help file,
or press 'Q', 'q', or ESC to abort.
QUIT - This quits DiskMaster, and returns you to OS-9,
restoring you to the directory you started from.
SHELL - This command will clear the screen and provide you
with a shell command line prompt, with the current
directory the same as the directory shown on the
DiskMaster screen, and the prompt set to 'DM'. Type
'logout' to return to DiskMaster.
______________________________________________________________________
LEGALS
DiskMaster is SHAREWARE. Please pass it around to your
friends. If you think that DiskMaster is worth something send me
something. A box of disks is always useful (720K 3.5" is MOST
useful).
THANKS
DiskMaster would have been much more difficult to create
without Bob van der Poel's wonderful Ved and Vprint for OS-9/68000,
and Carl Kreider's 'alib.l' C library file. Thanks also goes to Rob
Unsworth, for his many bug reports and suggestions, and to all the
people on the InterNet COCO list, for their answers to my questions.
Bob Devries
InterNet: bdevries@gil.ipswichcity.qld.gov.au
Phone : +61 7 32787209
Address : 21 Virgo Street
INALA, Qld. 4077
Australia