< Previous  |  Contents  |  Next >

7 : Transient Commands        
     

   

This chapter describes all the DOS Plus commands which are transient, that is they are loaded from disc when required and discarded after use. They are the standard utilities provided on Issue DISC 1, as supplied with the Master 512. Each command is described in the following pages:

<Note: Page numbers omitted in favour of hyperlinks. Also spellings corrected >

ALARM
BACKG
BACKUP
BYE
CHKDSK
COLOUR
DEVICE
DISK
DISKCOPY
ED
EDBIN
FIDDLOAD
FMG
FORMAT
FSET
GETFILE
HDISK
HELP
INITDIR
LABEL
MEMDISK
MODE
MOVE
NETPRINT
NOTUBE
PCSCREEN
PIP
PRINT
PUTFILE
SDIR
SETFMG
SHOW
SKS
STAR
TREE

ALARM

Description:               Set time and date for alarm messages.
     
Syntax:   ALARM {option}
     
Options:  
/ON      Enable alarm
/OFF                                   Disable alarm
/T   Terminate all alarms
DD/MM/YY HH:MM /C   Cancel specified alarm
DD/MM/YY HH:MM {s}   Add alarm and message
     
Abbreviation:   None
     
Default:   ALARM OFF
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   ALARM
     
MS-DOS Equiv.:   None
     
Examples:  

ALARM

Display list of alarms, or message, if none set.

Date        Time    Message
------------------------------------------------
01/01/88    12:00   Meeting
------------------------------------------------

ALARM ON

A>ALARM 12:30 Lunch with Fred
Set message for 12:30 today.

A>ALARM 30/01/88 12:30 Ring Fred
Set message for time and date.

A>ALARM /ON
Load and run alarm if not already running.

A>ALARM /OFF
Suspend alarm action. When restarted, all alarms which should have been displayed during the inactive time are lost.

A>ALARM 30/01/88 12:30 /C
Cancel alarm entry for the given date and time.

A>ALARM /T
Terminate (ie cancel) all stored alarms

     
Notes:   ALARM is a background program which uses the system time and date functions to provide a timed message facility while running other programs. Note that there are two clocks if the co-processor exists in a BBC Master: the real-time dock (RTC) and the DOS system clock. On start up, DOS reads the RTC and uses that time and date unless altered by the user. When the message appears, wait for a while and the system will remove the message, then continue running the foreground program.

BACKG

Description:               Background program maintenance utility.
     
Syntax:   BACKG {RUN |STOP} (<program>} {<options>}
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   BACKG
     
MS-DOS Equiv.:   None
     
Example:  

A>BACKG
Display information about all background programs:

Name    Memory Used State    Description
-------------------------------------------------
ALARM   17k         Running  Alarm clock
PRINT               Stopped  Print Spool utility
-------------------------------------------------
Available: 341k

A>BACKG <progname>
Display the status of a specified background program.

A>BACKG STOP <progname>
Stop a specified background program.

A>BACKG RUN <progname>
Run a program in the background.

     
Notes:  

Any valid program parameters may be added to the program name, for example:

A>BACKG RUN ALARM /ON

BACKUP

Description:               Back up hard and floppy discs to floppy.
     
Syntax:   BACKUP
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   BACKUP
     
MS-DOS Equiv.:   BACKUP and RESTORE
     
Example:   A>BACKUP
     
Notes:  

The program asks a number of questions, eg back-up or restore, which drive to back-up or restore and so on. Back-up may be restricted to an individual directory, with or without its associated sub-directories.

The final option available works only with files which have been updated since the last back-up (strictly those which do not have the archive attribute set) or those files which have been created or modified after a specified date. Each option is displayed on the screen. Simply select the appropriate answer when prompted.

BYE

Description:               Parks hard disc prior to shipping.
     
Syntax:   C>BYE
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   System dependent
     
MS-DOS Equiv.:   PARK, SHIPDISK etc (System dependent)
     
Example:   A>BYE
     
Notes:   This command should be used to park the hard disc heads prior to shipping, or even general movement around the office, to prevent damage to heads or the disc surface.

CHKDSK

Description:               Check a disc and repair it if possible.
     
Syntax:   CHKDSK {d:} {option}
     
