Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

I am not an Economist. I am an honest man! -- Paul McCracken


devel / comp.os.cpm / CP/M archive/compression tools

SubjectAuthor
* CP/M archive/compression toolsBob Kircher
+* CP/M archive/compression toolsDennis Boone
|`* CP/M archive/compression toolsLawrence Sonderling
| `* CP/M archive/compression toolsRussell Marks
|  `* CP/M archive/compression toolsRussell Marks
|   `* CP/M archive/compression toolsMark Ogden
|    +* CP/M archive/compression toolsldkr...@gmail.com
|    |`- CP/M archive/compression toolsBob Kircher
|    `* CP/M archive/compression toolsRussell Marks
|     `* CP/M archive/compression toolsMark Ogden
|      `- CP/M archive/compression toolsRussell Marks
+- CP/M archive/compression toolsRussell Marks
`* CP/M archive/compression toolsrwd...@gmail.com
 `- CP/M archive/compression toolsTony Nicholson

1
CP/M archive/compression tools

<494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4465&group=comp.os.cpm#4465

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:5987:0:b0:403:b221:e4b4 with SMTP id e7-20020ac85987000000b00403b221e4b4mr163896qte.1.1692822694644;
Wed, 23 Aug 2023 13:31:34 -0700 (PDT)
X-Received: by 2002:a05:6a00:2da1:b0:68b:ea9c:b55a with SMTP id
fb33-20020a056a002da100b0068bea9cb55amr517754pfb.3.1692822694252; Wed, 23 Aug
2023 13:31:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Wed, 23 Aug 2023 13:31:33 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=173.48.142.227; posting-account=j1Q0YAoAAABbQcvu3qX0aRIngQNuXLqE
NNTP-Posting-Host: 173.48.142.227
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
Subject: CP/M archive/compression tools
From: rek1047@gmail.com (Bob Kircher)
Injection-Date: Wed, 23 Aug 2023 20:31:34 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1185
 by: Bob Kircher - Wed, 23 Aug 2023 20:31 UTC

Are there versions of nulu, squeeze, crunch etc that are capable of running on unix/Linux? It would be very convenient to do some archive/dearchive work on a modern system then copy to the CP/M machine.

-Bob

Re: CP/M archive/compression tools

<0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4466&group=comp.os.cpm#4466

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.22.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 23 Aug 2023 23:46:04 +0000
Sender: Dennis Boone <drb@yagi.h-net.org>
From: drb@ihatespam.msu.edu (Dennis Boone)
Subject: Re: CP/M archive/compression tools
Newsgroups: comp.os.cpm
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/13.1-RELEASE-p2 (amd64))
Message-ID: <0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com>
Date: Wed, 23 Aug 2023 23:46:04 +0000
Lines: 16
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-accfdrewPdDY7mTDc6RgQ11/3vswmu3iMSmHoAyOrHrnBxGJtilaRH4op+kx3zcWpINX/oycugiyMXk!ymgEZKOC48Kj3s0cv0YGZj3RRxuKYk0q6ciEKT6bjD64VKLA9+rZ8hRgaUtan2QvJrcCBF8=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Dennis Boone - Wed, 23 Aug 2023 23:46 UTC

> Are there versions of nulu, squeeze, crunch etc that are capable of
> running on unix/Linux? It would be very convenient to do some
> archive/dearchive work on a modern system then copy to the CP/M machine.

A few:

arc - https://github.com/ani6al/arc
unar - https://theunarchiver.com/command-line

Plan B, run MS-DOS utilities under DOSBOX or similar. DOSBOX can treat
a host directory as a DOS disk volume, making interchange easy. There
are tools similar to DOSBOX for running CP/M tools from a unix command
line that might serve for directly running the CP/M archivers, but I
haven't explored the host filesystem support there.

De

Re: CP/M archive/compression tools

