| Summary: | sys-apps/man-1.6f-r3: wrong setting in /etc/man.conf causes bad formatting (unexpanded escape sequences) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Baselier <martinbaselier> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Martin Baselier
2009-10-01 00:11:48 UTC
works for pretty much everyone. i'm guessing you changed the default $LESS setting in your environment to not include the -R option ? (In reply to comment #1) I haven't changed any environment variable yet. I installed gentoo a few weeks ago and so far I've only changed /etc/make.conf and /etc/portage/package.* but nothing concerning, man, less or groff. So it's pretty much a clean install. FYI: #echo $LESS -R -M --shift 5 so the question is why the default isnt working for you. clearly such a simple issue should be noticed by many people if it were in the default setup. can you take a screenshot (png) of a terminal with the bad display and post it as an attachment ? (In reply to comment #3) After changing the PAGER setting in man.conf the man pages were good. When removing -R there, the problem does not occur anymore. So I have no option to reproduce it anymore. Before the output was filled with stuff like ESC[2m; in between the text. is it possible you unset the env vars one time by accident ? if i unset things, then i get the behavior you describe. your suggested fix should go in, i just want to understand why/how you noticed it in the first place. I believe it happened after I changed the language settings. I hadn't properly set up the local settings at first. I noticed that some character, with accents weren't show properly. Instead it showed a question mark, both in thunar and the terminal. So I added these lines to /etc/locale.gen (there was no language chosen at first.) en_US ISO-8859-15 en_US.UTF-8 UTF-8 I also changed it in another config file from iso-8859-1 to iso-8859-15, of which I can't remember the name. Most manuals were good though, except for that of man and emerge and some other basic ones. man-1.6f-r4 adds the -R option by default |