Midnight Commander stores its settings in /etc/mc/mc.ext file (newer versions) or in /usr/share/mc/mc.ext file (older ones). Sample entry looks like:
Code:
# Microsoft Word Document
regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
Open=(soffice %f >/dev/null 2>&1 &)
View=%view{ascii} antiword -t %f || catdoc -d8859-2 %f || word2x -f text %f - || strings %f
type/^Microsoft\ Word
Open=(soffice %f >/dev/null 2>&1 &)
View=%view{ascii} antiword -t %f || catdoc -d8859-2 %f || word2x -f text %f - || strings %f
In the above configuration you need soffice program to open Microsoft DOC, DOT or WRI files (soffice program is a part of OpenOffice.org package). To display the contents of one of these files using Midnight Commander F3 keyboard shortcut you need one of the following programs: antiword, catdoc or word2x.