summaryrefslogtreecommitdiff
path: root/source/a
diff options
context:
space:
mode:
Diffstat (limited to 'source/a')
-rw-r--r--source/a/etc/_etc/etc/profile.new9
-rwxr-xr-xsource/a/etc/etc.SlackBuild2
2 files changed, 9 insertions, 2 deletions
diff --git a/source/a/etc/_etc/etc/profile.new b/source/a/etc/_etc/etc/profile.new
index f716d786..9cfc74aa 100644
--- a/source/a/etc/_etc/etc/profile.new
+++ b/source/a/etc/_etc/etc/profile.new
@@ -5,7 +5,14 @@
export MINICOM="-c on"
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
-export LESS="-M"
+# Setting a default $LESS was something inherited from SLS many years ago,
+# but apparently the previous setting of "-M" causes display issues with
+# some programs (i.e. git log). Adding "-R" as well fixes this, but some
+# folks have concerns about the security of this option (I think it's
+# actually "-r" that's the dangerous one). Anyway, it might be best to just
+# leave this unset by default. Uncomment it if you like, or set up your
+# own definition or aliases on a per-account basis.
+#export LESS="-M -R"
# If the user doesn't have a .inputrc, use the one in /etc.
if [ ! -r "$HOME/.inputrc" ]; then
diff --git a/source/a/etc/etc.SlackBuild b/source/a/etc/etc.SlackBuild
index 424de599..1b23163e 100755
--- a/source/a/etc/etc.SlackBuild
+++ b/source/a/etc/etc.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=etc
VERSION=15.0
-BUILD=${BUILD:-14}
+BUILD=${BUILD:-15}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then