home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 2
/
FFMCD02.bin
/
new
/
os20
/
util
/
mfrhelp
/
mfrhelp.doc
< prev
next >
Wrap
Text File
|
1993-12-21
|
3KB
|
113 lines
MFRHelp v0.20
Written 1993 by Daniel Weber
Public Domain
If you are user of the great MagicFileRequester v2.0(d/e) by Stefan Stuntz
and of the new CygnusEd 3.5 you probably have noticed, that the CygnusEd 3.5
refuses to load a single file if the MagicFileRequester is installed.
Now, to get rid of this problem you can do the following things:
- remove the MagicFileRequester
(probably the worst idea you ever had... :-) )
- open always more than one file at the same time
(not a good solution)
- install MFRHelp
(that would be fine!)
How to Install MFRHelp
-----------------------------
The only thing you have to do to install MFRHelp correctly is to start
it *after* the MagicFileRequester installation.
This may be done by simply type its name in the Shell/CLI, or
you put it in your Startup-Sequence, User-Startup, or where ever you want.
for example (Startup-Sequence):
...
MFR install
MFRHelp
...
How to Remove MFRHelp
-----------------------------
There is no possibility to remove MFRHelp.
But note that if you remove MFR while MFRHelp is installed, you may risk a
crash since MFRHelp does still call MFR's ASLRequest() function which then
does not exist anymore.
To fix such patch conflicts use a SetFunction Watchdog like PChan
(can be found on the Aminet sites).
What Does MFRHelp
-----------------------------
Very simply, it patches the AslRequest() library vector of the asl.library v36
or higher and it checks the filerequester structure after you have selected one
or more files.
The problem now with the MagicFileRequester and the CygnusEd is that
if you have selected just one file, the MFR returns a requester structure
with the fr_NumArgs and fr_ArgList fields set to zero even (as in this
case) if the ASLFR_DoMultiSelect tag or the FRB_DOMULTISELECT bit is
set in the ASLFR_Flags1 tag. CygnusEd 3.5 on the other hand expects
a correct file list in the fr_ArgList even for a single file.
MFRHelp does now correct this structure by setting the fr_ArgList and
fr_NumArgs fields.
Please note that this correction will only be done for the CygnusEd 3.5 and
only if a multi file selection was requested.
The Source
-----------------------------
The source was completely written in assembler using the ProAsm assembler.
It should be possible to assemble it with other assemblers after one
or two small changes.
DISCLAIMER
-----------------------------
This software and documentation is provided "as is". No warranties are
made with respect to the accuracy, reliability, performance or operation
of this software and information. All use is at your own risk. The
author is not responsible for any loss of data, damages to software or
hardware that may result directly or indirectly from the use of the
described program.
Thanks to
-----------------------------
Stefan Stuntz for his great MagicFileRequester and for allowing me to put
the MFRHelp into Public Domain.
Stefan Walter, René Eberhard, Bryan Ford and Thomas Neubauer.
Contact
-----------------------------
For questions, bug reports, ideas contact me at
E-Mail: dweber@amiga.icu.net.ch
dweber@avalon.unizh.ch
Snail mail:
Daniel Weber
Hoeflistrasse 32
CH-8135 Langnau
Switzerland
Have fun!