Description of problem:
log in as root on VT2 ,
enter : man rpm
press '/' (search ) and search for '--dump'
after the first find, press 'n' to find second occurence.
The text jumps to a new location, buth the searched string
is not on the screen, scrolling up and down reveals it.
Version-Release number of selected component (if applicable):
*** Bug 91690 has been marked as a duplicate of this bug. ***
I can reproduce the bug with
man -P '/usr/bin/less -isr' rpm
(this -P parameter corresponds to the default way less is invoked by man), but
man -P '/usr/bin/less -is' rpm
man -P '/usr/bin/less -isR' rpm
The -r was added due to bug 11621, but it is IMHO the wrong way to fix the
original problem; nowadays, 'less' in fact initializes its charset tables
correctly from locale data, even without LESSCHARSET.
The upstream man's configure tells this:
# Some people prefer "-irs", but probably only when they have a broken setup.
# (Indeed, -r may cause the terminal to get into funny states.
# Very inconvenient. For viewing pages in strange locales, set LC_*.)
1.5m2 changes the man output device to -Tutf8 and sets LESSCHARSET to
supported utf-8. "-r" is no longer included in the less options.
Works with latest rawhide release