2005-11-08 12:52:55 +00:00
|
|
|
--- mc-4.6.1a/lib/mc.ext.in.extensions 2005-09-06 11:20:01.000000000 +0200
|
|
|
|
+++ mc-4.6.1a/lib/mc.ext.in 2005-11-05 11:51:46.000000000 +0100
|
|
|
|
@@ -216,14 +216,25 @@ shell/.7z
|
2005-02-02 13:54:20 +00:00
|
|
|
|
|
|
|
# C
|
|
|
|
shell/.c
|
|
|
|
- Open=%var{EDITOR:vi} %f
|
|
|
|
+ Include=editor
|
|
|
|
|
|
|
|
# Fortran
|
|
|
|
shell/.f
|
|
|
|
- Open=%var{EDITOR:vi} %f
|
|
|
|
+ Include=editor
|
|
|
|
|
|
|
|
# Header
|
|
|
|
regex/\.(h|hpp)$
|
|
|
|
+ Include=editor
|
|
|
|
+
|
|
|
|
+# Asm
|
|
|
|
+regex/\.([Ss]|[Aa]sm|ASM)$
|
|
|
|
+ Include=editor
|
|
|
|
+
|
|
|
|
+# C++
|
|
|
|
+regex/\.(C|cc|[Cc]pp|CPP)$
|
|
|
|
+ Inlude=editor
|
|
|
|
+
|
|
|
|
+include/editor
|
|
|
|
Open=%var{EDITOR:vi} %f
|
|
|
|
|
|
|
|
# Object
|
2005-11-08 12:52:55 +00:00
|
|
|
@@ -248,9 +259,11 @@ regex/\.(te?xi|texinfo)$
|
2005-02-02 13:54:20 +00:00
|
|
|
# GNU Info page
|
|
|
|
type/^Info\ text
|
|
|
|
Open=info -f %f
|
|
|
|
+ #Open=pinfo %f
|
|
|
|
|
|
|
|
shell/.info
|
|
|
|
Open=info -f %f
|
|
|
|
+ #Open=pinfo %f
|
|
|
|
|
|
|
|
# Manual page
|
|
|
|
# Exception - .so libraries are not manual pages
|
2005-11-08 12:52:55 +00:00
|
|
|
@@ -319,6 +332,12 @@ type/^PPM
|
2005-02-02 13:54:20 +00:00
|
|
|
type/^Netpbm
|
|
|
|
Include=image
|
|
|
|
|
|
|
|
+type/^JNG
|
|
|
|
+ Include=image
|
|
|
|
+
|
|
|
|
+type/^MNG
|
|
|
|
+ Include=image
|
|
|
|
+
|
|
|
|
shell/.xcf
|
|
|
|
Open=gimp %f
|
|
|
|
|
2005-11-08 12:52:55 +00:00
|
|
|
@@ -330,7 +349,7 @@ shell/.xpm
|
2005-02-02 13:54:20 +00:00
|
|
|
View=sxpm %f
|
|
|
|
|
|
|
|
include/image
|
|
|
|
- Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (gqview %f &); fi
|
|
|
|
+ Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (display %f &); fi
|
|
|
|
View=%view{ascii} identify %f
|
|
|
|
#View=%view{ascii} asciiview %f
|
|
|
|
|
2005-11-08 12:52:55 +00:00
|
|
|
@@ -348,8 +367,12 @@ regex/\.([wW][aA][wW]22)$
|
2005-02-02 13:54:20 +00:00
|
|
|
Open=vplay -s 22 %f
|
|
|
|
|
|
|
|
regex/\.([mM][pP]3)$
|
|
|
|
- Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f &); fi
|
|
|
|
- View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
|
|
|
|
+ Include=audio
|
|
|
|
+ #Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f &); fi
|
|
|
|
+ #View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
|
|
|
|
+
|
|
|
|
+regex/\.([mM][kK][aA])$
|
|
|
|
+ Include=audio
|
|
|
|
|
|
|
|
regex/\.([oO][gG][gG])$
|
|
|
|
Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else (xmms %f &); fi
|
2005-11-08 12:52:55 +00:00
|
|
|
@@ -362,6 +385,9 @@ regex/\.([wW][mM][aA])$
|
2005-02-02 13:54:20 +00:00
|
|
|
Open=mplayer -vo null %f
|
|
|
|
View=%view{ascii} mplayer -quiet -slave -frames 0 -vo null -ao null -identify %f 2>/dev/null | tail +13 || file %f
|
|
|
|
|
|
|
|
+Include/audio
|
|
|
|
+ Open=mplayer %f
|
|
|
|
+ View=%view{ascii} mplayer -identify -vo null -ao null -frames 0 %f 2>&1 | sed -n '/^ID_/p'
|
|
|
|
|
|
|
|
### Play lists ###
|
|
|
|
|
2005-11-08 12:52:55 +00:00
|
|
|
@@ -386,20 +412,27 @@ regex/\.([mM][oO][vV]|[qQ][tT])$
|
2005-02-02 13:54:20 +00:00
|
|
|
regex/\.([mM][pP]4|[mM][pP][eE]?[gG])$
|
|
|
|
Include=video
|
|
|
|
|
|
|
|
+regex/\.([mM][kK][vV])$
|
|
|
|
+ Include=video
|
|
|
|
+
|
|
|
|
regex/\.([vV][oO][bB])$
|
|
|
|
Include=video
|
|
|
|
|
|
|
|
regex/\.([wW][mM][vV])$
|
|
|
|
Include=video
|
|
|
|
|
|
|
|
+regex/\.([fF][lL][iIcC])$
|
|
|
|
+ Include=video
|
|
|
|
+
|
|
|
|
regex/\.([oO][gG][mM])$
|
|
|
|
Include=video
|
|
|
|
|
|
|
|
regex/\.([rR][aA]?[mM])$
|
2005-11-08 12:52:55 +00:00
|
|
|
- Open=(realplay %f >/dev/null 2>&1 &)
|
|
|
|
+ Include=video
|
2005-02-02 13:54:20 +00:00
|
|
|
|
|
|
|
include/video
|
|
|
|
Open=(mplayer %f >/dev/null 2>&1 &)
|
|
|
|
+ View=%view{ascii} mplayer -identify -vo null -ao null -frames 0 %f 2>&1 | sed -n '/^ID_/p'
|
|
|
|
#Open=(gtv %f >/dev/null 2>&1 &)
|
|
|
|
#Open=(xanim %f >/dev/null 2>&1 &)
|
|
|
|
|
2005-11-08 12:52:55 +00:00
|
|
|
@@ -413,7 +446,8 @@ type/^PostScript
|
2005-08-29 13:50:20 +00:00
|
|
|
|
|
|
|
# PDF
|
|
|
|
type/^PDF
|
|
|
|
- Open=(xpdf %f &)
|
|
|
|
+ Open=(evince %f &)
|
|
|
|
+ #Open=(xpdf %f &)
|
|
|
|
#Open=(acroread %f &)
|
|
|
|
#Open=(ghostview %f &)
|
|
|
|
View=%view{ascii} pdftotext %f -
|
2005-11-08 12:52:55 +00:00
|
|
|
@@ -424,7 +458,7 @@ type/^PDF
|
2005-08-29 13:50:20 +00:00
|
|
|
# html
|
|
|
|
regex/\.([hH][tT][mM][lL]?)$
|
|
|
|
Open=(if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null
|
|
|
|
- View=%view{ascii} lynx -dump -force_html %f
|
|
|
|
+ View=%view{ascii} links -dump %f
|
|
|
|
|
|
|
|
# StarOffice 5.2
|
|
|
|
shell/.sdw
|