summaryrefslogtreecommitdiff
path: root/octave/patches/030-pager.patch
diff options
context:
space:
mode:
Diffstat (limited to 'octave/patches/030-pager.patch')
-rw-r--r--octave/patches/030-pager.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/octave/patches/030-pager.patch b/octave/patches/030-pager.patch
new file mode 100644
index 0000000..c24cd7b
--- /dev/null
+++ b/octave/patches/030-pager.patch
@@ -0,0 +1,13 @@
+Index: octave-3.2.4/scripts/startup/main-rcfile
+===================================================================
+--- octave-3.2.4.orig/scripts/startup/main-rcfile 2011-01-02 16:50:10.000000000 +0100
++++ octave-3.2.4/scripts/startup/main-rcfile 2011-01-02 16:50:47.000000000 +0100
+@@ -11,7 +11,7 @@
+ filesep, "inputrc"));
+
+ if (strcmp (PAGER (), "less") && isempty (getenv ("LESS")))
+- PAGER_FLAGS ('-e -X -P"-- less ?pB(%pB\\%):--. (f)orward, (b)ack, (q)uit$"');
++ PAGER_FLAGS ('-E');
+ endif
+
+ ## This appears here instead of in the pkg/PKG_ADD file so that --norc