<7da8e2b9-fdc9-b6b5-3c5c-de90a34604ee@gmail.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4467&group=comp.os.cpm#4467

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lsonderling@gmail.com (Lawrence Sonderling)
Newsgroups: comp.os.cpm
Subject: Re: CP/M archive/compression tools
Date: Wed, 23 Aug 2023 18:02:40 -0700
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <7da8e2b9-fdc9-b6b5-3c5c-de90a34604ee@gmail.com>
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
<0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="ecbc5bc8d02865f187d1f9db2d77e5af";
logging-data="3328404"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+madu9qtpxranNpKmsAmqVDWfOJJaW4D8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:ikYpLGuXgTmemzMokP+/+mmCiVI=
Content-Language: en-US
In-Reply-To: <0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com>
 by: Lawrence Sonderling - Thu, 24 Aug 2023 01:02 UTC

Dennis Boone wrote on 8/23/23 16:46:
> > Are there versions of nulu, squeeze, crunch etc that are capable of
> > running on unix/Linux? It would be very convenient to do some
> > archive/dearchive work on a modern system then copy to the CP/M machine.
>
> A few:
>
> arc - https://github.com/ani6al/arc
> unar - https://theunarchiver.com/command-line
>
> Plan B, run MS-DOS utilities under DOSBOX or similar. DOSBOX can treat
> a host directory as a DOS disk volume, making interchange easy. There
> are tools similar to DOSBOX for running CP/M tools from a unix command
> line that might serve for directly running the CP/M archivers, but I
> haven't explored the host filesystem support there.
>
> De

There are a number of other programs that will compile and run under LINUX:

Carson Wilson's cfx13.zip
squeeze.zip (contains several programs)
uncr233.zip
ldir-ltype.zip

You can probably find these easily.

Good luck!

Re: CP/M archive/compression tools

<Z_EFM.715204$aWW4.217957@usenetxs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4468&group=comp.os.cpm#4468

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx09.ams4.POSTED!not-for-mail
From: zgedneil@spam^H^H^H^Hgmail.com (Russell Marks)
Newsgroups: comp.os.cpm
Subject: Re: CP/M archive/compression tools
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
<0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com>
<7da8e2b9-fdc9-b6b5-3c5c-de90a34604ee@gmail.com>
Organization: this space intentionally left blank
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Lines: 14
Message-ID: <Z_EFM.715204$aWW4.217957@usenetxs.com>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Thu, 24 Aug 2023 09:00:41 UTC
Date: Thu, 24 Aug 2023 09:00:41 GMT
X-Received-Bytes: 1255
 by: Russell Marks - Thu, 24 Aug 2023 09:00 UTC

Lawrence Sonderling <lsonderling@gmail.com> wrote:

> There are a number of other programs that will compile and run under LINUX:
>
> Carson Wilson's cfx13.zip

It looks like CFX was meant to compile on Unix of some sort as well as
DOS, but unless I'm doing something wrong, the contents of cfx13.zip
don't seem to compile on Linux. Even if you avoid using the Makefile
entirely there are still errors.

The zip I tried was http://www.z80.eu/downloads/cfx13.zip .

-Rus.

Re: CP/M archive/compression tools

<AbFFM.1106063$Y1R7.253635@usenetxs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4469&group=comp.os.cpm#4469

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx04.ams4.POSTED!not-for-mail
From: zgedneil@spam^H^H^H^Hgmail.com (Russell Marks)
Newsgroups: comp.os.cpm
Subject: Re: CP/M archive/compression tools
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
Organization: this space intentionally left blank
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Lines: 28
Message-ID: <AbFFM.1106063$Y1R7.253635@usenetxs.com>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Thu, 24 Aug 2023 09:14:08 UTC
Date: Thu, 24 Aug 2023 09:14:08 GMT
X-Received-Bytes: 1713
 by: Russell Marks - Thu, 24 Aug 2023 09:14 UTC

Bob Kircher <rek1047@gmail.com> wrote:

> Are there versions of nulu, squeeze, crunch etc that are capable of
> running on unix/Linux? It would be very convenient to do some
> archive/dearchive work on a modern system then copy to the CP/M
> machine.

