1 |
On Dec 24, 2011 7:44 PM, "Florian Philipp" <lists@×××××××××××.net> wrote: |
2 |
> |
3 |
> Am 24.12.2011 13:32, schrieb Pandu Poluan: |
4 |
> > |
5 |
> > On Dec 24, 2011 7:28 PM, "Pandu Poluan" <pandu@××××××.info |
6 |
> > <mailto:pandu@××××××.info>> wrote: |
7 |
> >> |
8 |
> >> |
9 |
> >> On Dec 24, 2011 7:15 PM, "Dale" <rdalek1967@×××××.com |
10 |
> > <mailto:rdalek1967@×××××.com>> wrote: |
11 |
> >> > |
12 |
> >> > Vishnupradeep wrote: |
13 |
> >> >> |
14 |
> >> >> man emerge |
15 |
> >> >> sh: /usr/bin/less: No such file or directory |
16 |
> >> >> Error executing formatting or display command. |
17 |
> >> >> System command (cd "/usr/share/man" && (echo ".ll 9.9i"; echo ".nr |
18 |
> > LL 9.9i"; echo ".pl 1100i"; /bin/bzip2 -c -d |
19 |
> > '/usr/share/man/man1/emerge.1.bz2'; echo ".\\\""; echo ".pl \n(nlu+10") |
20 |
> > | /usr/bin/gtbl | /usr/bin/nroff -mandoc | /usr/bin/less) exited with |
21 |
> > status 127. |
22 |
> >> >> No manual entry for emerge |
23 |
> >> >> |
24 |
> >> >> What should i do ?? |
25 |
> >> >> |
26 |
> >> >> ---- |
27 |
> >> >> Linux Blog: http://xtreme-linux.blogspot.com/ |
28 |
> >> >> Fedora Blog: http://xtreme-fedora.blogspot.com/ |
29 |
> >> >> My Blog: http://sharedonweb.blogspot.com/ |
30 |
> >> >> |
31 |
> >> >> |
32 |
> >> > |
33 |
> >> > I would make sure less is installed. There have been some changes |
34 |
> > to something and some people are letting --depclean or friends remove |
35 |
> > less. It's a long story and there are other threads about it. Just |
36 |
> > check and see if less is installed and if it is not, emerge it and make |
37 |
> > sure it is added to the world file. |
38 |
> >> > |
39 |
> >> |
40 |
> >> In my case, since I'm now using vimpager, I just make a symlink to it: |
41 |
> >> |
42 |
> >> ln -s $(which vimpager) /usr/local/bin/less |
43 |
> >> |
44 |
> >> ... then I purposefully unmerged less :-) |
45 |
> >> |
46 |
> > |
47 |
> > Meh, forgot one very important thing: |
48 |
> > |
49 |
> > echo "MANPAGER=\"$(which vimmanpager)\"" > /etc/env.d/99manpager |
50 |
> > env-update |
51 |
> > source /etc/profile |
52 |
> > |
53 |
> > Rgds, |
54 |
> > |
55 |
> |
56 |
> man honors the PAGER environment variable. You should set this in |
57 |
> /etc/env.d/ instead of symlinking from /usr/local/bin. If you encounter |
58 |
> an application that calls less directly, you should file a bug. |
59 |
> |
60 |
|
61 |
If man uses vimpager, it strips out the coloring. vimmanpager activates the |
62 |
necessary incantations to make man output colorful. |
63 |
|
64 |
That's why I specify additional MANPAGER in env. |
65 |
|
66 |
Rgds, |