From owner-freebsd-questions Thu Jun 8 10:12:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id 6FE2137C07C for ; Thu, 8 Jun 2000 10:12:22 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id VAA30266; Thu, 8 Jun 2000 21:15:11 +0200 Message-ID: <393FD406.53346008@i-clue.de> Date: Thu, 08 Jun 2000 19:12:38 +0200 From: Christoph Sold Organization: i-clue interactive GmbH X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Jim Freeze Cc: questions@FreeBSD.ORG Subject: Re: Need help with more References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jim Freeze wrote: > I have added gnuls to my system and do like the colors. > > alias dir='gnuls --color -alF' > > However, when a directory listing is too large, I > typically pipe it to more. But, when I do this, I get > the following > > drwxr-xr-x 15 jfreeze jfreeze 1536 Jun 8 11:32 ^[[01;34m.^[[0m/ > drwxr-xr-x 4 mfreeze mfreeze 512 May 21 17:16 ^[[01;34m..^[[0m/ > -rw------- 1 jfreeze jfreeze 204 Jun 8 11:32 > [snip] > > isteand of the normal > > drwxr-xr-x 15 jfreeze jfreeze 1536 Jun 8 11:32 ./ > drwxr-xr-x 4 mfreeze mfreeze 512 May 21 17:16 ../ > -rw------- 1 jfreeze jfreeze 204 Jun 8 11:32 .Xauthority > [snip] > > The --color argument is what is causing the problems, but shouldn't more > be able to handle this? more is not ANSI escape sequence compatible. Use less or most (both in the ports) to replace more, both are better suited to this task. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message