Section Seven - Filer reference
This section describes the more advanced features of the Filer popdown, and should be read in conjunction with The Filer. The features described here include:
Directories, and the hierarchical filing system
The Command Line Interpreter, and CLI files
Here, you will find the following chapters:
Specifying filenames in full
Describes filename syntax, filename extensions, directory structure, device specifications and wildcards.
Additional Filer Commands
Describes commands that provide facilities for creating directories, manipulating files within the hierarchical directory structure.
CLI files
Describes how to use the Command Line Interpreter with text files, reference of special commands for the CLI, redirecting of I/O and how to utilize this for editing BBC BASIC programs in PipeDream.
Specifying file names in full
The full form of a file name is
:DEVICE I DIRECTORY I DIRECTORY I .... /filename
where DIRECTORY and filename are each of the form
name.extension
consisting of a name of up to 12 letters or digits, followed by an optional extension of up to three letters or digits,
The following extensions are used for system functions:
| For symb_square.png +K and symb_square.png +S CLI files |
| For BOOT.CLI; see CLI files, p. 173. |
| For PipeDream multi-file List file |
DIRECTORY is a directory name subject to the same constraints as filename.
In addition the following symbols can be used:
| Parent directory of name |
. | Current directory |
Device specifications
DEVICE can be specified as one of the following:
Specification | Effect | |
|---|---|---|
|
| RAM in slot 0 (internal memory) |
|
| RAM in slot 1 (external memory) |
|
| RAM in slot 2 (external memory) |
|
| RAM in slot 3 (external memory) |
|
| Any RAM memory; ie 0, 1, 2, or 3. Used by CLI for temporary files, and lost on reset. |
|
| ROM |
|
| Screen |
|
| Printer; via printer driver so that highlight codes are interpreted |
|
| Communications; via serial port |
|
| Standard input |
|
| Standard output |
|
| Null: absorbs output, and acts like an empty file on input |
Note: RAM . - files must be deleted before a soft reset is performed with Operating Systems up to and including 3.0.
Wildcards
The device, directory and file name can contain the following wildcards:
|
| Matches any number of characters (or none) |
|
| Matches a single character |
|
| Matches any number of directories (or none) |