X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=manpages%2Ffma.1;fp=manpages%2Ffma.1;h=6fc93c43c59fb214c0db2c536e91ddb2efddb541;hb=1e39a7bd1b6e8f8bbb15b2b1aefaa0a91e4bb7dc;hp=0000000000000000000000000000000000000000;hpb=3103c730844cc91db1ec7a6100bf6896771b9ba3;p=grml-scripts.git diff --git a/manpages/fma.1 b/manpages/fma.1 new file mode 100644 index 0000000..6fc93c4 --- /dev/null +++ b/manpages/fma.1 @@ -0,0 +1,52 @@ +.TH FMA 1 +.SH NAME +fma \- fast manual access +.SH SYNOPSIS +.B fma +.RI [ section ] " manualpage" +.SH DESCRIPTION +This manual page documents briefly the +.B fma +command. +.PP +\fBfma\fP is a script which allows fast and efficient access to manual pages +through using compression via lzop and display of vim. + +fma generates manpages via running 'man ' and storing +the result in a file with the extension txt in directory $HOME/man. Then +lzop is executed for the file and the output is written to a file with the +additional extension lzo. Afterwards the editor vim is executed with +filetype set to man and using on-the-fly decompressing using lzop again. + +So far you did not win any time of course. But if you want to display the +same manpage again the processed manpage already exists in $HOME/man and +can be displayed immediately. If you want to experience the difference +just run 'fma zshall' two times and compare it with 'man zshall' too. +.SH OPTIONS +fma supports the following options: +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.TP +.B $MANDIR +If the environment variable MANDIR is set the specified directory is taken +for output files instead of the default directory $HOME/man. +.SH USAGE EXAMPLE +.TP +.B % fma zshall +Display manpage zshall (man zshall). +.TP +.B % fma 1 read +Display manpage read of section 1 (man 1 read). +.TP +.B % fma 2 read +Display manpage read of section 2 (man 2 read). +.SH AUTHOR +fma was written by Michael Prokop based on an idea of +Matthias Kopfermann . +.PP +This manual page was written by Michael Prokop +for the grml project (but may be used by others).