most : an other pager

Most is a pager very similar to less and more.
It does the same job except that it displays the content of files in a colourized way.
Reading man pages is then more pleasant.

To install it :

root@localhost:~# apt-get install most

To make most as the default pager for all your system :

root@localhost~# update-alternatives –config pager
There are 6 choices for the alternative pager (providing /usr/bin/pager).

Selection    Path            Priority   Status
————————————————————
0            /bin/less        77        auto mode
1            /bin/less        77        manual mode
2            /bin/more        50        manual mode
*  3            /usr/bin/less    77        manual mode
4            /usr/bin/most    60        manual mode
5            /usr/bin/pg      10        manual mode
6            /usr/bin/w3m     25        manual mode

Press enter to keep the current choice[*], or type selection number: 4

And then, here is the result :

root@localhost:~# update-alternatives –display pager

pager – manual mode
link currently points to /usr/bin/most

/bin/less – priority 77
slave pager.1.gz: /usr/share/man/man1/less.1.gz
/bin/more – priority 50
slave pager.1.gz: /usr/share/man/man1/more.1.gz
/usr/bin/less – priority 77
slave pager.1.gz: /usr/share/man/man1/less.1.gz
/usr/bin/most – priority 60
slave pager.1.gz: /usr/share/man/man1/most.1.gz
/usr/bin/pg – priority 10
slave pager.1.gz: /usr/share/man/man1/pg.1.gz
/usr/bin/w3m – priority 25
slave pager.1.gz: /usr/share/man/man1/w3m.1.gz
Current `best’ version is /bin/less.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s