Cleanup code, use latin1 encoding for amiga file names.
This commit is contained in:
+21
-6
@@ -14,19 +14,32 @@ on my Amiga. Both reading from and writing into archive was implemented.
|
||||
Requirements
|
||||
------------
|
||||
|
||||
ULha requires `free lha <http://lha.sourceforge.jp>`_ implementation to work.
|
||||
ULha requires free `lha`_ implementation to work. There is another lha
|
||||
implementation under development - `lhasa`_, although it is currently limited
|
||||
to list and extract only.
|
||||
|
||||
Limitations
|
||||
-----------
|
||||
|
||||
For filenames which contain other characters outside of ASCII set, there is no
|
||||
way to operate on them as `lha`_ simply ignore those files. Extracting full
|
||||
archive will extract also those files, although names would be incorrectly
|
||||
decoded, and hence, unusable on the AmigaOS. Looking forward for the `lhasa`_
|
||||
to be completed, and then will switch to it.
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
* install `extfslib`_
|
||||
* copy ``ulha`` 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``:
|
||||
|
||||
# lha
|
||||
regex/\.[lL]([Hh][aA]|[Zz][hH])$
|
||||
Open=%cd %p/ulha://
|
||||
View=%view{ascii} lha l %f
|
||||
.. code::ini
|
||||
|
||||
[lha]
|
||||
Type=^LHa\ .*archive
|
||||
Open=%cd %p/ulha://
|
||||
View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view lha
|
||||
|
||||
License
|
||||
=======
|
||||
@@ -36,3 +49,5 @@ details.
|
||||
|
||||
|
||||
.. _extfslib: https://github.com/gryf/mc_extfslib
|
||||
.. _lha: http://lha.sourceforge.jp
|
||||
.. _lhasa: https://github.com/fragglet/lhasa
|
||||
|
||||
Reference in New Issue
Block a user