From owner-freebsd-stable Tue Jul 18 22:58: 9 2000 Delivered-To: freebsd-stable@freebsd.org Received: from manatee.mammalia.org (manatee.mammalia.org [216.231.50.6]) by hub.freebsd.org (Postfix) with ESMTP id A91A237BCE2 for ; Tue, 18 Jul 2000 22:58:05 -0700 (PDT) (envelope-from rjoseph@mammalia.org) Received: by manatee.mammalia.org (Postfix, from userid 1000) id A6D9011CD28; Tue, 18 Jul 2000 22:58:03 -0700 (PDT) Date: Tue, 18 Jul 2000 22:58:03 -0700 From: R Joseph Wright To: Mike Hoskins Cc: freebsd-stable@FreeBSD.org Subject: Re: Color ls Message-ID: <20000718225803.B11027@manatee.mammalia.org> References: <20000719041804.A52522@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from mike@adept.org on Tue, Jul 18, 2000 at 10:40:19PM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jul 18, 2000 at 10:40:19PM -0700, Mike Hoskins wrote: > 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. > This is not so. You have to use it like 'gnuls --color=auto' and there will be no such mess. Gnuls also shows colors in the standard xterm without any of this termcap insanity or TERM=xterm-color nonsense. It's also much easier on the eyes, at least for me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message