Options:  
/B       Check for bad sectors/clusters.
/D   Locate all directories.
/F   Fix errors. If CHKDSK finds a loose chain of clusters, it will assign a filename to them to assist data recovery.
/L   Link clusters. CHKDSK will try to rebuild a damaged File Allocation Table (FAT).
/R   Recover directory entries in a damaged root directory.
/V   Display more information.
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   CHKDSK
     
MS-DOS Equiv.:   CHKDSK
     
Example:   A>CHKDSK
Volume DISK #1 created 27 Mar 1987 16:56
811,008 bytes total disc space
731,136 bytes in 40 user files
 79,872 bytes available on disc
     
Notes:   Further information about disc formats is contained in the Master 512 Technical Guide (see Appendix G). Note that unlike the MS-DOS version of this command, the amount of available memory on the system is not reported.

COLOUR

Description:               Change screen colours.
     
Syntax:   COLOUR <mode> <physical colour>
     
Mode:  
0       80-column background
1   80-column foreground
2   GEM (CGA high-res) background <This (and next) are the wrong way round - YP>
3   GEM (CGA high-res) foreground
4-7       Four colour modes
     
Physical Colours:  
0       Black                 8       Flashing black/white
1   Red   9   Flashing red/cyan
2   Green   10   Flashing green/magenta
3   Yellow   11   Flashing yellow/blue
4   Blue   12   Flashing blue/yellow
5   Magenta   13   Flashing magenta/green
6   Cyan   14   Flashing cyan/red
7   White   15   Flashing white/black
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Example:   A>COLOUR 0 7
A>COLOUR 1 0

Change screen colours to black text on white.
     
Notes:   The default screen colour is white text on a black background.

DEVICE

Description:               Assign physical to logical device relationships.
     
Syntax:   DEVICE {NAMES | VALUES | <phys device> | <log device>}
DEVICE <log device>=<phys device> {opt}
DEVICE <log device>=NULL
DEVICE <phys device> {opt}
DEVICE CONSOLE [PAGECOLUMNS = n | LINES = n]
     
Physical devices:  
CON0                     PRN0
AUX0   RAW0
     
Logical devices:  
CONIN:                  CONOUT:
AUXIN:   AUXOUT:
PRN:    

CON: is used to denote CONIN: and CONOUT:
AUX: is used to denote AUXIN: and AUXOUT:

     
Options:   DAT{ABITS} = 7 | 8
PAR{ITY} = NONE | ODD | EVEN
SP{EED} = (tx{,rx})
where speed =75,150, 300, 1200, 2400, 4800, 9600, 19200.
ST{OPBITS} =1 | 2
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   DEVICE
     
MS-DOS Equiv.:   None. See MODE
     
Examples:  

A>DEVICE AUX0 [SP=(9600,9600)]

Set the serial port to 9600 baud for transmit and receive.

A>DEVICE VALUES

Current assignments:
CONIN:  = CON0
CONOUT: = CON0
AUXIN:  = AUX0
AUXOUT: = AUX0
LST:    = PRN0

Displays current assignments.

DISK

Description:               Floppy disc format and copy utility.
     
Syntax:   DISK
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   DISK
     
MS-DOS Equiv.:   None. See FORMAT and DISKCOPY.
     
Examples:   Formatting.
     
Notes:  

When formatting a 40-track 360k DOS disc, the DISK utility formats all 80 tracks. Do not be tempted to switch a 40/80 drive to 40 track. The system takes care of the track IDs.

Do not expect a 360k disc formatted on the Master 512 to be read reliably in an IBM PC compatible. Format a disc in a PC 360k drive, and then write to it on the 512 if you wish to transfer data between the 512 and an IBM PC. This is not necessarily due to the problems associated with incompatibility between 40 and 80 track drives, but with floppy disc drive hardware and the differences between the NEC µPD765 controller on IBM hardware, and the WD1770 used on the BBC, specifically relating to speeds and the inter-sector gap sizes written. <But note here – YP>

DISKCOPY

Description:               Copy a disc.
     
Syntax:   DISKCOPY {d:} {d:}
     
Abbreviation:   None
     
Versions:   None in 512 DOS Plus. Use DISK.
     
DR Equivalent:   DISKCOPY
     
MS-DOS Equiv.:   DISKCOPY
     
Example:  

A>DISKCOPY A: A:

Copy a disc using drive A, and prompt for source disc and destination disc when needed.

     
Notes:  

This command is not found on the 512 discs, but the equivalent functions can be found in the DISK transient command.

