From 7b9392c69d9773b7c880cd0f1821edee2cb5ccca Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 9 Nov 2014 09:38:18 +0100 Subject: [PATCH] *: use less(1) as the default pager Inspired by: DragonFlyBSD --- etc/root/dot.cshrc | 2 +- etc/root/dot.profile | 2 +- share/skel/dot.cshrc | 2 +- share/skel/dot.profile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc index 3e94371b6bc..439b78ebe27 100644 --- a/etc/root/dot.cshrc +++ b/etc/root/dot.cshrc @@ -18,7 +18,7 @@ umask 22 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) setenv EDITOR vi -setenv PAGER more +setenv PAGER less setenv BLOCKSIZE K if ($?prompt) then diff --git a/etc/root/dot.profile b/etc/root/dot.profile index 1fca58edc87..f9d94eefcaa 100644 --- a/etc/root/dot.profile +++ b/etc/root/dot.profile @@ -6,5 +6,5 @@ HOME=/root export HOME TERM=${TERM:-xterm} export TERM -PAGER=more +PAGER=less export PAGER diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc index d6c67983057..73e64c2947e 100644 --- a/share/skel/dot.cshrc +++ b/share/skel/dot.cshrc @@ -20,7 +20,7 @@ alias ll ls -lAF # umask 22 setenv EDITOR vi -setenv PAGER more +setenv PAGER less if ($?prompt) then # An interactive shell -- set some stuff up diff --git a/share/skel/dot.profile b/share/skel/dot.profile index 300402abb84..f38f82b466f 100644 --- a/share/skel/dot.profile +++ b/share/skel/dot.profile @@ -16,7 +16,7 @@ # TERM=xterm; export TERM EDITOR=vi; export EDITOR -PAGER=more; export PAGER +PAGER=less; export PAGER # set ENV to a file invoked each time sh is started for interactive use. ENV=$HOME/.shrc; export ENV