baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: "David Moberg" <davidjmoberg AT gmail.com>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] Colors in ls - X rxvt/swm xinitrc
- Date: Mon, 1 Jan 2007 09:59:10 -0800
Lee Forrest wrote:
On Mon, Jan 01, 2007 at 04:14:14PM +0000, sindi keesan wrote:
>> Try the larger (non-busybox) ls, which will work without color.
>> The buxybox one is hardwired to color.
I was afraid of that.
> > ls --color=never
Didn't work.
Try this:
ls -C | cat
This worked on an earlier version of BL3, but Steven upgraded busybox
since then so I'm not sure if it still works. It should unless the
busybox developers changed it. It worked because ls checked if the
output was going to a terminal, and turned color off if it was not.
A script with just the above (and "$@" to add additional arguments)
should be smaller and simpler than the full-size ls.
David
-
[BL] Colors in ls - X rxvt/swm xinitrc,
Lee Forrest, 01/01/2007
-
Re: [BL] Colors in ls - X rxvt/swm xinitrc,
Samual Acorn, 01/01/2007
-
Re: [BL] Colors in ls - X rxvt/swm xinitrc,
sindi keesan, 01/01/2007
-
Re: [BL] Colors in ls - X rxvt/swm xinitrc,
Lee Forrest, 01/01/2007
-
Re: [BL] Colors in ls - X rxvt/swm xinitrc,
David Moberg, 01/01/2007
- Re: [BL] Colors in ls - X rxvt/swm xinitrc +unwanted copies, Lee Forrest, 01/01/2007
-
Re: [BL] Colors in ls - X rxvt/swm xinitrc,
David Moberg, 01/01/2007
-
Re: [BL] Colors in ls - X rxvt/swm xinitrc,
Lee Forrest, 01/01/2007
-
Re: [BL] Colors in ls - X rxvt/swm xinitrc,
sindi keesan, 01/01/2007
- Re: [BL] Colors in ls - X rxvt/swm xinitrc, Hermang Mansilla, 01/13/2007
-
Re: [BL] Colors in ls - X rxvt/swm xinitrc,
Samual Acorn, 01/01/2007
Archive powered by MHonArc 2.6.24.