1 /****************************************************************************
2 
3 	This file contains the verbose forms of TECO error messages.  It is
4 an include file because the contents are shared by at least two of the "Z"
5 files,  and the contents are large.
6 
7 	IMPORTANT:  If you change this file,  you will need to change
8 TECOC.RNH,  ERR.C and DEFERR.H !!!
9 *****************************************************************************/
10 
11 #if defined(__POWERC)
12 
13 static char *ParaTx[] = {
14 	"Verbose messages not loaded",
15 	NULL
16 };
17 
18 static int StartP[] = {
19 	/* ERR_ARG 0 */  0,	/* ERR_BNI 1 */  0,	/* ERR_DTB 2 */  0,
20 	/* ERR_FNF 3 */  0,	/* ERR_ICE 4 */  0,	/* ERR_IEC 5 */  0,
21 	/* ERR_IFC 6 */  0,	/* ERR_IIA 7 */  0,	/* ERR_ILL 8 */  0,
22 	/* ERR_ILN 9 */  0,	/* ERR_IPA 10 */ 0,	/* ERR_IQC 11 */ 0,
23 	/* ERR_IQN 12 */ 0,	/* ERR_IRA 13 */ 0,	/* ERR_ISA 14 */ 0,
24 	/* ERR_ISS 15 */ 0,	/* ERR_IUC 16 */ 0,	/* ERR_MAP 17 */ 0,
25 	/* ERR_MEM 18 */ 0,	/* ERR_NAB 19 */ 0,	/* ERR_NAC 20 */ 0,
26 	/* ERR_NAE 21 */ 0,	/* ERR_NAP 22 */ 0,	/* ERR_NAQ 23 */ 0,
27 	/* ERR_NAS 24 */ 0,	/* ERR_NAU 25 */ 0,	/* ERR_NCA 26 */ 0,
28 	/* ERR_NFI 27 */ 0,	/* ERR_NFO 28 */ 0,	/* ERR_NYA 29 */ 0,
29 	/* ERR_NYI 30 */ 0,	/* ERR_OFO 31 */ 0,	/* ERR_PDO 32 */ 0,
30 	/* ERR_PES 33 */ 0,	/* ERR_POP 34 */ 0,	/* ERR_SNI 35 */ 0,
31 	/* ERR_SRH 36 */ 0,	/* ERR_STL 37 */ 0,	/* ERR_TAG 38 */ 0,
32 	/* ERR_UTC 39 */ 0,	/* ERR_UTM 40 */ 0,	/* ERR_XAB 41 */ 0,
33 	/* ERR_YCA 42 */ 0,	/* ERR_IFE 43 */ 0,	/* ERR_SYS 44 */ 0,
34 	/* ERR_UCD 45 */ 0,	/* ERR_UCI 46 */ 0,	/* ERR_UCO 47 */ 0,
35 	/* ERR_UFI 48 */ 0,	/* ERR_UFO 49 */ 0,	/* ERR_URC 50 */ 0,
36 	/* ERR_URE 51 */ 0,	/* ERR_URL 52 */ 0,	/* ERR_UWL 53 */ 0
37 };
38 
39 #else
40 
41 static char *ParaTx[] = {
42 
43 	/* ERR_ARG 0   improper arguments */
44 	/*  0*/ "Three arguments are given (a,b,c or H,c).",
45 	/*  1*/ NULL,
46 
47 	/* ERR_BNI 1   > not in iteration */
48 	/*  2*/ "There is a close angle bracket not matched by an open",
49 	/*  3*/ "angle bracket somewhere to its left. (Note: an",
50 	/*  4*/ "iteration in a macro stored in a Q-register must be",
51 	/*  5*/ "complete within the Q-register.)",
52 	/*  6*/ NULL,
53 
54 	/* ERR_DTB 2   delete too big */
55 	/*  7*/ "An nD command has been attempted which is not contained",
56 	/*  8*/ "within the current page.",
57 	/*  9*/ NULL,
58 
59 	/* ERR_FNF 3   file not found "filename" */
60 	/* 10*/ "The requested input file could not be located. If this",
61 	/* 11*/ "occurred within a macro, the colon modified ER or EB",
62 	/* 12*/ "command may be necessary.",
63 	/* 13*/ NULL,
64 
65 	/* ERR_ICE 4   illegal ^E command in search argument */
66 	/* 14*/ "A search argument contains a ^E command that is either",
67 	/* 15*/ "not defined or incomplete. The only valid ^E commands",
68 	/* 16*/ "in search arguments are: ^EA, ^ED, ^EV, ^EW, ^EL, ^ES,",
69 	/* 17*/ "^E<nnn> and ^E[a,b,c...]",
70 	/* 18*/ NULL,
71 
72 	/* ERR_IEC 5   illegal character "x" after E */
73 	/* 19*/ "An invalid E command has been executed. The E character",
74 	/* 20*/ "must be followed by an alphabetic to form a legal E",
75 	/* 21*/ "command (i.e. ER or EX).",
76 	/* 22*/ NULL,
77 
78 	/* ERR_IFC 6   illegal character "x" after F */
79 	/* 23*/ "An illegal F command has been executed.",
80 	/* 24*/ NULL,
81 
82 	/* ERR_IIA 7   illegal insert argument */
83 	/* 25*/ "A command of the form \"nItext$\" was attempted. This",
84 	/* 26*/ "combination of character and text insertion is illegal.",
85 	/* 27*/ NULL,
86 
87 	/* ERR_ILL 8   illegal command "x" */
88 	/* 28*/ "An attempt has been made to execute an invalid TECO",
89 	/* 29*/ "command.",
90 	/* 30*/ NULL,
91 
92 	/* ERR_ILN 9   illegal number */
93 	/* 31*/ "An 8 or 9 has been entered when the radix of TECO is set",
94 	/* 32*/ "to octal.",
95 	/* 33*/ NULL,
96 
97 	/* ERR_IPA 10   negative or 0 argument to P */
98 	/* 34*/ "The argument preceding a P or PW command is negative or",
99 	/* 35*/ "0.",
100 	/* 36*/ NULL,
101 
102 	/* ERR_IQC 11   illegal character "x" following " */
103 	/* 37*/ "One of the valid \" commands did not follow the \". Refer",
104 	/* 38*/ "to Section 5.14 (conditional execution commands) for",
105 	/* 39*/ "the legal set of commands.",
106 	/* 40*/ NULL,
107 
108 	/* ERR_IQN 12   illegal q-register name "x" */
109 	/* 41*/ "An illegal Q-register name was specified in one of the",
110 	/* 42*/ "Q-register commands.",
111 	/* 43*/ NULL,
112 
113 	/* ERR_IRA 13   illegal radix argument to ^R */
114 	/* 44*/ "The argument to a ^R radix command must be 8, 10 or 16.",
115 	/* 45*/ NULL,
116 
117 	/* ERR_ISA 14   illegal search argument */
118 	/* 46*/ "The argument preceding a search command is 0. This",
119 	/* 47*/ "argument must not be 0.",
120 	/* 48*/ NULL,
121 
122 	/* ERR_ISS 15   illegal search string */
123 	/* 49*/ "One of the search string special characters (^Q, ^V, ^W,",
124 	/* 50*/ "etc.) would have modified the search string delimiter",
125 	/* 51*/ "(usually ESCAPE).",
126 	/* 52*/ NULL,
127 
128 	/* ERR_IUC 16   illegal character "x" following ^ */
129 	/* 53*/ "The character following a ^ must have an ASCII value",
130 	/* 54*/ "between 100 and 137 inclusive or between 141 and 172",
131 	/* 55*/ "inclusive.",
132 	/* 56*/ NULL,
133 
134 	/* ERR_MAP 17   missing ' */
135 	/* 57*/ "Every conditional (opened with the \" command) must be",
136 	/* 58*/ "closed with the ' command.",
137 	/* 59*/ NULL,
138 
139 	/* ERR_MEM 18   memory overflow */
140 	/* 60*/ "Insufficient memory available to complete the current",
141 	/* 61*/ "command. Make sure the Q-register area does not contain",
142 	/* 62*/ "much unnecessary text. Breaking up the text area into",
143 	/* 63*/ "multiple pages might be useful.",
144 	/* 64*/ NULL,
145 
146 	/* ERR_NAB 19   no argument before ^_ */
147 	/* 65*/ "The ^_ command must be preceded by either a specific",
148 	/* 66*/ "numeric argument or a command that returns a numeric",
149 	/* 67*/ "value.",
150 	/* 68*/ NULL,
151 
152 	/* ERR_NAC 20   no argument before , */
153 	/* 69*/ "A command has been executed in which a , is not preceded",
154 	/* 70*/ "by a numeric argument.",
155 	/* 71*/ NULL,
156 
157 	/* ERR_NAE 21   no argument before = */
158 	/* 72*/ "The =, ==, or === command must be preceded by either a",
159 	/* 73*/ "specific numeric argument or a command that returns a",
160 	/* 74*/ "numeric value.",
161 	/* 75*/ NULL,
162 
163 	/* ERR_NAP 22   no argument before ) */
164 	/* 76*/ "A ) parenthesis has been encountered and is not properly",
165 	/* 77*/ "preceded by a specific numeric argument or a command",
166 	/* 78*/ "that returns a numeric value.",
167 	/* 79*/ NULL,
168 
169 	/* ERR_NAQ 23   no argument before " */
170 	/* 80*/ "The \" commands must be preceded by a single numeric",
171 	/* 81*/ "argument on which the decision to execute the following",
172 	/* 82*/ "commands or skip to the matching ' is based.",
173 	/* 83*/ NULL,
174 
175 	/* ERR_NAS 24   no argument before ; */
176 	/* 84*/ "The ; command must be preceded by a single numeric",
177 	/* 85*/ "argument on which the decision to execute the following",
178 	/* 86*/ "commands or skip to the matching > is based.",
179 	/* 87*/ NULL,
180 
181 	/* ERR_NAU 25   no argument before U */
182 	/* 88*/ "The U comand must be preceded by either a specific",
183 	/* 89*/ "numeric argument or a command that returns a numeric",
184 	/* 90*/ "value.",
185 	/* 91*/ NULL,
186 
187 	/* ERR_NCA 26   negative argument to , */
188 	/* 92*/ "A comma was preceded by a negative number.",
189 	/* 93*/ NULL,
190 
191 	/* ERR_NFI 27   no file for input */
192 	/* 94*/ "Before issuing an input command, such as Y, it is",
193 	/* 95*/ "necessary to open an input file by use of a command such",
194 	/* 96*/ "as ER or EB.",
195 	/* 97*/ NULL,
196 
197 	/* ERR_NFO 28   no file for output */
198 	/* 98*/ "Before issuing an output command, such as N or P,",
199 	/* 99*/ "it is necessary to open an output file by use of a",
200 	/*100*/ "command such as EW or EB.",
201 	/*101*/ NULL,
202 
203 	/* ERR_NYA 29   numeric argument with Y */
204 	/*102*/ "The Y command must not be preceded by either a numeric",
205 	/*103*/ "argument or a command that returns a numeric value.",
206 	/*104*/ NULL,
207 
208 	/* ERR_NYI 30   not yet implemented */
209 	/*105*/ "A command was issued that is not yet implemented in this",
210 	/*106*/ "version of TECO.",
211 	/*107*/ NULL,
212 
213 	/* ERR_OFO 31   output file already open */
214 	/*108*/ "A command has been executed which tried to create an",
215 	/*109*/ "output file, but an output file currently is open. It",
216 	/*110*/ "is typically appropriate to use the EC or EK command as",
217 	/*111*/ "the situation calls for to close the output file.",
218 	/*112*/ NULL,
219 
220 	/* ERR_PDO 32   push-down list overflow */
221 	/*113*/ "The command string has become too complex. Simplify it.",
222 	/*114*/ NULL,
223 
224 	/* ERR_PES 33   attempt to pop empty stack */
225 	/*115*/ "A ] command (pop off q-register stack into a q-register)",
226 	/*116*/ "was encountered when there was nothing on the q-register",
227 	/*117*/ "stack.",
228 	/*118*/ NULL,
229 
230 	/* ERR_POP 34   attempt to move pointer off page with "x" */
231 	/*119*/ "A J, C or R command has been executed which attempted to",
232 	/*120*/ "move the pointer off the page. The result of executing",
233 	/*121*/ "one of these commands must leave the pointer between 0",
234 	/*122*/ "and Z, inclusive. The characters referenced by a D or",
235 	/*123*/ "nA command must also be within the buffer boundary.",
236 	/*124*/ NULL,
237 
238 	/* ERR_SNI 35   ; not in iteration */
239 	/*125*/ "A ; command has been executed outside of an open",
240 	/*126*/ "iteration bracket. This command may only be executed",
241 	/*127*/ "within iteration brackets.",
242 	/*128*/ NULL,
243 
244 	/* ERR_SRH 36   search failure "text" */
245 	/*129*/ "A search command not preceded by a colon modifier and",
246 	/*130*/ "not within an iteration has failed to find the specified",
247 	/*131*/ "\"text\". After an S search fails the pointer is left at",
248 	/*132*/ "the beginning of the buffer. After an N or _ search",
249 	/*133*/ "fails the last page of the input file has been input",
250 	/*134*/ "and, in the case of N, output, and the buffer is",
251 	/*135*/ "cleared. In the case of an N search it is usually",
252 	/*136*/ "necessary to close the output file and reopen it for",
253 	/*137*/ "continued editing.",
254 	/*138*/ NULL,
255 
256 	/* ERR_STL 37   string too long */
257 	/*139*/ "A search or file name string is too long. This is most",
258 	/*140*/ "likely the result of a missing ESCAPE after the string.",
259 	/*141*/ NULL,
260 
261 	/* ERR_TAG 38   missing tag !tag! */
262 	/*142*/ "The tag !tag! specified by an O command cannot be",
263 	/*143*/ "found. This tag must be in the same macro level as the",
264 	/*144*/ "O command referencing it.",
265 	/*145*/ NULL,
266 
267 	/* ERR_UTC 39   unterminated command "x" */
268 	/*146*/ "This is a general error which is usually caused by an",
269 	/*147*/ "unterminated insert, search, or filename argument, an",
270 	/*148*/ "unterminated ^A message, an unterminated tag or comment",
271 	/*149*/ "(i.e., unterminated ! construct), or a missing '",
272 	/*150*/ "character which closes a conditional execution command.",
273 	/*151*/ NULL,
274 
275 	/* ERR_UTM 40   unterminated macro */
276 	/*152*/ "This error is that same as the ?UTC error except that the",
277 	/*153*/ "unterminated command was executing from a Q-register",
278 	/*154*/ "(i.e., it was a macro). (Note: An entire command",
279 	/*155*/ "sequence stored in a q-register must be complete within",
280 	/*156*/ "the Q-register.)",
281 	/*157*/ NULL,
282 
283 	/* ERR_XAB 41   execution aborted */
284 	/*158*/ "Execution of TECO was aborted. This is usually due to",
285 	/*159*/ "the typing of <CTRL/C>.",
286 	/*160*/ NULL,
287 
288 	/* ERR_YCA 42   Y command aborted */
289 	/*161*/ "An attempt has been made to execute a Y or _ search",
290 	/*162*/ "command with an output file open, that would cause text",
291 	/*163*/ "in the text buffer to be erased without outputting it to",
292 	/*164*/ "the output file. The ED command controls this check.",
293 	/*165*/ NULL,
294 
295 	/* ERR_IFE 43   ill-formed numeric expression */
296 	/*166*/ "The numeric expression preceding a command doesn't make",
297 	/*167*/ "sense.  For example, 5+ isn't a complete expression.",
298 
299 	/* ERR_SYS 44   %s */
300 	/*168*/ NULL,
301 
302 	/* ERR_UCD 45   unable to close and delete output file */
303 	/*169*/ NULL,
304 
305 	/* ERR_UCI 46   unable to close input file */
306 	/*170*/ NULL,
307 
308 	/* ERR_UCO 47   unable to close output file */
309 	/*171*/ NULL,
310 
311 	/* ERR_UFI 48   unable to open file "x" for input */
312 	/*172*/ NULL,
313 
314 	/* ERR_UFO 49   unable to open file "x" for output */
315 	/*173*/ NULL,
316 
317 	/* ERR_URC 50   unable to read character from terminal */
318 	/*174*/ NULL,
319 
320 	/* ERR_URE 51   unable to read TECO command file */
321 	/*175*/ NULL,
322 
323 	/* ERR_URL 52   unable to read line from input file */
324 	/*176*/ NULL,
325 
326 	/* ERR_UWL 53   unable to write line to output file */
327 	/*177*/ NULL
328 };
329 
330 static int StartP[] = {
331 	/* ERR_ARG 0  */   0,	/* ERR_BNI 1  */   2,	/* ERR_DTB 2  */   7,
332 	/* ERR_FNF 3  */  10,	/* ERR_ICE 4  */  14,	/* ERR_IEC 5  */  19,
333 	/* ERR_IFC 6  */  23,	/* ERR_IIA 7  */  25,	/* ERR_ILL 8  */  28,
334 	/* ERR_ILN 9  */  31,	/* ERR_IPA 10 */  34,	/* ERR_IQC 11 */  37,
335 	/* ERR_IQN 12 */  41,	/* ERR_IRA 13 */  44,	/* ERR_ISA 14 */  46,
336 	/* ERR_ISS 15 */  49,	/* ERR_IUC 16 */  53,	/* ERR_MAP 17 */  57,
337 	/* ERR_MEM 18 */  60,	/* ERR_NAB 19 */  65,	/* ERR_NAC 20 */  69,
338 	/* ERR_NAE 21 */  72,	/* ERR_NAP 22 */  76,	/* ERR_NAQ 23 */  80,
339 	/* ERR_NAS 24 */  84,	/* ERR_NAU 25 */  88,	/* ERR_NCA 26 */  92,
340 	/* ERR_NFI 27 */  94,	/* ERR_NFO 28 */  98,	/* ERR_NYA 29 */ 102,
341 	/* ERR_NYI 30 */ 105,	/* ERR_OFO 31 */ 108,	/* ERR_PDO 32 */ 113,
342 	/* ERR_PES 33 */ 115,	/* ERR_POP 34 */ 119,	/* ERR_SNI 35 */ 125,
343 	/* ERR_SRH 36 */ 129,	/* ERR_STL 37 */ 139,	/* ERR_TAG 38 */ 142,
344 	/* ERR_UTC 39 */ 146,	/* ERR_UTM 40 */ 152,	/* ERR_XAB 41 */ 158,
345 	/* ERR_YCA 42 */ 161,	/* ERR_IFE 43 */ 166,	/* ERR_SYS 44 */ 168,
346 	/* ERR_UCD 45 */ 169,	/* ERR_UCI 46 */ 170,	/* ERR_UCO 47 */ 171,
347 	/* ERR_UFI 48 */ 172,	/* ERR_UFO 49 */ 173,	/* ERR_URC 50 */ 174,
348 	/* ERR_URE 51 */ 175,   /* ERR_URL 52 */ 176,	/* ERR_UWL 53 */ 177
349 };
350 
351 #endif
352