home *** CD-ROM | disk | FTP | other *** search
-
- FixIcons version 1.2
-
- (c) 1989 by Lars R. Clausen (2:230/22.34)
-
- What FixIcons is all about:
-
- FixIcons scans through a given volume or directory, looking for Project
- icons, gathering defaulttools and changing them according to instructions
- given in a define file, normally s:FixIcons.Define.
- It was born after having been irritated too many times by WorkBench asking
- for some wierd file, or looking in a wrong place for a tool. With all the PD
- going on, I had 13 different ILBM viewers as default tools, and a like
- amount of text viewers. So I thought, why not make a program that can change
- the default tools without much inconvenience for the user. After getting to
- know that others could use it, too, I sat down and wrote it in one single
- day. I didn't know the Amiga's file system was SO easy to use!
-
-
- How to use FixIcons:
-
- FixIcons has some command line options, of course, they are as follows:
-
- dir causes FixIcons to use dir as rootdir for its scan, only looking in
- directory or volume 'dir' and its subdirs. Default rootdir is dh0:.
-
- -s causes FixIcons not to scan subdirectories.
-
- -r means ReadOnly, so FixIcons will not try to change any default tools.
- This is a safe way to get the tools.
-
- -w is like ReadOnly, except that it will change default tools according
- to the definefile (syntax explained below). This is the default mode.
-
- -lname looks through the directories, searching for the tool name. No
- changes will be made, and the tools will not be written to the
- definefile. Came up after I had some textfiles use an ILBM-viewer,
- and didn't want to use workbench to find them.
-
- -v Verbose mode. A lot of messages will be written, not only errors and
- tools found with -l option. This argument should always be placed
- after -r, -w or -l option, if you want verbose mode to work.
-
- -dname Specify definefile as 'name'. Default definefile is
- s:FixIcons.Define. If the file doesn't exist, you'll have to use the
- -n option to create a new file.
-
- -n New definefile. With this option, FixIcons won't load any definefile,
- but will write out a freshly updated file at the end. Note that -w
- option is not much use with this mode.
-
- As seen, just writing 'FixIcons' will scan dh0: quietly for tools,
- changing them and writing them to S:FixIcons.define.
- Please note that FixIcons ver 1.1 and upwards is no longer case sensitive.
-
-
- Syntax in definefiles:
-
- When FixIcons has been run once, the definefile should look something like:
-
- C:More
- :less
- ViewILBM
- DeluxePaintIII:DPaint
- showiff
- df0:Bin/display
- :c/view
-
- etc.
-
- To get FixIcons to change the tools, write after each tool a '=' and the
- new tool you want instead. Whitespaces may be put before and after the '=',
- but not in the end or the beginning of the line.
-
- The above example should, if you wanted to use C:More and C:Display, be
- changed to:
-
- C:More
- :less = C:More
- ViewILBM = C:Display
- DeluxePaintIII:DPaint = C:Display
- showiff = C:Display
- df0:Bin/display = C:Display
- :c/view = C:More
-
- When you have done this, and saved, you should run FixIcons again, but
- with the -w option. If you also use -v option, FixIcons will print out every
- dir it look in, and all tools it changes, out.
-
- Then, you could use -r and -n to get a fresh list, that should look like
-
- C:More
- C:Display
-
- It is a matter of taste if you want to do the last scan, for with the
- whole list remaining, it should be more simple to use the next time
- something new comes to you, as most conversions will be in the definefile
- already.
- As there is no way for the loader to know whether spaces before a '='
- belong to the tool or just is whitespace, you should avoid tools with
- trailing whitespace. A tool that is empty may be replaced, but you cannot
- replace anything with an empty tool, the next tool on the list will be used
- instead.
- Any line may be used for a comment without any special chars, as FixIcons
- will think the comment is a tool and write it again in the same place.
-
- Copyright notice etc.:
-
- This program is copyright 1989 by Lars Clausen, and may be copied as much
- as you like, as long as this documentation is distributed along with it, and
- I get the credit for making it. You may not take money for copying it,
- except for a reasonable fee for time and disks used.
- You may hack up the code and use it any way you want, as long as I get
- credit for my code.
- I will not be responsible for any damage or dataloss owing to the use of
- this program, as I have explained fairly precisely how to use it.
- If you like it very much, or find interesting bugs, I'd like you to send
- bugreports, ideas, other useful programs, $$$, or whatever you feel like
- sending, to:
-
- Lars R. CLausen
- Spobjergvej 87-10
- 8220 Brabrand
- Denmark
-
- Fidonet address: 2:230/22.34
- (Flames are sent to NIL:-)
-