Date: Tue, 11 Jun 1996 09:36:21 -0400 (EDT) From: Chuck Robey <chuckr@Glue.umd.edu> To: dwhite@resnet.uoregon.edu Cc: Randy DuCharme <randyd@nconnect.net>, questions@freebsd.org Subject: Re: colorls utility Message-ID: <Pine.OSF.3.91.960611093523.20941A-100000@professor.eng.umd.edu> In-Reply-To: <Pine.BSF.3.91.960611001807.5035L-100000@riley-net170-164.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Jun 1996, Doug White wrote: > On Mon, 10 Jun 1996, Randy DuCharme wrote: > > > I've just installed colorls from 2.1 release. I added "alias ls > > colorls -G" to my .cshrc. It works fine until I do a "ls - <switch> > > |more. If I use more I get the ANSI escape sequence and not the color. > > Is there a way around this? > > No, AFAIK. Try making a 'quiet' ls alias, I guess. Or find a 'quiet' > colorls switch that will override -G. > > Don't really know...just some guesses. The one from gnu, which is also a port (see linuxls) is smart enough to detect that it's output isn't going to a terminal, and switch off the color stuff. It was driving me wild too .... > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and n3lxx, both FreeBSD (301) 220-2114 | version 2.2 current -- and great FUN! ----------------------------+-----------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960611093523.20941A-100000>