||
|| info v2.0b6, Copyright 1993 by Jon C. Thomason
||

info is a module that looks at files and reveals information about their
contents.  SHK, CPT and SIT archives return a list of contents.  GIF archives
return size and color information.  MOD files (named MOD.nnnn or nnnn.MOD)
return their internal score name.

By default, MacBinary and Binary II headers are skipped.  When used with the
-b flag, info will report internal filenames, filetypes and fork lengths from
these headers.

There is a modestly-sized table of ProDOS 8 filetypes in DATA statements at
the end of the program.  You can expand this as much as you like by editing
the two strings.  The second contains the ASCII equivalents to the hex
representations in the first.  They must be in the same order.

Extended files inside SHK archives are marked with a plus sign.  A clever
grep user can use this to determine when a file needs to be opened by GShk.

Self-extracting SIT and CPT archives are supported, but not self-extracting
SHK archives.  (For that matter, I'm not sure all SIT SEA's are currently
supported, but that's easily changed.  If you find any SIT SEA files whose
contents aren't listed by info, send me a message with the file's Mac Creator
type and I'll update info.)

To install info on your Proline site, unpar from the root directory.
Info requires Proline 2.0 or greater.

Have fun, and let me know what you think...

        Jon C. Thomason
        jonct@pro-applepi
        March 4, 1993

History:

2.0b6 15mar93 jct  added $ to aux filetype in BNY header
                   handled ProLine PAR archives as different from BNY
                   corrected an error in the man entry
2.0b5 06mar93 jct  first Proline/non-Proline codeveloped source
                   further adjusted columns and headers
                   removed "n items" notation from folders in CPT archives
                   fixed extra line feed following BNY header
                   miscellaneous internal adjustments
2.0b4 04mar93 jct  added -i option
                   added column headers
                   adjusted SHK, CPT and SIT for consistency with each other
                   added ellipses to long paths in CPT and SIT files
                   fixed some cosmetic bugs related to output redirection
                   miscellaneous internal adjustments
2.0b3 02mar93 jct  changed P8 filetype lookup routine
                   expanded table to 51 common P8 filetypes
                   removed -t option as it's now unnecessary
2.0b2 01mar93 jct  initial release to MD-BASIC 2.0 beta group
                   created FINFO module in OMM for CRC routine plus buffer
                   added output redirection
                   added -b flag for Binary II/MacBinary header
                   added -t flag for disabling slow P8 filetype lookup
2.0b1 23feb93 jct  conversion to MD-BASIC 2.0
1.0b7         jct  incorporated new CRC routine for header checking
1.0b4         jct  copy sent to Morgan for review
1.0b1         jct  initial versions codeveloped for my own uses plus Proline

----------------------------------------------------------------------------
