Package: mc Version: 3:4.8.13-3 Severity: normal Tags: patch Hi,
pressing <enter> on JAR files did not triggered anything in mc since a long time. I'm not sure why the mime expression does not work but I added an extension based hook to the Git repository which does the trick for me as well. (patch attached here as well) Kind regards Andreas. -- System Information: Debian Release: 8.3 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages mc depends on: ii e2fslibs 1.42.12-1.1 ii libc6 2.19-18+deb8u2 ii libglib2.0-0 2.42.1-1 ii libgpm2 1.20.4-6.1+b2 ii libslang2 2.3.0-2 ii libssh2-1 1.4.3-4.1 ii mc-data 3:4.8.13-3 Versions of packages mc recommends: ii mime-support 3.58 ii perl 5.20.2-3+deb8u3 ii unzip 6.0-16+deb8u2 Versions of packages mc suggests: pn arj <none> ii bzip2 1.0.6-7+b3 pn catdvi | texlive-binaries <none> pn dbview <none> pn djvulibre-bin <none> ii file 1:5.22+15-2+deb8u1 pn genisoimage <none> pn gv <none> pn imagemagick <none> pn odt2txt <none> pn poppler-utils <none> ii python 2.7.9-1 pn python-boto <none> pn python-tz <none> ii w3m 0.5.3-19 pn xpdf | pdf-viewer <none> pn zip <none> -- no debconf information
>From 610adc9d7a7b0db643c094bbe110ee5ff65314a3 Mon Sep 17 00:00:00 2001 From: Andreas Tille <ti...@debian.org> Date: Tue, 16 Feb 2016 12:48:05 +0100 Subject: [PATCH] Enable pressing <enter> on JAR files to see its content --- debian/changelog | 7 +++++++ debian/patches/ext_jar_files.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 27 insertions(+) create mode 100644 debian/patches/ext_jar_files.patch diff --git a/debian/changelog b/debian/changelog index e23ea72..2c33550 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mc (3:4.8.15-3) UNRELEASED; urgency=medium + + * Team upload + * Enable pressing <enter> on JAR files to see its content + + -- Andreas Tille <ti...@debian.org> Tue, 16 Feb 2016 12:46:46 +0100 + mc (3:4.8.15-2) unstable; urgency=low * Upload to unstable. diff --git a/debian/patches/ext_jar_files.patch b/debian/patches/ext_jar_files.patch new file mode 100644 index 0000000..9747175 --- /dev/null +++ b/debian/patches/ext_jar_files.patch @@ -0,0 +1,19 @@ +Description: Enable pressing <enter> on JAR files to see its content +Author: Andreas Tille <ti...@debian.org> +Last-Update: Tue, 16 Feb 2016 12:46:46 +0100 + +--- a/misc/mc.ext.in ++++ b/misc/mc.ext.in +@@ -699,6 +699,12 @@ type/i/^Java\ (Jar\ file|archive)\ data\ + Open=%cd %p/uzip:// + View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip + ++# jar(zip) ++# the above does not seem to work reliably ++shell/i/.jar ++ Open=%cd %p/uzip:// ++ View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip ++ + # zoo + shell/i/.zoo + Open=%cd %p/uzoo:// diff --git a/debian/patches/series b/debian/patches/series index 7f4c373..68af222 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -16,3 +16,4 @@ mcedit_full_path.patch mcedit_group_undo.patch ext_run-mailcap.patch ext_use_default_editor.patch +ext_jar_files.patch -- 2.7.0