home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / FILE / FILTYP10.ZIP / MAGIC.FT < prev   
Encoding:
Text File  |  1991-08-01  |  9.9 KB  |  163 lines

  1. ;FTMagic1.0                       -- Don't change this line!
  2. ;
  3. ; Magic Numbers for FType (file type guesser)
  4. ;
  5. ; For a description of the file format, see the comments at the end.
  6. ;
  7. ; The following two lines are uppercase translation strings for
  8. ; IBM code page 437. Note: This relies on exact character alignment!
  9. vüéâäàåçêëèïîìæôöòûùÿáíóúñ 
  10. ^ÜEAÄAÅÇEEEIIIÆOÖOUUYAIOUÑ 
  11. ;
  12. ; Magic sequences start here:
  13. ;
  14. ';FTMagic1.0'                           FType Magic number file
  15. "PROGRAM "                              Pascal source
  16. "      PROGRAM "                        Fortran source
  17. '/* '                                   C source (?)
  18. '#include '                             C source
  19. '; '                                    ASM source (?)
  20. ';\r\n'                                 ASM source (?)
  21. '\' '                                   BASIC source (?)
  22. '\'\t\r'                                BASIC source (?)
  23. "REM "                                  Batch file
  24. "REM\r\n"                               Batch file
  25. "ECHO "                                 Batch file
  26. "@ECHO "                                Batch file
  27. 'PK'0304                                ZIP archive
  28. 'ZOO 2.00 Archive'                      ZOO archive version 2.0
  29. 'ZOO 2.10 Archive'                      ZOO archive version 2.1
  30. 'ZOO '                                  ZOO archive (pre-2.0)
  31. 21EE'-lh5-'                             LHArc archive (2.12 or later)
  32. 21EE'-lh'                               LHArc archive (pre-2.12)
  33. 'begin '                                UU-encoded file
  34. '#! /bin/sh\r\n# This is a shell archive' Shell archive (SHAr)
  35. '#! /bin/sh'                            Shell archive (SHAr) (?)
  36. '#!/bin/sh'                             Shell archive (SHAr) (?)
  37. '#! /bin/awk'                           AWK source
  38. '#!/bin/awk'                            AWK source
  39. '# '                                    AWK source (?)
  40. 'PCF:db,'                               PC-File header
  41. 'WSSCONfig'                             WSSIndex configuration file
  42. 'WSSINDEX\r4'                           WSSIndex index file, version 4
  43. 'WSSINDEX\r5'                           WSSIndex index file, version 5
  44. 'WSSINDEX\r'                            WSSIndex index file, pre-version 4
  45. FF' FONT   '00                          DOS code page file (CPI)
  46. FFFFFFFF                                DOS device driver
  47. 'GIF87a'                                CompuShow GIF picture (1987 version)
  48. 'GIF89a'                                CompuShow GIF picture (1989 version)
  49. 'RRTL'0001                              ClipArt image
  50. 'Falc'0000                              Harvard Graphics Chart (CHT) (??)
  51. 'pk\b\bBGI Device Driver'               Borland graphics driver (BGI)
  52. 'PK\b\bBGI Stroked Font'                Borland graphics stroked font (CHR)
  53. 'ca\b\bBGI '                            Borland Quattro Pro graphics driver
  54. 'CB\b\bBGI '                            Borland Quattro Pro graphics driver
  55. '??\b\bBGI '                            Borland Graphics Interface file (?)
  56. 0000020020'Q'                           Quattro WQ1 file
  57. 000002000404                            Lotus 1-2-3 WKS file (version 1.A)
  58. 000002000405                            Symphony WKS file (version 1.0)
  59. 0000020004'?'                           Lotus/Symphony WK1 file (Lotus 2.01+, Symphony 1.1+)
  60. 01000000                                Lotus PIC image (?)
  61. 'ID;P'                                  SYLK (?)
  62. '<!SGML'                                SGML document
  63. 'F1'8F0001008F00'C2.3'                  Bitstream Font
  64. 'STEVE'02'H'                            Digitized Sound File (SND)
  65. 'TPU9'                                  TurboPascal unit (TP version 6.0)
  66. 'II'2A00                                TIFF image (Intel format)
  67. 'MM'002A                                TIFF image (Motorola format)
  68. 31BE0000                                Microsoft WORD text
  69. 31BE0100                                Microsoft WORD Textbaustein
  70. 31BE0200                                Microsoft WORD printer description file
  71. 1B')s246W'                              HP downloadable font
  72. FF'WPC????'0101                         WordPerfect macro file
  73. FF'WPC????'0102                         WordPerfect help file
  74. FF'WPC????'0103                         WordPerfect keyboard definition file
  75. FF'WPC????'010A                         WordPerfect document file
  76. FF'WPC????'010B                         WordPerfect dictionary file
  77. FF'WPC????'010C                         WordPerfect thesaurus file
  78. FF'WPC????'010D                         WordPerfect block
  79. FF'WPC????'010E                         WordPerfect rectangular block
  80. FF'WPC????'010F                         WordPerfect column block
  81. FF'WPC????'0110                         WordPerfect printer resource file (PRS)
  82. FF'WPC????'0111                         WordPerfect setup file
  83. FF'WPC????'0112                         WordPerfect prefix information file
  84. FF'WPC????'0113                         WordPerfect printer resource file (ALL)
  85. FF'WPC????'0114                         WordPerfect display resource file (DRS)
  86. FF'WPC????'0115                         WordPerfect overlay file (WP.FIL)
  87. FF'WPC????'0116                         WordPerfect graphics file (WPG)
  88. FF'WPC????'0117                         WordPerfect hyphenation code module
  89. FF'WPC????'0118                         WordPerfect hyphenation data module
  90. FF'WPC????'0119                         WordPerfect macro resource file (MRS)
  91. FF'WPC????'011A                         WordPerfect graphics driver (WPD)
  92. FF'WPC????'011B                         WordPerfect hyphenation lex module
  93. '{rtf'                                  Microsoft Rich Text Format
  94. '{ rtf'                                 Microsoft Rich Text Format
  95. '% '                                    TeX or Postscript source (?)
  96. '%*'                                    TeX or Postscript source (?)
  97. '%\r\n'                                 TeX or Postscript source (?)
  98. 1A08                                    ARC archive
  99. 1F9D                                    LZW-compressed (Un*x Z)
  100. 'MZ'                                    executable (EXE)
  101. 00010008                                GEM Image File (versions 1.x, 2.x)
  102. FFFF1800                                GEM Metafile (versions 1.x, 2.x)
  103. 'FORM'                                  IFF/LBM image
  104. 0A00                                    PCX image (Paintbrush version 2.5)
  105. 0A02                                    PCX image (Paintbrush version 2.8, with palette)
  106. 0A03                                    PCX image (Paintbrush version 2.8, without palette)
  107. 0A05                                    PCX image (Paintbrush version 3.0)
  108. E9                                      executable (COM) (?)
  109. EB                                      executable (COM) (?)
  110. 02                                      dBase 2.0 (?)
  111. 03                                      dBase 3.0 (no memofield) (?)
  112. 83                                      dBase 3.0 (with memofield) (?)
  113. ;
  114. ; Format of this file: (Advanced concepts are marked with an asterisk.)
  115. ;
  116. ; - Each line consists of a file recognizer pattern, then at least one
  117. ;   blank, then a name for the file type thusly identified.
  118. ; - The recognizer sequence consists of a file offset (optional), a bit
  119. ;   mask (optional), and a matching sequence (required). These items, if
  120. ;   present, must be separated by at least one blank each.
  121. ; * The file offset starts with @, then an optional -, followed by
  122. ;   a seqence of hex (!) digits which represent an offset into the file
  123. ;   at which the matching should occur. (No blanks within the file
  124. ;   offset sequence!) Start of file is at 0(!). A negative offset
  125. ;   matches from the end of the file, with the last byte in the file
  126. ;   pointed to by -1. -- Default for offset is 0.
  127. ; * The bit mask starts with & and is followed by a sequence as
  128. ;   specified for matching sequences (cf. below). This bit mask will be
  129. ;   ANDed bytewise to the bytes found in the file before matching takes
  130. ;   place. Thus, masking with DF would make matching of 7-bit ASCII
  131. ;   characters case-independent. (However, note the use of double quotes
  132. ;   below.) If the bit mask is shorter than the matching sequence, it is
  133. ;   extended with FF (functionally equivalent to no masking at all.) --
  134. ;   Default for the bit mask is all FFs.
  135. ; - The matching sequence can be any mixture of pairs of hex digits and
  136. ;   ASCII strings enclosed in single (') or double (") quotes.
  137. ; - Characters in single quotes require an exact match, characters in
  138. ;   double quotes are matched case-independently. Characters in
  139. ;   double quotes must be upper case themselves in order to work at
  140. ;   all. (Cf. the note on case-conversion below.)
  141. ; - Both subtypes may contain a question mark to stand for any
  142. ;   character. (And I mean 'character', *not* hex digit!)
  143. ; - ASCII strings may contain escaped sequences: \' and \" for
  144. ;   embedded quotes, \b (backspace), \t (tab), \n (newline), \v
  145. ;   (vertical tab), \f (form feed), \r (carriage return), \? (question
  146. ;   mark), \\ (backslash).
  147. ; - If a starting sequence in this file is identical to the beginning of
  148. ;   another one, the longer sequence should come first.
  149. ; - Comment lines may start with semicolon or hash mark.
  150. ; * For case-independent matchings, FileType knows about the upper-case
  151. ;   equivalents of standard 7-bit ASCII characters. If you also use
  152. ;   additional (8-bit) national characters, you can include a pair of
  153. ;   lines starting with v and ^, respectively. These lines must not
  154. ;   contain any blanks after the line marker and must match character by
  155. ;   character. The 'v' line contains lower-case characters, the '^' line
  156. ;   the corresponding upper-case characters. You need specify only as
  157. ;   many characters as needed. These lines must occur in Magic.FT before
  158. ;   the first recognizer line in which they are needed. -- Note that
  159. ;   two or more pairs of translator lines may be specified, but only the
  160. ;   last one used will be in effect.
  161. ; - The first line of the file is taboo.
  162. ;
  163.