Bug 91691

Summary: Bad man page formatting/display
Product: [Retired] Red Hat Linux Beta Reporter: David Balažic <david.balazic>
Component: manAssignee: Eido Inoue <havill>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: alpha 1CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 1.5m2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-27 00:40:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 100644    

Description David Balažic 2003-05-27 08:34:05 UTC
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):

man-1.5k-6
less-378-7
ncurses-5.3-4
rpm-4.2-0.69

Comment 1 David Balažic 2003-05-27 08:36:33 UTC
*** Bug 91690 has been marked as a duplicate of this bug. ***

Comment 2 Miloslav Trmac 2003-07-25 23:50:16 UTC
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
not with
        man -P '/usr/bin/less -is' rpm
or with
        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_*.)
#
DEFAULTLESSOPT="-is"


Comment 3 Eido Inoue 2004-01-27 00:40:42 UTC
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