Gentoo Archives: gentoo-alt

From: Mathias Laurin <mathias.laurin@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] [OSX] man.conf, add -c option to NROFF
Date: Wed, 02 Jul 2008 08:28:27
Message-Id: 9E39F1C8-2F7A-4DB1-8A15-230BAF70D8DD@gmail.com
In Reply to: Re: [gentoo-alt] [PREFIX] Interix _ALL_SOURCE by Fabian Groffen
1 Hi,
2
3 I found that I need to add the -c option to NROFF (i.e., get rid of
4 the colours) on my system in $EPREFIX/etc/man.conf; without this
5 options, escape sequences appear in the man page instead of colours,
6 making them unreadable. I tried from zsh and bash, I also tried
7 getting rid of my old ~/.Xdefaults and the -c option is present in /
8 etc/man.conf, the original OS X man.conf so I think it is real.
9
10 Here is the diff:
11
12 17:25 /Users/laurin/Library/Gentoo/etc [0]1 % diff -u man.conf{.orig,}
13 --- man.conf.orig 2008-07-02 17:06:44 +0900
14 +++ man.conf 2008-07-02 17:25:37 +0900
15 @@ -93,8 +93,8 @@
16 # causes problems, add the -c option to TROFF, NROFF, JNROFF.
17 #
18 TROFF /Users/laurin/Library/Gentoo/usr/bin/groff -Tps -mandoc
19 -NROFF /Users/laurin/Library/Gentoo/usr/bin/nroff -mandoc
20 -JNROFF /Users/laurin/Library/Gentoo/usr/bin/groff -Tnippon -mandocj
21 +NROFF /Users/laurin/Library/Gentoo/usr/bin/nroff -mandoc -c
22 +JNROFF /Users/laurin/Library/Gentoo/usr/bin/groff -Tnippon -mandocj -c
23 EQN /Users/laurin/Library/Gentoo/usr/bin/geqn -Tps
24 NEQN /Users/laurin/Library/Gentoo/usr/bin/geqn -Tlatin1
25 JNEQN /Users/laurin/Library/Gentoo/usr/bin/geqn -Tnippon
26
27 --
28 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] [OSX] man.conf, add -c option to NROFF Fabian Groffen <grobian@g.o>