Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37742201
en ru br
Репозитории ALT
S:2.1.1.0.3.g6c0f75cca-alt1
5.1: 1.4.2.3-alt3
4.1: 1.4.2.3-alt1
4.0: 1.4.2.3-alt1
3.0: 1.4.2.1i-alt4
www.altlinux.org/Changes

Группа :: Сети/Почта
Пакет: mutt

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: mutt-1.3.22.1-alt-compressed-hooks.patch
Скачать


--- 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   <f1> "!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.
 #
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin