From owner-freebsd-questions Tue Jun 11 06:36:28 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA22957 for questions-outgoing; Tue, 11 Jun 1996 06:36:28 -0700 (PDT) Received: from jolt.eng.umd.edu (jolt.eng.umd.edu [129.2.102.5]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA22949 for ; Tue, 11 Jun 1996 06:36:25 -0700 (PDT) Received: from professor.eng.umd.edu (professor.eng.umd.edu [129.2.98.207]) by jolt.eng.umd.edu (8.7.5/8.7.3) with ESMTP id JAA24076; Tue, 11 Jun 1996 09:36:23 -0400 (EDT) Received: (from chuckr@localhost) by professor.eng.umd.edu (8.7.5/8.7.3) id JAA29058; Tue, 11 Jun 1996 09:36:22 -0400 (EDT) Date: Tue, 11 Jun 1996 09:36:21 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@professor.eng.umd.edu To: dwhite@resnet.uoregon.edu cc: Randy DuCharme , questions@freebsd.org Subject: Re: colorls utility In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 - > > |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! ----------------------------+-----------------------------------------------