List Info

Thread: Using 7z files




Using 7z files
country flaguser name
France
2007-03-08 02:41:48
Hello all,


it seems that I can't get use of .7z files in mc
(2006-08-12-18 w/
extfs support), neither opening them in extfs, neither with
F3.

The u7z is installed, but would I need 7z-related entries
in
~/.mc/bindings?


Regards,

-- 
wwp

_______________________________________________
Mc mailing list
http://mail
.gnome.org/mailman/listinfo/mc

Re: Using 7z files
country flaguser name
Bulgaria
2007-03-08 08:41:38
Hello,

On Thu, 8 Mar 2007, wwp wrote:

> it seems that I can't get use of .7z files in mc
(2006-08-12-18 w/
> extfs support), neither opening them in extfs, neither
with F3.

Maybe MC fails to recognize your .7z files for some reason.
It
looks for files ending in .7z and then it invokes the u7z
script to process them. Is there are chance that your .7z
archives end with a different filename extension ?

> The u7z is installed, but would I need 7z-related
entries in
> ~/.mc/bindings?

Well, yes...  The global mc.ext file should have an entry
for .7z archives. But if you have your own ~/.mc/bindings
file MC uses only that - it doesn't merge the entries for
the user and the global file. So, if you have a
~/.mc/bindings
then you have to add an entry for .7z files there. The
entry looks like this:

# 7zip archives (they are not man pages)
shell/.7z
         Open=%cd %p#u7z
         View=%view 7za l %f 2>/dev/null

_______________________________________________
Mc mailing list
http://mail
.gnome.org/mailman/listinfo/mc

Re: Using 7z files
country flaguser name
France
2007-03-08 09:01:35
Hello Pavel,


On Thu, 8 Mar 2007 16:41:38 +0200 (EET) Pavel Tsekov
<ptsekovgmx.net> wrote:

> Hello,
> 
> On Thu, 8 Mar 2007, wwp wrote:
> 
> > it seems that I can't get use of .7z files in mc
(2006-08-12-18 w/
> > extfs support), neither opening them in extfs,
neither with F3.
> 
> Maybe MC fails to recognize your .7z files for some
reason. It
> looks for files ending in .7z and then it invokes the
u7z
> script to process them. Is there are chance that your
.7z
> archives end with a different filename extension ?
> 
> > The u7z is installed, but would I need 7z-related
entries in
> > ~/.mc/bindings?
> 
> Well, yes...  The global mc.ext file should have an
entry
> for .7z archives. But if you have your own
~/.mc/bindings
> file MC uses only that - it doesn't merge the entries
for
> the user and the global file. So, if you have a
~/.mc/bindings
> then you have to add an entry for .7z files there. The
> entry looks like this:
> 
> # 7zip archives (they are not man pages)
> shell/.7z
>          Open=%cd %p#u7z
>          View=%view 7za l %f 2>/dev/null

Adding those lines to my ~/.mc/bindings did work, many
thanks Pavel!


Regards,

-- 
wwp

_______________________________________________
Mc mailing list
http://mail
.gnome.org/mailman/listinfo/mc

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )