/etc/octave3.2.conf is in octave3.2 3.2.4-12.
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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | ### 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.
### On a Debian GNU/Linux system, Octave also searches for local files and
### directories below /usr/local/share/octave/site-m/. Please see the Octave
### documentation for other variables you might want to set here.
## 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/packages/3.2/octave_packages;
## Adjust pkg prefix for each branch of Octave
pkg prefix /usr/share/octave/packages/3.2 /usr/lib/octave/packages/3.2;
## This appears here instead of in the pkg/PKG_ADD file so that --norc
## will also skip automatic loading of packages.
pkg load auto;
### Use new style of path generation
addpath (genpath ("/usr/local/share/octave/site-m"), "-begin");
### We use a function below to avoid polutting the user space with ###
### Debian start-up specific variables. Also, the function itself is
### cleared after being called.
function debian_remove_octave_forge
p = strsplit (path (), ":");
for i = 1 : rows (p)
if ! isempty (findstr (p{i}, "octave-forge"))
rmpath (deblank (p{i}));
endif
endfor
endfunction
debian_remove_octave_forge ();
clear debian_remove_octave_forge;
|