view scripts/startup/main-rcfile @ 18013:501cb6a90f0f stable

maint: Replace unnecessary tabs with spaces. * doc/interpreter/images.awk, libinterp/dldfcn/config-module.awk, libinterp/octave-value/module.mk, m4/module.mk, scripts/java/org/octave/Matrix.java, scripts/miscellaneous/module.mk, scripts/sparse/module.mk, scripts/startup/main-rcfile, test/build-sparse-tests.sh, test/ctor-vs-method/@parent/parent.m: maint: Replace unnecessary tabs with spaces.
author Rik <rik@octave.org>
date Mon, 25 Nov 2013 22:10:06 -0800
parents cc3743a91652
children
line wrap: on
line source

## 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.

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