--- lib/mc.ext.in +++ lib/mc.ext.in @@ -316,12 +316,17 @@ shell/.abw Open=(abiword %f &) # Microsoft Word Document -regex/\.([Dd]o[ct]|DO[CT]|[Ww]ri|WRI)$ +type/^Microsoft\ Office\ Document Open=(abiword %f >/dev/null 2>&1 &) - View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f + View=%view{ascii} wvText %f - || strings %f + type/^Microsoft\ Word Open=(abiword %f >/dev/null 2>&1 &) - View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f + View=%view{ascii} wvText %f - || strings %f + +regex/\.([Dd]ot|DOT|[Ww]ri|WRI)$ + Open=(abiword %f >/dev/null 2>&1 &) + View=%view{ascii} wvText %f - || strings %f # RTF document regex/\.(rtf|RTF|Rtf)$