
advax at triumf
Jul 21, 2008, 5:15 PM
Post #2 of 2
(191 views)
Permalink
|
|
Re: Command Line Club - please join / interactive man pages project (dialog + shell)
[In reply to]
|
|
On Sat, 19 Jul 2008, Darius Jack wrote: > would welcome your advice on how to install interactive man pages on 770, I wrote a trivial thing called "bzman", which is basically just: /usr/bin/man = #!/bin/sh LESSOPEN="|bzip2 -cdfq %s"; export LESSOPEN exec less -is "/usr/local/bzman/$1" Since my pager of choice is "less" when running "man" on my desktop, I get something that behaves the same (run up a manpage, search for something). It can't handle entries in multiple sections, though ("man 1 sleep" vs. "man 3 sleep") I chose bzip compression as it's slightly better than gzip, but perhaps it wasn't worth the trouble - "disk" space is't really that tight on the tablet for a few kb of manpages, and one can always use the SD card. http://andrew.triumf.ca/N810/repository/dists/chinook/user/binary-armel/bzman-0.5.deb -- Andrew Daviel, TRIUMF, Canada _______________________________________________ maemo-developers mailing list maemo-developers[at]maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
|