From owner-freebsd-chat Sun Jun 17 20:25:23 2001 Delivered-To: freebsd-chat@freebsd.org Received: from h24-67-61-12.lb.shawcable.net (h24-67-61-12.lb.shawcable.net [24.67.61.12]) by hub.freebsd.org (Postfix) with ESMTP id 0EB2937B403 for ; Sun, 17 Jun 2001 20:25:21 -0700 (PDT) (envelope-from chris@home.com) Received: by h24-67-61-12.lb.shawcable.net (Postfix, from userid 1002) id 102BA66B00E; Sun, 17 Jun 2001 21:17:23 -0600 (MDT) Date: Sun, 17 Jun 2001 21:17:22 -0600 From: Chris Moline To: chat@freebsd.org Subject: Re: System Tuning/Sysadmins Message-ID: <20010617211722.A21674@h24-67-61-12.lb.shawcable.net> References: <20010617063505.A29241@shell.monmouth.com> <20010617073505.B20171@h24-67-61-12.lb.shawcable.net> <20010617103922.A79022@acidpit.org> <20010617093905.A20349@h24-67-61-12.lb.shawcable.net> <20010617124444.A84138@acidpit.org> <20010617110702.A20700@h24-67-61-12.lb.shawcable.net> <20010617135150.A84666@acidpit.org> <20010617184129.B84666@acidpit.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010617184129.B84666@acidpit.org>; from rch@acidpit.org on Sun, Jun 17, 2001 at 06:41:29PM -0400 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jun 17, 2001 at 06:41:29PM -0400, Robert Hough wrote: > I don't claim to be a scripting god, but I can usually make something > work when I have to. Which was my point to begin with. I'd never attempt > to replace 'ls' with my crappy script, but should I ever lose 'ls' I'll > have something to fall back on. I actually have a little more feature > filled 'showdir.sh' script, but it was a bit too long to post here. Now, > if I could just get it to show permissions, and do some color! :) If your shell cooperates you can use ansi escape sequences. In sh typing esc-[[31m will make the text blue or something like that. I am not sure what the specific color is but that's the idea. The hard part is figuring out how to get an escape in there. I think I used to have a way to show permissions with sh but I can't remember. Chris Moline To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message