View previous topic :: View next topic |
Author |
Message |
dufnutz Apprentice
Joined: 01 May 2002 Posts: 209
|
Posted: Tue Jan 14, 2003 1:24 am Post subject: my man pages are displaying incorrectly |
|
|
I dont know what triggered this, one day i looked at my man pages and had a hard time reading them because all the text inside was screwed for example here is my man for emerge
Code: | ESC[1mNAMEESC[0m
emerge - Command-line interface to the Portage system
ESC[1mSYNOPSISESC[0m
ESC[1memerge ESC[22m[ESC[4moptionsESC[24m] [ESC[4mactionESC[24m] [ESC[4meb
uildESC[24m | ESC[4mtbz2fileESC[24m | ESC[4mclassESC[24m | ESC[4mdependencyESC[24m
] ...
ESC[1memerge ESC[22m[ESC[4moptionsESC[24m] [ESC[4mactionESC[24m] ESC[1mebui
ldfileESC[0m
ESC[1memerge sync ESC[22m| ESC[1mrsyncESC[0m
ESC[1memerge ESC[4mESC[22m--helpESC[24m ESC[4m-hESC[24m [ESC[1msystem ESC[2
2m| ESC[1mconfig ESC[22m| ESC[1msyncESC[22m]
ESC[1memerge ESC[4mESC[22m--versionESC[0m
ESC[1mDESCRIPTIONESC[0m
ESC[1memerge ESC[22mis the definitive command-line interface to the Portage
system.
It is primarily used for installing packages, and ESC[1memerge ESC[22mcan
automati-
cally handle any dependencies that the desired package has. ESC[1memerge
ESC[22mcan
also update the ESC[1mportage treeESC[22m, making new and updated packag
es avail-
able. ESC[1memerge ESC[22mgracefully handles updating installed packages
to newer
releases as well. It handles both source and binary packages, and it
can be used to create binary packages for distribution.
ESC[1mEBUILDS, TBZ2S, CLASSES AND DEPENDENCIESESC[0m
ESC[1memerge ESC[22mprimarily installs packages. You can specify pac
kages to
install in one of four main ways: an ESC[4mebuildESC[24m, a ESC[4mtbz2file
ESC[24m, a ESC[4mclassESC[24m, or a
ESC[4mdependencyESC[24m.
ESC[1mebuild ESC[22mAn ESC[4mebuildESC[24m must be, at a minimum, a valid P
ortage package direc-
tory name without a version or catetory, such as ESC[1mportage
ESC[22mor
ESC[1mpythonESC[22m. Both categories and version numbers may be
used in
addition, such as ESC[1msys-apps/portage ESC[22mor ESC[1m=python-2
.2.1-r2ESC[22m. ESC[1memergeESC[0m
ignores a trailing slash so that filename completion can be
used. The ESC[4mebuildESC[24m may also be an actual filename
, such as
ESC[1m/usr/portage/app-admin/python/python-2.2.1-r2.ebuildESC[22m.
ESC[1mtbz2fileESC[0m
A ESC[4mtbz2fileESC[24m must be a valid .tbz2 created with ESC[1
mebuild <pack-ESC[0m
ESC[1mage>-<version>.ebuild package ESC[22mor ESC[1memerge --buildpk
g <package>.ESC[0m
ESC[1mclass ESC[22mPackage classes are a convenient shorthand for large
groups of
packages. Two classes are currently supported: ESC[1msystem
ESC[22mand
ESC[1mworldESC[22m. ESC[1msystem ESC[22mrefers to a set of package
s deemed necessary for
|
and it goes on like that.. when its displayed on my screen all the "ESC"s are highlighted.... any idea how to fix this? |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Jan 14, 2003 1:34 am Post subject: |
|
|
Looks like your PAGER variable is set to 'most', which is the default in /etc/man.conf rather than being set to 'less'. This is done by the file /etc/env.d/00basic. If you do:
Code: |
export PAGER=less
man man
|
does it display correctly? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jan 14, 2003 1:35 am Post subject: |
|
|
How about man/groff problem? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
dufnutz Apprentice
Joined: 01 May 2002 Posts: 209
|
Posted: Tue Jan 14, 2003 1:38 am Post subject: |
|
|
Naan Yaar wrote: | Looks like your PAGER variable is set to 'most', which is the default in /etc/man.conf rather than being set to 'less'. This is done by the file /etc/env.d/00basic. If you do:
Code: |
export PAGER=less
man man
|
does it display correctly? |
that didn't change a thing... my man was definately using less beforehand too. |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Jan 14, 2003 1:41 am Post subject: |
|
|
To me it looks like youtr terminfo has been screwed up.
The Esc sequences are control characters to your terminal that consists of formatting codes.
You should also verify that your TERM variable is correct. Type 'echo $TERM' in a console, it should return xterm for most console windows. If not, then change it to xterm (export TERM=xterm) and try again.
If you still see the same problem, it might be a problem with the defintion file in /usr/share/terminfo.
The problem is that I have no idea which package contains the terminfo system under gentoo, there is no terminfo ebuild so I guess it is part of a different ebuild. Anyone?
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jan 14, 2003 1:45 am Post subject: |
|
|
Please see this link. Exact problem after recently upgrading. You most likely didn't move the new ._config file over. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
dufnutz Apprentice
Joined: 01 May 2002 Posts: 209
|
Posted: Tue Jan 14, 2003 1:50 am Post subject: |
|
|
yup identical problem... sorry |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jan 14, 2003 2:03 am Post subject: |
|
|
Mainly trying to stop alot of effort before it began. Glad it was it. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|