You seem to be referring to LBR there, but nowadays I think zip might
actually be a reasonable option. You could make a DOS-style zip with
"zip -k", then use this version of CP/M unzip (which supports the
Deflate method) to extract it:

https://github.com/agn453/UNZIP-CPM-Z80

Also, nomarch extracts .arc, and lbrate extracts .lbr and deals with
decompression:

https://zgedneil.nfshost.com/nomarch.html
https://www.ibiblio.org/pub/Linux/utils/compress/lbrate-1.1.tar.gz

Disclaimer - I may have had some involvement with the above, but they
seem to work despite that. :-)

(Compiling lbrate does give a warning for me after 20+ years - which
looks a lot like the issue I just fixed in nomarch - but in practice
it should still be ok to use as-is.)

-Rus.

Re: CP/M archive/compression tools

<T8GFM.940123$MB_8.460033@usenetxs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4470&group=comp.os.cpm#4470

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp.comgw.net!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx01.ams4.POSTED!not-for-mail
From: zgedneil@spam^H^H^H^Hgmail.com (Russell Marks)
Newsgroups: comp.os.cpm
Subject: Re: CP/M archive/compression tools
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
<0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com>
<7da8e2b9-fdc9-b6b5-3c5c-de90a34604ee@gmail.com>
<Z_EFM.715204$aWW4.217957@usenetxs.com>
Organization: this space intentionally left blank
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Lines: 24
Message-ID: <T8GFM.940123$MB_8.460033@usenetxs.com>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Thu, 24 Aug 2023 10:19:31 UTC
Date: Thu, 24 Aug 2023 10:19:31 GMT
X-Received-Bytes: 1628
 by: Russell Marks - Thu, 24 Aug 2023 10:19 UTC

Russell Marks <zgedneil@spam^H^H^H^Hgmail.com> wrote:

> Lawrence Sonderling <lsonderling@gmail.com> wrote:
>
>> There are a number of other programs that will compile and run under LINUX:
>>
>> Carson Wilson's cfx13.zip
>
> It looks like CFX was meant to compile on Unix of some sort as well as
> DOS, but unless I'm doing something wrong, the contents of cfx13.zip
> don't seem to compile on Linux. Even if you avoid using the Makefile
> entirely there are still errors.
>
> The zip I tried was http://www.z80.eu/downloads/cfx13.zip .

Aha - the Unix side seems to have been broken after 1.1. The source to
1.1 still seems to be available e.g. here:

http://www.museodelcomputer.org/parts/commodore/1541/docs/devil/pub/archivers/cfx11src.zip

Presumably the relevant parts like unixfunc.c could be reincorporated
to get 1.3 compiling again, but I'm not volunteering. :-)

-Rus.

Re: CP/M archive/compression tools

<daf6c815-1339-42c0-9073-46c6c0d31b50n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4474&group=comp.os.cpm#4474

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:4b6e:0:b0:63f:bde6:2f5d with SMTP id m14-20020ad44b6e000000b0063fbde62f5dmr442784qvx.0.1692994239121;
Fri, 25 Aug 2023 13:10:39 -0700 (PDT)
X-Received: by 2002:a05:620a:4706:b0:76d:77d2:e754 with SMTP id
bs6-20020a05620a470600b0076d77d2e754mr469240qkb.2.1692994238762; Fri, 25 Aug
2023 13:10:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 25 Aug 2023 13:10:38 -0700 (PDT)
In-Reply-To: <T8GFM.940123$MB_8.460033@usenetxs.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23c8:4e3e:cd01:c9ea:dc80:5a58:710b;
posting-account=7LAplAoAAAByKIXUc8acNTC_dUp06kdO
NNTP-Posting-Host: 2a00:23c8:4e3e:cd01:c9ea:dc80:5a58:710b
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
<0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com> <7da8e2b9-fdc9-b6b5-3c5c-de90a34604ee@gmail.com>
<Z_EFM.715204$aWW4.217957@usenetxs.com> <T8GFM.940123$MB_8.460033@usenetxs.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <daf6c815-1339-42c0-9073-46c6c0d31b50n@googlegroups.com>
Subject: Re: CP/M archive/compression tools
From: ogdenpm@gmail.com (Mark Ogden)
Injection-Date: Fri, 25 Aug 2023 20:10:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3023
 by: Mark Ogden - Fri, 25 Aug 2023 20:10 UTC

