home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / utility / whatis63 / whatis63.doc < prev   
Encoding:
Text File  |  1992-07-29  |  24.8 KB  |  457 lines

  1.                       WHATIS File Identifier v6.3
  2.                   Copyright (c)1989-92 by Bill Aycock
  3.  
  4.  
  5. WHATIS is a simple program that will identify over 125 different types of
  6. files. It is mouse-driven and easy to use; everything is done from a single
  7. dialog box.  Whatis runs in any resolution on any ST or TT, and uses under 17K
  8. of your system's RAM.  This version will work as either a standalone program or
  9. as a desk accessory (just rename the program file to .PRG or .ACC as you wish).
  10.  
  11. When run as a desk accessory, versions 5.2 and up of Whatis can act as a
  12. "Whatis server" - specially-written programs can use Whatis to identify file
  13. types for them!  (See the Whatis Server appendix for details.)  Starting with
  14. version 5.3, you may also pass a filespec to Whatis on the command line to run
  15. it as a TTP-like program.
  16.  
  17.  
  18. Why use Whatis?  Let's say you're on your favorite BBS, and download a file
  19. called SUPER.ARC.  You fire up your Arc Shell to extract the file, and it says
  20. "I don't know how to handle this file!".  Whip out Whatis and take a look, and
  21. you find out the file is really an LHarc archive - the uploader used the wrong
  22. extender!  Just rename the file to SUPER.LZH and you're all set.
  23.  
  24. Another, darker scenario... a virus sneaks into your system and erases your
  25. hard drive's directory.  Fortunately, you have a program that can recover your
  26. files - unfortunately, it names all the files FILE0001, FILE0002, and so on!
  27. Spend a little time with Whatis, and you may not figure out each file's
  28. original name, but at least you'll know which are programs, which are .PI1s,
  29. which are Calamus docs... a real help if you need it.
  30.  
  31.  
  32.  
  33.       Using Whatis
  34.       ------------
  35.  
  36.  
  37. Either run Whatis as a GEM program or choose Whatis from the Desk menu, and
  38. the Whatis dialog box will appear.  Under the title bar you'll see three boxes
  39. for a filename and file type, a file's header bytes, and the header byte
  40. display mode. At the bottom of the dialog are three action buttons, marked
  41. "Choose a file", "Next file", and "Exit".
  42.  
  43. To use Whatis, either click on "Choose a file" or just press C or Return or
  44. the down arrow. You'll be presented with the GEM file selector; use the file
  45. selector to choose your mystery file.  Whatis will read the first few bytes of
  46. the file in question and check if these bytes match a known "signature" of a
  47. specific type of file.  (Note: Whatis needs at least eight bytes to make a
  48. reasonable guess of the file type; if your file is too small, you'll see an
  49. error message and you'll get a chance to choose another file.)
  50.  
  51. Then you'll return to the Whatis box.  The small message box in the main
  52. title bar displays the path you selected.  The first large box under the title
  53. bar shows the name of the file you chose, its size (in small numbers on the
  54. upper right), and the type of file it is.  If Whatis doesn't recognize the file
  55. type, it will show up as "text or data".  The next box, labeled "header bytes",
  56. displays the first few bytes of your file.  You can view this file header in
  57. either hexadecimal or ASCII form;  click the "ASCII" or "HEX" button, as
  58. desired, in the small box under the header byte display, or press the left or
  59. right arrow keys.
  60.  
  61. If you used any wildcards when you selected your mystery file, the "Next
  62. file" button at the bottom of the screen will be enabled (not grayed out), and
  63. it will be the default button (signified by a thicker border).  To check the
  64. next file that matches the filename pattern you chose, simply click this button
  65. or press Return, or the space bar or down arrow.  (Note: files matching the
  66. file mask are NOT displayed in alphabetical order; they appear in the same
  67. order as they are on disk.)
  68.  
  69. From the main dialog you can identify another file, or return to whatever you
  70. were doing by clicking the EXIT button or pressing UNDO or ESCape.  Simple!
  71.  
  72.  
  73. You can reposition the Whatis dialog anywhere on screen.  Click on the title
  74. area in the dialog, hold the mouse button down, and drag the outline wherever
  75. you wish.  When you release the button, the Whatis dialog appears in the new
  76. location.  If Whatis is running as a resident accessory, the new position is
  77. saved between calls.
  78.  
  79.  
  80. A complete list of the file types Whatis can recognize is included at the end
  81. of this document.  Unfortunately, many file types do not contain a unique
  82. signature in the first few bytes; Whatis can't identify such files unless a
  83. certain file type is always a specific size (e.g., Degas .PI? pics).
  84.  
  85. Note that it _is_ possible to fool Whatis.  If a data file happens to start
  86. with the same sequence of bytes as some other file type, it will beé    êüé✓é✓    ≡péî⇦äê ⇧üé@ננÆ⇧נé⇦OÄ⇧äOëé✓êé ⇧üנüÇOëé⇦⇧éê⇩⇦⇨נîê⇧Ç✓✓נî✓⇦üÄ⇩נüé◆ê⇦OÇ✓≡pêé⇧ê⇦OijOêÇ⇦נê⇨Ä◆üêAנüâêOä⇩✓Ä⇧Ç⇦ê⇦OÇ✓נüÇ@⇦êנüÆ⓪éOçé ⇦Aנäê⇦⇦î✓Oêé⇧ê⇦A≡pÉê ⇨äÇ✓Oçé ⇧Ç⇦ê⇦AנÄëנבij é⇧נä ⇦Çî⇨נêé⇧ê⇦OüÇOüâêOä✓AנäOüâêOÆ⑨נîÇ⇨נüé⇦⇧äppÄ⇧üנÇ✓נüâÇ⇦✓Oüé◆ê⇦@ננæÇ@⇦êנüÆ⓪é@84õ¨É897Ø:õØØ⓪;œ´4⓪+4Ø4û⌐¬⓪9øÀØ´4ÀبÉ67ÃŒåà4Ø2Ã:4õãÀ⓪:7É)á½"Ø⓪! ⌐ñíÉ④⑥õ4´④É34À2¨û⓪9ÃÉ17´4⓪:<Õ2¨É0¨2É64¨´2Ø⓪4Ã⓪:40´⓪17¶⑦╱à╱à╱à╱à⓪⓪⓪⓪⓪⓪+œ0´4¨É0Ã2⓪:he Command Line
  87.       ---------------------------
  88.  
  89.  
  90. Whatis will accept a file spec on the command line in case you wish to run it
  91. as a TTP-like program.  If you pass Whatis a command line, it will displayÄppüé⇦⇧נÇ✓נüâêOêé⇧êOÇÄ✓OÄëנüé◆êOêÇ⇦נÄ⇧üנÇ⇧î⇨éêOêé⇧ê⇦@נé⇦נîëנüéêOî≡pîüÄ⇩נÄOêÇ⇧üנêé⇧ê⇦◆ê AנÇ⇦נÇÇ⇦⇧נÄOçÄ⇧âנÇ⇦נêé⇧êÄ✓OבÇ⇨é ⇨נÇ⇩Oéî⇧Ç    êppÇ⇩⇧ëî⇦ëäB@ננÆ✓נéOëÇז⇧נéî⇧Ç    êOÄOêé⇧êÄ✓AנÄ⇧üנêé⇧ê⇦OéנüâêOçÄ⇧âנéOä◆ê ⇩3<åà0¨2É1œ2õŒØØÉ4ø⓪<ôÉ62ã†2É7´´⓪:42É80´4⑥⓪+œ0´4¨É;œÀ6⓪1œ2õŒÉ0À6⓪:42É34, it would be more convenient for the file selector to
  92. start out in that folder.  You can do this by setting a default path for Whatis
  93. to check.  You may also tell Whatis NOT to pause automatically in TTP mode, in
  94. case you're running from a real CLI.
  95.  
  96. You'll need to use an editor that can edit program files.  CodeHead's Lookit!
  97. is great for this, and other programs like MemFile or TinyTool will work too. 
  98. Load Whatis into the editor and look near offset $25 from the beginning of the
  99. program (or $3A9 if you've run Whatis through DC-Squish).  You'll see the
  100. phrase "Defaults:  Pause=Y  Path=?:" followed by a bunch of zero bytes.  To
  101. turn the default pause mode off, change the 'Y' to any other character.  To set
  102. up a default search path, change the ? to the drive of your choice and add a
  103. valid path, ending with a \ character, if you wish.  Save the file when you're
  104. done, and next time you load Whatis, the file selector will start up in the
  105. desired path.  If the path doesn't exist, Whatis will start out in the root
  106. directory of that drive; if the drive itself isn't present in your system,
  107. Whatis will just start out as if you hadn't set up a default path.
  108.  
  109. You may view your default settings from the Whatis dialog.  To do so, press
  110. the HELP key or click the "Go Ataripro on Compuserve..." text field at the very
  111. bottom of the dialog.  The display will cycle between the Go Ataripro message,
  112. a display of your default path, and a display of the command line pause mode.
  113.  
  114.  
  115.  
  116.       Credits
  117.       -------
  118.  
  119.  
  120. Whatis was based on Roy Goldman's Compactor Detector, an 8-bit BASIC program
  121. which identifies files and allows renaming them to have a "standard" extender.
  122. Versions 3.2 and up of Whatis were written in 100% assembler code using HiSoft
  123. DevpacST, and the resource was created using WERCS.  The 8-bit version of
  124. Whatis was written in Action!, from the folks at ICD.
  125.  
  126. I'm always looking for more file types to support in Whatis.  If you know of
  127. a particular type of file that always start with the same few bytes, or is
  128. always the same size, leave me a message.  And, of course, if you have any
  129. problems, questions, comments, or suggestions, PLEASE let me know!
  130.  
  131. I hope you find this program useful!  If you use it, please send a postcard
  132. (or donation! :-) to me at:
  133.  
  134.             Bill Aycock
  135.             2310 North Elm Street
  136.             Greensboro, NC 27408-5120
  137.  
  138.             August 1, 1992
  139.  
  140.             CompuServe UserID: 76703,4061
  141.             Internet: 76703.4061@compuserve.com
  142.  
  143.  
  144.  
  145. Appendix 1: Version History
  146. ---------------------------
  147. v6.3: adds 7 kinds of Cubase files (thanks to Frank Zeritsch!), recognizes
  148.       'LARC' mode (-lz5-) LZH files and Cal 6.3 data files
  149. v6.2: adds STDCAT (thanks to Walter Cole!), Pack-Ice, and Calligrapher files,
  150.       pause mode toggle, displays of defaults/last path used/server actions
  151. v6.1: adds Scanner Manager (thanks to Gordon Meyer!) and LDW Power, Gnu .OLB,
  152.       TADS save files, several TeX files (thanks to Christopher Browne!)
  153. v6.0: adds Revolver 'rollout' files (thanks to Tim Patrick!) and WARP9.DAT
  154. v5.9: adds over a dozen new types (thanks mostly to Gordon Meyer!)
  155. v5.8: adds Squeezed and ARJ files, notes GIF version in the ID msg
  156. v5.7: adds Timeworks DTP files (thanks to Ira Brickman!), STalker3 .INF
  157. v5.6: adds Superzap files, notes LZH version in the ID msg
  158. v5.5: adds Joppa Fax files (thanks to Charles Smeton!), larger stack to
  159.       correct TTP operation, allows repositioning the dialog
  160. v5.4: adds MWC .RSD files, AS/X files (thanks to Chris Sorensen again!),
  161.       allows plus-sign pause character in TTP mode
  162. v5.3: adds command-line TTP-like operation
  163. v5.2: first Whatis Server version; adds Newdesk icons, Software Development
  164.       Systems DeskJet and Printer Utility Pak setup files (thanks to Scott
  165.       Sanders!), PFX-packed and AFX-compressed files (thanks to Mark Spacek!)
  166.       and MSDOS .EXE and .COM files (thanks to Ron Luks!)
  167. v5.1: adds FSM-GDOS OTL, QFM, WID files
  168. v5.0: adds these file types (thanks to Chris Herborth!): Unix compressed,
  169.       CG fonts, CPXes, SoftLogik screen bitmaps, several PostScript types
  170. v4.9: adds MIDI (thanks again to Chris Sorensen!) and MasterTracks .MTS
  171.       files, size display; logic change for more reliable results w/wildcards
  172. v4.8: adds PGC (thanks to Chris Sorensen!), Cal, Data Diet files
  173. v4.7: adds ZOO and MultiDesk Deluxe files; allows default drive/path
  174. v4.6: adds Opus spreadsheet files, 3 kinds of Wordflair II files;
  175.       adds command keys; makes Next button default if valid
  176. v4.5: adds DC Squish files (thanks to Mike Vederman!), Neodesk icon files;
  177.       allows wildcards to check a number of files at once
  178. v4.4: adds two Notator file types (thanks to Brian Campbell!)
  179. v4.3: adds DCDesktop icon files (thanks to Jim Ness!); some logic changes
  180. v4.2: adds A-CHART, Seurat, WP macro, HotWire ledgers (thanks Gordon Meyer!)
  181. v4.1: adds PKZIP files, new NEO types, 7 Prism-Paint file types
  182. v4.0: first revision without separate resource file
  183. v3.7: adds IFF files (thanks to Ron Hunt!), QFL files, PageStream fonts
  184. v3.6: adds CAD-3D (thanks to David Ramsden!) and Blink data files
  185. v3.5: adds WordUp & WWST files (thanks to Terry May again!), fsel title,
  186.       Calamus .CFN and .CDK files
  187. v3.4: adds IMG, GEM, MCL, and BBS Express ST files (thanks to Terry May!)
  188.       and more TNY pic varieties (thanks to Jim Ness!), fixes .SPS
  189. v3.3: single version for PRG or ACC, adds hex/ascii display + 3 file types
  190. v3.2: PRG and ACC versions converted into assembler
  191. v3.1: adds Spectrum Sequence files
  192. v3.0: first dialog box version, adds Magic Shadow Archives
  193. v2.2: adds Super Bootdisk disks (thanks to Harold Brewer!)
  194. v2.1: adds TIFF, .PC?, TINY, and Neo animations (thanks to David Ramsden!)
  195. v2.0: first desk accessory version
  196. v1.5: adds WordPerfect document files
  197. v1.4: adds PageStream documents (thanks to James Parry!)
  198. v1.3: corrects Regent Word files, adds *.* for the standard file selector
  199. v1.2: adds one new file type and some error handling
  200. v1.0: first ST version
  201.  
  202.  
  203.  
  204. Appendix 2: The Whatis Server
  205. -----------------------------
  206.  
  207.  
  208. When Whatis is installed as an accessory, specially-written programs can
  209. communicate with Whatis to identify file types.  Whatis uses the standard GEM
  210. message-passing routines to provide this service.  When the Whatis server
  211. completes a request, the small message area in the main title bar will display
  212. the type of file identified the next time the Whatis dialog appears.
  213.  
  214. First your application must determine if Whatis is present.  Use the GEM
  215. appl_find call for this.  NOTE: I recommend using "WHATIS  " as the string for
  216. the search; this means Whatis must be named WHATIS.ACC when it is installed,
  217. or the appl_find won't be able to find it!  Whatis will be distributed as
  218. WHATIS.ACC from now on to help ensure that it has the proper name, but you
  219. should warn users in your documentation about the naming requirement, or allow
  220. users to specify the application's name.
  221.  
  222. Once you've determined Whatis's appl_id, your application should send a GEM
  223. message to Whatis with some information about the file.  This is the format for
  224. the 16-byte message your application sends to Whatis:
  225.  
  226.       Offset      Size      Meaning
  227.       ------      ----      -------
  228.          0        word      message type, must be 'W?' ($573f)
  229.          2        word      the appl_id of your application
  230.          4        word      number of extra bytes (must be zero!!)
  231.          6        long      address of your data buffer (see notes)
  232.         10        long      the size of the file in question (see notes)
  233.         14        word      currently unused; must be zero!
  234.  
  235. Whatis will determine the file type, and return a message to your application.
  236. This is the format of the message Whatis returns:
  237.  
  238.       Offset      Size      Meaning
  239.       ------      ----      -------
  240.          0        word      message type, will always be 'W?' ($573f)
  241.          2        word      Whatis's appl_id
  242.          4        word      number of extra bytes (will always be zero)
  243.          6        long      address of your data buffer (see notes)
  244.         10        long      an error code (see notes)
  245.         14        word      file type ID word (see notes)
  246.  
  247. Notes:
  248.  
  249. The data buffer whose address is passed in the message serves a dual purpose.
  250. Your application must read the first 50 bytes of the file into this buffer and
  251. pass its address to Whatis.  After identifying the file type, Whatis will use
  252. this same buffer to return a string indicating the file type.  (This is the
  253. same string you would see if you identified the file directly from the Whatis
  254. accessory.)
  255.  
  256. IMPORTANT: If the file is under 50 bytes long, the buffer area should be
  257. padded with nulls.
  258.  
  259. NOTE:  Your application should use an fs_first call to determine the size of
  260. the file in question - DO NOT rely on an fs_next call!  In some situations an
  261. fs_next can return the size of a file in compressed form, which may not be
  262. accurate; this may lead to an incorrect identification of the file type. (A
  263. question for anyone using the AFX program included with recent Questor LHARC
  264. utilities:  when AFX is installed, do fs_first and fs_next return the actual
  265. file size as if it were not compressed, or the size of the compressed file?)
  266.  
  267.  
  268. The error code returned by Whatis can have these values:
  269.  
  270.           Code     Meaning
  271.           ----     -------
  272.             0      no error occurred
  273.             1      not used (obsolete; formerly odd data buffer address)
  274.             2      error: the file is too small to identify
  275.  
  276. The file type ID returned in the last word of the message is a unique number
  277. corresponding to a particular type of file.  If your program needs to do more
  278. than simply display a file type message, you may find it easier to check this
  279. ID number and take appropriate action.  Whatis ID numbers are guaranteed not to
  280. change in future versions, and new file types will be assigned new ID numbers
  281. when they are added to Whatis.
  282.  
  283. Whatis ID numbers are divided into several groups; all IDs with a high byte
  284. of 1 indicate MIDI format files, those with a high byte of 2 are other types of
  285. music-related files, a high byte of 3 means a word processing document, and so
  286. on.  An ID number of -1 ($FFFF) indicates that Whatis did not recognize the
  287. type of file.  A current list of all ID numbers and the associated file types
  288. follows this section.
  289.  
  290.  
  291. IMPORTANT NOTE:  Whatis is a copyrighted program.  I retain all rights to
  292. Whatis.  However, Whatis may be distributed with any program, commercial or
  293. otherwise, that is written to access the Whatis Server, under the following
  294. conditions:
  295.  
  296.       1. Both the Whatis executable and this documentation must be
  297.          included with your program.  Neither file may be modified in
  298.          any way, other than compression with ARC, LHARC, or a similar
  299.          program for distribution purposes.
  300.  
  301.       2. The author or distributor of a program that accesses the Whatis
  302.          Server must send one complete copy of the program, including all
  303.          related files and full documentation, to me at the address listed
  304.          above.
  305.  
  306.  
  307.  
  308. Appendix 3: File ID Word/Type Cross-Reference
  309. ---------------------------------------------
  310.  
  311.  
  312. $1xx -- MIDI format x files...
  313.  
  314.     Note, for MIDI format files the low byte is the ASCII value
  315.     corresponding to the format. All $1xx types are reserved.
  316.     Currently I know of these three types, but new MIDI format
  317.     files following the same pattern will automatically show up:
  318.  
  319. $130    MIDI format 0 file (.MFF/.MID)
  320. $131    MIDI format 1 file (.MFF/.MID)
  321. $132    MIDI format 2 file (.MFF/.MID)
  322.  
  323. $2xx -- Other music-related file types
  324.  
  325. $200    Music Studio .SNG file
  326. $201    MasterTracks Pro .MTS file
  327. $202    Notator song file (.SON)
  328. $203    Notator pattern file (.PAT)
  329. $204    Cubase .ALL/ALB song collection
  330. $205    Cubase .PRT/PRB part file
  331. $206    Cubase .PRN printer driver
  332. $207    Cubase .SET/SEB setting file
  333. $208    Cubase .DRM drum file
  334. $209    Cubase .COM Iterative Phrase Synth file
  335. $20a    Cubase .MIX mix file
  336.  
  337. $3xx -- Word processing/document file types
  338.  
  339. $300    Calamus .CDK document
  340. $301    Word Writer ST file
  341. $302    PageStream document
  342. $303    Wordflair II document
  343. $304    ST-Writer file
  344. $305    WordUp file
  345. $306    WordPerfect document
  346. $307    Regent Word file
  347. $308    Timeworks Publish .DTP file
  348. $309    Calligrapher document (.CAL)
  349.  
  350. $4xx -- Desktop publishing and font file types
  351.  
  352. $400    Adobe Font Metrics .AFM file
  353. $401    CompuGraphic font file
  354. $402    SoftLogik Screen Bitmap
  355. $403    PageStream font
  356. $404    encapsulated PostScript (.EPS)
  357. $405    Calamus .CFN font
  358. $406    FSM-GDOS .WID width file
  359. $407    FSM-GDOS .OTL outline font
  360. $408    FSM-GDOS .QFM font metrics file
  361. $409    TeX .dvi device independent file
  362. $40a    TeX .fmt preloaded format file
  363. $40b    TeX .pk font file
  364. $40c    .FNT font file
  365.  
  366. $5xx -- Picture, graphics, animation file types
  367.  
  368. $500    Degas Elite .PC1 pic
  369. $501    Degas .PC2 pic or PostScript .PFB
  370. $502    Degas Elite .PC3 pic
  371. $503    Portfolio .PGC graphics file
  372. $504    Spectrum pic (.SPC or .SPS)
  373. $505    Spectrum Sequence (.SPS) file
  374. $506    compressed KOALA pic
  375. $507    QuickST .QFL file
  376. $508    GIF picture file
  377. $509    TIFF tag image file
  378. $50a    Degas .PI1 pic
  379. $50b    TINY medium-rez pic
  380. $50c    TINY high-rez pic
  381. $50d    TINY low-rez pic
  382. $50e    Spectrum .SPU pic
  383. $50f    256-color NEO pic
  384. $510    1280x960 NEO pic
  385. $511    640x480 NEO pic
  386. $512    Degas .PI3 pic
  387. $513    Degas .PI2 pic
  388. $514    image file (.IMG)
  389. $515    CAD-3D v1 (.3D) file
  390. $516    CAD-3D v2 (.3D2) file
  391. $517    CAD-3D v3 (.3D3) file
  392. $518    Prism-Paint .BRU brush file
  393. $519    Prism-Paint .CFL fill file
  394. $51a    Prism-Paint .MFL fill file
  395. $51b    Prism-Paint .PAL palette
  396. $51c    Prism-Paint .PNT picture
  397. $51d    IFF or DeluxePaint file
  398. $51e    NEOCHROME animation
  399. $51f    Cyber .SEQ animation
  400. $520    .GEM Metafile
  401.  
  402. $6xx -- Compressed disk and file types
  403.  
  404. $600    Super Bootdisk file
  405. $601    SHRINKed disk
  406. $602    DISKCOMMed disk
  407. $603    PKZIP .ZIP file
  408. $604    MASHed file
  409. $605    Magic Shadow Archive (.MSA)
  410. $606    .PAK archive file
  411. $607    ALFCRUNCHed archive
  412. $608    ARCed file
  413. $609    Unix 'compress'ed file
  414. $60a    LHarc archive (.LZH)
  415. $60b    ZOO archive file
  416. $60c    CRUSHed file
  417. $60d    AFX compressed file
  418. $60e    ARJ compresmsed file
  419. $60f    Squeezed file (.?Q?)
  420.  
  421. $7xx -- Executable file types
  422.  
  423. $700    ST program or desk accessory
  424. $701    DC Squished program or ACC
  425. $702    Control Panel Extension (.CPX)
  426. $703    PFX-packed program file
  427. $704    MS-DOS .EXE program file
  428. $705    MS-DOS .COM program file
  429. $706    Pack-Ice packed program or ACC
  430.  
  431. $8xx -- Miscellaneous data file types
  432.  
  433. $800    BLINK .LIB library file
  434. $801    BLINK .PAL palette file
  435. $802    B⌐É ⇧באD⇩⇩'אταN✓✓'א╱⇩A⇨ij°8dβπΓ'τττז⇨ij⇩'αH⇨א'א⇨אD◆⇦א⇧ג⇦τגAג88dβπατττταN@ז'ה⇨IJג⇦τמG╱וij'א╱⇩A⇨ij°8dβπα'τττכו⇧⇩⇧ ijταHHב'ג@@°8dβπαgτττכמ'כוו IJ⇦τגIJ⇦IJD⇦τגAג88dβπα'τττזD⇧⑨\םז②Xףףê⑨Ü[⑨H
  436. ♪ö!(e!íDç╱◆⇦⇦⇦⇦    ∈èϕ.Lñ❎ח    Ωä ל-îííDç╱◆$⇦⇦⇦    ∈èϕ.Lñ❎חêΩDî¼î∮«D ל-îííDç╱ $⇦⇦⇦    ¡,m
  437. ÄMϕג✓HJd❎ח¿iä ל-îííDç╱ D⇦⇦⇦    «¡Äì(î«md✓î¡Ä» ñ❎ח⌐èä ל-îííDç╱ d⇦⇦⇦ some information about the file.  This is the format for
  438. the 16-byte message your application sends to Whatis:
  439.  
  440.       Offset      Size      Meaning
  441.       ------      ----      -------
  442.          0        word      message type, must be 'W?' ($573f)
  443.          2        word      the appl_id of your application
  444.          4        word      number of extra bytes (must be zero!!)
  445.          6        long      address of your data buffer (see notes)
  446.         10        long      the size of the file in question (see notes)
  447.         14        word      currently unused; must be zero!
  448.  
  449. Whatis will determine the file type, and return a message to your application.
  450. This is the format of the message Whatis returns:
  451.  
  452.       Offset      Size      Meaning
  453.       ------      ----      -------
  454.          0        word      message type, will always be 'W?' ($573f)
  455.          2        word      Whatis's appl_id
  456.          4        word      number of extra bytes (will always be zero)
  457.          6        long      address of