![]() |
more or less
On all unix/linux systems I use less instead of more. I really get annoyed by the more command in the n900 Xterminal.
I tried to find 'less' for the n900 but I can't seem to find it. Is there a less for n900, or an easy way to built it? |
Re: more or less
Seriously.. this one can't be that hard to port. It's really disappointing busybox doesn't use less. I don't have the N900, unfortunately, so I would have no ability to test.
All someone needs to do is grab: http://packages.debian.org/sid/armel/less/download optify it, maybe change the control file a little bit and match dependency names with N900. Can someone verify that these are on the N900? libc6 (>= 2.4), libgcc1 (>= 1:4.4.0), libncurses5 (>= 5.6+20071006-3), debianutils (>= 1.8) I'm quite sure these were available to N810, although I'm not sure about versions. If the versions aren't right (N900 may have older libraries), then the less source just needs to be recompiled against the N900's packages. |
Re: more or less
It is available in the sdk repository: look here:
http://repository.maemo.org/pool/fremantle/free/ It is not advised to add this repository on the device, even if you know what you are doing, but you should have no problem downloading and installing specific packages, such as less. |
Re: more or less
The SDK repo? Is that different than extras-testing and extras-devel?
How many "official" repo's are there?? Including ones that will kill my kittens and slaughter my first born? (I'll be adding all of them when I get an N900... bad repo's don't scare me ;)). |
Re: more or less
|
Re: more or less
SDK: Software Developer Kit.
These are packages for the SDK cross-compilation setup on your PC, i.e. where you develop stuff that you can later install on the N900. As there are armel versions (which run in an emulator on the PC) of packages some of these will work on the actual N900 itself too. But you have to be careful. So, it's not yet-another-repository for the N900: We're still at extras, extras-testing, extras-devel. |
Re: more or less
I know its not what you are really looking for but...
ln -s /bin/more /bin/less At least until you get less actually ported you don't have to change your behavior. |
Re: more or less
Well I understand SDK as Software Devel Kit... I have the N810 setup with scratchbox loaded at home. But why would there be apps in the SDK that you can install in your emulated environment that aren't out in one of the Maemo repo's?
What if I wrote a program that wrapped less with some other commands into a gui?? In the SDK evidently this would be fine as the package is there... but would never run on an "actual" N900 since there is no repository holding it. Or at least, that function would be missing. This kind of disconnect I can see being a drawback in getting developers over to the Maemo platform.. if it's in the SDK, I would think it should at *least* be in the extras-devel.. |
Re: more or less
Ah, but it can't be in both repos, as developers would have both configured in their scratchbox. I use the SDK repo on my N900 to get tools such as less, but it is probably best to be careful with what you install from there as stuff in that repo isn't optified.
|
Re: more or less
Not to add to the confusion, but it may be safer to add the tools repo instead of the sdk one.
from the command line: Code:
$ sudo gainroot http://img696.imageshack.us/img696/2...2310570.th.png: Jebba's wiki page has this and more information on it. notes
|
All times are GMT. The time now is 02:00. |
vBulletin® Version 3.8.8