From owner-freebsd-questions@FreeBSD.ORG Sun Jan 23 13:58:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D63F106564A for ; Sun, 23 Jan 2011 13:58:24 +0000 (UTC) (envelope-from mnorwick@centurytel.net) Received: from mail929c35.nsolutionszone.com (mail929c35.nsolutionszone.com [209.235.152.119]) by mx1.freebsd.org (Postfix) with ESMTP id 0D1178FC12 for ; Sun, 23 Jan 2011 13:58:22 +0000 (UTC) X-Authenticated-User: mnorwick.centurytel.net Received: from blacky.norwickhouse.net (174-124-35-119.dyn.centurytel.net [174.124.35.119]) (authenticated bits=0) by mail929c35.nsolutionszone.com (8.13.6/8.13.1) with ESMTP id p0NDwKV8027810 for ; Sun, 23 Jan 2011 13:58:21 GMT Message-ID: <4D3C33FC.8080804@centurytel.net> Date: Sun, 23 Jan 2011 07:58:20 -0600 From: "Michael D. Norwick" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100629 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201101230422.p0N4MtRo026181@mail.r-bonomi.com> In-Reply-To: <201101230422.p0N4MtRo026181@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=E3YmrImrbVzCsewRu2LD0J6o5AgjjaGC6gFBqrQdipw= c=1 sm=1 a=Futu29cXXscA:10 a=8nJEP1OIZ-IA:10 a=1kf9EuSGpTLFoLf9O9aMsA==:17 a=6I5d2MoRAAAA:8 a=dynt39AsAAAA:8 a=rpjR8HG_wTME9VHisZcA:9 a=esbvRm6GPQAT_sCOG0kA:7 a=FIpe46_ew7mFiWqFFx5AR7a7t9oA:4 a=wPNLvfGTeEIA:10 a=SV7veod9ZcQA:10 a=Jw29t_AgHPoA:10 a=1kf9EuSGpTLFoLf9O9aMsA==:117 Subject: Re: Colorized compiler/linker messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2011 13:58:24 -0000 On 01/22/2011 22:22, Robert Bonomi wrote: >> From owner-freebsd-questions@freebsd.org Sat Jan 22 20:10:21 2011 >> Date: Sat, 22 Jan 2011 20:00:52 -0600 >> From: "Michael D. Norwick" >> To: freebsd-questions@freebsd.org >> Subject: Colorized compiler/linker messages >> >> Good Day, >> >> I have seen this for some time when building ports and was wondering how >> it was done. GCC when compiling and linking certain programs, ebook for >> example, emits messages in various colors. How is that done? >> > "Whatever it is" that is writing the messages is putting out 'terminal > control' character strings that specify the color. > > >> Where does >> one find what the various colors are supposed to signify? >> > Read the _complete_ documentation for 'whatever it is' that is producing > the messages. The colors signify 'whatever it is' that the author of that > software chose to represent with that color. There are *NO* "universal > standards" for such things. > > >> Or, is it just >> because it's more appealing? >> > (A) "appealing" is in the eye of the beholder. > (B) *why* 'somebody' did something/anything is known *only* to the party > that actually _did_ it. You can ether ask *them* or get uninformed > speculation from third parties. > > In broad, diagsnotic messages can be divided into a minimum of 4 'classes' > (finer gradation is always possible): > diagnostic -- 'gory details' of what the program is doing internally, to > find out where what it is actually doing is different from what one > 'expects' it to be doing. > informational -- things you might 'want to know about', but do not > indicate potentially incorrect operation. > warning -- things which *probably* indicate a problem, but might be > 'as intended' > error -- something which is, without question, incorrect, and prevents > proper program operation. > > > A developer -might- use different colors for different 'classes' of messages, > so that an experienced user of that program (who 'knows' what color is used > for what) can tell 'at a glance' the serverity of the thing being reported. > [ see (B), above, as regards applicability to -your- situationn ] > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Sounds like you had a bad day yesterday. I'm sorry, I will try to scan any further e-mails for the appropriate intelligence. Isn't that why it's called FreeBSD-questions and not abuse@freebsd.org? And, yes, I read the docs. Thank You, Michael