sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 10264] New: PAGER defaults to less -REX
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 10264] New: PAGER defaults to less -REX
- Date: 23 Dec 2005 22:10:31 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=10264
Summary: PAGER defaults to less -REX
Product: Sorcery
Version: 1.13.x
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Sorcery
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: jakakranjc AT email.si
here is the entry from /etc/sorcery/config:
# pager info
# -R: display color codes properly
# -E: quit at eof (otherwise scribe pauses on empty updates)
# -X: dont do screen init and deinit, gaze install
# of a small spell is effectively useless otherwise as the
# screen is cleared afterwards.
PAGER=${PAGER:=less -R -E -X}
-E is problematic. It is claimed it's used so scribe stays interactive, but
that
is irrelevant, scribe redefines the pager (will submit another bug about
that)
anyway.
The bad effect of -E is, that if you page a file that is shorter than `tput
lines`, it will be just like using cat or more, none of the advanced less
functionality can be used (moving, searching).
I've had PAGER set to less -RX for a while now and haven't noticed any other
changes than in scribe, but I don't use many sorcery tools extensively, so I
don't know if anything else would be affected (maybe the comment is just true
:
)).
So I suggest the default config be changed to define PAGER=${PAGER:=less -R
-X}.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Sorcery-Bugs] [Bug 10264] New: PAGER defaults to less -REX, bugzilla-daemon, 12/23/2005
Archive powered by MHonArc 2.6.24.