home *** CD-ROM | disk | FTP | other *** search
- ######################################################################################
- ## ##
- ## --------------------------=======< NEWS FLASH >=======-------------------------- ##
- ## ##
- ## As of version (0.08), !LongFiles has become fully PD, on the condition that the ##
- ## copyright remains with the author, and this !Help file is included in full. ##
- ## ##
- ## The author has no undertaking to provide support for !LongFiles, but may be able ##
- ## to provide help if asked in a nice way, and if he has had a good day :-) ##
- ## ##
- ## LongFilenames is (C) Jason Tribbeck/7th ARM Systems 1994. All rights reserved. ##
- ## ##
- ######################################################################################
-
- !Help for !LongFiles (0.10)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Fifth release
-
- !LongFiles provides the user with 55-character filenames. It integrates in the desktop
- completely, but needs a tad more work before it will work fully in the command-line.
-
- How it works
- ~~~~~~~~~~~~
- If any filenames longer than 10 characters are used, it will store them under a special
- filename. Several operating system vectors are claimed, which enable these translations
- to occur. The special names are :
-
- (C)JPT-###, where ### is a unique ID code for that filename in that directory.
- !!!!!!!!Z!, used to store the files inside the directory. This file is hidden from the
- filer (and most CLI read-operations, such as catalogue, but it can be copied, renamed
- and so forth - DON'T RENAME IT - IT MAY NOT LIKE IT)
-
- What works and what doesn't (updated for 0.09)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Currently, the following have been implemented :
-
- All OS_Files
- All OS_Finds
- All OS_FSControls
- All OS_GBPB
- All the other filing system vectors are not touched.
-
- Filenames are case-insensitive, so if you have the file A_Very_Long_Filename, it
- can be called by a_very_long_filename, or A_VERY_Long_fileNAME.
-
- How to get it working
- ~~~~~~~~~~~~~~~~~~~~~
- If you double-click on !LongFiles, nothing happens. However, there is a *command
- that allows you to add others :
-
- *AddLongFS <FilingSystemName>, such as SCSI, ADFS or IDEFS.
-
- You can modify the !Run accordingly...
-
- A word of warning
- ~~~~~~~~~~~~~~~~~
- Before you close down, you MUST either RMKill the module, or issue *SaveLongFSCache,
- otherwise you will loose the file renaming system. It does respond to some filer and
- service calls and saves its data then, but if you are doing some work in the CLI,
- then you'll have to do it manually before turning off.
-
- Notes
- ~~~~~
- Under WindowManager 3.22 or greater, the filer will adjust the width of its icons
- automatically. I haven't tried it on earlier versions.
-
- Also, the filer will truncate the application filenames to 12 characters for the sprites,
- so if you have an application !My_Newest_Application, then it will use the sprite name
- !My_Newest_A as the name for the sprite.
-
- In version 0.04+, there is no limit to the total number of 'long' filenames you can have,
- but you can only have a total of 76 per directory (if you are using a filecore system).
- It only has space for 79 long filenames.
-
- Short filenames (<=10) are handled by FileSwitch.
-
- If anything goes wrong
- ~~~~~~~~~~~~~~~~~~~~~~
- If anything does go seriously wrong, kill the module, and rename the files that have
- (C)JPT_### in them. Also, delete the file !!!!!!!!Z!, if there are any.
-
- It should work under **any** RISC OS, but I've only been able to test it on 3.1. I
- believe it will work under RISC OS 2, but catalogue/information probably won't work.
- RISC OS 3.5 should be fine.
-
- I cannot accept liability for any damage caused by this program, or the use of it.
-
- *Commands
- ~~~~~~~~~
- LongFilenames 0.10 has four *Commands. These are :
-
- AddLongFS
- ~~~~~~~~~
- Syntax:
-
- *AddLongFS <fsname>
-
- This adds a filing system to LongFilenames' list. <fsname> is just the filing system
- name, with no spaces afterwards.
-
- Example:
-
- *AddLongFS ADFS
-
- AddNoCacheLongFS
- ~~~~~~~~~~~~~~~~
- Syntax:
-
- *AddNoCacheLongFS <fsname>
-
- This is similar to *AddLongFS, except LongFilenames doesn't cache data from the filing
- system. All changes to FS blocks are written to the filing system immediately. This
- provides support for network-based filing systems. In version 0.08, however, it has not
- been tested on a network.
-
- Example:
- *AddNoCacheLongFS Net
-
- RemoveLongFS
- ~~~~~~~~~~~~
- Syntax:
-
- *RemoveLongFS <fsname>
-
- This is the opposite of *AddLongFS. LongFilenames will first save any cached blocks,
- and will then detach itself from the filing system.
-
- Example:
-
- *RemoveLongFS RAM
-
- SaveLongFSCache
- ~~~~~~~~~~~~~~~
- Syntax:
-
- *SaveLongFSCache
-
- In order to speed up LongFilenames, LongFilenames keeps information in a cache. This
- call ensures that any modified cached blocks are saved back to the discs. It is only
- required if you are doing work in the CLI, as it is done automatically when the WIMP
- closes down.
-
- Example:
-
- *SaveLongFSCache
-
- If you find bugs, or have any ideas
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Then contact me :
-
- jarre@equinoxe.demon.co.uk
-
- History
- ~~~~~~~
- 0.01 - Worked before FileSwitch, on all filing systems.
- 0.02 - Used one large file stored inside the application for files. Floppy problems.
- 0.03 - Changed '(C)JT-####' into '(C)JPT-###'.
- 0.04 - Has extra file ('!!!!!!!!Z!') for files, stored in directories which have long
- filenames, otherwise it is deleted.
- 0.05 - Hidden '!!!!!!!!Z!' from filer, catalogue and *ex.
- + Fixed bug in rename,
- + added saving of cached blocks before and after delete (fixed delete bug)
- 0.06 - Added saving of cached blocks on :
- Rename, Service_ShutDown, Service_FilerDying, Service_PreReset,
- Service_WimpSaveDesktop
- 0.07 - First bugfix list
- + Fixed renaming of files to themselves (previously 'lost' information in
- cached blocks)
- + Fixed (unreported bug) of rename function (clearing modified byte instead
- of setting it - whooops!)
- + Fixed renaming of 10-character files to >10-characters where the
- characters had the same root as a file that exists
- + Added saving (and flushing) of cache blocks after a rename operation
- + Checks to see if filing system is already 'installed'
- 0.08 - Second bugfix list
- + Extended from 23 character filenames to 55,
- + Added *RemoveLongFS <fsname> command
- + Converts from version 0.05..0.07 format !!!!!!!!Z! files - doesn't mark
- them as modified.
- + Added cache saves on OS_FSControl 16,OS_FSControl 22, OS_FSControl 23
- (Removal of FS, Close all files, Shutdown FSs).
- + Removed the RAM disc requirement.
- + Added support for multi-user filing systems (e.g. networks), in the shape
- of *AddNoCacheLongFS <fsname>.
- + Added *Command list in !Help file.
- 0.09 - No bug fixes, just had some good ideas !
- + Added wildcard searches.
- + Tidied special field names (eg. net#0.254).
- + Compressed saving of !!!!!!!!Z! file (now saves only what it needs).
- + Removal of "Possible Future Ideas"
- + Fixed high-bit characters (case) potential problems
- 0.10 - Third bugfix list
- + Fixed renaming bug of differing case filenames
-
- PS. yes, the sprite's supposed to look like that...
-
- [Source info : Basic assembly, 58324 bytes, 1956 lines]
-