The reason that the standard command is not used is that the DR command does not support the special 640k and 800k formats allowed on the 512.

ED

Description:               Text file editor.
     
Syntax:   ED {d:}<filespec> {{d:}<filespec>}
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   ED
     
MS-DOS Equiv.:   EDLIN
     
Example:   See Chapter 15 and the Master 512 Technical Guide where this command is covered in more detail. <Note: This command is not actually mentioned in the Technical Guide – YP>

EDBIN

Description:               Binary file editor.
     
Syntax:   EDBIN {d:}<filespec> {{d:}<filespec>}
     
Abbreviation:   None
     
Versions:   2.1
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None. Use DEBUG.
     
Example:   This transient is a special programmer's utility, and is beyond the scope of this book. Information is available in the Master 512 Technical Guide, also by Dabs Press – see Appendix G for full details.

FIDDLOAD

Description:               Set up system for installable device drivers.
     
Syntax:   Not applicable
     
Abbreviation:   None
     
Versions:   2.1
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Example:   Not applicable.
     
Notes:  

If applications require non-standard hardware devices (eg Mouse, X-Y Plotter, Analogue to Digital input) they must supply their own device driver software interface. This is naturally unknown to DOS, so 'FIDDLOAD' is provided to permit these alien devices to be added to DOS's list of hardware devices attached.

<For further information see here – YP>

FMG

Description:               Menu driven file management utility.
     
Syntax:   FMG
     
Abbreviation:   None
     
Versions:   1.2, 1.2a. <Command only exists in version 1.2. It was deleted from 1.2a – YP>
     
DR Equivalent:   FMG
     
MS-DOS Equiv.:   None. Use third party utilities, eg XTREE, PCTOOLS
     
Example:   A>FMG
     
Notes:   This command is explained in more detail in Chapter 12. Users should note that it is not included with DOS Plus 2.1 <nor 1.2a> because the product has been withdrawn by Digital Research. It is therefore only available for use with versions 1.2 and 1.2a <see above> and, as a general rule, should be avoided to ensure compatibility.

FORMAT

Description:               Floppy disc formatter for 800k discs. 
     
Syntax:   FORMAT {d:} {opt}
     
Options:  
/S       Copy the DOS system to the disc after formatting. Note: This is not applicable to 512 as an 800k disc can't contain the system.
     
/V   Prompt for the volume (disc) label. Again, not available to the 512.
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   FORMAT
     
MS-DOS Equiv.:   FORMAT
     
Example:  

A>FORMAT A:

Format the disc in drive to 800k. Before formatting, the user is asked to enter the disc into the relevant drive.

     
Notes:   This program can be found on the Acorn DISC 2 (GEM) in the \GEMSYS directory.
     
See also:   DISK

FSET

Description:               Set file attributes. 
     
Syntax:   FSET {d:} [attribute, ... ]
FSET <filespec> [attribute, ... ]
     
Attributes:  
RO       Read only
RW   Read write only
DIR   Directory entry <means "Directory file", ie not a "System file". FSET <filespec> [DIR] removes the SYS attribute from a file. – YP>
SYS   System file, not directory <Ie not a "Directory file". It will not be listed in DIR listngs unless the /S switch is used – YP>
ARCHIVE=ON   Mark file as archived
ARCHIVE=OFF   Mark file as updated
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   FSET
     
MS-DOS Equiv.:   ATTRIB
     
Example:  

A>FSET TEXT.DOC [RO]

Make file TEXT.DOC read only. This prevents over writing or deletion of the file.

A>FSET *.TMP [RW,ARCHIVE=ON]

Make all files with a '.TMP' extension in the current directory read-write, and marked as archived

GETFILE

Description:               Copy BBC DFS or ADFS format file to DOS format. 
     
Syntax:   GETFILE <BBC filespec> <DOS filespec>
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Example:  

A>GETFILE :1.text A:text.doc

Copies the file text on drive 1 in ADFS format to text.doc on drive A in DOS format.

A>GETFILE :1.text A:text.doc /disc

Copies the file text on drive 1 in DFS format to text.doc on drive A in DOS format.

     
Notes:  

In version 1.2, GETFILE has severe bugs and should not be used.

In version 1.2a, GETFILE does not work correctly in ADFS or ANFS under any circumstances, unless it was loaded from a hard disc. The comments for 1.2 apply to this version also.

