scene.org File Archive

File download

<root>­/­mirrors­/­flerp­/­.s­/­groups.hun­/­ESP-team­/­linux/mc-zipfs-fix.txt

File size:
1 006 bytes (0.98K)
File date:
2013-11-26 23:08:44
Download count:
all-time: 74

Preview

Midnight Commander ZIP filesystem fix   by Arpad Gereoffy (A'rpi/ESP-team)
=====================================

Original: by Jakub Jelinek   (C) 1995 The Free Software Foundation.

Description:
~~~~~~~~~~~~
The original version of this script (came with MC v4.1) can't
list ZIP files created on FAT filesystem (under DOS or Windoze).

And it doesn't detect filesystem in a perfect way, uses just
  /unx/ {}
insted of:
  $3 ~ /unx/ {}
    
I fixed these bugs (added 'fat' filesystem and $3's to the awk program).

Install:
~~~~~~~~
Copy file 'zip' to directory /usr/lib/mc/extfs  (or /usr/local/lib/mc/extfs)

Future:
~~~~~~~
My plan is writting a general archive file lister in ANSI C with same
output as mc's extfs scripts does. It would be faster, doesn't require
various utils (awk, perl, zipinfo, archivers etc...) and supports more
file types than current mc scripts. Additional developers are welcome!
(I mean some DOS freaks who already did similar lister for DOS)