Re: entering zip archives since 4.8.22?



Hello Andrew,


On Wed, 10 Feb 2021 14:11:56 +0300 Andrew Borodin <aborodin vmail ru> wrote:

On Wed, 10 Feb 2021 11:48:42 +0100 wwp wrote:
is it just me or is it since mc 4.8.22 that entering a .zip archive
opens it up in desktop's file browser?

Here: CentOS7 with Mate, if I [enter] a zip file in mc 4.8.22, it opens
the desktop's defaut binding for zip files: engrampa.

My ~/.config/mc/mc.ext file contains:
# zip
shell/i/.zip
    Open=%cd %p/uzip://
    View=%view{ascii} /usr/local/libexec/mc/ext.d/archive.sh view zip

# zip
type/i/^zip\ archive
    Open=%cd %p/uzip://
    View=%view{ascii} /usr/local/libexec/mc/ext.d/archive.sh view zip

The previous (and expected) behaviour was to browse the archive inside
mc as a subfolder. I didn't notice a change of behaviour for other
archive types.  

Please try update your local mc.ext:
https://midnight-commander.org/ticket/4180
https://midnight-commander.org/ticket/4183

Patching my mc.ext didn't fix it (Iapplied the fix from #4180), and
that sounded suspicious to me.

Then I've built the latest sources from git master, removed my ~/.config/mc/mc.ext
and it still does not work (opens desktop's app for archives instead).

F3 doesn't work either:
 identify: no decode delegate for this image format `ZIP' @ error/constitute.c/ReadImage/564.

Back to 2.8.25 and its mc.ext and everything works.


Regards,

-- 
wwp
https://useplaintext.email/

Attachment: pgpUlYNHO5OEB.pgp
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]