Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2000 01:54:30 +0100
From:      Josef Karthauser <joe@pavilion.net>
To:        Doug Barton <DougB@gorean.org>
Cc:        Robert Watson <rwatson@FreeBSD.org>, Warner Losh <imp@village.org>, "Matthew N. Dodd" <winter@jurai.net>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/ls extern.h ls.1 ls.c ls.h print.c
Message-ID:  <20000605015430.K620@pavilion.net>
In-Reply-To: <393AE783.2C6FA3A8@gorean.org>; from DougB@gorean.org on Sun, Jun 04, 2000 at 04:34:27PM -0700
References:  <Pine.NEB.3.96L.1000604191852.8938A-100000@fledge.watson.org> <393AE783.2C6FA3A8@gorean.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 04, 2000 at 04:34:27PM -0700, Doug Barton wrote:
> Robert Watson wrote:
> > 
> > So this leads me to the obvious question: if terminal information is not
> > available, why would we want to print out color codes?  Is it not
> > acceptable to just not print in color when in single-user mode, or if the
> > termcap database is unavailable?
> 
> 	Acceptable, sure, but not really necessary. The ANSI codes work for the
> majority of "terminals," including cons25. Since the user has to
> explicitly enable the option to display color, if for some odd reason
> (most likely a serial console) the fallback ANSI codes don't work, they
> can just disable color. Think about it this way. Which is going to cause
> the most -questions e-mails? "Why doesn't my color ls work in single
> user mode?" or "Why doesn't my color ls work when I use my 20 year old
> Wyse 50 hooked up as a serial console?"

(What have I started!)

I'm inclined to agree with Robert here, and I have a patch almost ready
to roll that does just that.  Doug, how often is one in single user
mode?

Joe


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000605015430.K620>