Gentoo Archives: gentoo-dev

From: Joseph Carter <knghtbrd@×××.org>
To: Tim Ruehsen <tim.ruehsen@×××××××××××××××.de>
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] output from qpkg / gentoolkit without ESC codes
Date: Fri, 14 Mar 2003 19:24:13
Message-Id: 20030314192418.GB11939@galen.bluecherry.net
In Reply to: [gentoo-dev] output from qpkg / gentoolkit without ESC codes by Tim Ruehsen
1 On Fri, Mar 14, 2003 at 11:42:32AM +0100, Tim Ruehsen wrote:
2 > I redirected output from 'qpkg' into a file. Now it contains these ESC color
3 > codes (that might are nice on a console). How do I switch ESC codes off?
4
5 Part of the problem with the colors is that Gentoo does not read the
6 terminfo database for the current terminal type to determine whether or
7 not color codes are supported or how to display them. Not all of the
8 Gentoo tools check where stdout is going either. This is the kind of
9 thing that many people would not think important today, but by not
10 performing these tests we harm our own reputation in the eyes of those
11 people who are long-time unix hands and know the difference between flash
12 and function. The wrong codes sent to the wrong terminal can be truly
13 catastrophic.
14
15 I have heard from people whose opinions I respect that this is a problem
16 with certain other Linux distributions. The people in question have not
17 taken a long look at Gentoo, but they would have the same complaints here
18 I think. Fixing this is certainly not top priority, but it is certainly a
19 professional touch which should not be ignored.
20
21 --
22 Joseph Carter <knghtbrd@×××.org> SCO must cease to exist!
23
24 <joeyh> netgod: er, are these 2.2.0 packages 2.0.0pre9 or do you have a
25 direct line with the gods?
26 <netgod> joeyh: i have the direct line

Replies

Subject Author
Re: [gentoo-dev] output from qpkg / gentoolkit without ESC codes "C. Brewer" <cbrewer@×××××××××××××.net>
Re: [gentoo-dev] output from qpkg / gentoolkit without ESC codes "Klaus-J. Wolf" <yanestra@×××.de>
Re: [gentoo-dev] output from qpkg / gentoolkit without ESC codes Todd Heim <heim-gentoo@××××××××.net>