* lib/mc.ext.in: Remove edit rules for compressed files that

were compressing even unchanged files - the editor itself can
handle compression better.
This commit is contained in:
Pavel Roskin 2002-09-04 19:01:13 +00:00
parent b5265f8da5
commit 110af08b0b
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2002-09-04 Pavel Roskin <proski@gnu.org>
* lib/mc.ext.in: Remove edit rules for compressed files that
were compressing even unchanged files - the editor itself can
handle compression better.
2002-09-03 Pavel Roskin <proski@gnu.org> 2002-09-03 Pavel Roskin <proski@gnu.org>
* acinclude.m4: Remove Termnet support, it's too old and obscure * acinclude.m4: Remove Termnet support, it's too old and obscure

View File

@ -457,25 +457,21 @@ regex/\.ftplist$
type/^gzip type/^gzip
Open=gzip -dc %f | %var{PAGER:more} Open=gzip -dc %f | %var{PAGER:more}
View=%view{ascii} gzip -dc %f 2>/dev/null View=%view{ascii} gzip -dc %f 2>/dev/null
Edit=I=`date +%%s`; export I; gzip -cd %f >/tmp/gzed.$I && %var{EDITOR:vi} /tmp/gzed.$I && gzip -c /tmp/gzed.$I > %f; rm -f /tmp/gzed.$I
# bzip2 # bzip2
type/^bzip2 type/^bzip2
Open=bzip2 -dc %f | %var{PAGER:more} Open=bzip2 -dc %f | %var{PAGER:more}
View=%view{ascii} bzip2 -dc %f 2>/dev/null View=%view{ascii} bzip2 -dc %f 2>/dev/null
Edit=I=`date +%%s`; export I; bzip2 -cd %f >/tmp/bzed.$I && %var{EDITOR:vi} /tmp/bzed.$I && bzip2 -c /tmp/bzed.$I > %f; rm -f /tmp/bzed.$I
# bzip # bzip
type/^bzip type/^bzip
Open=bzip -dc %f | %var{PAGER:more} Open=bzip -dc %f | %var{PAGER:more}
View=%view{ascii} bzip -dc %f 2>/dev/null View=%view{ascii} bzip -dc %f 2>/dev/null
Edit=I=`date +%%s`; export I; bzip -cd %f >/tmp/bzed.$I && %var{EDITOR:vi} /tmp/bzed.$I && bzip -c /tmp/bzed.$I > %f; rm -f /tmp/bzed.$I
# compress # compress
type/^compress type/^compress
Open=gzip -dc %f | %var{PAGER:more} Open=gzip -dc %f | %var{PAGER:more}
View=%view{ascii} gzip -dc %f 2>/dev/null View=%view{ascii} gzip -dc %f 2>/dev/null
Edit=I=`date +%%s`; export I; gzip -cd %f >/tmp/gzed.$I && %var{EDITOR:vi} /tmp/gzed.$I && gzip -c /tmp/gzed.$I > %f; rm -f /tmp/gzed.$I
# ar library # ar library
regex/\.s?a$ regex/\.s?a$