Gentoo Archives: gentoo-dev

From: Joseph Carter <knghtbrd@×××.org>
To: "C. Brewer" <cbrewer@×××××××××××××.net>
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] output from qpkg / gentoolkit without ESC codes
Date: Fri, 14 Mar 2003 20:23:49
Message-Id: 20030314202354.GE11939@galen.bluecherry.net
In Reply to: Re: [gentoo-dev] output from qpkg / gentoolkit without ESC codes by "C. Brewer"
1 On Fri, Mar 14, 2003 at 11:51:11AM -0800, C. Brewer wrote:
2 > > Part of the problem with the colors is that Gentoo does not read the
3 > > terminfo database for the current terminal type to determine whether or
4 > > not color codes are supported or how to display them. Not all of the
5 > > Gentoo tools check where stdout is going either. This is the kind of
6 > > thing that many people would not think important today, but by not
7 > > performing these tests we harm our own reputation in the eyes of those
8 > > people who are long-time unix hands and know the difference between flash
9 > > and function. The wrong codes sent to the wrong terminal can be truly
10 > > catastrophic.
11 > >
12 > > I have heard from people whose opinions I respect that this is a problem
13 > > with certain other Linux distributions. The people in question have not
14 > > taken a long look at Gentoo, but they would have the same complaints here
15 > > I think. Fixing this is certainly not top priority, but it is certainly a
16 > > professional touch which should not be ignored.
17 > >
18 > Catastrophic in the same way as trying to use kpackage with apt-install
19 > and a colored bash prompt, or just mildly irritating?:)
20
21 Catastrophic as in that it us usually a user who winds up doing this and
22 they wind up with a hosed screen.. Then they come crying to their admin
23 to fix it for them. The hapless admin of course doesn't even know what
24 caused this problem and the equally hapless user can't explain what he did
25 to cause the problem.
26
27 Then of course the sysadmin who has already been driven insane goes on a
28 killing spree because he just can't take anymore abuse. ;)
29
30
31 Ever accidentally sent enough binary to the screen to change your console
32 to the alt charset? It sucks, but we are able to undo the problem,
33 whatever it was. Sending terminal codes a terminal doesn't understand is
34 how you get these kinds of problems.
35
36 --
37 Joseph Carter <knghtbrd@×××.org> SCO must cease to exist!
38
39 <hop_> i had something that i think was chicken that was coated with a red
40 paste that seemed to be composed of lye based on how much of my
41 tongue it burned away.
42 <hop_> our friend who is Indian said this is why most Indians are thin
43 and i quote "It doesn't take very much of this food to get you
44 satisfied enough to stop eating."