From: "C. Brewer" <cbrewer@stealthaccess.net>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] output from qpkg / gentoolkit without ESC codes
Date: Fri, 14 Mar 2003 11:51:11 -0800 [thread overview]
Message-ID: <20030314115111.711e9bdd.cbrewer@stealthaccess.net> (raw)
In-Reply-To: <20030314192418.GB11939@galen.bluecherry.net>
[-- Attachment #1: Type: text/plain, Size: 1747 bytes --]
On Fri, 14 Mar 2003 11:24:18 -0800
Joseph Carter <knghtbrd@efn.org> wrote:
> 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
>
>
Catastrophic in the same way as trying to use kpackage with apt-install and a colored bash prompt, or just mildly irritating?:)
--
Chuck Brewer
Registered Linux User #284015
Get my gpg public key at pgp.mit.edu!! Encrypted e-mail preferred.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-03-14 19:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-14 10:42 [gentoo-dev] output from qpkg / gentoolkit without ESC codes Tim Ruehsen
2003-03-14 10:50 ` Dar-Klajid
2003-03-14 11:14 ` Tim Ruehsen
2003-03-14 11:08 ` Oliver Burnett-Hall
2003-03-14 18:21 ` Jon Portnoy
2003-03-14 19:24 ` Joseph Carter
2003-03-14 19:51 ` C. Brewer [this message]
2003-03-14 20:23 ` Joseph Carter
2003-03-14 21:35 ` Klaus-J. Wolf
2003-03-15 7:26 ` Todd Heim
2003-03-15 16:03 ` Paul de Vrieze
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030314115111.711e9bdd.cbrewer@stealthaccess.net \
--to=cbrewer@stealthaccess.net \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox