我在 Mac OS X(版本 4.8.13)上使用 Midnight Commander。我遇到了两个问题,如果您能帮助我,我将非常高兴:
/opt/local/libexec/mc/ext.d/doc.sh: 第 134 行:wvHtml:未找到命令
/opt/local/libexec/mc/ext.d/doc.sh:第 135 行:elinks:未找到命令
答案1
通过编辑mc.ext的~/.config/mc的路径解决问题
# Microsoft Word Document regex/i/\.(do[ct]|wri)$ Open=open %f View=%view{ascii} /opt/local/libexec/mc/ext.d/doc.sh view msdoc regex/i/\.(doc|xls)x$ Open=open %f type/^Microsoft\ Word Open=open %f View=%view{ascii} /opt/local/libexec/mc/ext.d/doc.sh view msdoc
和
# Microsoft Excel Worksheet regex/i/\.xl[sw]$ Open=open %f View=%view{ascii} /opt/local/libexec/mc/ext.d/doc.sh view msxls type/^Microsoft\ Excel Open=/opt/local/libexec/mc/ext.d/doc.sh open msxls View=%view{ascii} /opt/local/libexec/mc/ext.d/doc.sh view msxls