All bugs are fixed in 2.1, but even so the program seems to be what can best be described as 'delicate', frequently throwing up a 'channel' error from ADFS, without any obvious cause. The program is however robust if run from drive C (hard disc) or if drives A and B are used carefully, which means allocating one drive to DOS and one to BBC format, so the GETFILE program and the destination file would be on, say Drive A (a DOS disc) and the source file would be on Drive B (a BBC DFS/ADFS disc). This avoids the need to swap discs.

     
See also:   PUTFILE, MOVE

HDISK

Description:               Hard disc partition and system transfer utility.
     
Syntax:   HDISK
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   System dependent
     
MS-DOS Equiv.:   FDISK, SYS. System can also be transferred with FORMAT /S.
     
Example:  

A>HDISK

Displays a menu of hard disc partition sizes to choose from. HDISK also has an option to make the hard disc bootable, ie transfer the system files.

     
Notes:  

A DOS partition is an area of the hard disc which is not available to ADFS, but can be used with DOS. Partitioning a hard disc will result in loss of all data. To make the disc bootable, an option can be used to transfer a new version of DOS Plus without losing the contents of the partition.

If you wish to allocate space to ADFS in front of the partition, use *CREATE to reserve disc space and delete the created file after using HDISK.

Version 2.1 of DOS Plus allows an additional range of partition sizes over earlier versions.

HELP

Description:               Help utility.
     
Syntax:   HELP
     
Abbreviation:   None. You can, however, use when at the DOS command line to invoke HELP.
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   None. HELP can be found in the File Manager – FMG
     
MS-DOS Equiv.:   None
     
Example:  

A>HELP

Calls the initial HELP menu.

A>HELP CHDIR

Calls directly for help on the CHDIR command.

     
Notes:  

The help system displays explanatory text on a number of DOS Plus commands. It can be used directly by following the HELP command with the command name required. Most topics also offer further subtopics and examples of command use.

Pressing return only will return you to the systems prompt. However, this causes an unnecessary reload of COMMAND.COM, it is therefore quicker to use CTRL-C, which does not.

HELP FMG will result in the message 'NOT FOUND' being returned. You must type HELP FILEMANAGER for help with the FMG command.

INITDIR

Description:               Initialise a CP/M disc for time stamping.
     
Syntax:   INITDIR <d:>
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   INITDIR
     
MS-DOS Equiv.:   None
     
Example:   A>INITDIR B:
     
Notes:   This command is only relevant to CP/M. DOS always date and time stamps files.

LABEL

Description:               Disc volume labeller.
     
Syntax:   LABEL
     
Abbreviation:   None
     
Versions:   2.1 only
     
DR Equivalent:   None
     
MS-DOS Equiv.:   LABEL
     
Example:  

A>LABEL INVOICES

Labels the volume in drive A as 'INVOICES'.

     
Notes:  

Any disc, hard or floppy may be given a label. This exactly matches the *TITLE command in native BBC filing systems. The volume label is non-functional, but simplifies disc identification, as the label is displayed when any catalogue operation is performed.

The volume label may be up to 11 characters in length.

MEMDISK

Description:               Reserve memory for use as a RAM disc.  
     
Syntax:   MEMDISK {n}
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   None
     
MS-DOS Equiv.:   Use device driver RAMDRIVE.SYS
     
Example:  

A>MEMDISK 128

Create a RAM disc of 128k. The RAM disc is always referred to as drive M in the 512.

     
Notes:  

When created the RAM disc can be used as a very high speed floppy disc drive.

Once installed the RAM disc cannot be removed without re-booting DOS Plus.

See Chapter Nine for further details of using a RAM disc.

MODE

Description:               Set device characteristics.  
     
Syntax:   MODE <device>
MODE <device>:=<device>:
MODE <device>:baud {,parity,databits,stopbits}
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   MODE
     
MS-DOS Equiv.:   MODE
     
Examples:  

A>MODE PRN0:=AUX0:

Reassign printer output to the serial port.

A>MODE AUX:12,,,

Set serial port to 1200 baud with defaults:
           parity=EVEN
  databits=7
  stopbits=l
     
Notes:   See DEVICE for an explanation of serial port set up.

MOVE

Description:               Move files between DOS Plus and other BBC filing systems.
     
Syntax:   MOVE <source><-fs> [/option] <dest.><-fs> [/option]
     
Options:  

<-fs> is one of the following:

      DOS Plus       -dos
  ADFS   -adfs
  DFS   -disc
  ANFS   -net

