Section Seven - Filer reference

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:

.sgn

For

symb_square.png

+K and

symb_square.png

+S CLI files

.CLI

For BOOT.CLI; see CLI files, p. 173.

.L

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:

../name

Parent directory of name

.

Current directory

Device specifications

DEVICE can be specified as one of the following:

Specification

Effect

Specification

Effect

:RAM.0

 

RAM in slot 0 (internal memory)

:RAM.1

 

RAM in slot 1 (external memory)

:RAM.2

 

RAM in slot 2 (external memory)

:RAM.3

 

RAM in slot 3 (external memory)

:RAM.-

 

Any RAM memory; ie 0, 1, 2, or 3. Used by CLI for temporary files, and lost on reset.

:ROM.0

 

ROM

:SCR.0

 

Screen

:PRT.0

 

Printer; via printer driver so that highlight codes are interpreted

:COM.0

 

Communications; via serial port

:INP.0

 

Standard input

:OUT.0

 

Standard output

:NUL.0

 

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)

web analytics