view scripts/startup/version-rcfile @ 20595:c1a6c31ac29a

eliminate more simple uses of error_state * ov-classdef.cc: Eliminate simple uses of error_state.
author John W. Eaton <jwe@octave.org>
date Tue, 06 Oct 2015 00:20:02 -0400
parents ac0f7acdc3fd
children
line wrap: on
line source

## System-wide startup file for Octave.
##
## If the environment variable OCTAVE_VERSION_INITFILE is set when Octave
## starts, then that file is executed instead of this file.
##
## This file should contain any commands that should be executed each
## time Octave starts for every user at this site.

## Configure readline using the file inputrc in the Octave startup
## directory.

readline_read_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

## 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__");