home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
newc_dev
/
multi20.lha
/
MultiAssign.Doc
< prev
Wrap
Text File
|
1992-09-13
|
6KB
|
147 lines
******************************************************************************
* MultiAssign V2.0 *
* *
* Even better than the real thing *
* *
* © 1992 Wize Productions Denmark *
******************************************************************************
All this because I didn't like a program some 2 years back, and I needed to
practise some C-programming :-)
Uh well, here it is, the real ORIGINAL MultiAssign, designed for use with the
new WorkBench (known as V2.1 or release 37). The basics of MultiAssign have
not changed since the last release, but as Dos.library V37+ allows a LOAD of
different assign-types/styles/flavours, of course these HAD to be implemented
in this version.
So what's new?
Well, full support for the DEFER/ADD/PATH assigns, as well as support for what
we can call a 'normal' assign.
Due to the nature of WB2.1, the option to initialize a new set of preferences
has been removed, but the DefDisk option remains where it has always been
(included with new V2.1 system-default assigns ofcourse :-)).
The configuration-file is the major loser here, the design had to be changed
COMPLETELY, so you'll all have a bit work to do, but don't worry, it'll be
worth it ;-) Finally, you can rid yourself of maintaining an AssignList file
as well as a set of ASSIGN XXX: YYY: PPP: ADD statements in your Startup-
Sequence, MultiAssign will suit all your startup-assign needs ;-)
And on top of that, the executable size has been reduced by some 1000 bytes.
Well, let's get to it. For those of you who have never used/seen previous
versions of MultiAssign, here's the philosophy:
MultiAssign will ease your administration when you have one of those
systems which need a LOT of logical assignments. What it does, is reading
your configuration file (VERY quickly, only 1 I/O operation is done) and
performing ALL your assigns, thus reducing the overhead involved in
re-executing C:Assign a dozen times or so. The obvious advantage is the
speed, but personally I find it much easier to edit the MultiAssign
configuration file (1 file only), instead of having to mess around in
several Startup-files wheneever I need to chance some system-setup.
MultiAssign has a so-called 'DefDisk' option, allowing you to
(re)assign all the SYS:/SYS:#? relevant assignments to a new device. Mostly,
this option was relevant in 'the old days' when non-autoboot controllers was
common, today I mostly use it for temporary transferring my system to ie DF0:
if I don't care to install whatever I'm testing to my HD.
That's all there is to it, if you don't like it; leave it :-)
The command-line interface has changed since the last release. Let's have a
look at the new command-template:
ASSIGNLIST,D=DEFDISK/K:
Not many surprises, just enter
1> MultiAssign S:AssignList.MTA
or
1> MultiAssign DEFDISK DF0:
Both could be combined ofcourse ;-)
And the config-file has got a WHOLE new taste, it has ALSO been equipped with
a template, here it is:
ADD/S,LATE/S,PATH/S,CREATE/S,ASSIGN/A,LIST/A/M
Which should be pretty standard stuff for 2.1 folks, but let's have some
examples here.
>--- ---<
S SYS:S
>--- ---<
That was a basic one, simply assigning S: to SYS:S.
>--- ---<
S SYS:S RAM:S
>--- ---<
Now the complexity grows, S: is now assigned to SYS:S, and RAM:S is ADDed to
that. (Please consult your 2.0 manuals for more explanation on multiple-
assignments of this type)
>--- ---<
CREATE T RAM:T
>--- ---<
CREATE? Yeps, this is useful in your Startup-Sequences, MultiAssign will
check if the directory (or directories) exist(s), and create them if that is
not the case. I admit this is mostly useful for assigns like T: and ENV:,
but it could prove useful in other cases.
>--- ---<
PATH S DF0:S
>--- ---<
The equivalent of 'Assign PATH', please refer to your 2.0 manual.
>--- ---<
ADD S RAM:S
>--- ---<
The equivalent of 'Assign ADD'. Note that MultiAssign defaults to this option
on all 'extended' assigns. This means, on each line of your configuration,
the first assign is per default a LOCK (normal) Assign (this can be changed
by the PATH/ADD switches), and ALL the others on the same line will always
be ADD. This is not a bug, I'm just telling you for completeness ;-)
I guess that's all, have a look at the enclosed example 'AssignList.MTA' file
if you still are a bit confused ;-).
Oh yes, the assignlist will now accept general ';'-style comments :-)
Send your praises to:
Wize Productions Denmark
Att: Mark Cassidy
Rydsaavej 101
5210 Odense NV
Denmark
or fly me a netmail at:
Mark Cassidy#2:230/611.0@FidoNet
Mark Cassidy#39:140/101.0@AmigaNet
Thanx to Klaus Seistrup#2:230/119.0@FidoNet for.... bum bum... nothing!?!
But I'll thank him anyway, it's sort of a tradition :-)