Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [OSX] man.conf, add -c option to NROFF
Date: Wed, 02 Jul 2008 08:40:41
Message-Id: 20080702084029.GN26287@gentoo.org
In Reply to: [gentoo-alt] [OSX] man.conf, add -c option to NROFF by Mathias Laurin
1 This sounds like bug http://bugs.gentoo.org/show_bug.cgi?id=102800
2
3 On 02-07-2008 17:28:20 +0900, Mathias Laurin wrote:
4 > Hi,
5 >
6 > I found that I need to add the -c option to NROFF (i.e., get rid of the
7 > colours) on my system in $EPREFIX/etc/man.conf; without this options,
8 > escape sequences appear in the man page instead of colours, making them
9 > unreadable. I tried from zsh and bash, I also tried getting rid of my old
10 > ~/.Xdefaults and the -c option is present in /etc/man.conf, the original
11 > OS X man.conf so I think it is real.
12 >
13 > Here is the diff:
14 >
15 > 17:25 /Users/laurin/Library/Gentoo/etc [0]1 % diff -u man.conf{.orig,}
16 > --- man.conf.orig 2008-07-02 17:06:44 +0900
17 > +++ man.conf 2008-07-02 17:25:37 +0900
18 > @@ -93,8 +93,8 @@
19 > # causes problems, add the -c option to TROFF, NROFF, JNROFF.
20 > #
21 > TROFF /Users/laurin/Library/Gentoo/usr/bin/groff -Tps -mandoc
22 > -NROFF /Users/laurin/Library/Gentoo/usr/bin/nroff -mandoc
23 > -JNROFF /Users/laurin/Library/Gentoo/usr/bin/groff -Tnippon -mandocj
24 > +NROFF /Users/laurin/Library/Gentoo/usr/bin/nroff -mandoc -c
25 > +JNROFF /Users/laurin/Library/Gentoo/usr/bin/groff -Tnippon -mandocj -c
26 > EQN /Users/laurin/Library/Gentoo/usr/bin/geqn -Tps
27 > NEQN /Users/laurin/Library/Gentoo/usr/bin/geqn -Tlatin1
28 > JNEQN /Users/laurin/Library/Gentoo/usr/bin/geqn -Tnippon
29 >
30 > --
31 > gentoo-alt@l.g.o mailing list
32 >
33
34 --
35 Fabian Groffen
36 Gentoo on a different level
37 --
38 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] [OSX] man.conf, add -c option to NROFF Mathias Laurin <mathias.laurin@×××××.com>