Active Topics

 


Reply
Thread Tools
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#1
Does the ls in Busybox on the N900 support colorizing? It doesn't like it when I pass it the --color=auto option?
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#2
I don't know myself, but I found some interesting results entering "busybox color" into Google. I'd tell you more, but....
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#3
Originally Posted by qole View Post
I don't know myself, but I found some interesting results entering "busybox color" into Google. I'd tell you more, but....
Heh, Funny, but not exactly the same thing though is it?

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.
 
Posts: 114 | Thanked: 45 times | Joined on Oct 2009 @ Turin, Italy
#4
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
 
Posts: 29 | Thanked: 6 times | Joined on Oct 2009
#5
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.

Last edited by mattmull; 2009-12-01 at 00:27.
 
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#6
Looks like there is a Patch for it, but I'm really not wanting a brick here!
 
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#7
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.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#8
Does anyone see any reason to recommend against installing bash?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 29 | Thanked: 6 times | Joined on Oct 2009
#9
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.
 
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#10
Originally Posted by mattmull View Post
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.
It looks like it may have caused problems on a few Droids and they were turning it off. Like bleeding colors or something.
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:53.