OESF Portables Forum
Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: Ian on April 20, 2004, 02:03:21 pm
-
As someone whose *primary* linux machine is a C860, I miss the man pages. Trying to get the full usage out of a tool like \"find\" is basically impossible for me without this stuff.
Can anyone tell me how to set up my Zaurus so that \"man find\" works properly?
Thanks in advance,
Ian.
-
Which ROM?
I don\'t think the standard ROM comes with the \'man\' binary so you\'d need to compile/find this first. In any case find may well be provided by busybox which means that it\'d be a cut-down version and not everything in the man page would apply. You may be better off looking on the busybox website and grabbing the html page which describes all of the commands and their available switches.
Si
-
I was missing the man pages as well. For a quick and dirty solution, you could check out how man was implemented in the cramfs image mentioned in this (http://zaurususergroup.com/index.php?name=PNphpBB2&file=viewtopic&p=21017) thread. If you copy the man pages to some uncompressed place, compress them with gzip and modify the man script to have on-the-fly decompression piping into less. Note also that an original man implementation based on nroff would be quite slow on the Z.
-
Thanks - I am using a retail 5600, retail 6000 and Cacko 1.21 ROM on a C860....
I fetched the busybox web page and (you can guess what\'s next I\'m sure...) the tools in the Cacko ROM are not the same as the ones in the retail ROMs, specifically \"find\" which is really cut down in busybox. That\'s one I am using in a script, with the \"advanced\" features, so it\'s quite annoying that it doesn\'t work on the retail builds. Back to the drawing board!
Thanks for the pointers though - the busybox html will be my reference guide for bash scripting on the Zaurus.
Regards, Ian.
-
\'find --help\' might work?
Si
-
Have you tried this app (zman)? http://killefiz.de/zaurus/showdetail.php?app=1287 (http://killefiz.de/zaurus/showdetail.php?app=1287)
It allows you to save man pages to the Z in a compressed format.
-
\'find --help\' might work?
Er, thanks for the news flash, Tom Brokaw :shock: ... :wink:
This came up because I\'m using a C860 with a Cacko ROM where \'find --help\' gives something a lot less comprehensible than the BusyBox version you see on the retail devices... Specifically, it tells you all the options but doesn\'t explain any of them.
That BusyBox html file is a gold mine though - it lets me write bash scripts on the C860 but ensure that they will work on the other devices too.
Thanks, Ian.