f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Magic data for mod_mime_magic Apache module (originally for file(1) command)
9c4321d9cc4eecbb0c5d568aea53d5e6812c7b96martin# The module is described in /manual/mod/mod_mime_magic.html
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# The format is 4-5 columns:
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Column #1: byte number to begin checking from, ">" indicates continuation
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Column #2: type of data to match
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Column #3: contents of data to match
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Column #4: MIME type of result
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Column #5: MIME encoding of result (optional)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Localstuff: file(1) magic for locally observed files
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Add any locally observed files here.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# end local stuff
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 short 0xcafe
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding>2 short 0xbabe application/java
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# audio: file(1) magic for sound formats
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string .snd
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# that uses little-endian encoding and has a different magic number
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# (0x0064732E in little-endian encoding).
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 lelong 0x0064732E
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# compressed (G.721 ADPCM)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are "FORM"
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# AIFF audio data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# AIFF-C audio data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# IFF/8SVX audio data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Creative Labs AUDIO stuff
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Standard MIDI data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#>9 byte >0 (format %d)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#>11 byte >1 using %d channels
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Creative Music (CMF) data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# SoundBlaster instrument data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Creative Labs voice data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string Creative\ Voice\ File audio/unknown
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding## is this next line right? it came this way...
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#>19 byte 0x1A
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#>23 byte >0 - version %d
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#>22 byte >0 \b.%d
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# [GRR 950115: is this also Creative Labs? Guessing that first line
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# should be string instead of unknown-endian long...]
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 long 0x4e54524b MultiTrack sound data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string NTRK MultiTrack sound data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#>4 long x - version %ld
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Microsoft WAVE format (*.wav)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# [GRR 950115: probably all of the shorts and longs should be leshort/lelong]
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Microsoft RIFF
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# - WAVE format
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz# MPEG audio.
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 beshort&0xfff0 0xfff0 audio/mpeg
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz# C64 SID Music files, from Linus Walleij <triad@df.lth.se>
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# c-lang: file(1) magic for C programs or various scripts
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# XPM icons (Greg Roelofs, newt@uchicago.edu)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# ideally should go into "images", but entries below would tag XPM as C source
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string /*\ XPM image/x-xbm 7bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# this first will upset you if you're a PL/1 shop... (are there any left?)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# in which case rm it; ascmagic will catch real C programs
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# C or REXX program text
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# C++ program text
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# compress: file(1) magic for pure-compression formats (no archives)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Formats for various forms of compressed data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Formats for "compress" proper have been moved into "compress.c",
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# because it tries to uncompress it to figure out what's inside.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# standard unix compress
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \037\235 application/octet-stream x-compress
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \037\213 application/octet-stream x-gzip
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# According to gzip.h, this is the correct byte order for packed data.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \037\036 application/octet-stream
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# This magic number is byte-order-independent.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# XXX - why *two* entries for "compacted data", one of which is
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# byte-order independent, and one of which is byte-order dependent?
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# compacted data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \377\037 application/octet-stream
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# huf output
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Squeeze and Crunch...
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# These numbers were gleaned from the Unix versions of the programs to
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# handle these formats. Note that I can only uncrunch, not crunch, and
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# I didn't have a crunched file handy, so the crunch number is untested.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Keith Waclena <keith@cerberus.uchicago.edu>
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 leshort 0x76FF squeezed data (CP/M, DOS)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 leshort 0x76FE crunched data (CP/M, DOS)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string \037\237 Frozen file 2.1
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string \037\236 Frozen file 1.0 (or gzip 0.5)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string \037\240 LZH compressed data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# frame: file(1) magic for FrameMaker files
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# This stuff came on a FrameMaker demo tape, most of which is
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# copyright, but this file is "published" as witness the following:
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \<MakerFile application/x-frame
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \<MIFFile application/x-frame
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \<MakerDictionary application/x-frame
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \<MakerScreenFon application/x-frame
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \<Maker application/x-frame
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# html: file(1) magic for HTML (HyperText Markup Language) docs
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# from Daniel Quinlan <quinlan@yggdrasil.com>
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# and Anna Shergold <anna@inext.co.uk>
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 string \<!DOCTYPE\ HTML text/html
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 string \<!doctype\ html text/html
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 string \<HEAD text/html
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 string \<head text/html
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 string \<TITLE text/html
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 string \<title text/html
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 string \<html text/html
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 string \<HTML text/html
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 string \<!-- text/html
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz0 string \<?xml text/xml
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# images: file(1) magic for image formats (see also "c-lang" for XPM bitmaps)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# additions by janl@ifi.uio.no as well as others. Jan also suggested
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# merging several one- and two-line files into here.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# XXX - byte order for GIF and TIFF fields?
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# [GRR: TIFF allows both byte orders; GIF is probably little-endian]
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# [GRR: what the hell is this doing in here?]
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string xbtoa btoa'd file
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# PBM "rawbits" file
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# PGM "rawbits" file
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# PPM "rawbits" file
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# NIFF (Navy Interchange File Format, a modification of TIFF)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# [GRR: this *must* go before TIFF]
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# TIFF and friends
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# TIFF file, big-endian
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# TIFF file, little-endian
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# possible GIF replacements; none yet released!
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# (Greg Roelofs, newt@uchicago.edu)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# GRR 950115: this was mine ("Zip GIF"):
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# ZIF image (GIF+deflate alpha)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string GIF94z image/unknown
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# GRR 950115: this is Jeremy Wohl's Free Graphics Format (better):
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# FGF image (GIF+deflate beta)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string FGF95a image/unknown
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# GRR 950115: this is Thomas Boutell's Portable Bitmap Format proposal
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# (best; not yet implemented):
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# PBF image (deflate compression)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# JPEG images
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 beshort 0xffd8 image/jpeg
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# PC bitmaps (OS/2, Windoze BMP files) (Greg Roelofs, newt@uchicago.edu)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#>14 byte 12 (OS/2 1.x format)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#>14 byte 64 (OS/2 2.x format)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#>14 byte 40 (Windows 3.x format)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string IC icon
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string PI pointer
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string CI color icon
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string CP color pointer
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string BA bitmap array
276fc07643ddb8c178a35b79ae4fe27596f37739sf0 string \x89PNG image/png
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# lisp: file(1) magic for lisp programs
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string ;; text/plain 8bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Emacs 18 - this is always correct, but not very magical.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string ;ELC\023\000\000\000 application/x-elc
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# mail.news: file(1) magic for mail and news
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# There are tests to ascmagic.c to cope with mail and news.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string Relay-Version: message/rfc822 7bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string #!\ rnews message/rfc822 7bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string N#!\ rnews message/rfc822 7bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string Forward\ to message/rfc822 7bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string Pipe\ to message/rfc822 7bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string Return-Path: message/rfc822 7bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string Path: message/news 8bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string Xref: message/news 8bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string From: message/rfc822 7bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string Article message/news 8bit
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# msword: file(1) magic for MS Word files
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Contributor claims:
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Reversed-engineered MS Word magic numbers
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \376\067\0\043 application/msword
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \333\245-\0\0\0 application/msword
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# disable this one because it applies also to other
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Office/OLE documents for which msword is not correct. See PR#2608.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string \320\317\021\340\241\261 application/msword
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# printer: file(1) magic for printer-formatted files
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# PostScript
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# (due to clamen@cs.cmu.edu)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# sc: file(1) magic for "sc" spreadsheet
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding38 string Spreadsheet application/x-sc
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# tex: file(1) magic for TeX files
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# From <conklin@talisman.kaleida.com>
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Although we may know the offset of certain text fields in TeX DVI
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# and font files, we can't use them reliably because they are not
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# zero terminated. [but we do anyway, christos]
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \367\002 application/x-dvi
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string \367\203 TeX generic font data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string \367\131 TeX packed font data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string \367\312 TeX virtual font data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string This\ is\ TeX, TeX transcript text
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string This\ is\ METAFONT, METAFONT transcript text
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# There is no way to detect TeX Font Metric (*.tfm) files without
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# breaking them apart and reading the data. The following patterns
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# match most *.tfm files generated by METAFONT or afm2tfm.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#2 string \000\021 TeX font metric data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#2 string \000\022 TeX font metric data
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#>34 string >\0 (%s)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string \\input\ texinfo Texinfo source text
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#0 string This\ is\ Info\ file GNU Info text
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# correct TeX magic for Linux (and maybe more)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# from Peter Tobias (tobias@server.et-inf.fho-emden.de)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 leshort 0x02f7 application/x-dvi
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# RTF - Rich Text Format
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string {\\rtf application/rtf
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#------------------------------------------------------------------------------
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# animation: file(1) magic for animation/movie formats
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding0 string \000\000\001\263 video/mpeg
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# The contributor claims:
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# I couldn't find a real magic number for these, however, this
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# -appears- to work. Note that it might catch other files, too,
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# so BE CAREFUL!
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Note that title and author appear in the two 20-byte chunks
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# at decimal offsets 2 and 22, respectively, but they are XOR'ed with
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# 255 (hex FF)! DL format SUCKS BIG ROCKS.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# DL file version 1 , medium format (160x100, 4 images/screen)
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz# Quicktime video, from Linus Walleij <triad@df.lth.se>
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz# from Apple quicktime file format documentation.