523
|
1 /* |
|
2 |
1884
|
3 Copyright (C) 1996 John W. Eaton |
523
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
1315
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
523
|
20 |
|
21 */ |
|
22 |
661
|
23 /* |
|
24 |
|
25 The functions listed below were adapted from a similar functions |
|
26 from GNU Bash, the Bourne Again SHell, copyright (C) 1987, 1989, 1991 |
|
27 Free Software Foundation, Inc. |
|
28 |
|
29 polite_directory_format absolute_pathname |
1804
|
30 base_pathname |
661
|
31 make_absolute pathname_backup |
|
32 change_to_directory get_working_directory |
|
33 |
|
34 */ |
|
35 |
523
|
36 #ifdef HAVE_CONFIG_H |
1192
|
37 #include <config.h> |
523
|
38 #endif |
|
39 |
1341
|
40 #include <cerrno> |
|
41 #include <cstdio> |
|
42 #include <cstddef> |
|
43 #include <cstdlib> |
|
44 #include <cstring> |
|
45 |
1728
|
46 #include <string> |
|
47 |
523
|
48 #include <strstream.h> |
|
49 |
1832
|
50 #ifdef HAVE_UNISTD_H |
2442
|
51 #ifdef HAVE_SYS_TYPES_H |
1832
|
52 #include <sys/types.h> |
2442
|
53 #endif |
1832
|
54 #include <unistd.h> |
|
55 #endif |
|
56 |
2495
|
57 #include "oct-glob.h" |
1755
|
58 #include "str-vec.h" |
|
59 |
1355
|
60 #include "defun.h" |
1781
|
61 #include "dir-ops.h" |
1355
|
62 #include "dirfns.h" |
|
63 #include "error.h" |
1766
|
64 #include "file-ops.h" |
1402
|
65 #include "gripes.h" |
1389
|
66 #include "help.h" |
1750
|
67 #include "oct-obj.h" |
1355
|
68 #include "pager.h" |
|
69 #include "pathlen.h" |
|
70 #include "procstream.h" |
1750
|
71 #include "pt-plot.h" |
1355
|
72 #include "sysdep.h" |
1750
|
73 #include "toplev.h" |
1449
|
74 #include "unwind-prot.h" |
523
|
75 #include "utils.h" |
1742
|
76 #include "variables.h" |
523
|
77 |
2196
|
78 // The current working directory. |
2204
|
79 string Vcurrent_directory; |
2196
|
80 |
523
|
81 // Non-zero means follow symbolic links that point to directories just |
|
82 // as if they are real directories. |
|
83 static int follow_symbolic_links = 1; |
|
84 |
|
85 // Non-zero means that pwd always give verbatim directory, regardless |
|
86 // of symbolic link following. |
|
87 static int verbatim_pwd = 1; |
|
88 |
661
|
89 // Remove the last N directories from PATH. Do not PATH blank. |
|
90 // PATH must contain enough space for MAXPATHLEN characters. |
|
91 |
1755
|
92 static void |
|
93 pathname_backup (string& path, int n) |
523
|
94 { |
1755
|
95 if (path.empty ()) |
523
|
96 return; |
|
97 |
1755
|
98 size_t i = path.length () - 1; |
523
|
99 |
|
100 while (n--) |
|
101 { |
1755
|
102 while (path[i] == '/' && i > 0) |
|
103 i--; |
523
|
104 |
1755
|
105 while (path[i] != '/' && i > 0) |
|
106 i--; |
523
|
107 |
1755
|
108 i++; |
523
|
109 } |
1755
|
110 |
|
111 path.resize (i); |
523
|
112 } |
|
113 |
661
|
114 // Return a pretty pathname. If the first part of the pathname is the |
|
115 // same as $HOME, then replace that with `~'. |
|
116 |
1755
|
117 string |
|
118 polite_directory_format (const string& name) |
523
|
119 { |
1755
|
120 string retval; |
523
|
121 |
2204
|
122 size_t len = Vhome_directory.length (); |
1755
|
123 |
2204
|
124 if (len > 1 && Vhome_directory.compare (name, 0, len) == 0 |
1755
|
125 && (name.length () == len || name[len] == '/')) |
523
|
126 { |
1755
|
127 retval = "~"; |
|
128 retval.append (name.substr (len)); |
523
|
129 } |
|
130 else |
1755
|
131 retval = name; |
|
132 |
|
133 return retval; |
523
|
134 } |
|
135 |
661
|
136 // Return 1 if STRING contains an absolute pathname, else 0. |
|
137 |
1803
|
138 static int |
1755
|
139 absolute_pathname (const string& s) |
523
|
140 { |
1755
|
141 if (s.empty ()) |
523
|
142 return 0; |
|
143 |
1755
|
144 if (s[0] == '/') |
523
|
145 return 1; |
|
146 |
1755
|
147 if (s[0] == '.') |
523
|
148 { |
1755
|
149 if (s[1] == '\0' || s[1] == '/') |
523
|
150 return 1; |
|
151 |
1755
|
152 if (s[1] == '.') |
|
153 if (s[2] == '\0' || s[2] == '/') |
523
|
154 return 1; |
|
155 } |
1755
|
156 |
523
|
157 return 0; |
|
158 } |
|
159 |
661
|
160 // Return the `basename' of the pathname in STRING (the stuff after |
|
161 // the last '/'). If STRING is not a full pathname, simply return it. |
|
162 |
1755
|
163 string |
|
164 base_pathname (const string& s) |
523
|
165 { |
1755
|
166 if (! absolute_pathname (s)) |
|
167 return s; |
523
|
168 |
1755
|
169 size_t pos = s.rfind ('/'); |
523
|
170 |
1755
|
171 if (pos == NPOS) |
|
172 return s; |
523
|
173 else |
1755
|
174 return s.substr (pos+1); |
523
|
175 } |
|
176 |
661
|
177 // Turn STRING (a pathname) into an absolute pathname, assuming that |
1755
|
178 // DOT_PATH contains the symbolic location of '.'. |
661
|
179 |
1755
|
180 string |
|
181 make_absolute (const string& s, const string& dot_path) |
523
|
182 { |
2512
|
183 #if defined (__EMX__) |
|
184 if (s.length () > 1 && s[1] == ':') |
|
185 return s; |
|
186 #endif |
|
187 |
1785
|
188 if (dot_path.empty () || s[0] == '/' || s.empty ()) |
1755
|
189 return s; |
|
190 |
|
191 string current_path = dot_path; |
523
|
192 |
1755
|
193 if (current_path.empty ()) |
|
194 current_path = "./"; |
523
|
195 |
1755
|
196 size_t pos = current_path.length () - 1; |
523
|
197 |
1755
|
198 if (current_path[pos] != '/') |
|
199 current_path.append ("/"); |
523
|
200 |
1755
|
201 size_t i = 0; |
|
202 size_t slen = s.length (); |
523
|
203 |
1755
|
204 while (i < slen) |
523
|
205 { |
1755
|
206 if (s[i] == '.') |
523
|
207 { |
1755
|
208 if (i + 1 == slen) |
|
209 return current_path; |
523
|
210 |
1755
|
211 if (s[i+1] == '/') |
523
|
212 { |
1755
|
213 i += 2; |
523
|
214 continue; |
|
215 } |
|
216 |
1755
|
217 if (s[i+1] == '.' && (i + 2 == slen || s[i+2] == '/')) |
523
|
218 { |
1755
|
219 i += 2; |
523
|
220 |
1755
|
221 if (i != slen) |
|
222 i++; |
523
|
223 |
|
224 pathname_backup (current_path, 1); |
1755
|
225 |
523
|
226 continue; |
|
227 } |
|
228 } |
|
229 |
1755
|
230 size_t tmp = s.find ('/', i); |
523
|
231 |
1755
|
232 if (tmp == NPOS) |
|
233 { |
|
234 current_path.append (s, i, tmp-i); |
|
235 break; |
|
236 } |
|
237 else |
|
238 { |
|
239 current_path.append (s, i, tmp-i+1); |
|
240 i = tmp + 1; |
|
241 } |
|
242 } |
523
|
243 |
1755
|
244 return current_path; |
523
|
245 } |
|
246 |
661
|
247 // Return a consed string which is the current working directory. |
|
248 // FOR_WHOM is the name of the caller for error printing. |
|
249 |
1755
|
250 string |
|
251 get_working_directory (const string& for_whom) |
523
|
252 { |
|
253 if (! follow_symbolic_links) |
2204
|
254 Vcurrent_directory = ""; |
523
|
255 |
2204
|
256 if (Vcurrent_directory.empty ()) |
523
|
257 { |
2204
|
258 Vcurrent_directory = octave_getcwd (); |
523
|
259 |
2204
|
260 if (Vcurrent_directory.empty ()) |
1755
|
261 warning ("%s: can't find current directory!", for_whom.c_str ()); |
523
|
262 } |
|
263 |
2204
|
264 return Vcurrent_directory; |
523
|
265 } |
|
266 |
661
|
267 // Do the work of changing to the directory NEWDIR. Handle symbolic |
|
268 // link following, etc. |
|
269 |
523
|
270 static int |
1755
|
271 change_to_directory (const string& newdir) |
523
|
272 { |
1755
|
273 string tmp; |
523
|
274 |
|
275 if (follow_symbolic_links) |
|
276 { |
2204
|
277 if (Vcurrent_directory.empty ()) |
523
|
278 get_working_directory ("cd_links"); |
|
279 |
2204
|
280 if (Vcurrent_directory.empty ()) |
1755
|
281 tmp = newdir; |
523
|
282 else |
2204
|
283 tmp = make_absolute (newdir, Vcurrent_directory); |
523
|
284 |
1358
|
285 // Get rid of trailing `/'. |
|
286 |
1755
|
287 size_t len = tmp.length (); |
523
|
288 |
1755
|
289 if (len > 1) |
523
|
290 { |
1755
|
291 if (tmp[--len] == '/') |
|
292 tmp.resize (len); |
523
|
293 } |
|
294 |
1755
|
295 if (octave_chdir (tmp) < 0) |
|
296 return 0; |
|
297 else |
|
298 { |
2204
|
299 Vcurrent_directory = tmp; |
1755
|
300 return 1; |
|
301 } |
523
|
302 } |
|
303 else |
1755
|
304 return (octave_chdir (newdir) < 0) ? 0 : 1; |
523
|
305 } |
|
306 |
1328
|
307 static int |
1755
|
308 octave_change_to_directory (const string& newdir) |
1328
|
309 { |
|
310 int cd_ok = change_to_directory (newdir); |
|
311 |
|
312 if (cd_ok) |
|
313 do_external_plotter_cd (newdir); |
|
314 else |
1755
|
315 error ("%s: %s", newdir.c_str (), strerror (errno)); |
1328
|
316 |
|
317 return cd_ok; |
|
318 } |
|
319 |
1957
|
320 DEFUN_TEXT (cd, args, , |
523
|
321 "cd [dir]\n\ |
|
322 \n\ |
|
323 change current working directory\n\ |
|
324 if no arguments are given, the current directory is changed to the\n\ |
|
325 users home directory") |
|
326 { |
2086
|
327 octave_value_list retval; |
523
|
328 |
1755
|
329 int argc = args.length () + 1; |
|
330 |
1965
|
331 string_vector argv = args.make_argv ("cd"); |
1755
|
332 |
|
333 if (error_state) |
|
334 return retval; |
523
|
335 |
|
336 if (argc > 1) |
|
337 { |
1750
|
338 string dirname = oct_tilde_expand (argv[1]); |
523
|
339 |
1750
|
340 if (dirname.length () > 0 |
1755
|
341 && ! octave_change_to_directory (dirname)) |
523
|
342 { |
|
343 return retval; |
|
344 } |
|
345 } |
|
346 else |
|
347 { |
2204
|
348 if (Vhome_directory.empty () |
|
349 || ! octave_change_to_directory (Vhome_directory)) |
523
|
350 { |
|
351 return retval; |
|
352 } |
|
353 } |
|
354 |
1755
|
355 string directory = get_working_directory ("cd"); |
2366
|
356 bind_builtin_variable ("PWD", directory, 1); |
523
|
357 |
|
358 return retval; |
|
359 } |
|
360 |
611
|
361 DEFALIAS (chdir, cd); |
|
362 |
661
|
363 // Get a directory listing. |
|
364 |
1965
|
365 static void |
|
366 cleanup_iprocstream (void *p) |
|
367 { |
|
368 delete (iprocstream *) p; |
|
369 } |
|
370 |
1957
|
371 DEFUN_TEXT (ls, args, , |
523
|
372 "ls [options]\n\ |
|
373 \n\ |
|
374 print a directory listing") |
|
375 { |
2086
|
376 octave_value_list retval; |
523
|
377 |
1755
|
378 int argc = args.length () + 1; |
|
379 |
1965
|
380 string_vector argv = args.make_argv ("ls"); |
1755
|
381 |
|
382 if (error_state) |
|
383 return retval; |
523
|
384 |
|
385 ostrstream ls_buf; |
|
386 |
|
387 ls_buf << "ls -C "; |
|
388 for (int i = 1; i < argc; i++) |
1750
|
389 ls_buf << oct_tilde_expand (argv[i]) << " "; |
523
|
390 |
|
391 ls_buf << ends; |
1449
|
392 char *ls_command = ls_buf.str (); |
523
|
393 |
1449
|
394 iprocstream *cmd = new iprocstream (ls_command); |
523
|
395 |
1469
|
396 delete [] ls_command; |
|
397 |
1449
|
398 add_unwind_protect (cleanup_iprocstream, cmd); |
523
|
399 |
1449
|
400 if (cmd && *cmd) |
|
401 { |
|
402 int ch; |
|
403 while ((ch = cmd->get ()) != EOF) |
2095
|
404 octave_stdout << (char) ch; |
1449
|
405 } |
|
406 else |
|
407 error ("couldn't start process for ls!"); |
523
|
408 |
1449
|
409 run_unwind_protect (); |
523
|
410 |
|
411 return retval; |
|
412 } |
|
413 |
549
|
414 DEFALIAS (dir, ls); |
|
415 |
1957
|
416 DEFUN (pwd, , nargout, |
523
|
417 "pwd (): print current working directory") |
|
418 { |
2086
|
419 octave_value_list retval; |
1755
|
420 string directory; |
523
|
421 |
|
422 if (verbatim_pwd) |
|
423 { |
1755
|
424 directory = octave_getcwd (); |
523
|
425 |
1755
|
426 if (directory.empty ()) |
|
427 warning ("pwd: can't find working directory!"); |
523
|
428 } |
|
429 else |
1755
|
430 directory = get_working_directory ("pwd"); |
523
|
431 |
1755
|
432 if (! directory.empty ()) |
523
|
433 { |
1592
|
434 if (nargout == 0) |
2095
|
435 octave_stdout << directory << "\n"; |
1592
|
436 else |
|
437 retval = directory; |
523
|
438 } |
1592
|
439 |
523
|
440 return retval; |
|
441 } |
|
442 |
1957
|
443 DEFUN (readdir, args, , |
2669
|
444 "[FILES, STATUS, MSG] = readdir (NAME)\n\ |
1389
|
445 \n\ |
|
446 Return an array of strings containing the list of all files in the |
2669
|
447 named directory in FILES, or an empty matrix if an error occurs\n\ |
|
448 \n\ |
|
449 If successful, STATUS is 0 and MSG is an empty string. Otherwise,\n\ |
|
450 STATUS is nonzero and MSG contains a system-dependent error message.") |
1389
|
451 { |
2086
|
452 octave_value_list retval; |
1389
|
453 |
2669
|
454 retval(2) = string (); |
|
455 retval(1) = -1.0; |
|
456 retval(0) = Matrix (); |
|
457 |
1401
|
458 if (args.length () == 1) |
1389
|
459 { |
1755
|
460 string dirname = args(0).string_value (); |
1389
|
461 |
1401
|
462 if (error_state) |
1781
|
463 gripe_wrong_type_arg ("readdir", args(0)); |
1401
|
464 else |
|
465 { |
1781
|
466 dir_entry dir (oct_tilde_expand (dirname)); |
1389
|
467 |
1401
|
468 if (dir) |
1389
|
469 { |
1781
|
470 string_vector dirlist = dir.read (); |
|
471 retval(0) = dirlist.qsort (); |
2669
|
472 retval(1) = 0.0; |
1401
|
473 } |
|
474 else |
|
475 { |
2669
|
476 retval(2) = dir.error (); |
1401
|
477 } |
1389
|
478 } |
|
479 } |
|
480 else |
|
481 print_usage ("readdir"); |
|
482 |
1401
|
483 return retval; |
|
484 } |
|
485 |
|
486 // XXX FIXME XXX -- should probably also allow second arg to specify |
|
487 // mode. |
|
488 |
1957
|
489 DEFUN (mkdir, args, , |
2669
|
490 "[STATUS, MSG] = mkdir (NAME)\n\ |
1401
|
491 \n\ |
2669
|
492 Create the directory named by NAME.\n\ |
|
493 \n\ |
|
494 If successful, STATUS is 0 and MSG is an empty string. Otherwise,\n\ |
|
495 STATUS is nonzero and MSG contains a system-dependent error message.") |
1401
|
496 { |
2086
|
497 octave_value_list retval; |
1401
|
498 |
2669
|
499 retval(1) = string (); |
|
500 retval(0) = -1.0; |
1401
|
501 |
|
502 if (args.length () == 1) |
|
503 { |
1755
|
504 string dirname = args(0).string_value (); |
1401
|
505 |
|
506 if (error_state) |
1402
|
507 gripe_wrong_type_arg ("mkdir", args(0)); |
1489
|
508 else |
1401
|
509 { |
2669
|
510 string msg; |
|
511 |
|
512 int status = oct_mkdir (oct_tilde_expand (dirname), |
|
513 0777, msg); |
1489
|
514 |
2669
|
515 retval(0) = (double) status; |
|
516 |
|
517 if (status < 0) |
|
518 retval(1) = msg; |
1401
|
519 } |
|
520 } |
|
521 else |
|
522 print_usage ("mkdir"); |
|
523 |
|
524 return retval; |
|
525 } |
|
526 |
1957
|
527 DEFUN (rmdir, args, , |
2669
|
528 "[STATUS, MSG] = rmdir (NAME)\n\ |
1401
|
529 \n\ |
2669
|
530 Remove the directory named by NAME.\n\ |
|
531 \n\ |
|
532 If successful, STATUS is 0 and MSG is an empty string. Otherwise,\n\ |
|
533 STATUS is nonzero and MSG contains a system-dependent error message.") |
1401
|
534 { |
2086
|
535 octave_value_list retval; |
1401
|
536 |
2669
|
537 retval(1) = string (); |
|
538 retval(0) = -1.0; |
1401
|
539 |
|
540 if (args.length () == 1) |
|
541 { |
1755
|
542 string dirname = args(0).string_value (); |
1401
|
543 |
|
544 if (error_state) |
1402
|
545 gripe_wrong_type_arg ("rmdir", args(0)); |
1489
|
546 else |
1401
|
547 { |
2669
|
548 string msg; |
|
549 |
|
550 int status = oct_rmdir (oct_tilde_expand (dirname), msg); |
1489
|
551 |
2669
|
552 retval(0) = (double) status; |
|
553 |
|
554 if (status < 0) |
|
555 retval(1) = msg; |
1401
|
556 } |
|
557 } |
1389
|
558 else |
1401
|
559 print_usage ("rmdir"); |
|
560 |
|
561 return retval; |
|
562 } |
|
563 |
1957
|
564 DEFUN (rename, args, , |
2669
|
565 "[STATUS, MSG] = rename (FROM, TO)\n\ |
1401
|
566 \n\ |
2669
|
567 Rename a file.\n\ |
|
568 \n\ |
|
569 If successful, STATUS is 0 and MSG is an empty string. Otherwise,\n\ |
|
570 STATUS is nonzero and MSG contains a system-dependent error message.") |
1401
|
571 { |
2086
|
572 octave_value_list retval; |
1401
|
573 |
2669
|
574 retval(1) = string (); |
|
575 retval(0) = -1.0; |
1401
|
576 |
|
577 if (args.length () == 2) |
|
578 { |
1755
|
579 string from = args(0).string_value (); |
1728
|
580 |
1401
|
581 if (error_state) |
1402
|
582 gripe_wrong_type_arg ("rename", args(0)); |
|
583 else |
1401
|
584 { |
1755
|
585 string to = args(1).string_value (); |
1728
|
586 |
1402
|
587 if (error_state) |
|
588 gripe_wrong_type_arg ("rename", args(1)); |
2669
|
589 else |
1402
|
590 { |
2669
|
591 string msg; |
|
592 |
|
593 int status = oct_rename (from, to, msg); |
|
594 |
|
595 retval(0) = (double) status; |
|
596 |
|
597 if (status < 0) |
|
598 retval(1) = msg; |
1402
|
599 } |
1401
|
600 } |
|
601 } |
|
602 else |
|
603 print_usage ("rename"); |
|
604 |
1389
|
605 return retval; |
|
606 } |
|
607 |
2495
|
608 DEFUN (glob, args, , |
|
609 "glob (PATTERN)\n\ |
|
610 \n\ |
2496
|
611 Given an array of strings in PATTERN, return the list of file names\n\ |
|
612 that any of them, or an empty string if no patterns match. Tilde\n\ |
|
613 expansion is performed on each of the patterns before looking for\n\ |
2495
|
614 matching file names.") |
|
615 { |
|
616 octave_value retval; |
|
617 |
|
618 if (args.length () == 1) |
|
619 { |
|
620 string_vector pat = args(0).all_strings (); |
|
621 |
|
622 if (error_state) |
|
623 gripe_wrong_type_arg ("glob", args(0)); |
|
624 else |
|
625 { |
|
626 glob_match pattern (oct_tilde_expand (pat)); |
|
627 |
|
628 string_vector list = pattern.glob (); |
|
629 |
|
630 if (list.empty ()) |
|
631 retval = ""; |
|
632 else |
|
633 retval = list; |
|
634 } |
|
635 } |
|
636 else |
|
637 print_usage ("glob"); |
|
638 |
|
639 return retval; |
|
640 } |
|
641 |
2496
|
642 DEFUN (fnmatch, args, , |
|
643 "fnmatch (PATTERN, STRING)\n\ |
|
644 \n\ |
|
645 Return 1 or zero for each element of STRING that matches any of the\n\ |
|
646 elements of the string array PATTERN, using the rules of filename\n\ |
|
647 pattern matching.") |
|
648 { |
|
649 octave_value retval; |
|
650 |
|
651 if (args.length () == 2) |
|
652 { |
|
653 string_vector pat = args(0).all_strings (); |
|
654 string_vector str = args(1).all_strings (); |
|
655 |
|
656 if (error_state) |
|
657 gripe_wrong_type_arg ("fnmatch", args(0)); |
|
658 else |
|
659 { |
|
660 glob_match pattern (oct_tilde_expand (pat)); |
|
661 |
|
662 Array<bool> tmp = pattern.match (str); |
|
663 |
|
664 int n = tmp.length (); |
|
665 |
|
666 ColumnVector result (n); |
|
667 |
|
668 for (int i = 0; i < n; i++) |
|
669 result(i) = tmp(i); |
|
670 |
|
671 retval = octave_value (result, true); |
|
672 } |
|
673 } |
|
674 else |
|
675 print_usage ("fnmatch"); |
|
676 |
|
677 return retval; |
|
678 } |
|
679 |
2196
|
680 static int |
|
681 pwd (void) |
|
682 { |
|
683 int status = 0; |
|
684 |
|
685 string s = builtin_string_variable ("PWD"); |
|
686 |
|
687 if (s.empty ()) |
|
688 { |
|
689 gripe_invalid_value_specified ("PWD"); |
|
690 status = -1; |
|
691 } |
|
692 else |
|
693 Vcurrent_directory = s; |
|
694 |
|
695 return status; |
|
696 } |
|
697 |
|
698 void |
|
699 symbols_of_dirfns (void) |
|
700 { |
|
701 DEFCONST (PWD, get_working_directory ("initialize_globals"), 0, pwd, |
|
702 "current working directory"); |
|
703 } |
|
704 |
523
|
705 /* |
|
706 ;;; Local Variables: *** |
|
707 ;;; mode: C++ *** |
|
708 ;;; End: *** |
|
709 */ |