Date: Tue, 18 Jul 2000 22:40:19 -0700 (PDT) From: Mike Hoskins <mike@adept.org> To: j mckitrick <jcm@FreeBSD-uk.eu.org> Cc: wonko@entropy.tmok.com, Mike Smith <msmith@freebsd.org>, mph@astro.caltech.edu, freebsd-stable@freebsd.org Subject: Re: Color ls Message-ID: <Pine.BSF.4.21.0007182228240.1236-100000@snafu.adept.org> In-Reply-To: <20000719041804.A52522@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <color output snipped> '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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007182228240.1236-100000>