From owner-freebsd-stable Tue Jul 18 22:40:29 2000 Delivered-To: freebsd-stable@freebsd.org Received: from snafu.adept.org (adsl-63-201-63-44.dsl.snfc21.pacbell.net [63.201.63.44]) by hub.freebsd.org (Postfix) with ESMTP id CEF6737BCDB; Tue, 18 Jul 2000 22:40:23 -0700 (PDT) (envelope-from mike@adept.org) Received: by snafu.adept.org (Postfix, from userid 1000) id 03F179EE01; Tue, 18 Jul 2000 22:40:19 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by snafu.adept.org (Postfix) with ESMTP id F170E9B001; Tue, 18 Jul 2000 22:40:19 -0700 (PDT) Date: Tue, 18 Jul 2000 22:40:19 -0700 (PDT) From: Mike Hoskins To: j mckitrick Cc: wonko@entropy.tmok.com, Mike Smith , mph@astro.caltech.edu, freebsd-stable@freebsd.org Subject: Re: Color ls In-Reply-To: <20000719041804.A52522@dogma.freebsd-uk.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 19 Jul 2000, j mckitrick wrote: > It's time to sell out. Colorls isn't THAT big of a deal if it makes people > happy. Adding it will make more people happy than leaving it out will. [155]mike@storm{mike}$ echo $TERM xterm-color [156]mike@storm{mike}$ ls -G 'Adding it will...' ? It's already been added. This discussion isn't about adding color ls support, it's about people understanding how to configure their terminal(s). Along those lines... 'color' isn't a default ls behavior. That's why you have to add an argument (-G) to make it appear. Reading ls(1) tells one how to do that. With that in mind... 'xterm-color' isn't a default xterm terminal type. I think the problem is, ls(1) doesn't mention anything about needing 'xterm-color' for -G to work. I know... This duscussion's been had before. I'm not saying it's ls(1)'s job to educate the polulace on termcap, but if ls(1) isn't specifically going to expalin that -G won't work without xterm-color (and, don't get me wrong, I think the user should have to specify xterm-color if they want it...), shouldn't it at least point to termcap(5)? Personally, I think it'd just be easier to include 'requires TERM=xterm-color' with ls(1)'s explanation of -G, but that's just MO. I have to admit... I don't generally use color ls. If it makes some faction (even a very small one) of users happy though, I'm happy we support it - and we do support it... We support is a lot better than gnuls, IMCO. Ever try redirecting gnuls through more or less? What a mess. Doing the same with ours works perfectly. -mrh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message