Use with RISC OS 4
------------------

RISC OS 4 does not use CMOS RAM to store the Filer options, instead there is
a command to change them. The only problem is that there is no way to read
the current settings, so SmartOpenDir can't reset to default options. In
practice this means that you should always use mask values of F and set both
the icons and sort options for each pattern.

For example, if you used a mask/pattern pair of 31 to set small icons for a
certain pattern, you should change it to F1 to set small icons and sort by
name (assuming sort by name is your preferred default). Otherwise, if any
other pattern causes the sort options to be changed to something else,
they'll stay that way until you explicitly set them back.

In addition, you will need to have a line at the bottom of your patterns file
to match anything which hasn't been matched by one of the patterns above (ie
a pattern of *) to reset the options to your usual defaults when opening
"ordinary" directories.

Compiling
---------

The Makefile passes 2 macros to the C source, RISCOS3 and RISCOS4. The
default and recommended option is to define both of them, which makes
SmartOpenDir test whether it's running on RISC OS 4 or 3 on the fly. You can
also define just one or the other to prevent redundant code from being
included in the module if you're only going to use it on one machine. After
changing these options, "Stamp" the "cmos.h" file to ensure correct
recompilation.