</option> may be:

/c       Only valid for BBC source files to be copied to BBC filing system destinations. It specifies that subdirectories are to be included in the copy.
     
/l   Only valid for BBC source files to be copied to DOS. It specifies that BBC subdirectories should be ignored.
     
/s   Allows DOS Plus system files to be copied.
     
/r   Allows the destination to be a filename instead of a directory.
     
Abbreviation:   None
     
Versions:   2.1 only
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Example:  

A>MOVE text.doc -dos :1.$.letters.dostext -adfs /r

Copies the DOS Plus file 'text.doc' on drive A to the ADFS disc in drive 1, placing the data in a file called 'dostext' in directory '$.letters'.

     
Notes:   The move utility is much more complex than 'GETFILE' or 'PUTFILE', both of which are still supplied with 2.1. for this reason. This program is separately documented in the Master 512 Technical Guide, also by Dabs Press. See Appendix G for details.

NETPRINT

Description:               Print to Econet print server.  
     
Syntax:   NETPRINT <filename> {<filename> ... }
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Example:  

A>NETPRINT chap1.doc chap2.doc

Queues the files 'chap1.doc' and 'chap2.doc' for printing on the printer attached to a network fileserver.

NOTUBE

Description:               Deselect Tube and return to BBC mode.
     
Syntax:   NOTUBE
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Example:   A>NOTUBE
     
Notes:  

This command is functionally equivalent to:

*CONFIGURE NOTUBE

or the DOS Plus command:

STAR CONFIGURE NOTUBE

In both cases the action is not taken until CTRL-BREAK is pressed.

This command is only relevant to BBC Master micros.

PCSCREEN

Description:               Change (BBC) screen mode.
     
Syntax:   PCSCREEN {n}
     
Options:  
0-6       IBM CGA compatible modes
7       BBC native mode 3
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Example:  

A>PCSCREEN 7

Select BBC native screen mode 3.

     
Notes:  

This command can be used after another command or program has changed mode. Native mode 3 increases screen handling speed. Note that the native screen mode must be used only for text display.

The Master 512 supports IBM MDA (Monochrome Display Adaptor) and CGA (Colour Graphics Adaptor) screen modes.

BBC mode 3 is chosen because it matches the standard IBM MDA mode, which provides a text display of 80 characters by 25 lines. Unlike other modes, the text is not flattened.

     
See also:   COLOUR

PIP

Description:               Peripheral Interchange Program
     
Syntax:   PIP <dest fspec>=<source fspec> (opt)
PIP <dest fspec>=<source fspec>{,<source fspec>} ...
     
Options:  
A     Archive. Copy only the files which have been changed since the last file copy.
     
C   Confirm each file before copying.
     
Dn   Delete any characters after column n of each line in the source during transfer. The source remains unaltered.
     
E   Echo to screen.
     
F   Filter (remove) form feeds.
     
Gn   Get source from USER n.
     
H   Transfers Intel hex format data.
     
I   Ignore :00 hex data records in the transfer of Intel hex format data.
     
L   Translate all upper case to lower case during transfer. The source is unaltered.
     
N   Adds line numbers to the output during transfer.
     
O   Transfer non-ASCII object files. The normal end of file marker (ASCII 26) will be ignored.
     
Pn   Insert a page break every n lines of data transferred to the output and start the transfer with a page break. If n=1, or is omitted, page breaks will default to every 60 lines. If F is also used the form feeds are removed from the input before the new ones are added to the output.
     
Qs   Quit the transfer after a string 's' followed by CTRL-Z is encountered in the input data.
     
R   Read files with SYS attribute.
     
Ss   Start transferring data from the source to destination only after string 's' followed by CTRL-Z is encountered in the input data.
     
Tn   Expand embedded input tabs to n output spaces.
     
U   Translate lower case to upper case.
     
V   Verify all data transferred, after ouput is complete. The output must be to a disk file for this option.
     
W   Overwrite read-only files without reporting an error or requesting confirmation.
     
Z   Zero the parity bit for ASCII characters only.
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   PIP
     
MS-DOS Equiv.:   None. Use COPY
     
Examples:  

A>PIP LST:=text.doc
Copy file text.doc to logical device LST:

A>PIP letter.txt=lettera,letterb
Merge lettera and letterb into file, letter.txt

     
Notes:  

PIP is a CP/M utility, and in keeping with CP/M standards always has the destination file first in the command line, the reverse of normal DOS Plus practice.

The PIP options listed here are shown for completeness, but PIP, as you may notice, is a far more powerful, but more complicated data transfer utility than COPY, which is why COPY was introduced, and also why PIP is retained.

Unless you are familiar with PIP, especially if simple disc to disc copying is all that is required, you are advised to use COPY.

More details on the use of PIP can be found in Chapter 14 and more advanced information in the Master 512 Technical Guide, also by Dabs Press. <Note: This command is not actually mentioned in the Technical Guide – YP>

PRINT

Description:               Background print utility.
     
Syntax:   PRINT {<d:>}<filename>{,{<d:>}<filename>} ... {opt}
     
Options:  
/H       Header on
/N   No header
/T   Remove all files from print list
/C   Remove specified file from print list
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   PRINT
     
MS-DOS Equiv.:   PRINT
     
Examples:  

A>PRINT
Display list of jobs in the print queue.

A>PRINT text.doc
Add the file text.doc to the print queue.

A>PRINT text.doc /C
Remove the file text.doc from the print queue.

A>PRINT /T
Cancels the print queue. If a document is printing at the time it is terminated.

     
Notes:  

A maximum of 32 files may be queued at one time. The files must all be in the current directory of the specified drive.

If a specified filename does not exist, a message is output and the next file in the list is printed.

PUTFILE

Description:               Copy DOS format files to BBC format (DFS or ADFS).
     
Syntax:   PUTFILE <DOS filespec> <BBC filespec> {/disc}
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Examples:  

A>PUTFILE A:text.doc :1.text
Copy the file text.doc from a DOS disc in drive A to a BBC ADFS disc in drive 1.

A>PUTFILE A:text.doc :1.text /disc
Copy the file text.doc from a DOS disc in drive A to a BBC DFS disc in drive 1.

     
Notes:  

In version 1.2 PUTFILE has severe bugs and should not be used.

In version 1.2a, PUTFILE does not work correctly in ADFS or ANFS under any circumstances, unless it was loaded from a hard disc. The comments for version 1.2 apply to this version also.

See the notes on GETFILE concerning use of the utility in DOS Plus Version 2.1. The same comments apply to PUTFILE.

     
See also:   GETFILE, MOVE

SDIR

Description:               Display file information.
     
Syntax:  

SDIR
SDIR <filespec> {,<filespec>} ...
SDIR [opt{,opt} ... ]
SDIR <filespec> ... {opt} ...

     
Options:  
ATT     Displays the file attributes
     
DATE   Displays date and time stamp of file
     
DIR   Displays only files with the DIR attribute <ie not SYS. See FSET above – YP>
     
DRIVE=ALL   Displays files on all accessed drives
     
DRIVE=(d,d,)   Displays files on all drives specified
     
DRIVE=d   Displays files on the drive specified by d
     
EXCLUDE   Displays files that do not match the files specified in the command line
     
FF   Sends an initial form-feed to the printer device if it has been activated by CTRL-P
     
FULL   Shows the name, size, number of 128-byte records, and attributes of the files. If there is a directory label on the drive, SDIR shows the password protection mode and the time stamps. The display is alphabetically sorted. (See FSET for a description of file attributes, directory labels, passwords and protection modes.)
     
LENGTH=n   Displays n lines of printer output before inserting a table heading. n is a number between five and 65536
     
MESSAGE   Displays the names of drives and user numbers that SDIR is searching for.
     
NOPAGE   Continuously scrolls information on screen
     
NOSORT   Displays files in the order found on disc.
     
RO   Displays only the files that have the read-only attribute set.
     
RW   Displays only the files that have the read-write attribute set.
     
SIZE   Displays the filename and size in kilobytes.
     
SYS   Displays only the files that have the SYS attribute.
     
USER=ALL   Displays all files in all user numbers for the default drive.
     
USER=n   Displays the files for the user number specified by n.
     
USER=(0,1,...15)   Displays files for the user numbers specified.
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   SDIR
     
MS-DOS Equiv.:   None
     
Examples:  

A>SDIR C: [FULL]
Display full set of characteristics for all files in user 0 on drive C.

A>SDIR C: [SIZE]
List all files on drive C and their size.

A>SDIR [DRIVE=C,FF]
Sends a form-feed to the printer before displaying the files on drive C.

