![]() |
ls color
I've built a package that adds color to ls output.
http://olya.com/maemo/lscolor.gif Hope someone else will find this useful. http://nitapps.com |
Re: ls color
very nice! tks!
(i also like several of your utils from your site) i really wish we had an n800 util on the order of xmessage - this would be useful to host a stdout stream or other output... in conjunction with a ported watch command, we'd have the ability to easily craft a number of handy tools 'on-the-fly'! (off to look for the source to watch) |
Re: ls color
Great, I needed colours! Something I won't have to port.
xmessage is ported, it's part of xbase-client : http://debfarm.free.fr/pool/?M=D Watch is part of procps which conflicts with busybox, I've extracted it here: http://debfarm.free.fr/nondeb/ ag2, is this the coreutils' ls ? Maybe a short sentence on where the binary comes from would be interesting? At least I am :) Does it install? As it overwrites busybox ls, I wonder? |
Re: ls color
Quote:
:-) |
Re: ls color
Quote:
It installs alongside busybox, by removing the ls symlink. The symlink is restored on uninstallation. |
Re: ls color
Ok thanks. I thought there was a also a conflict between busybox and coreutils but it doesn't look like. So it's just a matter of not overwritting /bin/ls.
|
Re: ls color
Just a question.
Anybody seen the never-ending reboot with color-ls? I installed it yesterday and my machine went into endless reboots requiring a reflash. The only other thing I did yesterday was change maemomapper to use BT to find the internal GPS. I love color-ls and almost require it..lol Just not the reboots of death. |
Re: ls color
I didn't get a reboot loop, back when I tried it, but there was some wierd behavior, so I quit it...
You know, the busybox in the initfs (where space is tight) has colorized ls. The one on the rootfs doesn't. Nokia, Nokia, Nokia... (Oh, and for the record, since xmessage was discussed; we've got gxmessage now, too. It's compatible, but with extensions and gtk+.) |
Re: ls color
how would you access the initfs? I have only had my n810 about a week and am not quite ready to hack it up yet.
|
Re: ls color
Well, it's typically read-only (not enough room), so to actually change anything, you need Fanoush's initfs_flasher.
But it's mounted on /mnt/initfs; if you want to try running things on it, be root, and chroot /mnt/initfs/. There's actually some interesting utilities on there; you can use dsmetest to set the backlight brightness (and much else), and you can use text2screen to dump text. |
Re: ls color
Hmm, I went and looked around a bit. Do you think something as simple a cp /mnt/initfs/busybox ..... would work to get the right shell with the colorized ls available in my standard shell?
|
Re: ls color
busybox can have different functionality compiled in, so while that would get you color ls, it might break something else (that's not compiled into the initfs version)... Worst case, reboot loop requiring reflash, if you aren't multibooting.
|
| All times are GMT. The time now is 09:11. |
vBulletin® Version 3.8.8