News for hackers. Stuff that matters.
Re:Colorized man pages by karl42 on Tuesday August 16, 2016 @06:55AM (#12296584)
Looks great! There's some info and a screenshot on the debian package page: https://packages.debian.org/sid/most

The official website doesn't really contain any information.

Re:Colorized man pages by pbhjpbhj on Tuesday August 16, 2016 @07:54AM (#12296800)
"most" is impossible to search. "mostpager" would have been better with a soft-link from most as default.

Anyway, how do I use it, I've sudo apt install-ed it. Scanning the manpage doesn't give me any great hints e.g. "most /usr/share/man/man1/apt-add-repository.1.gz" brings it up but the manpage shows control data; using as if it were man just fails (it thinks I'm passing it a file).

Hint? Or do I need to read the source ...

Re:Colorized man pages by 1_player on Tuesday August 16, 2016 @08:10AM (#12296869)
If I recall correctly... add to your .bashrc

export PAGER=most

or for my fish friends, add to ~/.config/fish/config.fish

set -x PAGER most

This'll use `most` everytime a pager is needed (i.e. git log), if you want to use `most` only for man pages, replace PAGER with MANPAGER

Re:Colorized man pages by chanux on Tuesday August 16, 2016 @08:36AM (#12297024)
On fish same effect could be achieved by running

set -Ux PAGER mostU

If you prefer to keep fish.config cleaner, that is :)

Re:Colorized man pages by kseistrup on Tuesday August 16, 2016 @09:56AM (#12297472)
Either

    export PAGER=most
or

    export MANPAGER=most
depending on whether you want to use most for all paging or just paging of man pages.