Red Hat Bugzilla – Bug 70381
man(8) output nearly illegible if TERM=dtterm or TERM=hpterm
Last modified: 2007-04-18 12:45:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (X11; U; HP-UX B.11.11 9000/785)
Description of problem:
man(8) displays properly if TERM=xterm, but output is really screwed up if
TERM=dtterm or hpterm. It worked properly in RedHat versions 6.* and 7.*.
(Maybe only the '-' character is bad -- I cannot remember now).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. connect to limbo system using dtterm or hpterm
2. run man(8) with any target page
Actual Results: Wherever there should be a '-' character, instead shows up some
hex character that
displays as ordinary '-' in xterm, but in hpterm or dtterm it displays as 'a'
with tilde on top and
spaces front and back.
It turns out there are enough of these characters that the man(8) output is
amazingly difficult to
Expected Results: '-' character should display as normal ordinary '-'
It also seems to happen with kterm and xterm (using the xterm termcap), but
gnome-terminal with the xterm termcap works OK.
It appears that someone changed the gnom-terminal escapes and -- instead of
creating a new termcap name, they just changed the xterm termcap and confused
just about every other xterm clone out there (including xterm).
OK: I take it back: there's some change to man(1) that seems to be compatible
with gnom-terminal but incompatible with the other terminals.
Both the termcaps and terminfo's for xterm are unchanged between 7.2 and 8.0
what locale (type "locale") are you running your tests in?
[samuel@algh1188y43bi samuel]$ locale
seems to solve the bug, as does
which appears to be the default under 7.2
which seems to be the setting under 7.3
Created attachment 89425 [details]
Editted sysconfig file
Same problem with rubbish characters when invoking man from a KDE terminal.
Alright on GNOME or a terminal. Using LANG=en_GB.UTF-8. Corrected the problem
by manually editting the configuration file /etc/sysconfig/i18n. Changed
LANG="en_GB.UTF-8" to LANG="en_GB". This get set/reset by the System settings
seems to be fixed with the combo of terminfo stuff in curses 5.4 along
with the UTF-8 grokkin man-1.5m2 and i18nized nroff