• Uncategorized

About linux : Why-slash-search-doesnt-work-in-man-pages-closed

Question Detail

After opening the a man page, the slash search does not work.
I type / but there is no reaction from the man.
If i open any file in vim slash search will work.

EDIT:

  $ update-alternatives --display pager

  pager - auto mode
  link best version is /usr/bin/less
  link currently points to /usr/bin/less
  link pager is /usr/bin/pager
  slave pager.1.gz is /usr/share/man/man1/pager.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```

Question Answer

The default pager for man pages is less (/ to search). Check your current pager configuration:

update-alternatives --display pager

Change it

update-alternatives --config pager

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.