lib/mc.ext.in: Move matches for plain compressed files down.

This commit is contained in:
Leonard den Ottolander 2005-07-03 12:43:15 +00:00
parent 2aae4390da
commit 2704385e05
2 changed files with 40 additions and 31 deletions

View File

@ -1,3 +1,7 @@
2005-07-03 Leonard den Ottolander <leonard * den ottolander nl>
* lib/mc.ext.in: Move matches for plain compressed files down.
2005-07-03 Roland Illig <roland.illig@gmx.de>
* acinclude.m4 (MC_WITH_VFS): Don't link with libnsl

View File

@ -134,16 +134,6 @@ regex/\.(tar|TAR)$
Open=%cd %p#utar
View=%view{ascii} tar tvvf %f
# zip
type/^([Zz][Ii][Pp])\ archive
Open=%cd %p#uzip
View=%view{ascii} unzip -v %f
# zoo
regex/\.([Zz][Oo][Oo])$
Open=%cd %p#uzoo
View=%view{ascii} zoo l %f
# lha
type/^LHa\ .*archive
Open=%cd %p#ulha
@ -185,26 +175,6 @@ regex/(^|\.)ls-?lR(\.g?z|Z|bz2)?$
regex/\.(diff|patch)(\.(bz2|gz|Z))?$
Open=%cd %p#patchfs
# gzip
type/^gzip
Open=gzip -dc %f | %var{PAGER:more}
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
# bzip
type/^bzip
Open=bzip -dc %f | %var{PAGER:more}
View=%view{ascii} bzip -dc %f 2>/dev/null
# compress
type/^compress
Open=gzip -dc %f | %var{PAGER:more}
View=%view{ascii} gzip -dc %f 2>/dev/null
# ar library
regex/\.s?a$
Open=%cd %p#uar
@ -233,9 +203,9 @@ regex/\.iso$
# 7zip archives (they are not man pages)
shell/.7z
Open=%cd %p#u7z
View=%view{ascii} 7za l %f 2>/dev/null
### Sources ###
# C
@ -263,6 +233,7 @@ shell/.s
regex/\.(C|cc|cpp)$
Open=%var{EDITOR:vi} %f
### Documentation ###
# Texinfo
@ -426,6 +397,7 @@ include/video
#Open=(gtv %f >/dev/null 2>&1 &)
#Open=(xanim %f >/dev/null 2>&1 &)
### Documents ###
# Postscript
@ -523,6 +495,39 @@ regex/\.(rexx?|cmd)$
Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
### Plain compressed files ###
# zip
type/^([Zz][Ii][Pp])\ archive
Open=%cd %p#uzip
View=%view{ascii} unzip -v %f
# zoo
regex/\.([Zz][Oo][Oo])$
Open=%cd %p#uzoo
View=%view{ascii} zoo l %f
# gzip
type/^gzip
Open=gzip -dc %f | %var{PAGER:more}
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
# bzip
type/^bzip
Open=bzip -dc %f | %var{PAGER:more}
View=%view{ascii} bzip -dc %f 2>/dev/null
# compress
type/^compress
Open=gzip -dc %f | %var{PAGER:more}
View=%view{ascii} gzip -dc %f 2>/dev/null
### Default ###
# Default target for anything not described above