On Thursday, 24 August 2023 at 11:19:36 UTC+1, Russell Marks wrote:
> Russell Marks <zgedneil@spam^H^H^H^Hgmail.com> wrote:
>
> > Lawrence Sonderling <lsond...@gmail.com> wrote:
> >
> >> There are a number of other programs that will compile and run under LINUX:
> >>
> >> Carson Wilson's cfx13.zip
> >
> > It looks like CFX was meant to compile on Unix of some sort as well as
> > DOS, but unless I'm doing something wrong, the contents of cfx13.zip
> > don't seem to compile on Linux. Even if you avoid using the Makefile
> > entirely there are still errors.
> >
> > The zip I tried was http://www.z80.eu/downloads/cfx13.zip .
> Aha - the Unix side seems to have been broken after 1.1. The source to
> 1.1 still seems to be available e.g. here:
>
> http://www.museodelcomputer.org/parts/commodore/1541/docs/devil/pub/archivers/cfx11src.zip
>
> Presumably the relevant parts like unixfunc.c could be reincorporated
> to get 1.3 compiling again, but I'm not volunteering. :-)
>
> -Rus.
My mlbr utility https://github.com/ogdenpm/mlbr builds under linux gcc -o mlbr *.c
The corresponding mklbr https://github.com/ogdenpm/mklbr also builds gcc -o mklbr *.c

mlbr extracts files from lbr, squeeze, crunch and lzh including variants. Options allow recursive expansion. It also supports conversion to zip and extraction of timestamp / info. For Windows it also renames files that are illegal, generating an information file on files renamed.
mklbr creates lbr files and allows timestamps to be set by using a recipe file.

Mark

Re: CP/M archive/compression tools

<5923a839-4edd-4e3a-950b-6593cd62fc3cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4476&group=comp.os.cpm#4476

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:bd1:b0:64f:3bbb:1d1c with SMTP id ff17-20020a0562140bd100b0064f3bbb1d1cmr594915qvb.2.1693041896579;
Sat, 26 Aug 2023 02:24:56 -0700 (PDT)
X-Received: by 2002:ad4:4f52:0:b0:63c:fc43:fd51 with SMTP id
eu18-20020ad44f52000000b0063cfc43fd51mr548712qvb.11.1693041896362; Sat, 26
Aug 2023 02:24:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 26 Aug 2023 02:24:56 -0700 (PDT)
In-Reply-To: <daf6c815-1339-42c0-9073-46c6c0d31b50n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=146.71.25.19; posting-account=vgtDDgoAAAD79vzJigFqI2FioZJCfmjs
NNTP-Posting-Host: 146.71.25.19
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
<0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com> <7da8e2b9-fdc9-b6b5-3c5c-de90a34604ee@gmail.com>
<Z_EFM.715204$aWW4.217957@usenetxs.com> <T8GFM.940123$MB_8.460033@usenetxs.com>
<daf6c815-1339-42c0-9073-46c6c0d31b50n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5923a839-4edd-4e3a-950b-6593cd62fc3cn@googlegroups.com>
Subject: Re: CP/M archive/compression tools
From: ldkraemer@gmail.com (ldkr...@gmail.com)
Injection-Date: Sat, 26 Aug 2023 09:24:56 +0000
Content-Type: text/plain; charset="UTF-8"
 by: ldkr...@gmail.com - Sat, 26 Aug 2023 09:24 UTC

Another option is to use RunCPM on Linux, and just copy the Utilities to
/home/user/RunCPM/A/0 and use the CP/M utilities to extract or unsqueeze
what you want from .LBR files or *.?Q? files.

Simple and works.

Larry

Re: CP/M archive/compression tools

