4567fd4
--- mc-4.6.1a/configure.ac.extensions	2005-11-11 03:03:55.000000000 +0100
4567fd4
+++ mc-4.6.1a/configure.ac	2006-02-28 11:54:30.000000000 +0100
4567fd4
@@ -83,7 +83,7 @@ AC_PROG_LN_S
4567fd4
 AC_CHECK_TOOL(AR, ar, ar)
4567fd4
 
4567fd4
 dnl Only list browsers here that can be run in background (i.e. with `&')
4567fd4
-AC_CHECK_PROGS(X11_WWW, [gnome-moz-remote mozilla konqueror opera netscape])
4567fd4
+AC_CHECK_PROGS(X11_WWW, [firefox gnome-moz-remote mozilla konqueror opera netscape])
4567fd4
 
4567fd4
 dnl
4567fd4
 dnl Ovverriding mmap support.  This has to be before AC_FUNC_MMAP is used.
4567fd4
--- mc-4.6.1a/configure.extensions	2006-02-15 21:12:35.000000000 +0100
4567fd4
+++ mc-4.6.1a/configure	2006-02-28 12:03:54.000000000 +0100
4567fd4
@@ -5791,7 +5791,7 @@ else
4567fd4
 fi
4567fd4
 
4567fd4
 
4567fd4
-for ac_prog in gnome-moz-remote mozilla konqueror opera netscape
4567fd4
+for ac_prog in firefox gnome-moz-remote mozilla konqueror opera netscape
4567fd4
 do
4567fd4
   # Extract the first word of "$ac_prog", so it can be a program name with args.
4567fd4
 set dummy $ac_prog; ac_word=$2
d42c8be
--- mc-4.6.1a/lib/mc.ext.in.extensions	2005-09-06 11:20:01.000000000 +0200
cfc943f
+++ mc-4.6.1a/lib/mc.ext.in	2005-12-06 09:22:37.000000000 +0100
cfc943f
@@ -216,14 +221,25 @@ shell/.7z
22fbca8
 
22fbca8
 # C
22fbca8
 shell/.c
22fbca8
-	Open=%var{EDITOR:vi} %f
22fbca8
+	Include=editor
22fbca8
 
22fbca8
 # Fortran
22fbca8
 shell/.f
22fbca8
-	Open=%var{EDITOR:vi} %f
22fbca8
+	Include=editor
22fbca8
 	
22fbca8
 # Header
22fbca8
 regex/\.(h|hpp)$
22fbca8
+	Include=editor
22fbca8
+
22fbca8
+# Asm
22fbca8
+regex/\.([Ss]|[Aa]sm|ASM)$
22fbca8
+	Include=editor
22fbca8
+
22fbca8
+# C++
22fbca8
+regex/\.(C|cc|[Cc]pp|CPP)$
1ee97a4
+	Include=editor
22fbca8
+
22fbca8
+include/editor
22fbca8
 	Open=%var{EDITOR:vi} %f
22fbca8
 
22fbca8
 # Object
cfc943f
@@ -248,9 +264,11 @@ regex/\.(te?xi|texinfo)$
22fbca8
 # GNU Info page
22fbca8
 type/^Info\ text
22fbca8
 	Open=info -f %f
22fbca8
+	#Open=pinfo %f
22fbca8
 
22fbca8
 shell/.info
22fbca8
 	Open=info -f %f
22fbca8
+	#Open=pinfo %f
22fbca8
 
22fbca8
 # Manual page
22fbca8
 # Exception - .so libraries are not manual pages
cfc943f
@@ -319,6 +337,12 @@ type/^PPM
22fbca8
 type/^Netpbm
22fbca8
 	Include=image
22fbca8
 
22fbca8
+type/^JNG
22fbca8
+	Include=image
22fbca8
+
22fbca8
+type/^MNG
22fbca8
+	Include=image
22fbca8
+
22fbca8
 shell/.xcf
22fbca8
 	Open=gimp %f
22fbca8
 
cfc943f
@@ -330,7 +354,7 @@ shell/.xpm
22fbca8
 	View=sxpm %f
22fbca8
 
22fbca8
 include/image
22fbca8
-	Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (gqview %f &); fi
22fbca8
+	Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (display %f &); fi
22fbca8
 	View=%view{ascii} identify %f
22fbca8
 	#View=%view{ascii} asciiview %f
22fbca8
 
cfc943f
@@ -348,8 +372,12 @@ regex/\.([wW][aA][wW]22)$
22fbca8
        Open=vplay -s 22 %f
22fbca8
 
22fbca8
 regex/\.([mM][pP]3)$
22fbca8
-	Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f &); fi
22fbca8
-	View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
22fbca8
+	Include=audio
22fbca8
+	#Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f &); fi
22fbca8
+	#View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
22fbca8
+
22fbca8
+regex/\.([mM][kK][aA])$
22fbca8
+	Include=audio
22fbca8
 
22fbca8
 regex/\.([oO][gG][gG])$
22fbca8
 	Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else (xmms %f &); fi
cfc943f
@@ -362,6 +390,9 @@ regex/\.([wW][mM][aA])$
22fbca8
 	Open=mplayer -vo null %f
22fbca8
 	View=%view{ascii} mplayer -quiet -slave -frames 0 -vo null -ao null -identify %f 2>/dev/null | tail +13 || file %f
22fbca8
 
4567fd4
+include/audio
22fbca8
+	Open=mplayer %f
22fbca8
+	View=%view{ascii} mplayer -identify -vo null -ao null -frames 0 %f 2>&1 | sed -n '/^ID_/p'
22fbca8
 
22fbca8
 ### Play lists ###
22fbca8
 
cfc943f
@@ -386,20 +417,27 @@ regex/\.([mM][oO][vV]|[qQ][tT])$
22fbca8
 regex/\.([mM][pP]4|[mM][pP][eE]?[gG])$
22fbca8
 	Include=video
22fbca8
 
22fbca8
+regex/\.([mM][kK][vV])$
22fbca8
+	Include=video
22fbca8
+
22fbca8
 regex/\.([vV][oO][bB])$
22fbca8
 	Include=video
22fbca8
 
22fbca8
 regex/\.([wW][mM][vV])$
22fbca8
 	Include=video
22fbca8
 
22fbca8
+regex/\.([fF][lL][iIcC])$
22fbca8
+	Include=video
22fbca8
+
22fbca8
 regex/\.([oO][gG][mM])$
22fbca8
 	Include=video
22fbca8
 
22fbca8
 regex/\.([rR][aA]?[mM])$
d42c8be
-	Open=(realplay %f >/dev/null 2>&1 &)
d42c8be
+	Include=video
22fbca8
 
22fbca8
 include/video
22fbca8
 	Open=(mplayer %f >/dev/null 2>&1 &)
22fbca8
+	View=%view{ascii} mplayer -identify -vo null -ao null -frames 0 %f 2>&1 | sed -n '/^ID_/p'
22fbca8
 	#Open=(gtv %f >/dev/null 2>&1 &)
22fbca8
 	#Open=(xanim %f >/dev/null 2>&1 &)
22fbca8
 
cfc943f
@@ -408,12 +446,13 @@ include/video
cfc943f
 
cfc943f
 # Postscript
cfc943f
 type/^PostScript
cfc943f
-	Open=(gv %f &)
beabfeb
+	Open=(evince %f >/dev/null 2>&1 &)
cfc943f
 	View=%view{ascii} ps2ascii %f
b52d9c6
 
b52d9c6
 # PDF
b52d9c6
 type/^PDF
b52d9c6
-	Open=(xpdf %f &)
beabfeb
+	Open=(evince %f >/dev/null 2>&1 &)
beabfeb
+	#Open=(xpdf %f >/dev/null 2>&1 &)
b52d9c6
 	#Open=(acroread %f &)
b52d9c6
 	#Open=(ghostview %f &)
b52d9c6
 	View=%view{ascii} pdftotext %f -
cfc943f
@@ -424,7 +463,7 @@ type/^PDF
b52d9c6
 # html
b52d9c6
 regex/\.([hH][tT][mM][lL]?)$
b52d9c6
 	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
b52d9c6
-	View=%view{ascii} lynx -dump -force_html %f
b52d9c6
+	View=%view{ascii} links -dump %f
b52d9c6
 
b52d9c6
 # StarOffice 5.2
b52d9c6
 shell/.sdw