FS#6288 - Midnight Commander VFC script (u7z) in p7zip

Attached to Project: Arch Linux
Opened by Evgenij Vdovin (evdovin) - Saturday, 27 January 2007, 11:57 GMT
Last edited by Hugo Doria (hdoria) - Tuesday, 14 October 2008, 00:51 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Hugo Doria (hdoria)
Architecture All
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Why missing Midnight Commander VFC script (u7z) in p7zip package?
This task depends upon

Closed by  Hugo Doria (hdoria)
Tuesday, 14 October 2008, 00:51 GMT
Reason for closing:  Fixed
Comment by Roman Kyrylych (Romashka) - Tuesday, 06 February 2007, 11:46 GMT
What do you mean, this script is part of p7zip or mc package?
Comment by Evgenij Vdovin (evdovin) - Tuesday, 06 February 2007, 17:53 GMT
This script is a pert of p7zip.
See contrib/VirtualFileSystemForMidnightCommander subdirectory in p7zip source tree.
Comment by Roman Kyrylych (Romashka) - Tuesday, 06 February 2007, 18:00 GMT
Then adding p7zip support to mc will require makedepends=('p7zip') in mc's PKGBUILD, which is not very good, IMHO.
Comment by Evgenij Vdovin (evdovin) - Friday, 09 February 2007, 18:17 GMT
I think what is better to add this script to p7zip package.
Simply copy contents of contrib/VirtualFileSystemForMidnightCommander subdirectory as /usr/share/p7zip/* in p7zip package tree.
And anybody who want to use Midnight Commander together p7zip will configure it by hands.
Comment by Aaron Griffin (phrakture) - Tuesday, 08 January 2008, 05:29 GMT
Please test p7zip 4.57. It includes the file and some instructions.
Comment by Zygfryd Homonto (zyghom) - Tuesday, 08 January 2008, 08:17 GMT
p7zip-4.57-1 has wrong description as well as missing some files:
as it says:
:: In order to use p7zip with mc:
:: Add u7z to /usr/share/mc/extfs/extfs.ini
:: and add the following to /usr/share/mv/mc.ext:
:: regex/\.(7z|7Z)$
:: View=%view{ascii} 7za l -0.406997
:: Open=d 0xbfda0c3c#u7z

first: u7z does not exist at all:
10:09:04 papio@baboon:/home/tmp$ pacman -Ql p7zip
p7zip /usr/bin/7z
p7zip /usr/bin/7za
p7zip /usr/bin/7zr
p7zip /usr/lib/p7zip/7z
p7zip /usr/lib/p7zip/7z.so
p7zip /usr/lib/p7zip/7zCon.sfx
p7zip /usr/lib/p7zip/7za
p7zip /usr/lib/p7zip/7zr
p7zip /usr/lib/p7zip/Codecs/Rar29.so
p7zip /usr/man/man1/7z.1.gz
p7zip /usr/man/man1/7za.1.gz
p7zip /usr/man/man1/7zr.1.gz
p7zip /usr/share/mc/extfs/u7z
10:15:07 papio@baboon:/home/tmp$

second: /usr/share/mv/mc.ext does not exist at all, shoud be: /usr/share/mc/mc.ext ?

third: even adding this code to proper files (7z instead of u7z) it does not work with mc 4.6.1-4
Comment by Zygfryd Homonto (zyghom) - Tuesday, 08 January 2008, 08:20 GMT
ups, /usr/share/mc/extfs/u7z exists but still not working when added to /usr/share/mc/extfs/extfs.ini and to /usr/share/mc/mc.ext
Comment by Aaron Griffin (phrakture) - Tuesday, 08 January 2008, 12:55 GMT
Those are the instructions from the readme file. I don't use mc, so I don't know where to begin looking. Any help tracking this down would be great.
Comment by Theo Boersma (theo) - Friday, 18 April 2008, 21:23 GMT
Besides editing /usr/share/mc/extfs/extfs.ini and /usr/share/mc/mc.ext (or ~/.mc/bindings) the permissions of /usr/share/mc/extfs/u7z have to be changed: it should be 755 instead of 644.

It still has issues though (directories are being show double and extracting is very slow) but that could be a local problem.
Comment by Theo Boersma (theo) - Friday, 18 April 2008, 22:49 GMT
Besides editing /usr/share/mc/extfs/extfs.ini and /usr/share/mc/mc.ext (or ~/.mc/bindings) the permissions of /usr/share/mc/extfs/u7z have to be changed: it should be 755 instead of 644.

It still has issues though (directories are being show double and extracting is very slow) but that could be a local problem.
Comment by Greg (dolby) - Wednesday, 18 June 2008, 15:00 GMT
Assigned to Eric as well for consideration about implementing this, or not, before new mc hits extra
Comment by Theo Boersma (theo) - Thursday, 26 June 2008, 22:16 GMT
There is an error in the message pzip (p7zip-4.58-1) gives when installing/upgrading with pacman:

(complete original message)
:: In order to use p7zip with mc:
:: Add u7z to /usr/share/mc/extfs/extfs.ini
:: and add the following to /usr/share/mv/mc.ext:
::
:: regex/\.(7z|7Z)$
:: View=%view{ascii} 7za l %f
:: Open=%cd %p#u7z

The line
:: and add the following to /usr/share/mv/mc.ext:
Should be
:: and add the following to /usr/share/mc/mc.ext:
Comment by Hugo Doria (hdoria) - Thursday, 24 July 2008, 17:19 GMT
This message is fixed in p7zip 4.58-2.
Comment by Greg (dolby) - Thursday, 24 July 2008, 18:10 GMT
Was the message the only problem with the previous package?
Comment by Hugo Doria (hdoria) - Tuesday, 14 October 2008, 00:51 GMT
u7z is part of p7zip package already.

Loading...