Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!columbia!rutgers!sri-spam!mordor!lll-tis!ptsfa!varian!madvax!cw From: cw@madvax.UUCP (Carl Weidling) Newsgroups: comp.sys.amiga,comp.sys.ibm.pc,comp.sys.mac,comp.sys.apple Subject: Utilities originally for Atari St, maybe useful to others Message-ID: <608@madvax.UUCP> Date: Wed, 15-Jul-87 12:42:16 EDT Article-I.D.: madvax.608 Posted: Wed Jul 15 12:42:16 1987 Date-Received: Sat, 18-Jul-87 01:47:21 EDT Organization: Varian Instruments, Walnut Creek CA Lines: 28 Keywords: disk directory listing, ARC'd file listing Xref: mnetor comp.sys.amiga:6549 comp.sys.ibm.pc:5735 comp.sys.mac:4743 comp.sys.apple:1978 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