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
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.
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.
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.
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.
It looks like it may have caused problems on a few Droids and they were turning it off. Like bleeding colors or something.