<b5bab3f3-d0ed-4e2b-89f0-eb9d14a5debbn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4481&group=comp.os.cpm#4481

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:57a5:0:b0:640:32db:a78b with SMTP id g5-20020ad457a5000000b0064032dba78bmr600381qvx.9.1693091387514;
Sat, 26 Aug 2023 16:09:47 -0700 (PDT)
X-Received: by 2002:a17:902:db0e:b0:1b7:f55e:4ab0 with SMTP id
m14-20020a170902db0e00b001b7f55e4ab0mr8026188plx.0.1693091387264; Sat, 26 Aug
2023 16:09:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 26 Aug 2023 16:09:46 -0700 (PDT)
In-Reply-To: <5923a839-4edd-4e3a-950b-6593cd62fc3cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=173.48.142.227; posting-account=j1Q0YAoAAABbQcvu3qX0aRIngQNuXLqE
NNTP-Posting-Host: 173.48.142.227
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
<0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com> <7da8e2b9-fdc9-b6b5-3c5c-de90a34604ee@gmail.com>
<Z_EFM.715204$aWW4.217957@usenetxs.com> <T8GFM.940123$MB_8.460033@usenetxs.com>
<daf6c815-1339-42c0-9073-46c6c0d31b50n@googlegroups.com> <5923a839-4edd-4e3a-950b-6593cd62fc3cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b5bab3f3-d0ed-4e2b-89f0-eb9d14a5debbn@googlegroups.com>
Subject: Re: CP/M archive/compression tools
From: rek1047@gmail.com (Bob Kircher)
Injection-Date: Sat, 26 Aug 2023 23:09:47 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1541
 by: Bob Kircher - Sat, 26 Aug 2023 23:09 UTC

Lots of good information here, thanks to all. Sounds like Larry's suggestion of RunCPM just might be the most straightforward.

Re: CP/M archive/compression tools

<nNFGM.843016$wsc3.469961@usenetxs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4485&group=comp.os.cpm#4485

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!news.neodome.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx13.ams4.POSTED!not-for-mail
From: zgedneil@spam^H^H^H^Hgmail.com (Russell Marks)
Newsgroups: comp.os.cpm
Subject: Re: CP/M archive/compression tools
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
<0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com>
<7da8e2b9-fdc9-b6b5-3c5c-de90a34604ee@gmail.com>
<Z_EFM.715204$aWW4.217957@usenetxs.com>
<T8GFM.940123$MB_8.460033@usenetxs.com>
<daf6c815-1339-42c0-9073-46c6c0d31b50n@googlegroups.com>
Organization: this space intentionally left blank
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Lines: 48
Message-ID: <nNFGM.843016$wsc3.469961@usenetxs.com>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Sun, 27 Aug 2023 10:43:31 UTC
Date: Sun, 27 Aug 2023 10:43:31 GMT
X-Received-Bytes: 2519
 by: Russell Marks - Sun, 27 Aug 2023 10:43 UTC

Mark Ogden <ogdenpm@gmail.com> wrote:

> My mlbr utility https://github.com/ogdenpm/mlbr builds under linux

Speaking of mlbr, would you mind clarifying the licence? The closest
thing I can find (aside from miniz.h and uncrunch.c) is that "This is
an open source non-commercial project".

Also, what do you consider the licence to be on the original lzhuf.c?
I went to some effort to clarify this before adapting it for lbrate,
and I'd be interested in your perspective.

Finally, I found the most curious thing. This code from mlbr's
uncrunch.c (which I'm assuming it's reasonable to post in order to
comment on it):

if (pred == IMPRED && chr == 0) {
hashval = 0x800; /* special case (leaving the zero code free for EOF) */
} else {
/* normally we do a slightly awkward mid-square thing */
uint16_t a = (((pred + chr) | 0x800) & 0x1fff);
uint16_t b = (a >> 1);
hashval = (((b * (b + (a & 1))) >> 4) & 0xfff);
}

....seems to have remarkably similar comments to this code I wrote in
2001 for lbrate's readlzw.c:

