mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
lib/mc.ext.in: Move matches for plain compressed files down.
This commit is contained in:
parent
2aae4390da
commit
2704385e05
@ -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>
|
2005-07-03 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* acinclude.m4 (MC_WITH_VFS): Don't link with libnsl
|
* acinclude.m4 (MC_WITH_VFS): Don't link with libnsl
|
||||||
|
@ -134,16 +134,6 @@ regex/\.(tar|TAR)$
|
|||||||
Open=%cd %p#utar
|
Open=%cd %p#utar
|
||||||
View=%view{ascii} tar tvvf %f
|
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
|
# lha
|
||||||
type/^LHa\ .*archive
|
type/^LHa\ .*archive
|
||||||
Open=%cd %p#ulha
|
Open=%cd %p#ulha
|
||||||
@ -185,26 +175,6 @@ regex/(^|\.)ls-?lR(\.g?z|Z|bz2)?$
|
|||||||
regex/\.(diff|patch)(\.(bz2|gz|Z))?$
|
regex/\.(diff|patch)(\.(bz2|gz|Z))?$
|
||||||
Open=%cd %p#patchfs
|
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
|
# ar library
|
||||||
regex/\.s?a$
|
regex/\.s?a$
|
||||||
Open=%cd %p#uar
|
Open=%cd %p#uar
|
||||||
@ -233,9 +203,9 @@ regex/\.iso$
|
|||||||
|
|
||||||
# 7zip archives (they are not man pages)
|
# 7zip archives (they are not man pages)
|
||||||
shell/.7z
|
shell/.7z
|
||||||
Open=%cd %p#u7z
|
|
||||||
View=%view{ascii} 7za l %f 2>/dev/null
|
View=%view{ascii} 7za l %f 2>/dev/null
|
||||||
|
|
||||||
|
|
||||||
### Sources ###
|
### Sources ###
|
||||||
|
|
||||||
# C
|
# C
|
||||||
@ -263,6 +233,7 @@ shell/.s
|
|||||||
regex/\.(C|cc|cpp)$
|
regex/\.(C|cc|cpp)$
|
||||||
Open=%var{EDITOR:vi} %f
|
Open=%var{EDITOR:vi} %f
|
||||||
|
|
||||||
|
|
||||||
### Documentation ###
|
### Documentation ###
|
||||||
|
|
||||||
# Texinfo
|
# Texinfo
|
||||||
@ -426,6 +397,7 @@ include/video
|
|||||||
#Open=(gtv %f >/dev/null 2>&1 &)
|
#Open=(gtv %f >/dev/null 2>&1 &)
|
||||||
#Open=(xanim %f >/dev/null 2>&1 &)
|
#Open=(xanim %f >/dev/null 2>&1 &)
|
||||||
|
|
||||||
|
|
||||||
### Documents ###
|
### Documents ###
|
||||||
|
|
||||||
# Postscript
|
# Postscript
|
||||||
@ -523,6 +495,39 @@ regex/\.(rexx?|cmd)$
|
|||||||
Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
|
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 ###
|
||||||
|
|
||||||
# Default target for anything not described above
|
# Default target for anything not described above
|
||||||
|
Loading…
Reference in New Issue
Block a user