[14151] in Athena Bugs
ox2 and more
daemon@ATHENA.MIT.EDU (John Hawkinson)
Sat Feb 3 03:13:02 1996
Date: Sat, 3 Feb 1996 03:12:57 -0500
To: alexp@MIT.EDU
Cc: bugs@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>
Some time ago a bunch of people bugged me about this and I intended to
chat w/ you about this, and never got to it (my fault; this was months
ago).
The "ox2" program in the oed locker in most cases invokes
/mit/oed/scripts/ox2driver, which changes the users' default pager
(via means of the PAGER environment variable) to "more", and then runs
ox2.
I'm not sure what the intent was, but I don't think this is an
accurate execution of it; it means that users who want a particular
pager (eg: less) with a particular set of options (perhaps more) get
disenfranchised and lose.
There are two pretty easy options:
Rip out the script entirely and let users who want a pager
run one by hand.
Don't set the MORE or LESS environment variables, and if the
PAGER environment variable is not set, set it to the
appropriate invokation of more (eg: "more -sf")/
Purists may prefer the former, Pragmatists the latter; either one
works...
Thanks.
--jhawk