if(oldcode==0xffff && chr==0)
hashval=0x800; /* special case (leaving the zero code free for EOF) */
else
{
/* normally we do a slightly awkward mid-square thing */
a=(((oldcode+chr)|0x800)&0x1fff);
b=(a>>1);
hashval=(((b*(b+(a&1)))>>4)&0xfff);
}

I also notice that most of an older version's "slightly odd approach"
comment at line 109 here:

https://github.com/ogdenpm/mlbr/blob/35cf3093a4e7b39c70383c1b085391ca7cc62aec/uncrunch.c

....was in lbrate many years earlier, with the same "If" typo.

So I'd be interested in your thoughts on this as well.

-Rus.

Re: CP/M archive/compression tools

<eadec9a1-5b96-44a4-b0a3-cd7e9211bb93n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4487&group=comp.os.cpm#4487

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:8e9:b0:63c:e916:a2cf with SMTP id dr9-20020a05621408e900b0063ce916a2cfmr828525qvb.6.1693219728984;
Mon, 28 Aug 2023 03:48:48 -0700 (PDT)
X-Received: by 2002:ac8:7f89:0:b0:403:aa87:d220 with SMTP id
z9-20020ac87f89000000b00403aa87d220mr774864qtj.0.1693219728766; Mon, 28 Aug
2023 03:48:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Mon, 28 Aug 2023 03:48:48 -0700 (PDT)
In-Reply-To: <nNFGM.843016$wsc3.469961@usenetxs.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23c8:4e3e:cd01:e937:d535:270:867a;
posting-account=7LAplAoAAAByKIXUc8acNTC_dUp06kdO
NNTP-Posting-Host: 2a00:23c8:4e3e:cd01:e937:d535:270:867a
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
<0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com> <7da8e2b9-fdc9-b6b5-3c5c-de90a34604ee@gmail.com>
<Z_EFM.715204$aWW4.217957@usenetxs.com> <T8GFM.940123$MB_8.460033@usenetxs.com>
<daf6c815-1339-42c0-9073-46c6c0d31b50n@googlegroups.com> <nNFGM.843016$wsc3.469961@usenetxs.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <eadec9a1-5b96-44a4-b0a3-cd7e9211bb93n@googlegroups.com>
Subject: Re: CP/M archive/compression tools
From: ogdenpm@gmail.com (Mark Ogden)
Injection-Date: Mon, 28 Aug 2023 10:48:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5309
 by: Mark Ogden - Mon, 28 Aug 2023 10:48 UTC

On Sunday, 27 August 2023 at 11:43:34 UTC+1, Russell Marks wrote:
> Mark Ogden <ogd...@gmail.com> wrote:
>
> > My mlbr utility https://github.com/ogdenpm/mlbr builds under linux
> Speaking of mlbr, would you mind clarifying the licence? The closest
> thing I can find (aside from miniz.h and uncrunch.c) is that "This is
> an open source non-commercial project".
>
> Also, what do you consider the licence to be on the original lzhuf.c?
> I went to some effort to clarify this before adapting it for lbrate,
> and I'd be interested in your perspective.
>
> Finally, I found the most curious thing. This code from mlbr's
> uncrunch.c (which I'm assuming it's reasonable to post in order to
> comment on it):
>
> if (pred == IMPRED && chr == 0) {
> hashval = 0x800; /* special case (leaving the zero code free for EOF) */
> } else {
> /* normally we do a slightly awkward mid-square thing */
> uint16_t a = (((pred + chr) | 0x800) & 0x1fff);
> uint16_t b = (a >> 1);
> hashval = (((b * (b + (a & 1))) >> 4) & 0xfff);
> }
>
> ...seems to have remarkably similar comments to this code I wrote in
> 2001 for lbrate's readlzw.c:
>
> if(oldcode==0xffff && chr==0)
> hashval=0x800; /* special case (leaving the zero code free for EOF) */
> else
> {
> /* normally we do a slightly awkward mid-square thing */
> a=(((oldcode+chr)|0x800)&0x1fff);
> b=(a>>1);
> hashval=(((b*(b+(a&1)))>>4)&0xfff);
> }
>
> I also notice that most of an older version's "slightly odd approach"
> comment at line 109 here:
>
> https://github.com/ogdenpm/mlbr/blob/35cf3093a4e7b39c70383c1b085391ca7cc62aec/uncrunch.c
>
> ...was in lbrate many years earlier, with the same "If" typo.
>
> So I'd be interested in your thoughts on this as well.
>
> -Rus.
Russell
I originally wrote mlbr for personal use, mainly to support windows filename mapping. I went on to add support for date and information extraction, along with conversion to zip files. In previous new group chats I offered the code for others to use by posting on my github site. Although I didn't share, I had previously added some windows filename mapping to cfx1.3 and fixed some bugs.

