|

LHA Packer
... Neuentwicklung des LHA Archivers für Classic Amiga (2026) ...
... modernisiert, verbessert und mit Bugfixes ...

Dieses Archiv enthält eine Neuentwicklung des Amiga-Lha-Programms, des allgegenwärtigen Archivierungsprogramms, das das bekannteste Verteilungsformat von Aminet definiert.
Da die Versionen 1.x und 2.x nicht mehr gepflegt werden, war es notwendig, von Grund auf neu zu beginnen und eine aktualisierte Version anzubieten.
Die 40.x-Serie von Lha ist zwar vollständig kompatibel mit den 1.x- und 2.x-Serien, basiert jedoch nicht auf diesen. Sie implementiert lediglich dasselbe Format und erkennt die gleichen Optionen auf der Befehlszeile.Dieses Archiv enthält eine Neuimplementierung des Amiga-Lha-Programms, des allgegenwärtigen Archivierungsprogramms, das das bekannteste Verteilungsformat von Aminet definiert.
Da die Versionsreihen 1.x und 2.x nicht mehr gepflegt werden, war es notwendig, von Grund auf neu zu beginnen und eine aktualisierte Version anzubieten.
Die 40.x-Serie von Lha ist zwar vollständig kompatibel mit den 1.x- und 2.x-Serien, basiert jedoch nicht auf diesen. Sie implementiert lediglich dasselbe Format und erkennt die gleichen Optionen auf der Befehlszeile.
|
Neue Funktionen:
- Lha kann nun Soft- und Hardlinks archivieren. Eine neue Befehlszeilenoption -Ql legt fest, wie diese behandelt werden sollen.
- Lha kann nun mit der neuen Befehlszeilenoption -Qx selbstentpackende Archive erstellen.
- Lha blockiert die Iconifizierung seines Shell-Fensters nicht mehr.
- Lha benötigt keine riesigen Stack-Größen mehr. Der Standard-Stack von 4K ist völlig ausreichend.
- Die Komprimierungs- und Entpackgeschwindigkeit wurde verbessert.
- Lha kann resident gemacht werden (es ist "pure").
Wenn Sie die Option -Qx zum Erstellen selbstextrahierender Archive verwenden möchten, stellen Sie sicher, dass Lha ebenfalls im Verzeichnis C: abgelegt ist, da es seine eigene Binärdatei analysieren muss.
|
Einschränkungen:
- Diese Version von Lha erfordert OS 2.04 oder höher.
- Die Option -w ("Arbeitsverzeichnis festlegen") wird nicht mehr unterstützt.
- Die Komprimierungsformate -lh2- und -lh3- sind nicht eingebaut. Da es im Aminet keine einzige Datei gibt, die so gepackt ist, und da sie keine bessere Komprimierung bietet.
-lh0- (keine Komprimierung), -lh1- (das alte LZH-Format) sowie -lh4- bis -lh7- werden unterstützt.
|
Installation:
- Kopieren Sie die Lha-Binärdatei an einen beliebigen Ort.
Vorzugsweise nach C:, wenn Sie Lha resident machen und die Option -Qx verwenden möchten.
- Kopieren Sie die Anleitung an einen beliebigen Ort.
|
Amigashell Optionen:
LhA Version Lha 40.xx
Copyright 2026 by THOR Software, Thomas Richter
Usage: LhA [-<options>] [@file] <command> <archive> [[homedir]
<filespec>...] [destdir]
Where <command> is one of:
a Add files c Concatenate/Append archives
d Delete files e Extract files
f Freshen files h Hunt for diffs arc <-> filesys
l[q] List archive (terse) m Move files to archive
p Print files to stdout r Replace files
t Test archive integrity u Update archive
v[q] List archive (verbose) vv Show archive contents (full)
x Extract files with full path y Copy archive with new options
and <options> is one or more of:
-a Preserve file attributes (D) -A Set archive attributes (D)
-b Set I/O buffer size (in KB) -B Keep backup of archive
-c Confirm files -C Clear arc-bit on extract (D)
-d Archive date = newest file -D Alternate progress display
-e Archive directories -E Touch extracted files
-f Ignore filenotes -F Use fast progress display
-G Only extract newer files -h Disable home directories
-H Write header level (0,1,2) -i Read file list from file
-I Ignore ENV:LHAOPTS -k Keep going on errors
-K Kill empty directories (move) -l Make file names lower case
-L Create file list -M No messages for query
-M No autoshow files -N No byte progress indicator
-N No progress indicator -o On or after date (newer than)
-O On or before date (older than) -P Pause after loading
-P Set task priority -q Be quiet
-Q Alternate option set introducer -r Collect files recursively
-R Collect archives recursively -s Only add files with A flag unset
-S Set A flag on added files -t Only extract new files
-T Only extract new & newer files -u Make file names upper case
-V Enable/set multivolume size(KB) -W Exclude file names
-x Preserve and use path names -X Do not append LZH/LHA suffix
-y Always append LZH/LHA suffix -Y Store big files w. <3% gain
-z Do not compress files -Z Compress archives
-0 Use LhArc V1.x compression -2 Use LhA V2.x compression (-lh5-)
-3 Use LhA V2.x compression (-lh6-) -4 Use LhA V2.x compression (-lh7-)
Alternate options:
-0a Use simple console I/O -0A Store Amiga attributes literally
-0b Test archive before extract -0d Delete autoshow files
-0h Set Huffman buffer size (KB) -0l Control archival of links
-0m Truncate to console width -0n Use Latin1 conversion (D)
-0o Ignore options after cmd -0p Ignore delete protection flag
-0q Quick add -0r Skip date stamp check
-0v Set multivolume archival device -0w Disable wildcards
-0x Create self-extracting archive
Options are case sensitive and may be specified anywhere on the command
line, the option letter followed by a 0 disables the option, any non-zero
digit will enable it. If no digit follows the option letter, it will be
enabled. Some options are enabled by default (depending on used command),
the default compression is LhA V2.x-style (-lh5-) compression. For more
information please consult the users' manual.
The destination directory must have a trailing slash or colon (:).
|
Über LhA:
LhA basiert auf dem LHA-Format, das Haruyasu Yoshizaki 1988 unter dem Namen LHarc entwickelte - ursprünglich für MS-DOS. Das Format kombiniert LZSS-Kompression mit Huffman-Kodierung und verbreitete sich schnell weltweit.
Ende 1991 portierte Stefan Boberg das Programm auf den Amiga - optimiert in 68000-Assembler und mit amigaspezifischen Erweiterungen. Diese Version wurde zum De-facto-Standard auf dem Amiga und zur bevorzugten Archivierungsmethode auf Aminet.
Die Weiterentwicklung lag in den Händen von Jim Cooper, David Tritscher, Sven Ottemann.
Thomas Richter veröffentliche 2026 eine komplette Neuentwicklung von LHA um das Programm zu modernisieren und ungefixte Bugs zu entfernen.
|
Frei für Nutzer, kommerzielle Anwender fragen bitte nach, für Details siehe lha.readme und lha.guide.
LHA 2026 © Thomas Richter
|
|