From owner-freebsd-ports Wed Jan 10 15:12:22 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA10696 for ports-outgoing; Wed, 10 Jan 1996 15:12:22 -0800 (PST) Received: from birdland.rhein-neckar.de (birdland.rhein-neckar.de [193.197.88.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA10668 for ; Wed, 10 Jan 1996 15:12:08 -0800 (PST) Received: (from bsd@localhost) by birdland.rhein-neckar.de (8.6.12/8.6.12) id AAA00426; Thu, 11 Jan 1996 00:11:46 +0100 Date: Thu, 11 Jan 1996 00:11:46 +0100 (MET) From: BSD Mailinglisten-User To: Donald Burr cc: Chuck Robey , Brian Clapper , freebsd-ports@FreeBSD.org, bmc@willscreek.com Subject: Re: linux `ls' port In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@FreeBSD.org Precedence: bulk On Tue, 9 Jan 1996, Donald Burr wrote: > > Hmm, how does the linux ls differ from colorls in ports/misc ? > > It does NOT send colour codes if the stdout is not a tty (i.e. if you're > piping through 'more' or doing 'ls > file' then it won't output ugly ANSI > seuqneces). And it's configurable, ie you can set yourself the cololrs > that different types of files appear as. Unfortunately, mine does... I got the port from Brian's ftp server and compiled it. It works (more or less; dirs are green, not blue as I'm accustomed to, but it should be possible to change that). Unfortunately "ls -lo |less" yields funny looking ANSI-Escape sequences... something like total 8 drwxr-xr-x 2 root wheel 512 Jan 4 21:48 Mail drwxr-xr-x 2 root wheel 512 Jan 4 21:48 News drwx------ 2 root wheel 512 Jan 10 23:11 mail Any ideas? Martin | Martin Jangowski E-Mail: maja@birdland.rhein-neckar.de | | Voice: +49 621/53 95 06 Fax: +49 621/53 95 07 | | Snail Mail: Koenigsbacher Str. 16 D-67067 Ludwigshafen Germany | | RNInet e.V. Rhein-Neckar Internet |