/etc/octave.conf is in octave-common 3.6.2-5+deb7u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | ### System-wide startup file for Octave.
###
### This file should contain any commands that should be executed each
### time Octave starts for every user at this site.
## This file is an extended copy of Octave's startup file at
# /usr/share/octave/3.6.1/m/startup/octaverc
## Configure readline using the file inputrc in the Octave startup
## directory.
read_readline_init_file (sprintf ("%s%s%s",
octave_config_info ("startupfiledir"),
filesep, "inputrc"));
if (strcmp (PAGER (), "less") && isempty (getenv ("LESS")))
PAGER_FLAGS ('-e -X -P"-- less ?pB(%pB\\%):--. (f)orward, (b)ack, (q)uit$"');
endif
## Use the global list of packages in the versioned directory
pkg global_list /usr/share/octave/octave_packages;
## Adjust pkg prefix
suffix = "/octave/packages";
pkg ("prefix", sprintf ("%s%s", octave_config_info ("datadir"), suffix),
sprintf ("%s%s", octave_config_info ("libdir"), suffix));
clear suffix;
## This appears here instead of in the pkg/PKG_ADD file so that --norc
## will also skip automatic loading of packages.
pkg ("load", "auto");
atexit ("__finish__");
|