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