[Select]

User Guide: The Filer


 

The Filer

The Filer is the system that lets you access the features of the Filing System, in other words, to move around the RISC OS directory structure, to load and save files, run programs and carry out various other operations on files.

Filer Menu

The filer menu appears each time you click the MENU button when the pointer is over a directory viewer or window. An example filer menu is shown below. This is the result of clicking MENU while the mouse pointer was over the icon for a Text file called "ReadMe".

The filer menu will always contain the same items, but sometimes one or more of these will appear in grey instead of black. A grey menu option cannot be selected, and this means that the option is inappropriate at that stage. For example, if you click the HardDisc4 icon then click the MENU button while the root directory is open the Open Parent option will be "greyed out" as you are already viewing the top level directory so there is no parent.

The rest of this chapter describes the various items on the filer menu and its sub-menus.

Layout

This lets you change the way the directory viewer displays the contents of a directory. Move the mouse over the arrow to the right of Layout and onto the Layout window. You will see something similar to the picture below.

Large icons means that the display is shown, as in the previous illustrations, with full size icons and the name below the icon.

Small icons, as the name suggests, uses half size icons for folders, applications and files with the name beside the icon instead of below it. This is more compact so you can see more of the contents of a directory if it contains a large number of objects.

Full info shows the contents in a single vertical column with small icons. To the right of each icon is not just the filename but also information about the file, its type, size, access status and the date it was created or last modified as shown.

Thumbnails will display a thumbnail image of each file. A thumbnail is a small image of the file concerned. For example selecting the Thumbnails option will show small sized samples of any graphics files, these include Sprites, Drawfiles, JPEGs, GIFs etc. Files that do not have an image in them will be displayed with their normal large icon.

Columns will display your files sequenced down columns rather than across rows as was the original behaviour. In Column mode, the vertical scroll bar is replaced with a horizontal one instead.

In addition to the type of display, there are five options which define how the items in the window are sorted.

Sort by name will sort the items in a directory alphabetically, whatever their type.

Sort by type will sort all the objects by filetype. Note that they are sorted by their filetype number, not name, (more about this later) so may not appear in the order you would expect. Within each group of items of the same type files will be sorted alphabetically.

Sort by size will, as you might expect, sort files by their size, the largest file first.

Sort by date will sort the files by the date they were created or last modified. The latest appearing first, at the top of the filer window.

Reverse will sort the files by the method chosen from one of the four options above, but will do so in reverse order.

You can experiment with these options and see how the filer display changes.

With older versions of RISC OS, changes made here became permanent and so would apply the next time you switch on. With RISC OS Six and above the permanent changes are set in the main Configure program, which will be described later. Changes made from these menus only remain in force until you switch off.

The one slight exception to the above, with version 6.12 or later, is that there is now the option to configure layout permanence. With permanent layouts enabled (see the Configure section of this guide), the Save button on the Layout window will save the selected layout options for the directory over which the Filer menu was opened. This saved layout will override, for the directory in question, any other defaults or automatic layouts.

To delete a saved layout, deselect all icons in this layout window (using ADJUST on the Radio icons) and click Save

Selection

This is the option below Layout on the filer menu. It actually shows which objects the action you are intending to perform will be carried out on, so precisely what appears in this position depends upon where the mouse was when you clicked the MENU button and whether any items in the window had been selected.

If you had previously selected two or more objects, then the word Selection will appear here. This means that whatever you intend to do will be done to all of the selected objects. As you will see later some operations can only be carried out on single files, and so if you have selected more than one object these items will be grey on their respective menus so that they can't be used.

If no items were selected and the mouse pointer was over a file, application or directory icon then the name of that item (preceded by "File", "App." or "Dir." as appropriate) will appear in this position. So, in the example shown earlier, because the mouse pointer was over a Text file named "ReadMe" what appeared in this position was File "ReadMe".

The Selection sub-menu

Open a directory viewer on your hard drive and click MENU over it to display the filer menu. Now slide off the second item on the menu, (which could say any of a variety of things depending on where the mouse pointer was when you clicked MENU , as described previously) to open the Selection menu, which will look something like the one on the right.

With your hard drive filer window open (displaying something like ADFS::HardDisc4.$ at the top), click on the Apps directory - the directory will become highlighted. Click the MENU button and you will see that the Selection option shows "Dir. Apps" . Moving the mouse to the right over the arrow will take you into the directory sub-menu. If you select any option within this menu it will be carried out on the directory Apps.

The options on this sub-menu are:

  • Copy - Lets you make an exact copy of the selected object. Copying is described fully later.
  • Rename - This lets you change the name of the item you have just selected. Enter a new name into the field provided, then press the Return or Enter key. You should also see the section in Chapter 8 on renaming.
  • Delete - Delete the item currently selected. Use this with care, if you delete a directory you will delete all its contents and any sub-directories with their contents. Once an item has been deleted there is normally no way to recover it. However if you have the RISC OS Six Recycle bin (Recyclone) activated then your file will be moved into the recycle bin so it can be recovered if you have made a mistake.
  • Access - Lets you set or unset the attributes protecting the file from deletion or allowing deletion and also whether the file can be seen across a network. These will be described later.
  • Count - Displays the size of the file if the current selection is a file or, if it's a directory, the sum of the sizes of all the files in the directory and the files in any sub-directories.
  • Help - If you have selected an application directory the Help option allows you to view any help data contained within it.
    Note that not all applications are supplied with Help files, and will often require you to refer to alternative documentation.
  • Info - Displays information about the file or folder currently selected, including its type, size, access rights and the date it was created or last updated.
  • Find - Lets you search for a filename, or part of a filename, within the currently selected directory.
  • Set Type - Lets you apply a RISC OS file type to the selected file. This can be useful with material originating on other machines as you may need to set its filetype to ensure that RISC OS can identify it. Obviously this option can't be used with directories.
  • Stamp - Forces the current date and time onto the currently selected file or directory. This can come in useful if you wish to keep track of the dates on which files were copied onto your computer.
  • Share this allows a folder (or directory) to be shared across a RISC OS network. This option will be greyed out unless you have a folder selected when you press on MENU to open the filer menu. If you click on the Share... option then the following window will be opened:

    From here you can control how the folder, and hence its contents, are shared across your network. You can make the folder available as "read only" so that the contents cannot be altered by other users on other machines. You can share items as "CD-Roms" and you can also set up a password so that only other users on the network who have the password can access the files.

Some operations can be carried out on more than one item if several are selected and many of the options above are available for both files and folders. Obviously not all operations can be performed on a group of objects, for example, you can't rename a group of files.

Select all

As you might expect this selects all the objects in the directory.

Clear selection

De-selects any and all objects that have been selected.

Options

This leads to a menu that lets you set a number of options that affect the way filer operations are carried out.

The Options sub menu

  • Confirm All - If this is selected then whenever you carry out an operation on a file such as copying, moving, deleting, etc. a window will open asking you to confirm that you want this to happen. This would normally be switched off.

  • Confirm Deletes - If this is selected then whenever you try to delete an object a window will open asking you to confirm that you really do want to delete it. New users might prefer to have it on until they become more familiar with RISC OS to avoid accidentally deleting something that they didn't really intend to. However, repeatedly confirming that you do want to delete things can get very tedious, which is why most people have this option switched off.
  • Verbose - If this is on then when you carry out any operation on a file or files a filer action window will open displaying progress.

  • Force - As you will see later files can be locked to prevent them from being accidentally deleted. Normally if you try to delete or overwrite a locked file you won't be able to do so, you will just get an error message telling you that the file is locked.
    If Force is on then locked files will be deleted or overwritten without any warning. There may be times when this option could be used but you are strongly advised to set it to 'Off'.
  • Newer - Normally if you save, move or copy a file into a directory where there is already a file of the same name the new file will overwrite and replace the old. If Newer is switched on then this will only happen if the new file has a later date than the old, that is, it actually is a newer file. This can prevent accidentally replacing a later version of, say, a DTP document with an older version.
  • Faster - When carrying out operations on files RISC OS normally multi-tasks so that you can carry on with other work and, if Verbose is enabled, as it normally would be, you can see this in the Filer Action window. If Faster is On then, although there is still a limited amount of multi-tasking, the filer takes precedent, full information about what is happening is not displayed in the Filer Action window and anything else you are trying to do at the same time will be very slow. However the file operations will be quicker, which is useful if, for example, you are copying a lot of files. You will notice a button labelled Faster in the Filer Action window. This has exactly the same effect and lets you switch to Faster mode temporarily to speed up protracted filer operations

As with the Display options described earlier options selected from this menu only remain in force until you switch off the computer. They can be set permanently using the Configure application described later.

New Directory

This lets you create a new directory or folder. You will find as you acquire more files and applications that you need to create directories to put them in. Try to do this in a methodical way so that you can group similar items together to help you to find them when you need them just as you do with a 'paper' filing system.

When you choose a name for a directory it is a good idea to make it reflect the contents, e.g. Letters, Games etc. There are a few restrictions on the characters you can use in directory names;

  • Directory names are best kept short. RISC OS Six allows up to 255 characters in file or directory names but you normally only see about the first fifteen letters in the display. Also if you use directory names that are more than about a dozen characters long then the full pathname, if the directories are 'nested' deeply, can become too long for some older programs to cope with.
  • Never use the ! symbol as the first in a directory name. This will make RISC OS think it's an application directory. There are other characters that you shouldn't use and these are listed in the next chapter in the section on copying files.
  • Avoid using punctuation marks in directory or file names. Although some of these are allowed they aren't permitted on some other disc formats, for example, if you want to copy a file to a DOS floppy disc, and they can also cause problems with some programs.
  • Ideally use a name which does not already exist on your drive to avoid confusion.

Open the Filer menu and slide the mouse pointer off New Directory and the window shown will appear.

A default name of 'Directory' is placed in the icon for the new directory name. You probably won't want to use this, so delete it using the Backspace key and enter the name of your choice.

If you now either press the Return key or click on the OK button the new directory will be created in the same directory that the mouse pointer was over when you opened the Filer menu.

Alternatively you can drag the folder icon in the window to a directory viewer and the new directory will be created there. To drag the icon just put the mouse pointer over it and hold down the SELECT button. Move the mouse pointer while keeping SELECT held down and the Folder icon will follow. When it is over the directory viewer you want to create the new directory in just release the mouse button.

With recent versions of the Filer, it is possible to create a directory structure in one single operation, by giving a pathname with dots separating the subdirectories, for example a.b.c.d. If any part of that path does not exist, Filer will create it as necessary.

Set work directory

This makes the directory the mouse pointer was over when you opened the Filer menu the Currently Selected Directory (CSD). There is no need to bother too much about this as you will probably never need to use this facility.

Open Parent

As you might expect this will open the parent directory of the directory the mouse pointer was over when you opened the Filer menu. It is similar to clicking ADJUST on the window's close icon except that it leaves the first directory viewer open.

Refresh

This re-reads the contents of a directory from the filing system and updates the display. It can be useful if a filing system does not notify the filer about changes to the directory contents.

Keyboard shortcuts

Keyboard shortcuts for Filer were first introduced in RISC OS 6.06, later versions expand on those and provide greater power and flexibility when using the keyboard. Since Filer is now able to display vertical (column) layout or the normal horizontal (row) layout of objects in a viewer, some keyboard shortcuts have alternate behaviour according to which view layout is active. These are the shortcuts which have meanings with "or" in their descriptions.

Below are the standard keyboard shortcuts for Filer that will allow you to navigate around viewers and load files and applications from the keyboard.

KeyMeaning
^InsertToggle viewer retention behaviour (see -RetainViewer)
TabMove the focus to the next viewer
Shift-TabMove the focus to the previous viewer
^Open current viewers parent with focus
$Open current viewers root with focus
Page UpMove one window full up, or one window full right
Page DownMove one window full down, or one window full left
UpMove the highlight up one
DownMove the highlight down one
LeftMove the highlight left one
RightMove the highlight right one
^UpMove the highlight to the first object, or top of column
^DownMove the highlight to the last object, or bottom of column
^LeftMove the highlight to the left of row, or to the first object
^RightMove the highlight to the right of row, or to the last object

The following shortcuts are used when building a selection of files. These will be easier to understand if you experiment in Filer whilst reading them.

KeyMeaning
^[Shift]-ASelect all objects in the current viewer
^[Shift]-ZClear the current selection
^[Shift]-SpaceToggle the selection of the highlight object
^Shift-TabSwap active selection end points
^Shift-LeftToggle select left one object, or left up one column
^Shift-RightToggle select right one object, or right down one column
^Shift-UpToggle select left up one row, or up one object
^Shift-DownToggle select right down one row, or down one object

There are a number of keyboard shortcuts which will perform actions previously only possible with the mouse and menus, these are listed in the following table.

KeyMeaning
Escape Cancel drag or key selection
ReturnPerform the 'run' action on selected object(s) in current viewer, either running files or opening directories.
Shift-ReturnPerform alternate action on the selected object(s):
Load files into a text editor
Close open directories, or open a new directory
Open applications
InsertCreate a new directory (path) in the current viewer
Delete Delete selected object(s) after confirmation
Shift-DeleteDelete selected object(s)
^TTimestamp selected object(s) in current viewer
F1Load help for selected application (if available)
Shift-F1Info on selected object
F2Force selected image(s) to be [re-]thumbnailed (Thumbnail mode only).
^F2Close the current viewer
F3Copy selected object in current viewer
Shift-F3Rename selected object(s)
^F3Set type of selected object(s)
^Shift-F3Set access for selected object(s)
F4Find object within selected object(s) in current viewer
F5Refresh the current viewer
F6Cycle through sort orders for the current viewer
Shift-F6Reverse cycle through sort orders
^F6Toggle reverse sort order
F7Cycle through display formats for the current viewer
Shift-F7Reverse cycle through display formats
^F7Toggle display orientation
F10Count selected object(s) in current viewer
F11Set work directory to the current viewer
^F11Share selected directory

Alphanumeric keys: These move the highlight through the files as the name is progressively entered. The break for typing the name of the object is 1 second. Any keys pressed after this will initiate a new search.

Notes

It is strongly advised that Recyclone is used with key shortcuts, although some limited protection has been added to the Delete key shortcut.

  • Delete will always prompt for confirmation, regardless of configuration.
  • Shift-Delete will only ask for confirmation if configured to do so.
  • ^Shift-Delete does nothing, intentionally.

Refresh (F5) now also re-evaluates -AutoThumb ratio (if enabled) and forces images which were previously too big to be re-tried (for thumbnail display).

Search as you type will move to the nearest object for 'sort by name'. For other sort types the highlight will move only when an exact match is found. If you wish to search for an object name that starts with a Space character you must press Space twice. This is not required for a Space within a name.

The 'new directory', 'copy as', and 'rename' writables can now contain a sub-path. A sub-path is created (relative to the viewer directory) if it does not exist, raising an error if any part already exists but is not a directory.

Filer toolbars

Filer now has support for toolbars. This feature allows users to add their own toolbars or those published by others, to Filer. Below is a picture of Filer with a toolbar at the top. Refer to the Configure section of this guide to see how to manage your toolbars.

Next


This documentation is copyright 3QD Developments Ltd 2013 and may not be reproduced or published in any form without the copyright holder's permission. RISC OS is subject to continuous development and improvement as such all information is provided by 3QD Developments Ltd in good faith and is believed to be correct at the time of publication E&OE. 3QD Developments Ltd cannot accept any liability for any loss or damage arising from the use of any information provided as part of the RISC OS Documentation.

HTML document version r23142 (3rd November 2015)