Readme update.
This commit is contained in:
74
README.rst
74
README.rst
@@ -18,64 +18,50 @@ In case of corrupted or no-dos images, message will be shown.
|
|||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
It requires ``unadf`` utility from `ADFlib <https://github.com/lclevy/ADFlib>`_
|
This script is using ``unadf`` v1.2 utility from `ADFlib
|
||||||
repository.
|
<https://github.com/lclevy/ADFlib>`_ package in version 0.8. Version of unadf
|
||||||
|
can be check by simply issuing unadf without arguments:
|
||||||
|
|
||||||
If it turns out that your distribution doesn't provide proper version of ADFlib,
|
.. code:: shell-session
|
||||||
there will be a need for building it by hand.
|
|
||||||
|
$ unadf
|
||||||
|
|
||||||
|
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:
|
It may be done by using following steps:
|
||||||
|
|
||||||
#. Grab the `sources
|
#. Grab the `sources <https://github.com/lclevy/ADFlib>`_
|
||||||
<http://http.debian.net/debian/pool/main/u/unadf/unadf_0.7.11a.orig.tar.gz>`_
|
#. Build and install it, using instructions from `INSTALL
|
||||||
and `patches
|
<https://github.com/lclevy/ADFlib/blob/master/INSTALL>`_ file.
|
||||||
<http://http.debian.net/debian/pool/main/u/unadf/unadf_0.7.11a-3.debian.tar.gz>`_
|
|
||||||
from `Debian repository <http://packages.debian.org/sid/unadf>`_.
|
|
||||||
#. Extract ``unadf_0.7.11a-3.debian.tar.gz`` and ``unadf_0.7.11a.orig.tar.gz``
|
|
||||||
into some temporary directory::
|
|
||||||
|
|
||||||
$ mkdir temp
|
For optional dms support, `xdms <http://zakalwe.fi/~shd/foss/xdms/>`_ utility
|
||||||
$ cd temp
|
is needed.
|
||||||
$ 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
|
|
||||||
|
|
||||||
#. Apply Debian patches::
|
|
||||||
|
|
||||||
$ for i in `cat ../debian/patches/series`; do
|
|
||||||
> patch -Np1 < "../debian/patches/${i}"
|
|
||||||
> done
|
|
||||||
|
|
||||||
#. Apply the patch from extras directory::
|
|
||||||
|
|
||||||
$ patch -Np1 < [path_to_this_repo]/extras/unadf_separate_comment.patch
|
|
||||||
$ make
|
|
||||||
$ cp Demo/unadf [destination_path]
|
|
||||||
|
|
||||||
#. Place ``unadf`` binary under directory reachable by ``$PATH``.
|
|
||||||
|
|
||||||
For optional dms support, `xdms <http://zakalwe.fi/~shd/foss/xdms/>`_ utility is
|
|
||||||
needed.
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
* install `extfslib`_
|
* install `extfslib`_
|
||||||
* copy ``uadf`` to ``~/.local/share/mc/extfs.d/``
|
* copy ``uadf`` to ``~/.local/share/mc/extfs.d/``
|
||||||
* add or change entry for files handle in ``~/.config/mc/mc.ext``::
|
* add or change entry for files handle in ``~/.config/mc/mc.ext.ini``:
|
||||||
|
|
||||||
# adf
|
.. code:: ini
|
||||||
type/^Amiga\ .* disk
|
|
||||||
Open=%cd %p/uadf://
|
|
||||||
View=%view{ascii} unadf -lr %f
|
|
||||||
|
|
||||||
# adz
|
[adf]
|
||||||
regex/\.([aA][dD][zZ])$
|
Type=^Amiga\ .* disk
|
||||||
Open=%cd %p/uadf://
|
Open=%cd %p/uadf://
|
||||||
|
View=%view{ascii} unadf -lrm %f 2>/dev/null
|
||||||
|
|
||||||
|
[adz]
|
||||||
|
Regex=\.adz$
|
||||||
|
View=%view{ascii} t=$(mktemp --suffix .adf); zcat %f > ${t}; unadf -lrm ${t} 2</dev/null; rm ${t}
|
||||||
|
Open=%cd %p/uadf://
|
||||||
|
|
||||||
|
[dms]
|
||||||
|
Regex=\.dms$
|
||||||
|
View=%view{ascii} t=$(mktemp --suffix .adf); xdms u %f "+${t}" 2>/dev/null; unadf -lrm ${t} 2</dev/null; rm ${t}
|
||||||
|
Open=%cd %p/uadf://
|
||||||
|
|
||||||
# dms
|
|
||||||
regex/\.([dD][mM][sS])$
|
|
||||||
Open=%cd %p/uadf://
|
|
||||||
|
|
||||||
License
|
License
|
||||||
=======
|
=======
|
||||||
|
|||||||
Reference in New Issue
Block a user