1 |
Boyd Stephen Smith Jr. napsal(a): |
2 |
> On Thursday 22 February 2007 23:14, paulie.x wrote: |
3 |
>> Boyd Stephen Smith Jr. napsal(a): |
4 |
>>> On Thursday 22 February 2007, jcd <jcd@××××××.cz> wrote |
5 |
>>> |
6 |
>>> about '[gentoo-user] Problem with UNICODE and man pages encoding': |
7 |
>>>> Hi. |
8 |
>>>> I converted my system to UNICODE with assistance |
9 |
>>>> http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8. |
10 |
>>>> But my man-pages are |
11 |
>>>> still displayed with bad characters ('á' is 'á') in console even in X |
12 |
>>>> terminal emulator. |
13 |
>>>> |
14 |
>>>> I tried to changed line in |
15 |
>>>> /etc/make.conf: |
16 |
>>>> Code: |
17 |
>>>> NROFF /usr/bin/nroff -Tascii -c -mandoc |
18 |
> |
19 |
> I don't have a line that looks anything like that in my make.conf |
20 |
> |
21 |
>>>> to |
22 |
>>>> Code: |
23 |
>>>> NROFF /usr/bin/nroff -Tutf8 -c -mandoc |
24 |
>>> 1) Those lines aren't the correct format for make.conf. Normally, |
25 |
> you'd |
26 |
>>> use something like: |
27 |
>>> VARIABLE="value" |
28 |
>>> |
29 |
>>> 2) NROFF isn't a valid make.conf variable. See the make.conf(5) |
30 |
> manpage |
31 |
>>> for a list of valid make.conf variables. |
32 |
>>> |
33 |
>>> I'm not sure exactly what you are trying to do, but I think it's more |
34 |
>>> likely controlled by an nroff USE flag or configuration file than a |
35 |
>>> portage configuration files. |
36 |
>> OK. If it isn't correct format and NROFF isn't valid variable, then it is |
37 |
>> bug in gentoo package, because I just changed the parameters to |
38 |
>> /usr/bin/nroff. I also didn't find any suitale USE flag. |
39 |
> |
40 |
> It's possible that you need to add this variable to some file |
41 |
> under /etc/env.d, or perhaps add a global alias and/or function |
42 |
> in /etc/profile.d, or maybe an nroff or man or other package configuration |
43 |
> file. I suppose make.conf could be used, but I'm fairly certain those |
44 |
> variables aren't guaranteed to filter down to any subprocesses -- they are |
45 |
> only meant to affect the behavior of ebuilds. |
46 |
> |
47 |
> In /etc/env.d or /etc/make.conf you'll use the VARIABLE="value" syntax. |
48 |
> In /etc/profile.d anything bash can handle will work. For another |
49 |
> configuration file, it might be totally different. |
50 |
> |
51 |
> In any case, most packages don't provide a generic way to modify their |
52 |
> default |
53 |
> parameters (via environment variables or anything else), and I would guess |
54 |
> that setting the NROFF variable to some value wouldn't actually change the |
55 |
> way the nroff binary worked (but it could!). |
56 |
> |
57 |
> It could very well be a bug but, you are going to have to be more specific |
58 |
> about the behavior you are trying to achieve with that "make.conf" setting. |
59 |
> Feel free to file at b.g.o. if you think this is a failing of the package |
60 |
> or |
61 |
> the portage system. |
62 |
> |
63 |
|
64 |
I just confused man.conf with make.conf... I meant man.conf in all messages. Sorry |
65 |
-- |
66 |
gentoo-user@g.o mailing list |