1
|
1 // utils.cc -*- C++ -*- |
|
2 /* |
|
3 |
296
|
4 Copyright (C) 1992, 1993, 1994 John W. Eaton |
1
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
|
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
|
21 |
|
22 */ |
|
23 |
|
24 /* |
|
25 |
400
|
26 The 12 functions listed below were adapted from a similar functions |
1
|
27 from GNU Bash, the Bourne Again SHell, copyright (C) 1987, 1989, 1991 |
|
28 Free Software Foundation, Inc. |
|
29 |
|
30 polite_directory_format absolute_pathname |
|
31 absolute_program base_pathname |
|
32 read_octal sub_append_string |
|
33 decode_prompt_string pathname_backup |
|
34 make_absolute get_working_directory |
320
|
35 change_to_directory gethostname |
1
|
36 |
643
|
37 The 2 functions listed below were adapted from a similar functions |
|
38 from GCC, the GNU C compiler, copyright (C) 1987, 1989, 1992, 1993, |
|
39 1994 Free Software Foundation, Inc. |
|
40 |
|
41 choose_temp_base_try octave_tmp_file_name |
|
42 |
1
|
43 */ |
|
44 |
240
|
45 #ifdef HAVE_CONFIG_H |
|
46 #include "config.h" |
1
|
47 #endif |
|
48 |
|
49 #include <sys/types.h> |
|
50 #ifdef HAVE_UNISTD_H |
|
51 #include <unistd.h> |
|
52 #endif |
|
53 #include <sys/param.h> |
|
54 #include <string.h> |
|
55 #include <limits.h> |
|
56 #include <iostream.h> |
|
57 #include <strstream.h> |
|
58 #include <fstream.h> |
367
|
59 |
526
|
60 #include <Complex.h> |
287
|
61 |
|
62 extern "C" |
|
63 { |
636
|
64 #include <setjmp.h> |
|
65 |
|
66 #ifndef HAVE_STRNCASECMP |
287
|
67 extern int strncasecmp (const char*, const char*, size_t); |
636
|
68 #endif |
287
|
69 } |
|
70 |
138
|
71 extern "C" |
|
72 { |
|
73 #if defined (HAVE_TERMIOS_H) |
|
74 #include <termios.h> |
|
75 #elif defined (HAVE_TERMIO_H) |
1
|
76 #include <termio.h> |
138
|
77 #elif defined (HAVE_SGTTY_H) |
1
|
78 #include <sgtty.h> |
|
79 #else |
|
80 LOSE! LOSE! |
|
81 #endif |
|
82 |
581
|
83 #include <readline/tilde.h> |
1
|
84 } |
|
85 |
526
|
86 // This mess suggested by the autoconf manual. |
|
87 // unistd.h defines _POSIX_VERSION on POSIX.1 systems. |
|
88 #if defined(DIRENT) || defined(_POSIX_VERSION) |
|
89 #include <dirent.h> |
|
90 #define NLENGTH(dirent) (strlen((dirent)->d_name)) |
|
91 #else /* not (DIRENT or _POSIX_VERSION) */ |
|
92 #define dirent direct |
|
93 #define NLENGTH(dirent) ((dirent)->d_namlen) |
|
94 #ifdef SYSNDIR |
|
95 #include <sys/ndir.h> |
|
96 #endif /* SYSNDIR */ |
|
97 #ifdef SYSDIR |
|
98 #include <sys/dir.h> |
|
99 #endif /* SYSDIR */ |
|
100 #ifdef NDIR |
|
101 #include <ndir.h> |
|
102 #endif /* NDIR */ |
|
103 #endif /* not (DIRENT or _POSIX_VERSION) */ |
|
104 |
1
|
105 #include "SLStack.h" |
|
106 |
|
107 #include "procstream.h" |
|
108 #include "user-prefs.h" |
|
109 #include "variables.h" |
526
|
110 #include "dirfns.h" |
1
|
111 #include "error.h" |
628
|
112 #include "gripes.h" |
526
|
113 #include "pager.h" |
1
|
114 #include "utils.h" |
175
|
115 #include "input.h" |
1
|
116 #include "octave.h" |
526
|
117 #include "oct-obj.h" |
1
|
118 #include "mappers.h" |
|
119 #include "version.h" |
|
120 #include "tree-const.h" |
|
121 #include "unwind-prot.h" |
|
122 #include "octave-hist.h" |
|
123 |
|
124 // Top level context (?) |
|
125 extern jmp_buf toplevel; |
|
126 |
581
|
127 // Save a string. |
|
128 |
1
|
129 char * |
|
130 strsave (const char *s) |
|
131 { |
526
|
132 if (! s) |
|
133 return 0; |
1
|
134 |
|
135 int len = strlen (s); |
|
136 char *tmp = new char [len+1]; |
|
137 tmp = strcpy (tmp, s); |
|
138 return tmp; |
|
139 } |
|
140 |
581
|
141 // Concatenate two strings. |
|
142 |
1
|
143 char * |
|
144 strconcat (const char *s, const char *t) |
|
145 { |
|
146 int len = strlen (s) + strlen (t); |
|
147 char *tmp = new char [len+1]; |
|
148 strcpy (tmp, s); |
|
149 return strcat (tmp, t); |
|
150 } |
|
151 |
581
|
152 // Throw away input until a given character is read. |
|
153 |
1
|
154 void |
|
155 discard_until (istream& stream, char character) |
|
156 { |
|
157 int c; |
|
158 for (;;) |
|
159 { |
|
160 stream >> c; |
|
161 if (c == EOF || c == character) |
|
162 break; |
|
163 } |
|
164 if (c != EOF) |
|
165 stream.putback ((char) c); |
|
166 } |
|
167 |
607
|
168 #if 0 |
|
169 |
|
170 // XXX UNTESTED XXX |
|
171 |
|
172 // Read input until a given character is read. Returns characters |
|
173 // read in a new string that must be freed by the caller. |
|
174 |
|
175 char * |
|
176 read_until (istream& stream, char character) |
|
177 { |
|
178 int grow_size = 8; |
|
179 int limit = grow_size; |
|
180 char *buf = new char [limit]; |
|
181 char *bp = buf; |
|
182 |
|
183 get_more: |
|
184 is.getline (bp, limit, character); |
|
185 |
|
186 if (is.gcount () == 0) |
|
187 { |
|
188 delete [] buf; |
|
189 return 0; |
|
190 } |
|
191 |
|
192 if (is.gcount () == limit && buf[limit-1] != '\0') |
|
193 { |
|
194 char *tmp = new char [limit + grow_size]; |
|
195 strcpy (tmp, buf); |
|
196 delete [] buf; |
|
197 buf = tmp; |
|
198 bp = tmp + limit - 1; |
|
199 limit += grow_size; |
|
200 grow_size *= 2; |
|
201 goto get_more; |
|
202 } |
|
203 |
|
204 return buf; |
|
205 } |
|
206 #endif |
|
207 |
643
|
208 // Compute a string to use as the base of all temporary file names. |
|
209 |
|
210 static char * |
|
211 choose_temp_base_try (char *try_me, char *base) |
|
212 { |
|
213 char *retval; |
|
214 |
|
215 if (base) |
|
216 retval = base; |
|
217 else if (! try_me) |
|
218 retval = 0; |
|
219 else if (access (try_me, R_OK | W_OK) != 0) |
|
220 retval = 0; |
|
221 else |
|
222 retval = try_me; |
|
223 |
|
224 return retval; |
|
225 } |
|
226 |
|
227 // Get a temporary file name. The prefix comes from the envvar |
|
228 // TMPDIR, or TMP, or TEMP if defined; otherwise, from the P_tmpdir |
|
229 // macro if that is defined; otherwise, it is /usr/tmp or /tmp, or ./. |
|
230 // |
|
231 // If nothing works, panic. |
|
232 |
|
233 char * |
|
234 octave_tmp_file_name (void) |
|
235 { |
|
236 #if defined (HAVE_MKTEMP) |
|
237 static char *temp_file_name = 0; |
|
238 |
|
239 char *base = 0; |
|
240 int len; |
|
241 |
|
242 base = choose_temp_base_try (getenv ("TMPDIR"), base); |
|
243 base = choose_temp_base_try (getenv ("TMP"), base); |
|
244 base = choose_temp_base_try (getenv ("TEMP"), base); |
|
245 |
|
246 #ifdef P_tmpdir |
|
247 base = choose_temp_base_try (P_tmpdir, base); |
|
248 #endif |
|
249 |
|
250 base = choose_temp_base_try ("/usr/tmp", base); |
|
251 base = choose_temp_base_try ("/tmp", base); |
|
252 |
|
253 // If all else fails, use the current directory! |
|
254 |
|
255 if (base == (char *)0) |
|
256 base = "./"; |
|
257 |
|
258 len = strlen (base); |
|
259 |
|
260 delete [] temp_file_name; |
|
261 |
|
262 temp_file_name = new char [len + sizeof("/oct-XXXXXX") + 1]; |
|
263 |
|
264 strcpy (temp_file_name, base); |
|
265 |
|
266 if (len > 0 && temp_file_name[len-1] != '/') |
|
267 temp_file_name[len++] = '/'; |
|
268 |
|
269 strcpy (temp_file_name + len, "oct-XXXXXX"); |
|
270 |
|
271 mktemp (temp_file_name); |
|
272 |
|
273 if (! strlen (temp_file_name)) |
|
274 panic ("unable to find directory for temporary files!"); |
|
275 |
|
276 return temp_file_name; |
|
277 #else |
|
278 return tmpnam (0); |
|
279 #endif |
|
280 } |
|
281 |
1
|
282 char ** |
|
283 pathstring_to_vector (char *pathstring) |
|
284 { |
526
|
285 static char **path = 0; |
1
|
286 |
526
|
287 if (pathstring) |
1
|
288 { |
|
289 int nelem = 0; |
240
|
290 char *tmp_path = strsave (pathstring); |
|
291 if (*tmp_path != '\0') |
1
|
292 { |
|
293 nelem++; |
240
|
294 char *ptr = tmp_path; |
1
|
295 while (*ptr != '\0') |
|
296 { |
|
297 if (*ptr == ':') |
|
298 nelem++; |
|
299 ptr++; |
|
300 } |
|
301 } |
|
302 |
240
|
303 char **foo = path; |
|
304 while (foo && *foo) |
244
|
305 delete [] *foo++; |
1
|
306 delete [] path; |
244
|
307 |
1
|
308 path = new char * [nelem+1]; |
526
|
309 path[nelem] = 0; |
1
|
310 |
|
311 int i = 0; |
240
|
312 char *ptr = tmp_path; |
1
|
313 while (i < nelem) |
|
314 { |
|
315 char *end = strchr (ptr, ':'); |
526
|
316 if (end) |
1
|
317 *end = '\0'; |
|
318 char *result = tilde_expand (ptr); |
|
319 path[i] = strsave (result); |
|
320 free (result); |
|
321 ptr = end + 1; |
|
322 i++; |
|
323 } |
|
324 |
240
|
325 delete [] tmp_path; |
1
|
326 } |
|
327 |
|
328 return path; |
|
329 } |
|
330 |
581
|
331 // Return to the main command loop in octave.cc. |
|
332 |
189
|
333 void |
1
|
334 jump_to_top_level (void) |
|
335 { |
|
336 run_all_unwind_protects (); |
|
337 |
|
338 longjmp (toplevel, 1); |
|
339 } |
|
340 |
|
341 int |
526
|
342 almost_match (const char *std, const char *s, int min_match_len, |
|
343 int case_sens) |
1
|
344 { |
|
345 int stdlen = strlen (std); |
|
346 int slen = strlen (s); |
|
347 |
|
348 return (slen <= stdlen |
|
349 && slen >= min_match_len |
287
|
350 && (case_sens |
|
351 ? (strncmp (std, s, slen) == 0) |
|
352 : (strncasecmp (std, s, slen) == 0))); |
|
353 } |
|
354 |
581
|
355 // Ugh. |
|
356 |
287
|
357 int |
|
358 keyword_almost_match (const char **std, int *min_len, const char *s, |
|
359 int min_toks_to_match, int max_toks) |
|
360 { |
|
361 int status = 0; |
|
362 int tok_count = 0; |
|
363 int toks_matched = 0; |
|
364 |
526
|
365 if (! s || *s == '\0' || max_toks < 1) |
287
|
366 return status; |
|
367 |
|
368 char *kw = strsave (s); |
|
369 |
|
370 char *t = kw; |
|
371 while (*t != '\0') |
|
372 { |
|
373 if (*t == '\t') |
|
374 *t = ' '; |
|
375 t++; |
|
376 } |
|
377 |
|
378 char *beg = kw; |
|
379 while (*beg == ' ') |
|
380 beg++; |
|
381 |
|
382 if (*beg == '\0') |
|
383 return status; |
|
384 |
|
385 |
|
386 char **to_match = new char * [max_toks + 1]; |
526
|
387 const char **s1 = std; |
287
|
388 char **s2 = to_match; |
|
389 |
526
|
390 if (! s1 || ! s2) |
287
|
391 goto done; |
|
392 |
|
393 s2[tok_count] = beg; |
|
394 char *end; |
526
|
395 while ((end = strchr (beg, ' ')) != 0) |
287
|
396 { |
|
397 *end = '\0'; |
|
398 beg = end + 1; |
|
399 |
|
400 while (*beg == ' ') |
|
401 beg++; |
|
402 |
|
403 if (*beg == '\0') |
|
404 break; |
|
405 |
|
406 tok_count++; |
|
407 if (tok_count >= max_toks) |
|
408 goto done; |
|
409 |
|
410 s2[tok_count] = beg; |
|
411 } |
526
|
412 s2[tok_count+1] = 0; |
287
|
413 |
|
414 s2 = to_match; |
|
415 |
|
416 for (;;) |
|
417 { |
|
418 if (! almost_match (*s1, *s2, min_len[toks_matched], 0)) |
|
419 goto done; |
|
420 |
|
421 toks_matched++; |
|
422 |
|
423 s1++; |
|
424 s2++; |
|
425 |
|
426 if (! *s2) |
|
427 { |
|
428 status = (toks_matched >= min_toks_to_match); |
|
429 goto done; |
|
430 } |
|
431 |
|
432 if (! *s1) |
|
433 goto done; |
|
434 } |
|
435 |
|
436 done: |
|
437 |
|
438 delete [] kw; |
|
439 delete [] to_match; |
|
440 |
|
441 return status; |
1
|
442 } |
|
443 |
|
444 char ** |
338
|
445 get_fcn_file_names (int& num, const char *dir, int no_suffix) |
1
|
446 { |
|
447 static int num_max = 256; |
|
448 char **retval = new char * [num_max]; |
|
449 int i = 0; |
|
450 |
|
451 DIR *dirp = opendir (dir); |
526
|
452 if (dirp) |
1
|
453 { |
|
454 struct dirent *entry; |
526
|
455 while ((entry = readdir (dirp)) != 0) |
1
|
456 { |
|
457 int len = NLENGTH (entry); |
|
458 if (len > 2 |
|
459 && entry->d_name[len-2] == '.' |
|
460 && entry->d_name[len-1] == 'm') |
|
461 { |
|
462 retval[i] = strsave (entry->d_name); |
|
463 if (no_suffix) |
|
464 retval[i][len-2] = '\0'; |
|
465 |
|
466 i++; |
|
467 |
|
468 if (i == num_max - 1) |
|
469 { |
244
|
470 // Reallocate the array. Only copy pointers, not the strings they |
|
471 // point to, then only delete the original array of pointers, and not |
|
472 // the strings they point to. |
|
473 |
1
|
474 num_max += 256; |
|
475 char **tmp = new char * [num_max]; |
|
476 for (int j = 0; j < i; j++) |
|
477 tmp[j] = retval[j]; |
|
478 |
244
|
479 delete [] retval; |
|
480 |
1
|
481 retval = tmp; |
|
482 } |
|
483 } |
|
484 } |
106
|
485 closedir (dirp); |
1
|
486 } |
|
487 |
526
|
488 retval[i] = 0; |
1
|
489 num = i; |
|
490 |
|
491 return retval; |
|
492 } |
|
493 |
|
494 char ** |
338
|
495 get_fcn_file_names (int& num, int no_suffix) |
1
|
496 { |
|
497 static int num_max = 1024; |
|
498 char **retval = new char * [num_max]; |
|
499 int i = 0; |
|
500 |
|
501 char **path = pathstring_to_vector (user_pref.loadpath); |
|
502 |
|
503 char **ptr = path; |
526
|
504 if (ptr) |
1
|
505 { |
526
|
506 while (*ptr) |
1
|
507 { |
|
508 int tmp_num; |
338
|
509 char **names = get_fcn_file_names (tmp_num, *ptr, no_suffix); |
1
|
510 |
|
511 if (i + tmp_num >= num_max - 1) |
|
512 { |
244
|
513 // Reallocate the array. Only copy pointers, not the strings they |
|
514 // point to, then only delete the original array of pointers, and not |
|
515 // the strings they point to. |
|
516 |
1
|
517 num_max += 1024; |
|
518 char **tmp = new char * [num_max]; |
|
519 for (int j = 0; j < i; j++) |
|
520 tmp[j] = retval[j]; |
|
521 |
244
|
522 delete [] retval; |
|
523 |
1
|
524 retval = tmp; |
|
525 } |
|
526 |
|
527 int k = 0; |
|
528 while (k < tmp_num) |
|
529 retval[i++] = names[k++]; |
|
530 |
|
531 ptr++; |
|
532 } |
|
533 } |
|
534 |
526
|
535 retval[i] = 0; |
1
|
536 num = i; |
|
537 |
|
538 return retval; |
|
539 } |
|
540 |
|
541 int |
|
542 NINT (double x) |
|
543 { |
|
544 if (x > INT_MAX) |
|
545 return INT_MAX; |
|
546 else if (x < INT_MIN) |
|
547 return INT_MIN; |
|
548 else |
|
549 return (x > 0) ? ((int) (x + 0.5)) : ((int) (x - 0.5)); |
|
550 } |
|
551 |
|
552 double |
|
553 D_NINT (double x) |
|
554 { |
|
555 if (xisinf (x) || xisnan (x)) |
|
556 return x; |
|
557 else |
|
558 return floor (x + 0.5); |
|
559 } |
|
560 |
526
|
561 // XXX FIXME XXX -- put these in some file, and make them extern. |
|
562 |
|
563 static int |
|
564 all_strings (const Octave_object& args) |
|
565 { |
|
566 int n = args.length (); |
|
567 for (int i = 1; i < n; i++) |
610
|
568 if (! args(i).is_string ()) |
526
|
569 return 0; |
|
570 return 1; |
|
571 } |
|
572 |
|
573 char ** |
578
|
574 make_argv (const Octave_object& args, const char *fcn_name) |
526
|
575 { |
|
576 char **argv = 0; |
|
577 if (all_strings (args)) |
|
578 { |
|
579 int n = args.length (); |
|
580 argv = new char * [n + 1]; |
578
|
581 argv[0] = strsave (fcn_name); |
526
|
582 for (int i = 1; i < n; i++) |
|
583 argv[i] = strsave (args(i).string_value ()); |
|
584 } |
|
585 else |
578
|
586 error ("%s: expecting all arguments to be strings", fcn_name); |
526
|
587 |
|
588 return argv; |
|
589 } |
|
590 |
628
|
591 int |
|
592 empty_arg (const char *name, int nr, int nc) |
|
593 { |
|
594 int is_empty = 0; |
|
595 |
|
596 if (nr == 0 || nc == 0) |
|
597 { |
|
598 int flag = user_pref.propagate_empty_matrices; |
|
599 |
|
600 if (flag < 0) |
636
|
601 { |
|
602 gripe_empty_arg (name, 0); |
|
603 is_empty = 1; |
|
604 } |
|
605 else if (is_empty > 0) |
|
606 { |
|
607 gripe_empty_arg (name, 1); |
|
608 is_empty = -1; |
|
609 } |
628
|
610 } |
|
611 |
|
612 return is_empty; |
|
613 } |
|
614 |
581
|
615 // Format a list in neat columns. Mostly stolen from GNU ls. This |
|
616 // should maybe be in utils.cc. |
|
617 |
526
|
618 ostrstream& |
|
619 list_in_columns (ostrstream& os, char **list) |
|
620 { |
|
621 // Compute the maximum name length. |
|
622 |
|
623 int max_name_length = 0; |
|
624 int total_names = 0; |
|
625 for (char **names = list; *names; names++) |
|
626 { |
|
627 total_names++; |
|
628 int name_length = strlen (*names); |
|
629 if (name_length > max_name_length) |
|
630 max_name_length = name_length; |
|
631 } |
|
632 |
|
633 // Allow at least two spaces between names. |
|
634 |
|
635 max_name_length += 2; |
|
636 |
|
637 // Calculate the maximum number of columns that will fit. |
|
638 |
|
639 int line_length = terminal_columns (); |
|
640 int cols = line_length / max_name_length; |
|
641 if (cols == 0) |
|
642 cols = 1; |
|
643 |
|
644 // Calculate the number of rows that will be in each column except |
|
645 // possibly for a short column on the right. |
|
646 |
|
647 int rows = total_names / cols + (total_names % cols != 0); |
|
648 |
|
649 // Recalculate columns based on rows. |
|
650 |
|
651 cols = total_names / rows + (total_names % rows != 0); |
|
652 |
|
653 names = list; |
|
654 int count; |
|
655 for (int row = 0; row < rows; row++) |
|
656 { |
|
657 count = row; |
|
658 int pos = 0; |
|
659 |
|
660 // Print the next row. |
|
661 |
|
662 while (1) |
|
663 { |
|
664 os << *(names + count); |
|
665 int name_length = strlen (*(names + count)); |
|
666 |
|
667 count += rows; |
|
668 if (count >= total_names) |
|
669 break; |
|
670 |
|
671 int spaces_to_pad = max_name_length - name_length; |
|
672 for (int i = 0; i < spaces_to_pad; i++) |
|
673 os << " "; |
|
674 pos += max_name_length; |
|
675 } |
|
676 os << "\n"; |
|
677 } |
|
678 |
|
679 return os; |
|
680 } |
|
681 |
581
|
682 // See if the given file is in the path. |
|
683 |
526
|
684 char * |
|
685 file_in_path (const char *name, const char *suffix) |
|
686 { |
|
687 char *retval = 0; |
|
688 |
|
689 char *nm = strconcat ("/", name); |
|
690 if (suffix) |
|
691 { |
|
692 char *tmp = nm; |
|
693 nm = strconcat (tmp, suffix); |
|
694 delete [] tmp; |
|
695 } |
|
696 |
|
697 if (! the_current_working_directory) |
|
698 get_working_directory ("file_in_path"); |
|
699 |
|
700 char **path = pathstring_to_vector (user_pref.loadpath); |
|
701 |
|
702 char **ptr = path; |
|
703 if (ptr) |
|
704 { |
|
705 while (*ptr) |
|
706 { |
|
707 char *tmp = strconcat (*ptr, nm); |
|
708 char *p = make_absolute (tmp, the_current_working_directory); |
|
709 delete [] tmp; |
|
710 ifstream in_file (p); |
|
711 if (in_file) |
|
712 { |
|
713 in_file.close (); |
|
714 retval = p; |
|
715 goto done; |
|
716 } |
|
717 delete [] p; |
|
718 ptr++; |
|
719 } |
|
720 } |
|
721 |
|
722 done: |
|
723 delete [] nm; |
|
724 return retval; |
|
725 } |
|
726 |
581
|
727 // See if there is an function file in the path. If so, return the |
|
728 // full path to the file. |
|
729 |
526
|
730 char * |
|
731 fcn_file_in_path (const char *name) |
|
732 { |
|
733 return file_in_path (name, ".m"); |
|
734 } |
|
735 |
581
|
736 // See if there is an octave file in the path. If so, return the |
|
737 // full path to the file. |
|
738 |
572
|
739 char * |
|
740 oct_file_in_path (const char *name) |
|
741 { |
|
742 return file_in_path (name, ".oct"); |
|
743 } |
|
744 |
|
745 /* |
1
|
746 ;;; Local Variables: *** |
|
747 ;;; mode: C++ *** |
|
748 ;;; page-delimiter: "^/\\*" *** |
|
749 ;;; End: *** |
|
750 */ |