home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / customise / filerpatch / !FilerPtch / !Help next >
Encoding:
Text File  |  1993-05-04  |  11.0 KB  |  333 lines

  1.                                     FilerPatch
  2.  
  3.                            Version 1.12 (04 May 1993)
  4.  
  5.                      FilerPatch is (C) Jens H. Ovesen, 1993.
  6.  
  7.  
  8. ======================
  9. * Conditions for use *
  10. ======================
  11.  
  12.   When referring to 'FilerPatch' I mean the directory 'FilerPatch' and its
  13. contents (files and directories).
  14.   You are allowed to change your personal copy of 'FilerPatch' only.
  15.   You are not allowed to distribute modified copies of 'FilerPatch'.
  16.   You are only allowed to distribute unmodified copies of 'FilerPatch' if you
  17. don't make any profit out of it.
  18.   I (Jens H. Ovesen) retain the copyright of 'FilerPatch' at all times.
  19.  
  20.  
  21. =======================
  22. * Standard disclaimer *
  23. =======================
  24.  
  25.   No liability will be accepted for any damage to or loss of data as a result
  26. of using this application (all files in directory 'FilerPatch').
  27.   This software is provided 'as is' and using it is entirely at your own risk.
  28.  
  29.  
  30. ==========================
  31. * What 'FilerPatch' does *
  32. ==========================
  33.  
  34.   First of all: This patch is written for RISC OS 3.10 and Filer 1.64. See
  35. later under * Compatability issues * for other versions.
  36.  
  37.   'FilerPatch' patches (changes) your Filer module for the desktop. The changes
  38. are:
  39.  
  40. • Applications don't need the '!' as first character of leaf name.
  41.  
  42. • Objects can be hidden (not shown in directory viewer).
  43.  
  44. • A new option in "File 'xxx' ⇨ Access ⇨ Access details  ⇨" allows you to either
  45.   hide/unhide a file or change a directory from/to a new type application. If
  46.   you want to hide a directory, let it start with '-'. Without going into tech-
  47.   nical details, I'll say there was a pretty good reason for this not so elegant
  48.   solution.
  49.  
  50. • A hidden file is shown as '-' instead of '/' in access information.
  51.  
  52. • Display configurations for directory viewer is saved and read via a hidden
  53.   file '!FilerConf' if "Local" is ticked (see later), otherwise it's saved and
  54.   read via CMOS as usual.
  55.  
  56. • New menu item "Hidden objects" in display menu gives you the option to show
  57.   hidden objects. Your choice is saved and read via '!FilerConf' if "Local" is
  58.   ticked. Otherwise it's saved and read via CMOS.
  59.  
  60. • New menu item "Local" in display menu gives you the option of saving and
  61.   reading display configuration via '!FilerConf' individually for each
  62.   directory.
  63.  
  64. • New set type menu with all known file types. They are shown together with
  65.   their icon, if they have any.
  66.  
  67. • New menu item "Sort by value" in set type menu. If this is ticked, the file
  68.   types will be sorted by their hex value, otherwise by name. The option is
  69.   saved to CMOS.
  70.  
  71. • New menu item "Icons at left" in set type menu. If this is ticked, the file
  72.   type icons will be shown to the left of file type name, otherwise to the
  73.   right. The option is saved to CMOS.
  74.  
  75. • An application that's runned and doesn't have a '!Run' within it will be
  76.   opened instead.
  77.  
  78.  
  79.   Interactive help is supported for the new menu entries.
  80.  
  81.  
  82. =================
  83. * How to use it *
  84. =================
  85.  
  86.   Doubleclick 'FilerPatch.!Run'.
  87.   The following files will be saved:
  88.  
  89. • 'System:Filer.Filer+'. The patched filer.
  90.  
  91. • 'System:Filer.!Run'. Loads 'Filer+' and sets some environment variables. You
  92.   can run it from the desktop, then issue a 'desktop' from the TaskManger's menu
  93.   item "New task ⇨".
  94.  
  95. • 'System:Filer.!Sprites'. Icon for file type 0x50 (Filer).
  96.  
  97. • 'System:Filer.Templates'. For Filer+. Made by *me* (though I had a close look
  98.   at Acorn's).
  99.  
  100. • 'System:Filer.Messages'. For Filer+. A merge of Acorns and my messages.
  101.  
  102. • '%.DirToApp'. *DirToApp <directory> will convert a directory into a new type
  103.   application (without '!' as first character).
  104.  
  105. • '%.AppToDir'. *AppToDir <new type application> will convert a new type appli-
  106.   cation into a directory.
  107.  
  108. • '%.Hide'. *Hide <file> will hide <file> in the deskop.
  109.  
  110. • '%.UnHide'. *UnHide <file> will reverse the above.
  111.  
  112.  
  113.   Actually you can move 'System:Filer' to any other place you choose afterwards.
  114.  
  115.  
  116. ==========================
  117. * Things to look out for *
  118. ==========================
  119.  
  120.   There are some minor points to look out for. These are:
  121.  
  122. • If you change existing applications into new type applications, you'll soon
  123.   see that not all applications can handle it properly if you rename the sprites
  124.   in '!Sprites'. Making a copy of sprite 'applic' to '!applic' with Paint usual-
  125.   ly solves the problem though.
  126.  
  127. • Badly written applications may rely on other applications located on the same
  128.   path, referring to them as '!applic' for instance.
  129.  
  130. • Backdrop applications such as Pinboard and Menon don't seem to be able to run
  131.   new type applications; running 'MenonPatch' solves Menon.
  132.  
  133.   Loading 'Filer.FilerPatch' solves Pinboard and others which rely on the new
  134.   OS_File 23 and OS_GBPB 12 calls (loaded automatically by 'System:Filer.!Run').
  135.  
  136. • Because '!FilerConf' is saved in the directory concerned, there will only be
  137.   room for 76 files now (for FileCore based filling systems). I never have so
  138.   many files in a single directory, so it doesn't pose any problem to me.
  139.  
  140.   '!FilerConf' won't take any disc space, because it's just 1 byte long, so it
  141.   will be saved in the directory space of all E/F format discs.
  142.  
  143. • Impression documents won't be accepted without a '!' in the front of the leaf-
  144.   name. Sorry, but blame it on Computer Concepts, not me. I don't care, 'cause
  145.   I don't use (or have, mind you) Impression. Sysop of Quercus, Thomas Christi-
  146.   ansen, told me about this.
  147.  
  148.  
  149. =================
  150. * Bugs/features *
  151. =================
  152.  
  153.   Obviously, if I've found any damaging bugs, I would have fixed them. If *you*
  154. find any, please report back.
  155.  
  156.  
  157. ========================
  158. * Compatibility issues *
  159. ========================
  160.  
  161. • It may not work for other versions of Filer than 1.64. It will not work for
  162.   the filer in RISC OS 2.00. I've tried to make it work for others though:
  163.   There's no actual address references into the Filer module.
  164.  
  165. • As noted in * Things to look out for *.
  166.  
  167. • Hidden files and new type application only works for filling systems which
  168.   allow bit 6 of file attributes to be set/cleared. To my knowledge this is so
  169.   for all IDE/SCSI filling systems (FileCore based file systems). Don't know
  170.   about net. It is most certainly so with ADFS. It is not so with DOS and
  171.   certain archive formats. I don't know about Compression or ArcFSr/w.
  172.  
  173. • The configuration file is 10 chars long, thus not compatible with DOS unless
  174.   you have *configure truncate on.
  175.  
  176. • Other stuff I haven't noticed.
  177.  
  178.  
  179. =========
  180. * Hints *
  181. =========
  182.  
  183. • The default application sprite can be changed to a directory sprite.
  184.  
  185. • Files '!Sprites', '!Boot', '!Run' and '!Help' can be hidden too :-)
  186.  
  187. • Lock those hidden objects! As you can't see them, it's quite easy to forget
  188.   about them (the whole idea with hidden objects), so you might accidently over-
  189.   write them.
  190.  
  191. • Remember display sort by type. It's quite handy now, because of the new type
  192.   application.
  193.  
  194.  
  195. ========================
  196. * Further improvements *
  197. ========================
  198.  
  199. • Maybe window position and size should (could) be saved as part of
  200.   '!FilerConf'? Hmm.
  201.  
  202. • Some kind of alias for icons in the filer. Like having only *one* sprite in
  203.   the spritepool for several new type applications.
  204.  
  205. • A lot of hot keys for those filer operations.
  206.  
  207. • Some kind of local (hidden) trash can (sorry dustbin).
  208.  
  209. • *IconSprites <file> menu item for selection of a single sprite file.
  210.  
  211.  
  212.   Other suggestions are always welcome.
  213.  
  214.  
  215. ====================
  216. * Acknowledgements *
  217. ====================
  218.  
  219. • Thomas Olsson gave me a lot of good suggestions, some of which I followed and
  220.   some of which I didn't because of technically difficulties. He also beta
  221.   tested this patch.
  222.  
  223. • Clive Jones and Stuart Hickinbottom gave me some advice of which bit to use.
  224.   Hope I chose the one SJ Research *don't* use.
  225.  
  226. • Thomas Christiansen, Sysop of Quercus BBS, beta tested this patch.
  227.  
  228. • Guttorm Vik for making StrongEd. I couldn't do without it. Og jeg har sendt
  229.   dig 200,- DKR Guttorm. Synd du ikke fik dem. Og 400,- er s'gu for meget for en
  230.   fattig studerende.
  231.  
  232. • Dominic Symes for making Zap. It's quite usefull for hacking. I don't like it
  233.   as a plain editor though.
  234.  
  235. • Acorn for making such a nice machine. I liked the filer as it was, I just
  236.   think it could be improved. So I improved it.
  237.  
  238.  
  239. =======================
  240. * Technically details *
  241. =======================
  242.  
  243.   Filer+ rely on the fact that bit 6 of the object attributes of a file or
  244. directory hasn't got any use at all (SJ Research's filerservers seems to use
  245. it, but haven't implemented it yet, or so I have been told).
  246.  
  247. • A directory with bit 6 of object attributes set is regarded as an application.
  248.  
  249. • A file with bit 6 of object attributes set is regarded as hidden.
  250.  
  251.  
  252.   As you can see, a directory can't be hidden by setting bit 6. I could have
  253. used bit 7 for hidden files/directories, but SJ Research seems to use it al-
  254. ready (implemented). It seems to be a bit of a waste only to use bit 6 for
  255. directories. Maybe bit 7 could be used for something usefull in the future.
  256.   Although the solution (directory hidden if '-' is first char) seems crude, it
  257. is just as good as Acorn's solution with applications being recognized by a '!'.
  258. Anyway, I haven't found any use for hidden directories yet (read: haven't used
  259. it at all), so I don't care. If enough people complain, I may resort to the
  260. solution of using bit 7.
  261.  
  262.   The CMOS location used is &2A.
  263.  
  264.   Display configuration is only loaded when a directory viewer is opened. It's
  265. saved every time a change is made. Both statements assuming "Local" is ticked.
  266.  
  267.  
  268. =============
  269. * Last word *
  270. =============
  271.  
  272.   Please remember folks that the Filer 1.64 in RISC OS 3.10 is (C) Acorn (and
  273. therefore Filer+ is (C) Acorn), so please don't distribute the 'System:Filer',
  274. distribute 'FilerPatch' instead.
  275.   Do contact me to tell me about how much you like the patch :-) or (:-() to
  276. tell me what's bad.
  277.   Either way: Give me *some* feedback. Please. This only applies to the minority
  278. who read this of course.
  279.  
  280.  
  281. ============
  282. * Versions *
  283. ============
  284.  
  285. 1.00: Only released to Quercus BBS. Sysop immidiately uploaded it to Arcade BBS.
  286.   Only got new type applications. Help text part of program. A bit rough on the
  287.   edges, but it did the job. Positive feedback from a RISC OS 2.00 user,
  288.   Thomas Olsson. He also made the nice ConvertApp.
  289.  
  290. 1.01-
  291. 1.09: Not released to the public.
  292.  
  293. 1.10: Beta release.
  294.   Hidden files.
  295.   Saving of display configuration to a file.
  296.   Ditto with hidden objects.
  297.   2 extra menu items in display menu.
  298.   New option in "Access details" added.
  299.   Running an application without '!Run' will open it.
  300.   New set type menu.
  301.  
  302. 1.11: Second public release, (03 May 1993)
  303.  
  304. 1.12: Third public release, (04 May 1993)
  305.   Minor bugs removed.
  306.   FilerPatch module doesn't use swi vector anymore.
  307.   I found those bugs because Thomas Olsson got RISC OS 3.10. He seems to be a
  308.   better beta tester than Sysop of Quercus :-].
  309.  
  310. =================
  311. * Author/hacker *
  312. =================
  313.  
  314.   I can be contacted by snail-mail:
  315.  
  316. Jens H. Ovesen
  317. Tolderlundsvej 27,4.tv.
  318. DK-5000 Odense C
  319. Denmark
  320.  
  321. or by E-mail:
  322.  
  323. jho@imada.ou.dk
  324.  
  325. or at
  326.  
  327. Quercus BBS #16
  328. Phone (+45) 39 66 34 00
  329.  
  330. or by phone directly
  331.  
  332. (+45) 65 91 75 11
  333.