Reply
Thread Tools
Posts: 197 | Thanked: 101 times | Joined on Dec 2009 @ Netherlands
#1
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?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#2
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.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#3
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.
 

The Following 2 Users Say Thank You to Matan For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#4
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 ).
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#5
http://repository.maemo.org/

Is that most of them? That and then Garage?
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#6
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.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
jsuggs's Avatar
Posts: 103 | Thanked: 44 times | Joined on Sep 2009 @ Nashville, TN
#7
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.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#8
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..
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#9
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.
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.
 
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#10
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
# echo "deb http://repository.maemo.org fremantle/tools free" >> /etc/apt/sources.list.d/hildon-application-manager.list
# apt-get update
exit
$
from App.manager (recommended)
:

Jebba's wiki page has this and more information on it.

notes
  • Modifying the hildon-application-manager.list file directly doesn't update "Application Catalogs", and pressing refresh doesn't correct this issue. Either its a bug, or I'm missing something very obvious. Then again, I seem to remember Synaptic Package Manager (Ubuntu) functioning similarly
  • to disable a repo from the text file, just prefix it with a "#"
  • Most everything in the tools repository is meant for people that are comfortable with the command line and miss something from their desktop *nix setup. It is not meant for normal users.
__________________
aspidites | blog | aspidites@inbox.com

Last edited by aspidites; 2009-12-23 at 17:48.
 

The Following 4 Users Say Thank You to aspidites For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:52.