Red Hat Bugzilla – Bug 75193
problems searching for non alphabetic characters in unicode locale
Last modified: 2007-04-18 12:47:12 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
When viewing a manual page using less as the pager, I like to search
for command parameters by typing: slash-hyphen-flag (such as /-N).
In Red Hat 7, this worked, but after a clean install of Red Hat 8, it
There are also problems searching for other non-alphabetic characters
such as single quotes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. man wget
Actual Results: less displays the error message "Pattern not found"
Expected Results: cursor is moved to the next instance of "-N"
I notice that Red Hat 8 now uses the Unicode character set in many
places by default. I tried changing $LANG from en_AU.UTF-8 (this
was selected when I chose English-Australia as the default language
during installation) to en_AU, and I was again able to search for
special characters such as the hyphen.
The same problem appears to exist in the equivalent en_US locales.
not a bug in less, but in man/nroff (try man -P more manpage to see that the
same occurs with more)
groff-1.18.1-1 or newer should have a patch that changes the hyphen
character, so that you can search it in "less" again.
Florian La Roche