A>SDIR D: [RW,SYS]
Display all files on drive D with read-write and SYS attributes.

A>SDIR C: [USER=ALL]
Display all the files in all user numbers (zero to 15) on drive C.

A>SDIR [USER=2]
Display all the files under user number two on the default drive.

A>SDIR C: [USER=(3,4,10)]
Display all the files under user numbers 3,4 and 10 on drive C.

A>SDIR [DRIVE=ALL]
Display all the files under user zero on all the drives currently in use.

A>SDIR [DRIVE=C,USER=4]
Display all the files under user four on drive C.

A>SDIR [DRIVE=(B,D)]
Display all the files under user zero on drive B or D.

A>SDIR [exclude] *.CMD
List all the files on the default drive and user zero that do not have a file-type of CMD.

A>SDIR [user=all,drive=all,sys] *.PLI *.CMD *.A86
Instruct SDIR to list all the system files of type PLI, CMD, and A86 on the system in the currently active drives for all the user numbers on the drives.

A>SDIR X.SUB [MESSAGE,USER=ALL,DRIVE=ALL]
Search all drives under each user number for X.SUB. During the search, SDIR displays the drives and user numbers.

A>SDIR [drive=all user=all] TESTFILE.BOB
Instructs SDIR to display the filename TESTFILE.BOB if it is present on any drive under any user number, together with all file information.

SETFMG

Description:               Set the File Manager environment.
     
Syntax:   SETFMG
     
Abbreviation:   None
     
Versions:   1.2
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Notes:   This command always seems to return a 'file not found' error, and has been withdrawn from DOS Plus version 1.2a onwards.

SHOW

Description:               Display drive information.
     
Syntax:   SHOW {d:} {SPACE | LABEL | USERS | DIR | DRIVE}
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   SHOW
     
MS-DOS Equiv.:   None
     
Examples:  

A>SHOW A:
Display the access mode and free space on drive A.

A>SHOW A: [LABEL]
Display the label of drive A.

SKS

Description:               Sidekick loader.
     
Syntax:   SKS
     
Abbreviation:   None
     
Versions:   2.1 only
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Example:   A>SKS
Initialise system for running Sidekick.
     
Notes:  

The Master 512 implementation of DOS Plus has problems when used with Sidekick, the popular 'pop up' utility from Borland International. Due to user demand Acorn have supplied SKS.CMD. It must be run before attempting to run Sidekick. If, as is often the case, you install Sidekick from an AUTOEXEC.BAT file be sure to include the SKS command first.

'SKS' may work with other 'pop-up' software, but this is strictly on a try it and see basis. The version of Sidekick should not be later than 1.50, or it will fail.

STAR

Description:               Execute BBC micro native star commands.
     
Syntax:   STAR
STAR <BBC * command>
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   None
     
MS-DOS Equiv.:   None
     
Examples:  

A>STAR
STAR version 1.00
*FX6,0
*(RETURN only)
A>

Tells the BBC to send linefeeds to the printer. DOS Plus will recognise this...

A>STAR BUILD -DISC-:1.notes
   1 A quick note
   2 on my DFS disc
   3 (ESCAPE pressed at this point)
A>

Create a short note on a Master disc in DFS drive 1.

     
Notes:  

If STAR is issued without parameters a * prompt replaces the normal DOS prompt. A series of BBC commands may then be issued until RETURN is pressed without an entry, when the normal DOS prompt returns. As each command is issued it is passed to the BBC Operating System for immediate execution, after which control returns to DOS.

Unfortunately STAR clears the screen and moves the cursor to the bottom line before executing any command, making it impossible to use normal BBC screen capture software (invoked by a * command) to save a DOS Plus screen for later retrieval.

TREE

Description:               Display tree structure of directories.
     
Syntax:   TREE {d:} {<filespec>}
     
Abbreviation:   None
     
Versions:   1.2, 1.2a, 2.1
     
DR Equivalent:   TREE
     
MS-DOS Equiv.:   TREE
     
Examples:  

A>TREE B:
   Space    Files   Path name
     27,136    2  b:\
    208,788   21  b:\gemsys
     75,157    6  b:\gemdesk
    112,104    5  b:\gemboot
    234,754    7  b:\gemapps
     37,632   14  b:\gemapps\patterns
A>

Lists the tree structure of the disc in drive B.

< Previous  |  Contents  |  Next >

About the Master 512 | Bibliography