[comp.sys.amiga] Utilities originally for Atari St, maybe useful to others

cw@madvax.UUCP (Carl Weidling) (07/15/87)

	I wrote a couple of programs for the Atari ST in C that someone
might want to port over to other machines, assuming some equivalent
programs don't already exist.
	The first program, which I call "lsit" is probably the less
portable.  It just reads the directories of disks and lists the files
contained therein.  It chases down through subdirectories, and also
through ARC files to build its list.  This last bit about including
files that have been ARCed in the listing is one of the wrinkles that I added
to what already existed in programs people had written for the ST.
So, after you've cranked all your disks through, you can look at it's output
and see for instance, that disk nr 3 has a file called ZILCH that is arced into
a file called WHONOSE.ARC in subdirectory JUNK.  Also, on disk nr 17 there is a
file called ZILCH in the root directory.  This is probably not too portable
because it makes a lot of calls to the Atari OS.  The part that reads an ARC
file to see what is in it might be portable though.
	The second program, called GROUP is probably more portable because
it just reads a file, massages the data, and spits it out again.  It takes
the file created by LSIT and produces a file in which you could look up
ZILCH alphabetically and find out about the instances of it on disks 3 and
17.
	Another short program  is double.  It just reads a file and writes
another file for printing that double columns the contents of the 1st
file.  I use it mainly to double column the output of lsit.
	I posted sources to comp.sys.atari.st, if anyone is interested in
porting them and has questions, feel free to ask.
Regards,
Carl Weidling

page@ulowell.cs.ulowell.edu (Bob Page) (07/16/87)

I'm impressed.  It's about time someone encouraged cooperation between
micro users rather than fight little religious wars.

Thanks for the insipiration.

..Bob
-- 
Bob Page, U of Lowell CS Dept.   page@ulowell.{uucp,edu,csnet}