On Thursday 22 February 2007 23:14, paulie.x wrote:
> Boyd Stephen Smith Jr. napsal(a):
> > On Thursday 22 February 2007, jcd <[EMAIL PROTECTED]> wrote
> >
> > about '[gentoo-user] Problem with UNICODE and man pages encoding':
> >> Hi.
> >> I converted my system to UNICODE with assistance
> >> http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8.
> >> But my man-pages are
> >> still displayed with bad characters ('á' is 'á') in console even in X
> >> terminal emulator.
> >>
> >> I tried to changed line in
> >> /etc/make.conf:
> >> Code:
> >> NROFF           /usr/bin/nroff -Tascii -c -mandoc

I don't have a line that looks anything like that in my make.conf

> >> to
> >> Code:
> >> NROFF           /usr/bin/nroff -Tutf8 -c -mandoc
> >
> > 1) Those lines aren't the correct format for make.conf.  Normally, 
you'd
> > use something like:
> > VARIABLE="value"
> >
> > 2) NROFF isn't a valid make.conf variable.  See the make.conf(5) 
manpage
> > for a list of valid make.conf variables.
> >
> > I'm not sure exactly what you are trying to do, but I think it's more
> > likely controlled by an nroff USE flag or configuration file than a
> > portage configuration files.
>
> OK. If it isn't correct format and NROFF isn't valid variable, then it is
> bug in gentoo package, because I just changed the parameters to
> /usr/bin/nroff. I also didn't find any suitale USE flag.

It's possible that you need to add this variable to some file 
under /etc/env.d, or perhaps add a global alias and/or function 
in /etc/profile.d, or maybe an nroff or man or other package configuration 
file.  I suppose make.conf could be used, but I'm fairly certain those 
variables aren't guaranteed to filter down to any subprocesses -- they are 
only meant to affect the behavior of ebuilds.

In /etc/env.d or /etc/make.conf you'll use the VARIABLE="value" syntax.  
In /etc/profile.d anything bash can handle will work.  For another 
configuration file, it might be totally different.

In any case, most packages don't provide a generic way to modify their 
default 
parameters (via environment variables or anything else), and I would guess 
that setting the NROFF variable to some value wouldn't actually change the 
way the nroff binary worked (but it could!).

It could very well be a bug but, you are going to have to be more specific 
about the behavior you are trying to achieve with that "make.conf" setting.  
Feel free to file at b.g.o. if you think this is a failing of the package 
or 
the portage system.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!

Attachment: pgp4k13v27WPY.pgp
Description: PGP signature

Reply via email to