From owner-freebsd-questions Thu May 24 19:21:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xyzzy.intranet.snsonline.net (dhcp.looksmart.com.au [202.53.47.178]) by hub.freebsd.org (Postfix) with ESMTP id ADE6837B422 for ; Thu, 24 May 2001 19:21:30 -0700 (PDT) (envelope-from msergeant@snsonline.net) Received: from xyzzy.intranet.snsonline.net (localhost [127.0.0.1]) by xyzzy.intranet.snsonline.net (8.11.3/8.11.3) with SMTP id f4P2Kj005176; Fri, 25 May 2001 12:20:47 +1000 (EST) (envelope-from msergeant@snsonline.net) Message-Id: <200105250220.f4P2Kj005176@xyzzy.intranet.snsonline.net> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "Mark Sergeant" To: Joel Dinel , freebsd-questions@FreeBSD.ORG Subject: Re: ls and Eterm X-Mailer: Pronto v2.2.5 On freebsd/mysql Date: 24 May 2001 21:20:43 EST Reply-To: "Mark Sergeant" In-Reply-To: <20010524112506.A6407@dinjo.touchtunes.com> References: <20010524112506.A6407@dinjo.touchtunes.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ensure your TERM is xterm-color and you'll be fine. in csh/tcsh setenv TERM xterm-color , bash/sh/zsh/ksh? export TERM="xterm-color" Cheers, Mark On Thu, 24 May 2001 11:25:06 -0400, Joel Dinel said: :: I've got the following line in my .bash_profile: :: LSCOLORS=4x5x1x3x2x464701060203 :: :: And the following in my .bash_rc: :: alias ls='ls -G' :: :: That gives me nice colored output in my consoles. When I'm using Eterm from my X :: session, ls doesn't give me any colors whatsoever. How can I make it so? :: :: I've tried GnuLS, and that works. When I pipe it to 'less' or 'more', I :: get mangled output (the color codes are printed out instead of the :: actual color). :: :: Any tips? FreeBSD 4.3 -RELEASE. :: :: Thanks! :: -- Mark Sergeant Unix Systems Administrator Fortune follows... "There's nothing wrong with teenagers that reasoning with them won't aggravate." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message