From 5d05b1a54e12331652b6f7ac09a26781d3884cd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 16:53:16 +0100 Subject: [PATCH] octave: fix pager flags to work with busybox'es less --- octave/patches/030-pager.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 octave/patches/030-pager.patch 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