Author Topic: Installing man pages on Zaurus - how?  (Read 4102 times)

Ian

  • Newbie
  • *
  • Posts: 29
    • View Profile
Installing man pages on Zaurus - how?
« 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.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Installing man pages on Zaurus - how?
« Reply #1 on: April 20, 2004, 05:15:10 pm »
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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Zazz

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Installing man pages on Zaurus - how?
« Reply #2 on: April 20, 2004, 05:44:13 pm »
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 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.

Ian

  • Newbie
  • *
  • Posts: 29
    • View Profile
Installing man pages on Zaurus - how?
« Reply #3 on: April 20, 2004, 10:47:31 pm »
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.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Installing man pages on Zaurus - how?
« Reply #4 on: April 21, 2004, 05:25:38 am »
\'find --help\' might work?

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

doseas

  • Full Member
  • ***
  • Posts: 207
    • View Profile
    • http://
Installing man pages on Zaurus - how?
« Reply #5 on: April 21, 2004, 02:47:53 pm »
Have you tried this app (zman)? http://killefiz.de/zaurus/showdetail.php?app=1287

It allows you to save man pages to the Z in a compressed format.

Ian

  • Newbie
  • *
  • Posts: 29
    • View Profile
Installing man pages on Zaurus - how?
« Reply #6 on: April 21, 2004, 11:12:36 pm »
Quote
\'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.