[Pkg-mc-devel] Bug#814903: Bug#814903: Bug#814903: mc: Pressing <enter> on JAR files does not show content

Andreas Tille andreas at an3as.eu
Tue Feb 16 18:36:39 UTC 2016


Hi Yury,

On Tue, Feb 16, 2016 at 06:19:27PM +0100, Yury V. Zaytsev wrote:
> Could you please show the output of the "file" command on the problematic
> jar files and also make a sample available?

I could provide countless examples - I rather can't provide a counter
example where the expected behaviour would work.  But to fullfil your
request:

$ file /usr/share/java/ant-1.9.6.jar 
/usr/share/java/ant-1.9.6.jar: Java archive data (JAR)

as from the Debian ant package (or any other JAR you can find in your
/usr/share/java/ dir.
 
> I wouldn't mind adding \.(zip|jar)$ to mc.ext.in upstream, but I'd be
> curious to know why exactly the type-based detection doesn't work.

I admit I'd prefer a more sensible type-based solution - but this one
worked in contrast to other means I tried.

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Pkg-mc-devel mailing list