Off-Topic > SCM Extension Requests
Request Midnight Commander File Manager
Jason W:
The /apps/mc/libexec/mc/extfs.d/uzip file is a perl script, and it would be insane to include a perl instance in mc.scm. I will make a note in the info file about needing perl for that matter.
Also, I am at this point not too concerned about being able to browse single file gz or bz2 compressed files that are not archives. I will look more into it when I have some spare time though, maybe a simple solution like for the zip issue.
Thanks for all the testing, interest and feedback that helps to create a better result.
SamK:
Reporting success.
perl5.tcz was added to the configuration used in reply #77 and the tests re-run.
Success:
7z, iso, rar, tar.bz2, tar.gz, tar.xz, zip, bz2, gz
Fail:
None
bz2, gz
perl5.tcz is not required for these to be successful.
It occurred to me that as these are designed to be used on a single file there would be little point in being able to browse the archive in the same way as archives of multiple directories and files, i.e. listing the contents then accessing a listed file.
To test, a plain text file was compressed as test.txt.bz2 and test.txt.gz. Pressing the <Enter> key on either of these displays the content of the compressed file (the text) rather than listing the the content of the archive (test.txt).
--- Quote from: Jason W on July 03, 2012, 09:59:17 PM ---The /apps/mc/libexec/mc/extfs.d/uzip file is a perl script, and it would be insane to include a perl instance in mc.scm. I will make a note in the info file about needing perl for that matter.
--- End quote ---
Is there a case for perl5 to eventually be available as an SCM? If so, it will enable the consistency and ease of on-the-fly loading/unloading, also it would allow a user to add it to an app.scm.dep. Additionally, as the number of SCMs grow it is likely that it will be required by some of them.
--- Quote from: Jason W on July 03, 2012, 09:59:17 PM ---Thanks for all the testing, interest and feedback that helps to create a better result.
--- End quote ---
Browsing back to the start of this topic, I was happy to accept the SCM at the stage of reply #9. At that point, the majority of the subsequently added archive handling was being achieved via scripts added to the MC User Menu. However, I agree that everyone's contribution and your persistence have produced a better result.
Thanks.
tinypoodle:
--- Quote from: SamK on July 04, 2012, 03:42:58 AM ---
Is there a case for perl5 to eventually be available as an SCM? If so, it will enable the consistency and ease of on-the-fly loading/unloading, also it would allow a user to add it to an app.scm.dep. Additionally, as the number of SCMs grow it is likely that it will be required by some of them.
--- End quote ---
+1 (and maybe python could be considered as a candidate in the same fashion as well)
Jason W:
I will consider a perl5.scm, will look into it today. There is a python2.7 and python3.2 in the scm repo available.
tinypoodle:
Oops..
Brainfart, my bad!
Now I can even recall having been impressed that there were 2 different versions of python in the scm repo when I first saw...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version