[maemo-developers] Command Line Club - please join / interactive man pages project (dialog + shell)
From: Andrew Daviel advax at triumf.caDate: Tue Jul 22 03:15:28 EEST 2008
- Previous message: Command Line Club - please join / interactive man pages project (dialog + shell)
- Next message: Fwd: How to fire up gps daemon from command line - wanna build GPS app on N810
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Command Line Club - please join / interactive man pages project (dialog + shell)
- Next message: Fwd: How to fire up gps daemon from command line - wanna build GPS app on N810
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]