5316
|
1 ## System-wide startup file for Octave. |
|
2 ## |
|
3 ## This file should contain any commands that should be executed each |
|
4 ## time Octave starts for every user at this site. |
|
5 |
|
6 ## Configure readline using the file inputrc in the Octave startup |
|
7 ## directory. |
|
8 |
|
9 read_readline_init_file (sprintf ("%s%s%s", |
|
10 octave_config_info ("startupfiledir"), |
|
11 filesep, "inputrc")); |
6144
|
12 |
|
13 if (strcmp (PAGER (), "less") && isempty (getenv ("LESS"))) |
|
14 PAGER_FLAGS ('-e -X -P"-- less ?pB(%pB\\%):--. (f)orward, (b)ack, (q)uit$"'); |
|
15 endif |
7073
|
16 |
|
17 ## This appears here instead of in the pkg/PKG_ADD file so that --norc |
|
18 ## will also skip automatic loading of packages. |
|
19 |
|
20 pkg ("load", "auto"); |
7391
|
21 |
7392
|
22 atexit ("__finish__"); |