view scripts/startup/main-rcfile @ 7021:0b91144f9533 ss-2-9-15

[project @ 2007-10-13 14:34:06 by jwe]
author jwe
date Sat, 13 Oct 2007 14:34:07 +0000
parents e8868fde0fc5
children 66c6cab344f7
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.

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