[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Fixed in master. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
** Changed in: mc Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
We have a branch with fixed patterns now: https://github.com/MidnightCommander/mc/compare/master...4502_mc.ext.ini_fixups -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
This is already in master, but there are now things that are escaped, which shouldn't be escaped. Also, archives now work, affected are complicated type-based patterns. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Escaping fix from arch linnux is working https://bbs.archlinux.org/viewtopic.php?pid=2119187#p2119187 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
** Changed in: mc Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Detection by type is broken due to wrong escaping. Reopened upstream. Thanks for reporting. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
** Bug watch added: Midnight Commander Bug Tracker #4502 http://midnight-commander.org/ticket/4502 ** Also affects: mc via http://midnight-commander.org/ticket/4502 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Dear Yury, I added following to /etc/mc/mc.ext.ini file and mc started recognize .war files [war-by-shell] Shell=.war ShellIgnoreCase=true Open=%cd %p/uzip:// View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip Thanks a lot. ** Attachment added: "Peek 2024-05-28 12-37.mp4" https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+attachment/5783526/+files/Peek%202024-05-28%2012-37.mp4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Dear Yury, When I change war to zip, all working good. And I can enter into archive and do my work. But no response for war extension At this moment I installed 4.8.30, and do sudo wget https://raw.githubusercontent.com/MidnightCommander/mc/master/misc/mc.ext.ini.in -O /etc/mc/mc.ext.ini I have /etc/mc/mc.ext.ini file [jar] Type=\(Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\) TypeIgnoreCase=true Open=%cd %p/uzip:// View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip Is this ok? I am using ubuntu 24.04LTS the problem exists with normal user and with root user -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
The latest version is 4.8.31, there overwriting of mc.ext should not be necessary. If you do overwrite it, then you also have to do the replacements above. The pattern says ``` Type=\(Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\) ``` which should match ``` Java archive data (JAR) ``` so nothing has changed here. I have no idea what's going on your system. Maybe you have a user mc.ext? Did you try on a fresh user? Does entering into ZIP archives work? What if you rename your war to zip? What if you rename a real zip to test? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
:~/releases# file web.hospital.war web.hospital.war: Java archive data (JAR) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
So can you finally show the output of `file` and see if this is now different / doesn't match mc.ext pattern? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
In ubuntu 24.04 war archives not open via enter. I updated 4.8.30 to 4.8.31, but after hitting enter not opening war files. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
** Attachment added: "Peek 2024-05-26 12-44.mp4" https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+attachment/5782907/+files/Peek%202024-05-26%2012-44.mp4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
In video you can see that war archives not opening via mc 4.8.31 , ubuntu 24.04 ** Attachment added: "Peek 2024-05-26 12-29.mp4" https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+attachment/5782908/+files/Peek%202024-05-26%2012-29.mp4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
By using the fast workaround, archives can be opened and navigation is possible via Enter, but other files do not start (e.g. .docx, .png), I get the following error: /tmp/mc-kovzol/mcext0NQTN2: 13: @EXTHELPERSDIR@/doc.sh: not found /tmp/mc-kovzol/mcextF4QZN2: 13: @EXTHELPERSDIR@/image.sh: not found Should I substitute @EXTHELPERSDIR@ by something in the .ini file? --- Yes, it turned out that a substitution by /usr/lib/mc/ext.d solves the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Fast workaround: sudo wget https://raw.githubusercontent.com/MidnightCommander/mc/master/misc/mc.ext.ini.in -O /etc/mc/mc.ext.ini -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Yes, you can try to use our mc.ext instead of what comes with the package: https://github.com/MidnightCommander/mc/blob/master/misc/mc.ext.ini.in In mc menu select 'Command' -> 'Edit extension file', replace the text, save and exit the editor to notify mc of your changes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Is there a workaround for this problem? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Can you maybe get in touch with MOTUs? No idea, what's the right way - mailing list, IRC. Unfortunately, I find it highly doubtful that anyone who can actually upload is reading bug mail for this package. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Please update mc to new version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
Unfortunately, Dmitry has just committed the patch, but hasn't pushed a new build: https://salsa.debian.org/debian/mc/-/commit/daeabd910de6868140272e365f755d207a986e39 ... or upgraded the package to 4.8.31. I have no upload rights in Ubuntu, but it would be nice if someone who has could just take this commit specifically into 24.04, because it's going to be an LTS and otherwise a pretty major part of the functionality is going to be broken for years. It's totally safe and a lot less work than upgrading the package... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2062968] Re: mc (Midnight commander) not opening/navigating archives by enter
** Changed in: mc (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2062968 Title: mc (Midnight commander) not opening/navigating archives by enter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/2062968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs