Editing war file with Midnight Commander
Midnight commander tries to open war files as tgz files. Is should open them as zip files instead.

To fix this open "Edit extension file" in "Command" menue (F9, C, e). Search for ".war" and delete it from the listings. The modified listing should look like:

# .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk, .gem
regex/\.t([gp]?z|ar\.g?[zZ])$|\.ipk$|\.gem$
&lt;------&gt;Open=%cd %p/utar://
&lt;------&gt;View=%view{ascii} /usr/local/Cellar/midnight-commander/4.8.7/libexec/mc/ext.d/archive.sh view tar.gz


Then add the following snippet somewhere in the file:

# .war
regex/\.war$
&lt;------&gt;Open=%cd %p/uzip://
&lt;------&gt;View=%view{ascii} /usr/local/Cellar/midnight-commander/4.8.7/libexec/mc/ext.d/archive.sh view zip