Re: entering zip archives since 4.8.22?

2021-02-10 Thread Adam Pribyl

Are you hitting this
https://midnight-commander.org/ticket/2965

maybe?

Adam Pribyl

On Wed, 10 Feb 2021, wwp wrote:


Hello Andrew,


On Wed, 10 Feb 2021 14:11:56 +0300 Andrew Borodin  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/




___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: entering zip archives since 4.8.22?

2021-02-10 Thread wwp
Hello Andrew,


On Wed, 10 Feb 2021 14:11:56 +0300 Andrew Borodin  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/


pgpWA2skiUDpm.pgp
Description: OpenPGP digital signature
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: entering zip archives since 4.8.22?

2021-02-10 Thread Andrew Borodin
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

-- 
Andrew
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: entering zip archives since 4.8.22?

2021-02-10 Thread wwp
Er.. please read '4.8.26' instead of '4.8.22' om my previous email.

$ mc --version
GNU Midnight Commander 4.8.26
Built with GLib 2.56.1
Built with S-Lang 2.2.4 with terminfo database
With builtin Editor and Aspell support
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:
 cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, smbfs
Data types:
 char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
On Wed, 10 Feb 2021 11:48:42 +0100 wwp  wrote:

Regards,

> Hello there,
> 
> 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.

-- 
wwp
https://useplaintext.email/


pgph28D2Mdc38.pgp
Description: OpenPGP digital signature
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


entering zip archives since 4.8.22?

2021-02-10 Thread wwp
Hello there,

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.

Regards,

-- 
wwp
https://useplaintext.email/


pgpqFMmcMOBfF.pgp
Description: OpenPGP digital signature
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc