← Back to team overview

clicompanion-devs team mailing list archive

Why depend on most?

 

Why does clicompanion depend on a rather uncommon pager, most?

If this is only to help users who don't know about q meaning quit, then

  somecommand |less -e

would work just as well, and avoid the dependency.

We could consider setting the prompt (using -P) to whatever we like that
explains the mystery of the q key to users, if preferred, either in
addition to, or instead of, using -e.  For neatness, we could stick
these into the LESS environment variable, as long as we do so *before*
reading the user's .profile and .bash_profile, since the user might want
to use his own less configuration and override whatever clicompanion
thinks is best for him.

Really, less is very flexible, you just need to read its man page to use
that flexibility.  Unless clicompanion is doing weird stuff with
multiple simultaneous pager windows in most, I really don't see why most
would be the pager that clicompanion depends on and forces its users to use.

Am I missing something?

Jonathan