![]() |
LS support --color
Does the ls in Busybox on the N900 support colorizing? It doesn't like it when I pass it the --color=auto option?
|
Re: LS support --color
I don't know myself, but I found some interesting results entering "busybox color" into Google. I'd tell you more, but....
|
Re: LS support --color
Quote:
I did search here. Then Googled as you did. I used every busybox parameter I could find, thus why I mentioned LS not allowing the --color=auto option. |
Re: LS support --color
I tried it on my N900 and it doesn't work in Xterm. ls doesn't recognize --color(=auto) option, so I supposed that this functionality is compiled on the busybox
|
Re: LS support --color
What version of busybox is it? (Probably just busybox --version)
The newer versions of busybox have it, it looks like it just has to be turned on it the config (then recompiled). config FEATURE_LS_COLOR bool "Allow use of color to identify file types" default y depends on LS && LONG_OPTS help This enables the --color option to ls. |
Re: LS support --color
Looks like there is a Patch for it, but I'm really not wanting a brick here!
|
Re: LS support --color
Nokia-N900-42-11:~# uname -a
Linux Nokia-N900-42-11 2.6.28-omap1 #1 PREEMPT Wed Oct 28 15:32:55 EET 2009 armv7l unknown Nokia-N900-42-11:~# busybox BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) multi-call binary Copyright (C) 1998-2007 Erik Andersen, Rob Landley, Denys Vlasenko and others. Licensed under GPLv2. See source distribution for full notice. |
Re: LS support --color
Does anyone see any reason to recommend against installing bash?
|
Re: LS support --color
It's in 1.10.2:
config FEATURE_LS_COLOR bool "Allow use of color to identify file types" default y depends on LS && GETOPT_LONG help This enables the --color option to ls. It's on by default, so I'm guessing they just disabled it? I don't have the sdk installed yet, or an n900 yet for that matter, so I'm not sure how much effort it is to rebuild and install busybox. Most of the time reconfiguring it and cross compiling it on a SDK is pretty straight forward. |
Re: LS support --color
Quote:
|
All times are GMT. The time now is 14:17. |
vBulletin® Version 3.8.8