It is plausible that the code you noted came from lbrate. Whilst refactoring the original code, it looks like I used your implementation of the hash algorithm. I will make sure that the copyright notice at the top of the code is updated to include your name. My apologies for the oversight. If you are not ok with this let me know.

As I use git, the fact that historic versions, contained the "slightly odd approach" text, would also suggest at some point I had copied other fragments of your code, prior to rewriting. In this case the count element of the for loop was removed as it is only called if there is room and the hash table probing ensures all entries are checked.

As to the general licencing position, I would suggest that as a whole, an open source non-commercial licence is sensible and inline with my original intent. This is based on the following
mizip - provided as is
lzhuf - based on your interaction with the respective authors
uncrunch - original Frank Prindle + prior work. I will add you to the list
unsqueeze - not sure where I derived this from. There are multiple similar versions available. None seem to have specific licence conditions.
crc16 - derived from public domain source
lbr support, date support, general program wrap, fixes and new errors - happy to licence these as open source non-commercial .

I am also happy for the sister application mklbr to be under the same licence.

Mark

Re: CP/M archive/compression tools

<wM3HM.1613507$JGz7.1173009@usenetxs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4489&group=comp.os.cpm#4489

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx02.ams4.POSTED!not-for-mail
From: zgedneil@spam^H^H^H^Hgmail.com (Russell Marks)
Newsgroups: comp.os.cpm
Subject: Re: CP/M archive/compression tools
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
<0jSdnQ_sDNGhB3v5nZ2dnZfqnPidnZ2d@giganews.com>
<7da8e2b9-fdc9-b6b5-3c5c-de90a34604ee@gmail.com>
<Z_EFM.715204$aWW4.217957@usenetxs.com>
<T8GFM.940123$MB_8.460033@usenetxs.com>
<daf6c815-1339-42c0-9073-46c6c0d31b50n@googlegroups.com>
<nNFGM.843016$wsc3.469961@usenetxs.com>
<eadec9a1-5b96-44a4-b0a3-cd7e9211bb93n@googlegroups.com>
Organization: this space intentionally left blank
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Lines: 27
Message-ID: <wM3HM.1613507$JGz7.1173009@usenetxs.com>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Mon, 28 Aug 2023 16:17:32 UTC
Date: Mon, 28 Aug 2023 16:17:32 GMT
X-Received-Bytes: 2157
 by: Russell Marks - Mon, 28 Aug 2023 16:17 UTC

Mark Ogden <ogdenpm@gmail.com> wrote:

> It is plausible that the code you noted came from lbrate. Whilst
> refactoring the original code, it looks like I used your
> implementation of the hash algorithm. I will make sure that the
> copyright notice at the top of the code is updated to include your
> name. My apologies for the oversight. If you are not ok with this let
> me know.

Thank you, that's fine. I think it might be best from your perspective
to also say the code is included with permission - as it may not be
under the usual licence - but that's up to you.

Obviously, I do appreciate that this is a very small part of the code
overall.

> As to the general licencing position, I would suggest that as a whole,
> an open source non-commercial licence is sensible and inline with my
> original intent.

Maybe you should pick an actual specific licence though - one
compatible with the various things you're including. Usually you need
to at least be sure to grant users permission to copy your program,
for example. But this isn't legal advice, I'm not an expert, that's
just what I think. :-)

