--- mutt-1.3.22.1/Muttrc.head.in~ Thu Sep 27 17:28:12 2001 +++ mutt-1.3.22.1/Muttrc.head.in Thu Sep 27 17:32:48 2001 @@ -22,6 +22,21 @@ macro pager "!less @docdir@/manual.txt\n" "Show Mutt documentation" macro pager "[11~" "!less @docdir@/manual.txt\n" "Show Mutt documentation" +# Treat folders that match \\.gz$ as gzipped folders: +open-hook \\.gz$ "gzip -cd %f > %t" +close-hook \\.gz$ "gzip -c %t > %f" +append-hook \\.gz$ "gzip -c %t >> %f" + +# Treat folders that match \\.bz2$ as bzipped folders: +open-hook \\.bz2$ "bzip2 -cd %f > %t" +close-hook \\.bz2$ "bzip2 -c %t > %f" +append-hook \\.bz2$ "bzip2 -c %t >> %f" + +# Treat folders that match \\.xz$ as xzipped folders: +open-hook \\.xz$ "xz -cd %f > %t" +close-hook \\.xz$ "xz -c %t > %f" +append-hook \\.xz$ "xz -c %t >> %f" + # If Mutt is unable to determine your site's domain name correctly, you can # set the default here. #