2022-10-02 10:14:46 +02:00
2015-09-02 21:23:54 +02:00
2022-10-02 10:14:46 +02:00
2019-06-30 17:06:56 +02:00

Midnight Commander extfs plugin for handling Amiga adf/dms floppy images.

Requirements

It requires unadf utility from ADFlib repository.

If it turns out that your distribution doesn't provide proper version of ADFlib, there will be a need for building it by hand.

It may be done by using following steps:

  1. Grab the sources and patches from Debian repository.

  2. Extract unadf_0.7.11a-3.debian.tar.gz and unadf_0.7.11a.orig.tar.gz into some temporary directory:

    $ mkdir temp
    $ cd temp
    $ tar zxf ~/Downloads/unadf_0.7.11a-3.debian.tar.gz
    $ tar zxf ~/Downloads/unadf_0.7.11a.orig.tar.gz
    $ cd unadf-0.7.11a
  3. Apply Debian patches:

    $ for i in `cat ../debian/patches/series`; do
    > patch -Np1 < "../debian/patches/${i}"
    > done
  4. Apply the patch from extras directory:

    $ patch -Np1 < [path_to_this_repo]/extras/unadf_separate_comment.patch
    $ make
    $ cp Demo/unadf [destination_path]
  5. Place unadf binary under directory reachable by $PATH.

For optional dms support, xdms utility is needed.

Installation

  • install extfslib

  • copy uadf to ~/.local/share/mc/extfs.d/

  • add or change entry for files handle in ~/.config/mc/mc.ext:

    # adf
    type/^Amiga\ .* disk
        Open=%cd %p/uadf://
        View=%view{ascii} unadf -lr %f
    
    # adz
    regex/\.([aA][dD][zZ])$
        Open=%cd %p/uadf://
    
    # dms
    regex/\.([dD][mM][sS])$
        Open=%cd %p/uadf://

License

This software is licensed under 3-clause BSD license. See LICENSE file for details.

Description
Midnight Commander extfs plugin for handling Amiga adf/dms floppy images
Readme 78 KiB
Languages
Python 100%