Hi Tanausu,
On 2026-03-30 12:35:56, you wrote to me:
to which I added a script to decompress the zip file because lha
doesn't work on my amiga, appears to be corrupted.
? lha doesn't work on zip files!?
It decompresses fine on my computer, but not on my Amiga... it
works
fine on bsd, but not on the other one...
Which file(s) are we talking about?
My bsd version:
$ lha --version
lha for unix version 1.14g
# lha --help
LHarc for UNIX V 1.02 Copyright(C) 1989 Y.Tagawa
LHx for MSDOS V C2.01 Copyright(C) 1990 H.Yoshizaki
LHx(arc) for OSK V 2.01 Modified 1990 Momozou
LHa for UNIX V 1.00 Copyright(C) 1992 Masaru Oki
LHa for UNIX V 1.14 Modified 1995 Nobutaka Watazaki
LHa for UNIX V 1.14i Modified 2000 Tsugio Okamoto
Autoconfiscated 2001-2008 Koji Arai
usage: lha [-]<commands>[<options>] [-<options> ...] archive_file [file...]
commands: [axelvudmcpt]
options: [q[012]vnfto[567]dizg012e[w=<dir>|x=<pattern>]]
long options: --system-kanji-code={euc,sjis,utf8,cap}
--archive-kanji-code={euc,sjis,utf8,cap}
--extract-broken-archive
--convert-filename-case
--ignore-mac-files
--traditional
--help
--version
commands: options:
a Add(or replace) to archive q{num} quiet (num:quiet mode)
x,e EXtract from archive v verbose
l,v List / Verbose List n not execute
u Update newer files to archive f force (over write at extract)
d Delete from archive t FILES are TEXT file
m Move to archive (means 'ad') o[567] compression method (a/u/c)
c re-Construct new archive d delete FILES after (a/u/c)
p Print to STDOUT from archive i ignore directory path (x/e)
t Test file CRC in archive z files not compress (a/u/c)
g Generic format (for compatibility)
0/1/2 header level (a/u/c)
e TEXT code convert from/to EUC
w=<dir> specify extract directory (x/e)
x=<pattern> eXclude files (a/u/c)
I did 1 thing to the source for the version I'm using, and that is adding the -i option. So to explicitly create lha files that don't contain (possibly incompatible) paths in the file names. My system exchanges .lha files with a couple of Amiga systems, and I never get comments they don't work...
But on my amiga it says the files are corrupted, and no, it's an incompatibility. I can decompress them after fidoblitz picks them up, but
on
bsd. I don't know if there's a newer version; I think the one I'm using is
up
to date... from a few years ago.
The lha versions after 1995, are "diverse" by several people. So there might be
some confusion...
April is quite stable; I tested it with 8MB of ram and a database
that's a little over 1GB. It doesn't even flinch.
After I got the source, the main thing I did to it, was fixing bugs... ;-)
Bye, Wilfred.
--- FMail-lnx64 2.3.2.6-B20251227
* Origin: FMail development HQ (39:150/200)