X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=doc%2Fmanual.sgml.head;h=556cff8b01f9bb819aa5775785374c9e03af8cf1;hb=6e0187ce721be4997bef32d724528f8976df89d6;hp=8ad8d3bc444d3f3c92c46872725ab5963cc8b527;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1;p=apps%2Fmadmutt.git diff --git a/doc/manual.sgml.head b/doc/manual.sgml.head index 8ad8d3b..556cff8 100644 --- a/doc/manual.sgml.head +++ b/doc/manual.sgml.head @@ -2412,6 +2412,168 @@ macro index \cb |urlview\n macro pager \cb |urlview\n +Compressed folders Support (OPTIONAL) +

+ +If Mutt was compiled with compressed folders support (by running the +, + and ) which define commands to uncompress and compress +a folder and to append messages to an existing compressed folder +respectively. + +For example: + + +open-hook \\.gz$ "gzip -cd %f > %t" +close-hook \\.gz$ "gzip -c %t > %f" +append-hook \\.gz$ "gzip -c %t >> %f" + + +You do not have to specify all of the commands. If you omit , the folder will be open and +closed again each time you will add to it. If you omit (or give empty command) , the +folder will be open in the mode. If you specify though you'll be able to append +to the folder. + +Note that Mutt will only try to use hooks if the file is not in one of +the accepted formats. In particular, if the file is empty, mutt +supposes it is not compressed. This is important because it allows the +use of programs that do not have well defined extensions. Just use +&dquot;.&dquot; as a regexp. But this may be surprising if your +compressing script produces empty files. In this situation, unset , so that the compressed file +will be removed if you delete all of the messages. + +Open a compressed mailbox for reading

+Usage: +open-hook \\.gz$ "gzip -cd %f > %t" + + +If the Write a compressed mailbox

+Usage: command after some changes were made to it. + +The command. Temporary folder +in this case is the folder previously produced by the < command. + +The +close-hook \\.gz$ "gzip -c %t > %f" + + +If the is not called when you exit +from the folder if the folder was not changed. + +Append a message to a compressed mailbox

+Usage: command. +The temporary folder in this case contains the messages that are being +appended. + +The +append-hook \\.gz$ "gzip -c %t >> %f" + + +When is used, the folder is +not opened, which saves time, but this means that we can not find out +what the folder type is. Thus the default () type is always supposed (i.e. +this is the format used for the temporary folder). + +If the file does not exist when you save to it, is called, and not . is only +for appending to existing folders. + +If the and respectively) each time you will add to it. + +Encrypted folders +

+The compressed folders support can also be used to handle encrypted +folders. If you want to encrypt a folder with PGP, you may want to use +the following hooks: + + +open-hook \\.pgp$ "pgp -f < %f > %t" +close-hook \\.pgp$ "pgp -fe YourPgpUserIdOrKeyId < %t > %f" + + +Please note, that PGP does not support appending to an encrypted +folder, so there is no append-hook defined. + +Mutt's MIME Support

Quite a bit of effort has been made to make Mutt the premier text-mode @@ -2991,6 +3153,8 @@ The following are the commands understood by mutt. + + +