Your message dated Wed, 17 Feb 2016 21:41:12 +0100
with message-id <[email protected]>
and subject line Re: Bug#814903: Bug#814903: mc: Pressing <enter> on JAR files
does not show content
has caused the Debian Bug report #814903,
regarding mc: Pressing <enter> on JAR files does not show content
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
814903: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814903
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 <[email protected]>
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 <[email protected]> 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 <[email protected]>
+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
--- End Message ---
--- Begin Message ---
Deleted ~/.config/mc/mc.ext and it works now. Bug closed by this mail, will
revert my changes in Git.
Sorry for the noise
Andreas.
On Wed, Feb 17, 2016 at 08:49:38PM +0100, Yury V. Zaytsev wrote:
> On Wed, 17 Feb 2016, Andreas Tille wrote:
>
> >No sorry, the issue also happens in mc-4.8.15. By chance the computer I
> >was sending the bug report from was mc-4.8.13 thus the bug report.
> >Without the patch it does not work for me on any mc version I have
> >access to.
> >
> >Could you please confirm that you are able any /usr/share/java/*.jar on
> >your local system?
>
> Yes, I can; do you have a custom mc.ext in $HOME by any chance that is
> overriding global settings?
>
> --
> Sincerely yours,
> Yury V. Zaytsev
>
>
--
http://fam-tille.de
--- End Message ---