diff --git a/ChangeLog b/ChangeLog index 9d6edaaaf..584b3339a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -46,6 +46,10 @@ * mhl/types.h, mhl/escape.h: replaced bool type by stdbool.h (fixing #239, #240) * lib/mc.sh.in: fixes for non-bash shells (fixing #196) +2009-02-03 Enrico Weigelt, metux ITS + + * lib/mc.ext.in: command line options fix by adamw (#183) + 2009-02-03 Enrico Weigelt, metux ITS * lib/mc.lib: added patch on #219 by angel_il diff --git a/lib/mc.ext.in b/lib/mc.ext.in index cac84f355..efb2151c2 100644 --- a/lib/mc.ext.in +++ b/lib/mc.ext.in @@ -167,23 +167,32 @@ regex/\.(alz|ALZ)$ # cpio shell/.cpio.Z Open=%cd %p#ucpio - View=%view{ascii} gzip -dc '%f' | cpio -itv 2>/dev/null + View=%view{ascii} gzip -dc %f | cpio -itv 2>/dev/null shell/.cpio.gz Open=%cd %p#ucpio - View=%view{ascii} gzip -dc '%f' | cpio -itv 2>/dev/null + View=%view{ascii} gzip -dc %f | cpio -itv 2>/dev/null shell/.cpio Open=%cd %p#ucpio - View=%view{ascii} cpio -itv <'%f' 2>/dev/null + View=%view{ascii} cpio -itv < %f 2>/dev/null # ls-lR -regex/(^|\.)ls-?lR(\.g?z|Z|bz2)?$ +regex/(^|\.)ls-?lR(\.gz|Z|bz2)$ Open=%cd %p#lslR # patch -regex/\.(diff|patch)(\.(bz2|gz|Z))?$ - Open=%cd %p#patchfs +regex/\.(diff|patch)(\.bz2)$ + Open=%cd %p#patchfs + View=%view{ascii} bzip2 -dc %f 2>/dev/null + +regex/\.(diff|patch)(\.(gz|Z))$ + Open=%cd %p#patchfs + View=%view{ascii} gzip -dc %f 2>/dev/null + +regex/\.(diff|patch)$ + Open=%cd %p#patchfs + View=%view{ascii} /bin/cat %f 2>/dev/null # ar library regex/\.s?a$ @@ -558,11 +567,17 @@ type/^gzip Open=gzip -dc %f | %var{PAGER:more} View=%view{ascii} gzip -dc %f 2>/dev/null +regex/\.(gz|Z)?$ + View=%view{ascii} gzip -dc %f 2>/dev/null + # bzip2 type/^bzip2 Open=bzip2 -dc %f | %var{PAGER:more} View=%view{ascii} bzip2 -dc %f 2>/dev/null +regex/\.bz2?$ + View=%view{ascii} bzip2 -dc %f 2>/dev/null + # bzip type/^bzip Open=bzip -dc %f | %var{PAGER:more}