home *** CD-ROM | disk | FTP | other *** search
- Showdir - A utility for RISC OS computers by Neil Hoggarth.
- -----------------------------------------------------------
-
- Introduction.
- -------------
- Showdir emulates the actions of the desktop filer when opening a
- directory for the first time. It scans a directory looking for applications
- and, if it finds any, running the associated "!boot" files. Running showdir
- on a directory full of applications therefore sets up filetypes, run actions
- icons, etc. without actually having to open the directory viewer. This is
- particularly useful for hard disc users who can put their applications into
- a directory and then initialise them all from within a !BOOT startup script.
- Subsiquently clicking on a document file will load the relevent editor or
- application without you having to go and look for it.
-
- Installation.
- -------------
- Copy the file "showdir" to your normal Library directory. This can
- be any directory pointed to by the system variable Run$Path but is often
- "$.Library" on your hard disc.
-
- Running the program.
- --------------------
- Before the program is run the shared C library module must be
- loaded. The program is started from the command line or within an obey
- script. The syntax of the command is as follows.
-
- showdir <filename>
-
- "<filename>" is the filename of the directory to be searched. An error will
- be generated if this parameter is missing or the directory does not exist.
-
- eg. showdir SCSI::HardDisc.$.Apps
-
- The program is intended to be used in a startup file, such as
- "!Boot" or a Desktop startup file. Run it on your application directories
- and all the filetypes, sprites, run actions, etc. for your applications will
- be automatically set up. This means that draw files have the right icon even
- if you haven't 'seen' the Draw application. If you double click on an
- Impression document then Impression loads automatically, rather than giving
- an "Impression has not been seen by the filer" error. My Desktop startup
- file includes the lines
-
- Run SCSI::4.$.!System
-
- RMensure SharedClibrary 3.50 RMload system:modules.clib
-
- showdir SCSI::4.$.Apps
- showdir SCSI::4.$.Dtp
- showdir SCSI::4.$.DDE
-
- Which sets up all the editors, Impression, file conversion
- utilities, Desktop C and so forth, to recognise their files. Remember
- that clib must be loaded before running showdir
-
- Copying.
- --------
- This program has been placed in the public domain by the author
- subject to the GNU general public licence (note that this program has
- nothing to do with th GNU project as such, I am simply borrowing the FSF's
- licence). A copy of the licence should be distributed with the program in a
- file called "Copying". You should recieve all the following files
-
- Docs This text file.
- Copying The GNU general public licence.
- Makefile A set of rules for compiling the program with "make"
- showdir The program.
- c.showdir The source code.
- ChangeLog See below.
-
- As explaned in the general licence you may modify the program and distribute
- your own version. Since different people may take the source and modify it
- independently it is imposible to come up with any consistent version
- numbering scheme. Instead I use a file which goes with the program called
- "ChangeLog". If you modify the code and subsiquently distribute your version
- then comment the changes in the code and also append an entry to ChangeLog.
- The ChangeLog file should therefore provide a "backtrace" of all the people
- who have had a hand in the code.
-
-
- All bug reports, new versions, constructive critisism, etc. to the following
- address.
-
- Neil Hoggarth
- 18 Stanmore Lane,
- Winchester,
- SO22 4AJ.
-