public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] output from qpkg / gentoolkit without ESC codes
  @ 2003-03-14 19:24 99% ` Joseph Carter
  0 siblings, 0 replies; 1+ results
From: Joseph Carter @ 2003-03-14 19:24 UTC (permalink / raw
  To: Tim Ruehsen; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

On Fri, Mar 14, 2003 at 11:42:32AM +0100, Tim Ruehsen wrote:
> I redirected output from 'qpkg' into a file. Now it contains these ESC color 
> codes (that might are nice on a console). How do I switch ESC codes off?

Part of the problem with the colors is that Gentoo does not read the
terminfo database for the current terminal type to determine whether or
not color codes are supported or how to display them.  Not all of the
Gentoo tools check where stdout is going either.  This is the kind of
thing that many people would not think important today, but by not
performing these tests we harm our own reputation in the eyes of those
people who are long-time unix hands and know the difference between flash
and function.  The wrong codes sent to the wrong terminal can be truly
catastrophic.

I have heard from people whose opinions I respect that this is a problem
with certain other Linux distributions.  The people in question have not
taken a long look at Gentoo, but they would have the same complaints here
I think.  Fixing this is certainly not top priority, but it is certainly a
professional touch which should not be ignored.

-- 
Joseph Carter <knghtbrd@efn.org>                  SCO must cease to exist!
 
<joeyh> netgod: er, are these 2.2.0 packages 2.0.0pre9 or do you have a
        direct line with the gods?
<netgod> joeyh: i have the direct line


[-- Attachment #2: Type: application/pgp-signature, Size: 253 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-03-14 10:42     [gentoo-dev] output from qpkg / gentoolkit without ESC codes Tim Ruehsen
2003-03-14 19:24 99% ` Joseph Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox