home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 357.lha / ProgUtils / WhatIs.doc < prev    next >
Text File  |  1990-03-12  |  7KB  |  227 lines

  1. ==============================================================================
  2.  
  3.         WhatIs This File ?              V1.1
  4.         © J.Tyberghein                  Mon Dec 18 17:12:13 1989
  5.  
  6. ==============================================================================
  7.  
  8.  
  9.  
  10. Preface
  11. -------
  12.   This utility gives you all useful information it can obtain from the file.
  13.   WHATIS recognizes IFF files, object files and executables (hunks),
  14.   Aztec object files, crunched data files (with the PowerPacker), archives
  15.   like ZOO, ARC and ArcFiles (my own archiver), UUEncoded files, .info files,
  16.   Lattice PGTB files and Warp files (disk warper). In addition it will
  17.   print all system information for this file.
  18.   If you specify a device or directory instead of a file, you get more
  19.   system information.
  20.   If WHATIS doesn't recognize your file, it will check if the file could
  21.   be ASCII.
  22.  
  23.   This program (WHATIS V1.1) is shareware.
  24.   If you like and/or use this utility I would appreciate it very much
  25.   if you'd send me a contribution of $10 US ($15 if you want to get a new
  26.   update (when one is available)).
  27.   Please send money by international money order, EuroCheck (in Belgian
  28.   Francs (BF) !) or cash, because it's very difficult for me to cash in
  29.   other checks.
  30.   If you want an update please state your current version.
  31.   If you want to use this program for commercial purposes please write
  32.   for permission !
  33.  
  34.   If you have any suggestions or remarks you can write to (Bug reports are
  35.   welcome too)
  36.  
  37.                             Jorrit  Tyberghein
  38.                              Hepmansbossen 31
  39.                            3990 Meerhout BELGIUM
  40.  
  41.  
  42.  
  43.   WARNING:
  44.     If you want to use this utility you must have Arp 1.3 or later.
  45.     WHATIS is reexecutable so you can use it with ARes, Resident, ...
  46.     WHATIS is not reentrable, so you will get a warning from ARes or Resident
  47.     if you try to use this program twice at the same time.
  48.     There are still some bugs in this program. If you try to list some Lattice
  49.     object files (.o) you will get nonsense. If this happens simply press ^C
  50.     to stop WHATIS. Of course this bug will be solved in the next version.
  51.  
  52.  
  53.  
  54. Syntax
  55. ------
  56.  
  57.   +--------------------------------------------+
  58.   | Commandline template:                      |
  59.   |   File/a,S=SHORT/s,M=MEDIUM/s,F=FULL/s:    |
  60.   |--------------------------------------------|
  61.   | Usage:                                     |
  62.   |   WhatIs <File> [SHORT | MEDIUM | FULL]    |
  63.   +--------------------------------------------+
  64.  
  65.     <File>        : file or device to examine
  66.     SHORT         : shows only basic system information (no examining is
  67.                     done)
  68.     MEDIUM        : shows basic system info and examines file (default)
  69.     FULL          : like MEDIUM, but computes several additional percentages
  70.  
  71.  
  72.   examples:
  73.  
  74.     WhatIs KingTut            (KingTut is a graphic image)
  75.       you will get the following output (or something equivalent):
  76.  
  77.       |  FileInfoBlock:
  78.       |     File         : KingTut
  79.       |     DirEntryType : -3
  80.       |     Protect      : dewr
  81.       |     Size         : 25728       NumBlocks : 51
  82.       |     Last changed : 15-Oct-89 10:54:52 (Sunday)
  83.       |     Comment      :
  84.       |
  85.       |  IFF file
  86.       |    FORM  ILBM   (25720 data bytes)
  87.       |      Interleaved BitMap
  88.       |      BMHD
  89.       |        width   :   320     height  :   200
  90.       |        x       :     0     y       :     0
  91.       |        nPlanes :     5     Masking :     0
  92.       |        xAspect :    10     yAspect :    11
  93.       |        PageWid :   320     PageHei :   200
  94.       |        Compression       : 1
  95.       |        transparent color : 0
  96.       |      CMAP  (96 bytes)
  97.       |      DPPS
  98.       |      CRNG
  99.       |      CRNG
  100.       |      CRNG
  101.       |      CRNG
  102.       |      CRNG
  103.       |      CRNG
  104.       |      CAMG
  105.       |      BODY
  106.  
  107.     WhatIs file.c s
  108.       you get only the basic information
  109.  
  110.       |  FileInfoBlock:
  111.       |     File         : file.c
  112.       |     DirEntryType : -3
  113.       |     Protect      : dewr
  114.       |     Size         : 146       NumBlocks : 1
  115.       |     Last changed : 17-Dec-89 20:37:04 (Sunday)
  116.       |     Comment      : This is an example file
  117.  
  118.     WhatIs ram:
  119.  
  120.       |  FileInfoBlock:
  121.       |     Directory    : RAM DISK
  122.       |     DirEntryType : 2
  123.       |     Protect      : dewr
  124.       |     Size         : 0       NumBlocks : 1
  125.       |     Last changed : 18-Dec-89 17:29:22 (Monday)
  126.       |     Comment      :
  127.       |
  128.       |  InfoData:
  129.       |     UnitNumber    : -1
  130.       |     NumSoftErrors : 0
  131.       |     NumBlocks     : 3       NumBlocksUsed : 3
  132.       |     BytesPerBlock : 488
  133.       |     Disk is validated
  134.       |     Dos disk
  135.       |     Disk in use
  136.       |
  137.       |  DeviceList:
  138.       |     Volume
  139.       |     Creation date : 01-Jan-78 00:00:61 (Sunday)
  140.       |     DiskType      : 444F5300
  141.  
  142.     WhatIs c:WhatIs f
  143.       Give full information
  144.  
  145.       |  FileInfoBlock:
  146.       |     File         : WhatIs
  147.       |     DirEntryType : -3
  148.       |     Protect      : dewr
  149.       |     Size         : 14940       NumBlocks : 30
  150.       |     Last changed : 17-Dec-89 17:07:02 (Sunday)
  151.       |     Comment      : © J.Tyberghein
  152.       |
  153.       |  Executable file
  154.       |     Hunk   0 : header
  155.       |                   Resident libraries:
  156.       |                   Table size : 2
  157.       |                   First Hunk : 0
  158.       |                   Last Hunk  : 1
  159.       |                code    (14568 bytes)
  160.       |                reloc32 (1 entries)
  161.       |                end
  162.       |     Hunk   1 : data    (160 bytes)
  163.       |                reloc32 (2 entries)
  164.       |                end
  165.       |
  166.       |  Diagnostic research...
  167.       |     8705 normal characters (58 %)
  168.       |     2691 non ascii characters (18 %)
  169.       |     3455 control codes ( <32 ) (23 %)
  170.       |     164 lines
  171.  
  172.     WhatIs disk.info
  173.  
  174.       |  FileInfoBlock:
  175.       |     File         : Disk.info
  176.       |     DirEntryType : -3
  177.       |     Protect      : dewr
  178.       |     Size         : 5449       NumBlocks : 11
  179.       |     Last changed : 15-Oct-89 10:21:01 (Sunday)
  180.       |     Comment      :
  181.       |
  182.       |  .info file  version 1
  183.       |     icon gadget:
  184.       |        LeftEdge 406, TopEdge 23
  185.       |        Width 141, Height 74
  186.       |        Flags GADGHIMAGE, Activation RELVERIFY GADGIMMEDIATE
  187.       |        GadgetType BOOLGADGET
  188.       |     DiskObject type WBDISK
  189.       |     Current X 406   Current Y 23
  190.  
  191.     WhatIs II.smus
  192.  
  193.       |  FileInfoBlock:
  194.       |     File         : II.smus
  195.       |     DirEntryType : -3
  196.       |     Protect      : dewr
  197.       |     Size         : 1456       NumBlocks : 3
  198.       |     Last changed : 03-Nov-89 15:05:22 (Friday)
  199.       |     Comment      :
  200.       |
  201.       |  IFF file
  202.       |    FORM  SMUS   (1448 data bytes)
  203.       |      Simple Musical Score
  204.       |      SHDR
  205.       |      NAME  Sphere
  206.       |      SNX1
  207.       |      INS1  sphere
  208.       |      INS1  human
  209.       |      INS1  SynthiI
  210.       |      INS1  explosion
  211.       |      INS1  no
  212.       |      INS1  EffectII
  213.       |      INS1  synthiII
  214.       |      INS1  BassdrumI
  215.       |      INS1  SphereI
  216.       |      TRAK
  217.       |      TRAK
  218.       |      TRAK
  219.       |      TRAK
  220.  
  221.  
  222. ==============================================================================
  223.  
  224.                          End of WHATIS 1.1 document
  225.  
  226. ==============================================================================
  227.