From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 19 16:07:35 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD68F16A401 for ; Wed, 19 Apr 2006 16:07:35 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id E635F43D81 for ; Wed, 19 Apr 2006 16:07:17 +0000 (GMT) (envelope-from zombyfork@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so52610nfc for ; Wed, 19 Apr 2006 09:07:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=pnUFN+80CX16whGeJ1Ty5K8EZFurGEUWeP25cHXFd2aG2IXADNyKRJsa9OYFndbLeB9M4bIDqTlrJI4OPyWU5gismhNf2ZiJEuAxj9VTd+C6pBKjQYnUOOzE3wlwimkDElo2rmFz5oCBwkycdzK12n2/HC/Xthb2AG/JKv2jc8E= Received: by 10.48.162.20 with SMTP id k20mr339975nfe; Wed, 19 Apr 2006 09:00:48 -0700 (PDT) Received: by 10.48.217.6 with HTTP; Wed, 19 Apr 2006 09:00:48 -0700 (PDT) Message-ID: <346a80220604190900i3bfc3b54v93a4c6c30f0dfc4f@mail.gmail.com> Date: Wed, 19 Apr 2006 12:00:48 -0400 From: "Coleman Kane" To: "Mike Meyer" In-Reply-To: <17478.22833.727876.432169@bhuda.mired.org> MIME-Version: 1.0 References: <20060419040716.4F26116A45F@hub.freebsd.org> <20060419095207.GC19339@wjv.com> <44462C07.4030903@centtech.com> <444634C1.9080206@centtech.com> <346a80220604190746n69a74a67te58599f743312cab@mail.gmail.com> <17478.22833.727876.432169@bhuda.mired.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: [PATCH] Fancy rc startup style RFC X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@cokane.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 16:07:35 -0000 On 4/19/06, Mike Meyer wrote: > > In <346a80220604190746n69a74a67te58599f743312cab@mail.gmail.com>, Coleman > Kane typed: > > On 4/19/06, Eric Anderson wrote: > > > >>> Please do not use colors in rc. Escape-sequenced colors make > > > >>> unacceptable assumptions about the user and syslogd strips > > > >>> escape sequences anyway, so it would be of no use to logged > > > >>> consoles. Serial consoles introduce other problems with buggy > > > >>> escape handling in third-party terminal programs. A good text > > > >>> layout and descriptive status messages do far more for clarity > > > >>> and readability than any use of color ever can. > > This point can be debated... > > Only the last point, and only because it involves a quantity that's > very difficult to measure. > > > read some literature from Edward Tufte... > > I've read Tufte. I've gotten him to sign my copy of some of his books > at his seminars. I wish (vehemently!) that more web authors would read > Tufte. > > > colors are a good way to cram more "information" into a space without > > actually compromising the capacity of that space. > > True, but that's not his point. His point is that the colors aren't > always visible (another thing I wish more web authors were aware > of). The text layout and status messages should work well in > environments where the colors aren't visible, because there are times > when that's the kind of environment they'll be in. > > That said, colors can make checking for exceptions much easier - if > you can see them. So I don't have any problem with adding > colors. However, they should be off by default (at least initially), > and the messages and layout should be tested that way until they work > well without colors. I want to make a nicely configurable console message system that includes colors and formatting settable by the user (with a few sane defaults). I am familiar with the trouble of using red for errors (if you've ever seen red on a B+W TV you'll know too). How about we all discuss good choices for "default" colors? And, I think I am going to assemble some sort of "framework" sh script for this after all. Either it gets ammended to rc.subr, or it sits alone as its own dedicated module (that can be sourced by rc.*). -- > Mike Meyer > http://www.mired.org/consulting.html > Independent Network/Unix/Perforce consultant, email for more information. >