Using 7z files
Pavel Tsekov
ptsekov at gmx.net
Thu Mar 8 14:41:38 UTC 2007
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{ascii} 7za l %f 2>/dev/null
More information about the mc
mailing list