Index


RISC World

First Steps with RISC OS 4

Alligata Media

6. 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, and 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 of the file of this book on the author's hard disc.

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.

Display

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 Display and onto the Display sub-menu. You will see the various display options available, which are:

  • Large Icons
  • Small Icons
  • Full Info
  • Sort by name
  • Sort by type
  • Sort by size
  • Sort by date

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.

Below this are four 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.

You can experiment with these options and see how the filer display changes. Note that the display on a directory viewer that is already open does not alter, the changes only take effect when you open a new directory viewer or close and re-open one that is already open.

With older versions of RISC OS changes made here became permanent and so would apply the next time you switch on. With RISC OS 4 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.

Selection

This is the option below Display on the filer menu. It actually shows what objects whatever action you are intending to do 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 one 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 an OvationPro file named "FirstSteps" what appeared in this position was File "FirstSteps".

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 7 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.
  • 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 it's 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.

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 4 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 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.

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.

Alligata Media

 Index