Mercurial > hg > octave-lyh
comparison src/defaults.cc @ 3301:02866242d3ae
[project @ 1999-10-20 04:10:46 by jwe]
author | jwe |
---|---|
date | Wed, 20 Oct 1999 04:10:53 +0000 |
parents | 4964d5391acc |
children | 15cddaacbc2d |
comparison
equal
deleted
inserted
replaced
3300:cfbe664b5ebf | 3301:02866242d3ae |
---|---|
417 { | 417 { |
418 DEFVAR (EDITOR, Veditor, editor, | 418 DEFVAR (EDITOR, Veditor, editor, |
419 "name of the editor to be invoked by the edit_history command"); | 419 "name of the editor to be invoked by the edit_history command"); |
420 | 420 |
421 DEFVAR (EXEC_PATH, Vexec_path, exec_path, | 421 DEFVAR (EXEC_PATH, Vexec_path, exec_path, |
422 "colon separated list of directories to search for programs to run"); | 422 "-*- texinfo -*-\n\ |
423 @defvr {Built-in Variable} EXEC_PATH\n\ | |
424 The variable @code{EXEC_PATH} is a colon separated list of directories\n\ | |
425 to search when executing subprograms. Its initial value is taken from\n\ | |
426 the environment variable @code{OCTAVE_EXEC_PATH} (if it exists) or\n\ | |
427 @code{PATH}, but that value can be overridden by the command line\n\ | |
428 argument @code{--exec-path PATH}, or by setting the value of\n\ | |
429 @code{EXEC_PATH} in a startup script. If the value of @code{EXEC_PATH}\n\ | |
430 begins (ends) with a colon, the directories\n\ | |
431 \n\ | |
432 @example\n\ | |
433 @group\n\ | |
434 @var{octave-home}/libexec/octave/site/exec/@var{arch}\n\ | |
435 @var{octave-home}/libexec/octave/@var{version}/exec/@var{arch}\n\ | |
436 @end group\n\ | |
437 @end example\n\ | |
438 \n\ | |
439 @noindent\n\ | |
440 are prepended (appended) to @code{EXEC_PATH}, where @var{octave-home}\n\ | |
441 is the top-level directory where all of Octave is installed\n\ | |
442 (the default value is @file{@value{OCTAVEHOME}}). If you don't specify\n\ | |
443 a value for @code{EXEC_PATH} explicitly, these special directories are\n\ | |
444 prepended to your shell path.\n\ | |
445 @end defvr"); | |
423 | 446 |
424 DEFVAR (LOADPATH, Vload_path, loadpath, | 447 DEFVAR (LOADPATH, Vload_path, loadpath, |
425 "colon separated list of directories to search for scripts.\n\ | 448 "colon separated list of directories to search for scripts.\n\ |
426 The default value is \":\", which means to search the default list\n\ | 449 The default value is \":\", which means to search the default list\n\ |
427 of directories. The default list of directories may be found in\n\ | 450 of directories. The default list of directories may be found in\n\ |
435 | 458 |
436 DEFCONST (OCTAVE_HOME, Voctave_home, | 459 DEFCONST (OCTAVE_HOME, Voctave_home, |
437 "top-level Octave installation directory"); | 460 "top-level Octave installation directory"); |
438 | 461 |
439 DEFCONSTX ("OCTAVE_VERSION", SBV_OCTAVE_VERSION, OCTAVE_VERSION, | 462 DEFCONSTX ("OCTAVE_VERSION", SBV_OCTAVE_VERSION, OCTAVE_VERSION, |
440 "Octave version"); | 463 "-*- texinfo -*-\n\ |
464 @defvr\n\ | |
465 The version number of Octave, as a string.\n\ | |
466 @end defvr"); | |
441 } | 467 } |
442 | 468 |
443 DEFUN (rehash, , , | 469 DEFUN (rehash, , , |
444 "rehash (): reinitialize LOADPATH directory cache") | 470 "rehash (): reinitialize LOADPATH directory cache") |
445 { | 471 { |