Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 91691 - Bad man page formatting/display
Summary: Bad man page formatting/display
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux Beta
Classification: Retired
Component: man
Version: alpha 1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Eido Inoue
QA Contact: Ben Levenson
URL:
Whiteboard:
: 91690 (view as bug list)
Depends On:
Blocks: CambridgeTarget
TreeView+ depends on / blocked
 
Reported: 2003-05-27 08:34 UTC by David Balažic
Modified: 2007-04-18 16:54 UTC (History)
1 user (show)

Fixed In Version: 1.5m2
Clone Of:
Environment:
Last Closed: 2004-01-27 00:40:42 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.