1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
; Copyright 1996 Acorn Computers Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
#include "VersionNum"
title-string: BootCommands
help-string: Boot_Commands Module_MajorVersion_CMHG Module_MinorVersion_CMHG
date-string: Module_Date_CMHG
initialisation-code: main_initialise
finalisation-code: main_terminate
#ifdef NO_INTERNATIONAL_HELP
command-keyword-table: main_command
AddApp( min-args: 1, max-args: 1,
gstrans-map: 1,
add-syntax:,
invalid-syntax: "Syntax: *AddApp <application>",
help-text: "*AddApp creates a link from the Resources icon to an application\n"),
AppSize( min-args: 1, max-args: 1,
gstrans-map: 0,
add-syntax:,
invalid-syntax: "Syntax: *AppSize <size>",
help-text: "*AppSize reserves space in application workspace\n"),
Do( min-args: 0, max-args: 255,
gstrans-map: 0,
add-syntax:,
invalid-syntax: "Syntax: *Do <command>",
help-text: "*Do passes its argument to the command interpreter\n"),
IfThere( min-args: 1, max-args: 255,
gstrans-map: 1,
add-syntax:,
invalid-syntax: "Syntax: *IfThere <file> then <command> else <command>",
help-text: "*IfThere looks for a file and executes a choice of commands\n"),
LoadCMOS( min-args: 1, max-args: 1,
gstrans-map: 1,
add-syntax:,
invalid-syntax: "Syntax: *LoadCMOS <file>",
help-text: "*LoadCMOS configures the computer from a configuration file\n"),
SaveCMOS( min-args: 1, max-args: 1,
gstrans-map: 1,
add-syntax:,
invalid-syntax: "Syntax: *SaveCMOS <file>",
help-text: "*SaveCMOS saves the computer's configuration to a configuration file\n"),
Repeat( min-args: 0, max-args: 255,
gstrans-map: 2,
add-syntax:,
invalid-syntax: "Syntax: *Repeat <command> <directory> [-directories | -files | -applications | -type <type>] <tail> [-tasks] [-verbose] [-sort] [-continue]",
help-text: "*Repeat iterates over a directory, performing a command for each object found\nOptions:\ndirectories\tlimit search to directories\nfiles\t\tlimit search to files\napplications\tlimit search to applications\ntype <type>\tlimit search to files of a given type\ntasks\t\tstart each command as a separate task\nverbose\t\tshow each command before it is executed\nsort\t\tenumerate directories in ascending ASCII order\ncontinue\tput first error into X$Error then carry on (except when -tasks)\n"),
SafeLogon( min-args: 1, max-args: 255,
gstrans-map: 0,
add-syntax:,
invalid-syntax: "Syntax: *SafeLogon [[:]<station number>|:<File server name>] <user name> [[:<CR>]<Password>]",
help-text: "*SafeLogon initialises the current (or given) file server for your use, except that if you are already logged on, it does nothing\n"),
FreePool( min-args: 0, max-args: 0,
gstrans-map: 0,
add-syntax:,
invalid-syntax: "Syntax: *FreePool",
help-text: "*FreePool moves all available memory except for the next slot into the free pool\n"),
ShrinkRMA( min-args: 0, max-args: 0,
gstrans-map: 0,
add-syntax:,
invalid-syntax: "Syntax: *ShrinkRMA",
help-text: "*ShrinkRMA will try to shrink the relocatable module area to its minimum size\n"),
AddToRMA( min-args: 1, max-args: 1,
gstrans-map: 0,
add-syntax:,
invalid-syntax: "Syntax: *AddToRMA <size>",
help-text: "*AddToRMA adds free space onto the end of the RMA\n"),
AppSlot( min-args: 1, max-args: 1,
gstrans-map: 0,
add-syntax:,
invalid-syntax: "Syntax: *AppSlot <size>",
help-text: "*AppSlot tries to achieve the specified application space size\n"),
X( min-args: 0, max-args: 255,
gstrans-map: 0,
add-syntax:,
invalid-syntax: "Syntax: *X <command>",
help-text: "*X passes its argument to the command interpreter, storing any error in system variable X$Error (if not already set)\n")
#else
international-help-file: "Resources:$.Resources.BootCmds.Messages"
command-keyword-table: main_command
AddApp( min-args: 1, max-args: 1,
gstrans-map: 1,
international:,
invalid-syntax: "AddAppSyntax",
help-text: "AddAppHelp"),
AppSize( min-args: 1, max-args: 1,
gstrans-map: 0,
international:,
invalid-syntax: "AppSizeSyntax",
help-text: "AppSizeHelp"),
Do( min-args: 0, max-args: 255,
gstrans-map: 0,
international:,
invalid-syntax: "DoSyntax",
help-text: "DoHelp"),
IfThere( min-args: 1, max-args: 255,
gstrans-map: 1,
international:,
invalid-syntax: "IfThereSyntax",
help-text: "IfThereHelp"),
LoadCMOS( min-args: 1, max-args: 1,
gstrans-map: 1,
international:,
invalid-syntax: "LoadCMOSSyntax",
help-text: "LoadCMOSHelp"),
SaveCMOS( min-args: 1, max-args: 1,
gstrans-map: 1,
international:,
invalid-syntax: "SaveCMOSSyntax",
help-text: "SaveCMOSHelp"),
Repeat( min-args: 0, max-args: 255,
gstrans-map: 2,
international:,
invalid-syntax: "RepeatSyntax",
help-text: "RepeatHelp"),
SafeLogon( min-args: 1, max-args: 255,
gstrans-map: 0,
international:,
invalid-syntax: "SafeLogonSyntax",
help-text: "SafeLogonHelp"),
FreePool( min-args: 0, max-args: 0,
gstrans-map: 0,
international:,
invalid-syntax: "FreePoolSyntax",
help-text: "FreePoolHelp"),
ShrinkRMA( min-args: 0, max-args: 0,
gstrans-map: 0,
international:,
invalid-syntax: "ShrinkRMASyntax",
help-text: "ShrinkRMAHelp"),
AddToRMA( min-args: 1, max-args: 1,
gstrans-map: 0,
international:,
invalid-syntax: "AddToRMASyntax",
help-text: "AddToRMAHelp"),
AppSlot( min-args: 1, max-args: 1,
gstrans-map: 0,
international:,
invalid-syntax: "AppSlotSyntax",
help-text: "AppSlotHelp"),
X( min-args: 0, max-args: 255,
gstrans-map: 0,
international:,
invalid-syntax: "XSyntax",
help-text: "XHelp")
#endif