PATCH for mc.ext



Hello,

I suggest to apply the following patch, as word 2.x documents
are not very popular anymore, and catdoc knows newer doc formats
and even wri.

--- mc.ext.orig Sat Apr 21 22:03:20 2001
+++ mc.ext      Sun May 27 01:24:27 2001
@@ -347,12 +347,18 @@
        View with netscape=netscape file://%f

 # Microsoft Word Document
-regex/\.([Dd]oc|DOC)$
-       #View=%view{ascii} catdoc -w %f
-       View=%view{ascii} word2x -f text %f -
+regex/\.([Dd]oc|DOC|[Dd]ot|DOT|[Ww]ri|WRI)$
+       #View=%view{ascii} word2x -f text %f -
+       View=%view{ascii} catdoc -w %f
 type/Microsoft Word Document
-       #View=%view{ascii} catdoc -w %f
-       View=%view{ascii} word2x -f text %f -
+       #View=%view{ascii} word2x -f text %f -
+       View=%view{ascii} catdoc -w %f
+
+# Microsoft Excel Worksheet
+regex/\.([Xx]l[sw]|XL[SW])$
+       View=%view{ascii} xls2csv %f
+type/Microsoft Excel Worksheet
+       View=%view{ascii} xls2csv %f

 # Framemaker
 type/FrameMaker


I suggest also moving desktop-scripts, extfs, syntax, term
directories and all files in /usr/lib/mc to /usr/share/mc,
as these files are architecture independent.


A problem - with version 4.5.54 I can no longer view rpm files.
I get red empty dialog box:
"Could not parse:"

Then I press enter 3 times and get rpm listing, then press enter
on CONTENTS.cpio, and I see in command line:
mv: cannot stat `CONTENTS.cpio': No such file or directory

Regards,
Nerijus






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]