-Rus.

Re: CP/M archive/compression tools

<110f7559-2249-489f-b9a8-3f85d7214721n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4493&group=comp.os.cpm#4493

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:ad06:0:b0:76f:454:8e6a with SMTP id f6-20020a37ad06000000b0076f04548e6amr392705qkm.4.1693329211268;
Tue, 29 Aug 2023 10:13:31 -0700 (PDT)
X-Received: by 2002:a17:903:2303:b0:1c1:fbec:bc2a with SMTP id
d3-20020a170903230300b001c1fbecbc2amr899225plh.5.1693329210721; Tue, 29 Aug
2023 10:13:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Tue, 29 Aug 2023 10:13:30 -0700 (PDT)
In-Reply-To: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:c7f:c77:5a00:a2cd:91c2:58e5:b477;
posting-account=QRaRpQoAAAAAa6T9BMU2_8duN2L8AmC_
NNTP-Posting-Host: 2a02:c7f:c77:5a00:a2cd:91c2:58e5:b477
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <110f7559-2249-489f-b9a8-3f85d7214721n@googlegroups.com>
Subject: Re: CP/M archive/compression tools
From: rwdeane@gmail.com (rwd...@gmail.com)
Injection-Date: Tue, 29 Aug 2023 17:13:31 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1619
 by: rwd...@gmail.com - Tue, 29 Aug 2023 17:13 UTC

On Wednesday, 23 August 2023 at 21:31:35 UTC+1, Bob Kircher wrote:
> Are there versions of nulu, squeeze, crunch etc that are capable of running on unix/Linux? It would be very convenient to do some archive/dearchive work on a modern system then copy to the CP/M machine.
>
> -Bob
Why not zip on PC, and use AGN (Tony Nicholson)'s unzip on CP/M . He keeps it bug fixed and updated. Can unzip Windows default zip compression. He is on Github.?

Re: CP/M archive/compression tools

<4f72ac45-2e75-4ec7-9f24-1a4823d14479n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4494&group=comp.os.cpm#4494

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:1996:b0:76f:109e:5e50 with SMTP id bm22-20020a05620a199600b0076f109e5e50mr33656qkb.6.1693437377071;
Wed, 30 Aug 2023 16:16:17 -0700 (PDT)
X-Received: by 2002:a05:6808:1599:b0:3a4:24bc:125f with SMTP id
t25-20020a056808159900b003a424bc125fmr506857oiw.1.1693437376710; Wed, 30 Aug
2023 16:16:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Wed, 30 Aug 2023 16:16:16 -0700 (PDT)
In-Reply-To: <110f7559-2249-489f-b9a8-3f85d7214721n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2403:5807:8025:0:dc81:13db:60f5:411a;
posting-account=5wnjpAoAAABrhNpKTP0a5hOqJUBnLT3d
NNTP-Posting-Host: 2403:5807:8025:0:dc81:13db:60f5:411a
References: <494bd71c-ca8a-41ee-8c37-6b186208e1aan@googlegroups.com> <110f7559-2249-489f-b9a8-3f85d7214721n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4f72ac45-2e75-4ec7-9f24-1a4823d14479n@googlegroups.com>
Subject: Re: CP/M archive/compression tools
From: agn453@gmail.com (Tony Nicholson)
Injection-Date: Wed, 30 Aug 2023 23:16:17 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1801
 by: Tony Nicholson - Wed, 30 Aug 2023 23:16 UTC

> Why not zip on PC, and use AGN (Tony Nicholson)'s unzip on CP/M . He keeps it bug fixed and updated. Can unzip Windows default zip compression. He is on Github.?

I do check in here occasionally (but not as often as I used to due to health and
family issues).

There's been activity on the UNZIP-CPM-Z80 GitHub repo in the last week where
Jonathon Harston has tweaked a few things. He may be working on a CP/M
native Z80 version of ZIP too.

See https://github.com/agn453/UNZIP-CPM-Z80 for details (and my GitHub
profile has my e-mail contact details).

Tony

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor