Home » Archimedes archive » Acorn User » AU 1997-08 B.adf » Regulars » starinfo/Hayward/!Magic/Magic

starinfo/Hayward/!Magic/Magic

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1997-08 B.adf » Regulars
Filename: starinfo/Hayward/!Magic/Magic
Read OK:
File size: 8620 bytes
Load address: 0000
Exec address: 0000
File contents
#! file

# Magic file for various mainly Risc OS file formats

0	string			Archive\0	ArcFS archive
>24	word			x		\b, format version %i
>16	word			x		\b, read only version %i
>20	word			x		or read/write version %i required

0	string			#VRML
6	string			>\0		VRML %s

0	byte			0x1a		ARC Archive
>1	byte			>127		(Archimedes format)
>1	byte			<127		(DOS format)
>1	byte&0x7f		1		(old style, no compression)
>1	byte&0x7f		2		(new style, no compression)
>1	byte&0x7f		3		(Compression of repeated characters only)
>1	byte&0x7f		4		(Compression of repeated characters and Huffman Squeezing)
>1	byte&0x7f		5		(Old style Lempel-Ziv packing of repeated strings)
>1	byte&0x7f		6		(New style Lempel-Ziv packing of repeated strings)
>1	byte&0x7f		7		(Lempel-Ziv Welch packing with improved hash function)
>1	byte&0x7f		8		(Dynamic Lempel-Ziv packing with adaptive reset)
>1	byte&0x7f		9		(PKARC style squashing)

16	long			0xef000011	AIF format executable
>28	long			>0		, debug type %i
>0	long&0x000fffff		>0		(squeezed)

0	string			#\ Project:\ \ \ 	Makefile produced by !Make
>13	string			>\0		for %s

# I separated the three AOF formats to allow them to be sent to Libfile, DecAOF and DecCF.

0	long			0xc3cbc6c5
12	string			OBJ_HEAD
(20)	long			0xc5e2d080
28	string			OBJ_AREA	Acorn chunk file format (AOF object file)
>(20+4)	long			>0		version %i

0	long			0xc3cbc6c5
12	string			LIB_TIME	Acorn chunk file format (ALF library)

0	long			0xc3cbc6c5	Acorn chunk file format
>28	string			LIB_DATA	(obsolescent library format)

# This next one is probably dodgy and may match other files
# It will only work with template files with at least one window in them
# Detects three reserved wordss plus one entry of type 1 (window)
# The (16) entry checks that the word at offset 16 is a valid offset in to the file
4	long			=0
8	long			=0
12	long			=0
(16)	string			>\0
24	long			=1		Template file

0	string			Draw		Draw file
>4	long			x		(major format version number %i
>8	long			x		, minor number %i)
>12	string			>\0		produced by %12s

# Font file formats (probably also dodgy)
40	long			16
44	long			16
49	byte			x		IntMetrics font data, version %i

# THIS CLASHES WITH OTHER TYPES
#0	byte			>0
#1	byte			4
#2	byte			>0
#3	byte			>0
#4	long			0		x90y45 bit map font file
# ^^^ this last one is a reserved word, so could change in the future

0	string			FONT		Font data
>5	byte			x		, version %i
>>4	byte			0		(outlines)
>>4	byte			>0		(bit maps, %i bpp)

# This ones iffy too
0	string			%\ Acorn_	Font encoding
>8	string			>\0		%s

0	string			Maestro		Maestro file
>8	byte			x		(type %i)

0	string			SQSH		Squashed archive data

0	string			:::\ Area\ #	ArcBBS messages

# Only works if first line not modified
0	string			|\ Desktop\ boot\ file,
21	string			>\0		Desktop boot file %s

0	string			PACK		PackDir'd directory

# Not sure about this one...
0	byte			0x54
2	byte			0x40		BASIC program

0	string			HELP		StrongHelp data

0	string			RESF		Toolbox Resource file
# possible also a good ide to have this first? :
# 4	long			0x00000065

# This one is based on empirical evidence...
0	string			Top!
8	string			TopDraw		Artworks file

# The formats of these are gleaned from ChangeFSI:
# Note: Likely to contain errors.

0	string			MercSoft
|0	string			MERCSOFT
|0	string			mercsoft
|0	string			SnapShot
|0	string			SNAPSHOT
|0	string			Snapshot
|0	string			snapshot	Wild Vision Hawk V9 512x256y 12 bit colour

0	string			FORM
9	string			ILBM		Electronic Art's IFF ILBM picture

0	string			AV_VO		.PIC 8 bit per pixel file

0	string			RIX3		RIX Softworks ColoRIX 8 bit per pixel file

0x10	string			MILLIPEDE	MILLIPEDE PRISMA 768x576y 8 bit colour image

0x41	string			PNTG
|196	string			PNTG		MacPaint files 576x720y 1 bit per pixel

522	long			0x001102ff
526	long			0x0c00fffe	MacPICT2 v2 8 and 24/32 bits per pixel

0	string			FSIfile		Pineapple 16 bit per pixel image

0	string			Irlam		Irlam instruments 24 bit or YUV 411 file

0	string			ALPIAR		Alpiar image file
>0	string			ALPIAR12	[36 bpp]
>0	string			ALPIAR16	[48 bpp]

# Now some standard or platform independant file formats.
# These are taken from the NetBSD magic file.
# Some changes have been made to ensure that they take up only one menu entry where possible
# (This involves using some syntax not used in Unix magic files)
# These changes are indicated.
# Not all of the magic file is included here, much of it isn't very useful under Risc OS and just uses up
# memory.
# -- AH

# MPEG animation format
0	string		\000\000\001\263	MPEG file

# FLI animation format
4	leshort		0xAF11			FLI file
>6	leshort		x			- %d frames,
>8	leshort		x			width=%d pixels,
>10	leshort		x			height=%d pixels,
>12	leshort		x			depth=%d,
>16	leshort		x			ticks/frame=%d

# FLC animation format
4	leshort		0xAF12			FLC file
>6	leshort		x			- %d frames
>8	leshort		x			width=%d pixels,
>10	leshort		x			height=%d pixels,
>12	leshort		x			depth=%d,
>16	leshort		x			ticks/frame=%d

# SGI and Apple formats
0	string		MOVI		Silicon Graphics movie file
4	string		moov		Apple QuickTime movie file (moov)
4	string		mdat		Apple QuickTime movie file (mdat)

# POSIX tar archives
257	string		ustar\0		POSIX tar archive
257	string		ustar\040\040\0	GNU tar archive

# ARJ archiver (jason@jarthur.Claremont.EDU)
0	leshort		0xea60		ARJ archive data
>5	byte		x		\b, v%d,
>8	byte		&0x04		multi-volume,
>8	byte		&0x10		slash-switched,
>8	byte		&0x20		backup,
>34	string		x		original name: %s,
>7	byte		0		os: MS-DOS
>7	byte		1		os: PRIMOS
>7	byte		2		os: Unix
>7	byte		3		os: Amiga
>7	byte		4		os: Macintosh
>7	byte		5		os: OS/2
>7	byte		6		os: Apple ][ GS
>7	byte		7		os: Atari ST
>7	byte		8		os: NeXT
>7	byte		9		os: VAX/VMS
>3	byte		>0		%d]

# HPACK archiver (Peter Gutmann, pgut1@cs.aukuni.ac.nz)
0	string		HPAK		HPACK archive data

# JAM Archive volume format, by Dmitry.Kohmanyuk@UA.net
0	string		\351,\001JAM\		JAM archive,
>7	string		>\0			version %.4s
>0x26	byte		=0x27			-
>>0x2b	string          >\0			label %.11s,
>>0x27	lelong		x			serial %08x,
>>0x36	string		>\0			fstype %.8s

# LHARC/LHA archiver (Greg Roelofs, newt@uchicago.edu)

# Changed from:
# 2	string		-lh0-		LHarc 1.x archive data [lh0]
# 2	string		-lh1-		LHarc 1.x archive data [lh1]
# 2	string		-lz4-		LHarc 1.x archive data [lz4]
# 2	string		-lz5-		LHarc 1.x archive data [lz5]
#To:

2	string		-lh0-
|2	string		-lh1-
|2	string		-lz4-
|2	string		-lz5-		LHarc 1.x archive data [%5s]
# -- AH

#	[never seen any but the last; -lh4- reported in comp.compression:]
# Similarly, changed from:
#2	string		-lzs-		LHa 2.x? archive data [lzs]
#2	string		-lh -		LHa 2.x? archive data [lh ]
#2	string		-lhd-		LHa 2.x? archive data [lhd]
#2	string		-lh2-		LHa 2.x? archive data [lh2]
#2	string		-lh3-		LHa 2.x? archive data [lh3]
#2	string		-lh4-		LHa (2.x) archive data [lh4]
#2	string		-lh5-		LHa (2.x) archive data [lh5]
#>20	byte		x		- header level %d

# To:
2	string		-lzs-
|2	string		-lh\ -
|2	string		-lhd-
|2	string		-lh2-
|2	string		-lh3-
|2	string		-lh4-		LHa (2.x) archive data [%5s]
2	string		-lh5-		LHa (2.x) archive data [lh5]
>20	byte		x		- header level %d
# -- AH

# RAR archiver (Greg Roelofs, newt@uchicago.edu)
0	string		Rar!		RAR archive data

# UC2 archiver (Greg Roelofs, newt@uchicago.edu)
# I can't figure out the self-extracting form of these buggers...
0	string		UC2\x1a		UC2 archive data

# ZIP archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
0	string		PK\003\004	Zip archive data
>4	byte		0x09		\b, at least v0.9 to extract
>4	byte		0x0a		\b, at least v1.0 to extract
>4	byte		0x0b		\b, at least v1.1 to extract
>4	byte		0x14		\b, at least v2.0 to extract

# Zoo archiver
20	lelong		0xfdc4a7dc	Zoo archive data
>4	byte		>48		\b, v%c.
>>6	byte		>47		\b%c
>>>7	byte		>47		\b%c
>32	byte		>0		\b, modify: v%d
>>33	byte		x		\b.%d+
>42	lelong		0xfdc4a7dc	\b,
>>70	byte		>0		extract: v%d
>>>71	byte		x		\b.%d+

# Shell archives
10	string		#\ This\ is\ a\ shell\ archive	shell archive text

#------------------------------------------------------------------------------
# audio:  file(1) magic for sound formats
#
# Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
# and others
#

# Sun/NeXT audio data
0	string		.snd		Sun/NeXT audio data:
>12	belong		1		8-bit ISDN u-law,
>12	belong		2		8-bit linear PCM [REF-PCM],
>12	belong		3		16-bit linear PCM,
>12	belong		4		24-bit linear PCM,
>12	belong		5		32-bit linear PCM,
>12	belong		6		32-bit IEEE floating point,
>12	belong		7		64-bit IEEE floating point,
>12	belong		23		8-bit ISDN u-law compressed (CCITT G.721 ADPCM voice data encoding),
>20	belong		1		mono,
>20	belong		2		stereo,
>20	belong		4		quad,
>16	belong		>0		%d Hz

# that uses little-endian encoding and has a different magic number
0	lelong		0x0064732E	DEC audio data:
>12	lelong		1		8-bit ISDN u-law,
>12	lelong		2		8-bit linear PCM [REF-PCM],
>12	lelong		3		16-bit linear PCM,
>12	lelong		4		24-bit linear PCM,
>12	lelong		5		32-bit linear PCM,
>12	lelong		6		32-bit IEEE floating point,
>12	lelong		7		64-bit IEEE floating point,
>12	lelong		23		8-bit ISDN u-law compressed (CCITT G.721 ADPCM voice data encoding),
>20	lelong		1		mono,
>20	lelong		2		stereo,
>20	lelong		4		quad,
>16	lelong		>0		%d Hz

# Creative Labs AUDIO stuff
0	string	MThd			Standard MIDI data
>9 	byte	>0			(format %d)
>11	byte	>1			using %d channels
0	string	CTMF			Creative Music (CMF) data
0	string	SBI			SoundBlaster instrument data
0	string	Creative\ Voice\ File	Creative Labs voice data
# is this next line right?  it came this way...
>19	byte	0x1A
>23	byte	>0			- version %d
>22	byte	>0			\b.%d

# first entry is also the string "NTRK"
0	belong		0x4e54524b	MultiTrack sound data
>4	belong		x		- version %ld

# Microsoft WAVE format (*.wav)
# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]
0	string		RIFF		Microsoft RIFF
>8	string		WAVE		- WAVE format
>34	short		>0		%d bit
>22	short		=1		Mono
>22	short		=2		Stereo
>22	short		>2		%d Channels
>24	long		>0		%d Hz

# Extended MOD format (*.emd) (Greg Roelofs, newt@uchicago.edu); NOT TESTED
# [based on posting 940824 by "Dirk/Elastik", husberg@lehtori.cc.tut.fi]
0	string		EMOD		Extended MOD sound data,
>4	byte&0xf0	x		version %d
>4	byte&0x0f	x		\b.%d,
>45	byte		x		%d instruments
>83	byte		0		(module)
>83	byte		1		(song)

#------------------------------------------------------------------------------
# c-lang:  file(1) magic for C programs (or REXX)
#

# XPM icons (Greg Roelofs, newt@uchicago.edu)
# if you uncomment "/*" for C/REXX below, also uncomment this entry
0	string		/*\ XPM\ */	X pixmap image data

# this first will upset you if you're a PL/1 shop...
# in which case rm it; ascmagic will catch real C programs

# Note: No ascmagic in !Magic - AH

0	string		/*		C or REXX program text
0	string		//		C++ program text

#------------------------------------------------------------------------------
# compress:  file(1) magic for pure-compression formats (no archives)
#
# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
#
# Formats for various forms of compressed data
# Formats for "compress" proper have been moved into "compress.c",
# because it tries to uncompress it to figure out what's inside.

# standard unix compress
0	string		\037\235	Unix compress'd data
>2	byte&0x80	>0		block compressed
>2	byte&0x1f	x		%d bits

# gzip (GNU zip, not to be confused with Info-ZIP or PKWARE zip archiver)

# Note: The Risc OS port gives the OS type as Unix - AH
0	byte		0x1f
1	byte		0x8b		Gzip compressed file
>2      byte            <8              \b, reserved method,
>2      byte            8               \b, deflated,
>3	byte		&0x01		ASCII,
>3	byte		&0x02		continuation,
>3	byte		&0x04		extra field,
>3	byte		&0x08		original filename,
>3	byte		&0x10		comment,
>3	byte		&0x20		encrypted,
>4	ledate		x		last modified: %s,
>8	byte		2		max compression,
>8	byte		4		max speed,
>9	byte		=0x00		os: MS-DOS
>9	byte		=0x01		os: Amiga
>9	byte		=0x02		os: VMS
>9	byte		=0x03		os: Unix
>9	byte		=0x05		os: Atari
>9	byte		=0x06		os: OS/2
>9	byte		=0x07		os: MacOS
>9	byte		=0x0A		os: Tops/20
>9	byte		=0x0B		os: Win/32

# packed data, Huffman (minimum redundancy) codes on a byte-by-byte basis
0	string		\037\036	packed data
>2	belong		>1		\b, %d characters originally
>2	belong		=1		\b, %d character originally
#
# This magic number is byte-order-independent.  XXX - Does that mean this
# is big-endian, little-endian, either, or that you can't tell?
# this short is valid for SunOS
0	short		017437		old packed data

# XXX - why *two* entries for "compacted data", one of which is
# byte-order independent, and one of which is byte-order dependent?
#
0	short		0x1fff		compacted data
# This string is valid for SunOS (BE) and a matching "short" is listed
# in the Ultrix (LE) magic file.
0	string		\377\037	compacted data
0	short		0145405		huf output

# Squeeze and Crunch...
# These numbers were gleaned from the Unix versions of the programs to
# handle these formats.  Note that I can only uncrunch, not crunch, and
# I didn't have a crunched file handy, so the crunch number is untested.
#				Keith Waclena <keith@cerberus.uchicago.edu>
0	leshort		0x76FF		squeezed data (CP/M, DOS)
0	leshort		0x76FE		crunched data (CP/M, DOS)

# Freeze
0	string		\037\237	frozen file 2.1
0	string		\037\236	frozen file 1.0 (or gzip 0.5)

# SCO compress -H (LZH)
0	string		\037\240	SCO compress -H (LZH) data

# PostScript fonts (must precede "printer" entries), quinlan@yggdrasil.com
0	string		%!PS-AdobeFont-1.0	PostScript Type 1 font text
>20	string		>\0			(%s)
6	string		%!PS-AdobeFont-1.0	PostScript Type 1 font program data
#------------------------------------------------------------------------------
# frame:  file(1) magic for FrameMaker files
#
# This stuff came on a FrameMaker demo tape, most of which is
# copyright, but this file is "published" as witness the following:
#
0	string		\<MakerFile	FrameMaker document
>11	string		4.0		 (4.0
>11	string		3.0		 (3.0
>11	string		2.0		 (2.0
>11	string		1.0		 (1.0
>14	byte		x		  %c)
0	string		\<MIFFile	FrameMaker MIF (ASCII) file
>9	string		4.0		 (4.0)
>9	string		3.0		 (3.0)
>9	string		2.0		 (2.0)
>9	string		1.0		 (1.x)
0	string		\<MakerDictionary	FrameMaker Dictionary text
>17	string		3.0		 (3.0)
>17	string		2.0		 (2.0)
>17	string		1.0		 (1.x)
0	string		\<MakerScreenFont	FrameMaker Font file
>17	string		1.01		 (%s)
0	string		\<MML		FrameMaker MML file
0	string		\<BookFile	FrameMaker Book file
>10	string		3.0		 (3.0
>10	string		2.0		 (2.0
>10	string		1.0		 (1.0
>13	byte		x		  %c)
# XXX - this book entry should be verified, if you find one, uncomment this
#0	string		\<Book\ 	FrameMaker Book (ASCII) file
#>6	string		3.0		 (3.0)
#>6	string		2.0		 (2.0)
#>6	string		1.0		 (1.0)
0	string		\<Maker	Intermediate Print File	FrameMaker IPL file

#------------------------------------------------------------------------------
# images:  file(1) magic for image formats (see also "iff")
#
# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),
# additions by janl@ifi.uio.no as well as others. Jan also suggested
# merging several one- and two-line files into here.
#
# little magic: PCX (first byte is 0x0a)
# no magic: Targa

# PBMPLUS images
# The next byte following the magic is always whitespace.

# Chnged from:
#0	string		P1		PBM image text
#0	string		P2		PGM image text
#0	string		P3		PPM image text
#0	string		P4		PBM "rawbits" image data
#0	string		P5		PGM "rawbits" image data
#0	string		P6		PPM "rawbits" image data
# To:
0	string		P1
|0	string		P2
|0	string		P3		PPM/PGM/PBM image text
>1	string		1		[PBM]
>1	string		2		[PGM]
>1	string		3		[PPM]
0	string		P4
|0	string		P5
|0	string		P6		PPM/PBM/PGM "rawbits" image data
>1	string		4		[PBM]
>1	string		5		[PGM]
>1	string		6		[PPM]

# NIFF (Navy Interchange File Format, a modification of TIFF) images
0	string		IIN1		NIFF image data

# Tag Image File Format, from Daniel Quinlan (quinlan@yggdrasil.com)
# The second word of TIFF files is the TIFF version number, 42, which has
# never changed.  The TIFF specification recommends testing for it.
0	string		MM\x00\x2a	TIFF image data, big-endian
0	string		II\x2a\x00	TIFF image data, little-endian

# PNG [Portable Network Graphics, or "PNG's Not GIF"] images
# (Greg Roelofs, newt@uchicago.edu)
#
# 137 P N G \r \n ^Z \n [4-byte length] H E A D [HEAD data] [HEAD crc] ...
#
0	string		\x89PNG		PNG image data,
>4	belong		!0x0d0a1a0a	CORRUPTED,
>16	belong		x		%ld x
>20	belong		x		%ld,
>24	byte		x		%d-bit
>25	byte		0		grayscale,
>25	byte		2		\b/color RGB,
>25	byte		3		colormap,
>25	byte		4		gray+alpha,
>25	byte		6		\b/color RGBA,
#>26	byte		0		deflate/32K,
>28	byte		0		non-interlaced
>28	byte		1		interlaced

# GIF
0	string		GIF8		GIF image data
>4	string		7a		\b, version 8%s,
>4	string		9a		\b, version 8%s,
>6	leshort		>0		%hd x
>8	leshort		>0		%hd,
#>10	byte		&0x80		color mapped,
>10	byte&0x07	=0x00		2 colors
>10	byte&0x07	=0x01		4 colors
>10	byte&0x07	=0x02		8 colors
>10	byte&0x07	=0x03		16 colors
>10	byte&0x07	=0x04		32 colors
>10	byte&0x07	=0x05		64 colors
>10	byte&0x07	=0x06		128 colors
>10	byte&0x07	=0x07		256 colors

# ITC (CMU WM) raster files.  It is essentially a byte-reversed Sun raster,
# 1 plane, no encoding.
0	string		\361\0\100\273	CMU window manager raster image data
>4	lelong		>0		%d x
>8	lelong		>0		%d,
>12	lelong		>0		%d-bit

# Magick Image File Format
0	string		id=ImageMagick	MIFF image data

# Artisan
0	long		1123028772	Artisan image data
>4	long		1		\b, rectangular 24-bit
>4	long		2		\b, rectangular 8-bit with colormap
>4	long		3		\b, rectangular 32-bit (24-bit with matte)

# FIG (Facility for Interactive Generation of figures), an object-based format
0	string		#FIG		FIG image text
>5	string		x		\b, version %.3s

# PHIGS
0	string		ARF_BEGARF		PHIGS clear text archive
0	string		@(#)SunPHIGS		SunPHIGS
# version number follows, in the form m.n
>40	string		SunBin			binary
>32	string		archive			archive

# CGM image files
0	string		BEGMF		clear text Computer Graphics Metafile
# XXX - questionable magic
0	beshort&0xffe0	0x0020		binary Computer Graphics Metafile
0	beshort		0x3020		character Computer Graphics Metafile

# Fuzzy Bitmap (FBM) images
0	string		%bitmap\0	FBM image data
>30	long		0x31		\b, mono
>30	long		0x33		\b, color

# facsimile data
1	string		PC\ Research,\ Inc	group 3 fax data
>29	byte		0		\b, normal resolution (204x98 DPI)
>29	byte		1		\b, fine resolution (204x196 DPI)

# JPEG images
0	beshort		0xffd8		JPEG image data
>6	string		JFIF		\b, JFIF standard
# HSI is Handmade Software's proprietary JPEG encoding scheme
0	string		hsi1		JPEG image data, HSI proprietary

# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)
0	string		BM		PC bitmap data
>14	leshort		12		\b, OS/2 1.x format
>>18	leshort		x		\b, %d x
>>20	leshort		x		%d
>14	leshort		64		\b, OS/2 2.x format
>>18	leshort		x		\b, %d x
>>20	leshort		x		%d
>14	leshort		40		\b, Windows 3.x format
>>18	lelong		x		\b, %d x
>>22	lelong		x		%d x
>>28	leshort		x		%d
0	string		IC		PC icon data
0	string		PI		PC pointer image data
0	string		CI		PC color icon data
0	string		CP		PC color pointer image data
# Conflicts with other entries [BABYL]
#0	string		BA		PC bitmap array data

# XPM icons (Greg Roelofs, newt@uchicago.edu)
# note possible collision with C/REXX entry in c-lang; currently commented out
0	string		/*\ XPM\ */	X pixmap image text

# Utah Raster Toolkit RLE images (janl@ifi.uio.no)
0	leshort		0xcc52		RLE image data,
>6	leshort		x		%d x
>8	leshort		x		%d
>2	leshort		>0		\b, lower left corner: %d
>4	leshort		>0		\b, lower right corner: %d
>10	byte&0x1	=0x1		\b, clear first
>10	byte&0x2	=0x2		\b, no background
>10	byte&0x4	=0x4		\b, alpha channel
>10	byte&0x8	=0x8		\b, comment
>11	byte		>0		\b, %d color channels
>12	byte		>0		\b, %d bits per pixel
>13	byte		>0		\b, %d color map channels

# image file format (Robert Potter, potter@cs.rochester.edu)
0	string		Imagefile\ version-	iff image data
# this adds the whole header (inc. version number), informative but longish
>10	string		>\0		%s

# Sun raster images, from Daniel Quinlan (quinlan@yggdrasil.com)
0	belong		0x59a66a95	Sun raster image data
>4	belong		>0		\b, %d x
>8	belong		>0		%d,
>12	belong		>0		%d-bit,
#>16	belong		>0		%d bytes long,
>20	belong		0		old format,
#>20	belong		1		standard,
>20	belong		2		compressed,
>20	belong		3		RGB,
>20	belong		4		TIFF,
>20	belong		5		IFF,
>20	belong		0xffff		reserved for testing,
>24	belong		0		no colormap
>24	belong		1		RGB colormap
>24	belong		2		raw colormap
#>28	belong		>0		colormap is %d bytes long

# SGI image file format, from Daniel Quinlan (quinlan@yggdrasil.com)
# file://sgi.com/graphics/SGIIMAGESPEC
0	beshort		474		SGI image data
#>2	byte		0		\b, verbatim
>2	byte		1		\b, RLE
#>3	byte		1		\b, normal precision
>3	byte		2		\b, high precision
>4	beshort		x		\b, %d-D
>6	beshort		x		\b, %d x
>8	beshort		x		%d
>10	beshort		x		\b, %d channel
>10	beshort		!1		\bs
>80	string		>0		\b, "%s"

# Following two lines merged to one entry
0	string		IT01
|0	string		IT02		FIT image data
>4	belong		x		\b, %d x
>8	belong		x		%d x
>12	belong		x		%d
#
2048	string		PCD_IPI		Kodak Photo CD image pack file
0	string		PCD_OPA		Kodak Photo CD overview pack file

# FITS format.  Jeff Uphoff <juphoff@tarsier.cv.nrao.edu>
# FITS is the Flexible Image Transport System, the de facto standard for
# data and image transfer, storage, etc., for the astronomical community.
# (FITS floating point formats are big-endian.)
0	string	SIMPLE\ \ =	FITS image data
>109	string	8		\b, 8-bit, character or unsigned binary integer
>108	string	16		\b, 16-bit, two's complement binary integer
>107	string	\ 32		\b, 32-bit, two's complement binary integer
>107	string	-32		\b, 32-bit, floating point, single precision
>107	string	-64		\b, 64-bit, floating point, double precision

# other images
0	string	This\ is\ a\ BitMap\ file	Lisp Machine bit-array-file
0	string		!!		Bennet Yee's "face" format

#------------------------------------------------------------------------------
# ispell:  file(1) magic for ispell
#
# Ispell 3.0 has a magic of 0x9601 and ispell 3.1 has 0x9602.  This magic
# will match 0x9600 through 0x9603 in *both* little endian and big endian.
# (No other current magic entries collide.)
#
# Updated by Daniel Quinlan (quinlan@yggdrasil.com)
#
0	leshort&0xFFFC	0x9600		little endian ispell
>0	byte		0		hash file (?),
>0	byte		1		3.0 hash file,
>0	byte		2		3.1 hash file,
>0	byte		3		hash file (?),
>2	leshort		0x00		8-bit, no capitalization, 26 flags
>2	leshort		0x01		7-bit, no capitalization, 26 flags
>2	leshort		0x02		8-bit, capitalization, 26 flags
>2	leshort		0x03		7-bit, capitalization, 26 flags
>2	leshort		0x04		8-bit, no capitalization, 52 flags
>2	leshort		0x05		7-bit, no capitalization, 52 flags
>2	leshort		0x06		8-bit, capitalization, 52 flags
>2	leshort		0x07		7-bit, capitalization, 52 flags
>2	leshort		0x08		8-bit, no capitalization, 128 flags
>2	leshort		0x09		7-bit, no capitalization, 128 flags
>2	leshort		0x0A		8-bit, capitalization, 128 flags
>2	leshort		0x0B		7-bit, capitalization, 128 flags
>2	leshort		0x0C		8-bit, no capitalization, 256 flags
>2	leshort		0x0D		7-bit, no capitalization, 256 flags
>2	leshort		0x0E		8-bit, capitalization, 256 flags
>2	leshort		0x0F		7-bit, capitalization, 256 flags
>4	leshort		>0		and %d string characters
0	beshort&0xFFFC	0x9600		big endian ispell
>1	byte		0		hash file (?),
>1	byte		1		3.0 hash file,
>1	byte		2		3.1 hash file,
>1	byte		3		hash file (?),
>2	beshort		0x00		8-bit, no capitalization, 26 flags
>2	beshort		0x01		7-bit, no capitalization, 26 flags
>2	beshort		0x02		8-bit, capitalization, 26 flags
>2	beshort		0x03		7-bit, capitalization, 26 flags
>2	beshort		0x04		8-bit, no capitalization, 52 flags
>2	beshort		0x05		7-bit, no capitalization, 52 flags
>2	beshort		0x06		8-bit, capitalization, 52 flags
>2	beshort		0x07		7-bit, capitalization, 52 flags
>2	beshort		0x08		8-bit, no capitalization, 128 flags
>2	beshort		0x09		7-bit, no capitalization, 128 flags
>2	beshort		0x0A		8-bit, capitalization, 128 flags
>2	beshort		0x0B		7-bit, capitalization, 128 flags
>2	beshort		0x0C		8-bit, no capitalization, 256 flags
>2	beshort		0x0D		7-bit, no capitalization, 256 flags
>2	beshort		0x0E		8-bit, capitalization, 256 flags
>2	beshort		0x0F		7-bit, capitalization, 256 flags
>4	beshort		>0		and %d string characters

#------------------------------------------------------------------------------
# lex:  file(1) magic for lex
#
#	derived empirically, your offsets may vary!
53	string		yyprevious	C program text (from lex)
>3	string		>\0		 for %s
# C program text from GNU flex, from Daniel Quinlan <quinlan@yggdrasil.com>
21	string		generated\ by\ flex	C program text (from flex)
# lex description file, from Daniel Quinlan <quinlan@yggdrasil.com>
0	string		%{		lex description text

#------------------------------------------------------------------------------
# magic:  file(1) magic for magic files
#
0	string		#!\ file
|0	string		#\ Magic	magic text file for file(1) cmd

#------------------------------------------------------------------------------
# mail.news:  file(1) magic for mail and news
#
# Unfortunately, saved netnews also has From line added in some news software.
#0	string		From 		mail text
# There are tests to ascmagic.c to cope with mail and news.
0	string		Relay-Version: 	old news text
0	string		#!\ rnews	batched news text
0	string		N#!\ rnews	mailed, batched news text
0	string		Forward\ to 	mail forwarding text
0	string		Pipe\ to 	mail piping text
0	string		Return-Path:	smtp mail text
0	string		Path:
|0	string		Xref:		news text
0	string		From:		news or mail text
0	string		Article 	saved news text
0	string		BABYL		Emacs RMAIL text

#------------------------------------------------------------------------------
# msdos:  file(1) magic for MS-DOS files
#

# .BAT files (Daniel Quinlan, quinlan@yggdrasil.com)
0	string	@echo\ off	MS-DOS batch file text

# .EXE formats (Greg Roelofs, newt@uchicago.edu)
#
0	string	MZ		MS-DOS executable (EXE)
>24	string	@		\b, OS/2 or Windows
>1638	string	-lh5-		\b, LHa SFX archive v2.13S
>7195	string	Rar!		\b, RAR self-extracting archive
#
# [GRR 950118:  file 3.15 has a buffer-size limitation; offsets bigger than
#   8161 bytes are ignored.  To make the following entries work, increase
#   HOWMANY in file.h to 32K at least, and maybe to 70K or more for OS/2,
#   NT/Win32 and VMS.]
# [GRR:  some company sells a self-extractor/displayer for image data(!)]
#
>11696	string	PK\003\004	\b, PKZIP SFX archive v1.1
>13297	string	PK\003\004	\b, PKZIP SFX archive v1.93a
>15588	string	PK\003\004	\b, PKZIP2 SFX archive v1.09
>15770	string	PK\003\004	\b, PKZIP SFX archive v2.04g
>28374	string	PK\003\004	\b, PKZIP2 SFX archive v1.02
#
# Info-ZIP self-extractors
#    these are the DOS versions:
>25115	string	PK\003\004	\b, Info-ZIP SFX archive v5.12
>26331	string	PK\003\004	\b, Info-ZIP SFX archive v5.12 w/decryption
#    these are the OS/2 versions (OS/2 is flagged above):
>47031	string	PK\003\004	\b, Info-ZIP SFX archive v5.12
>49845	string	PK\003\004	\b, Info-ZIP SFX archive v5.12 w/decryption
#    this is the NT/Win32 version:
>69120	string	PK\003\004	\b, Info-ZIP NT SFX archive v5.12 w/decryption
#
# TELVOX Teleinformatica CODEC self-extractor for OS/2:
>49801	string	\x79\xff\x80\xff\x76\xff	\b, CODEC archive v3.21
>>49824	leshort		=1			\b, 1 file
>>49824	leshort		>1			\b, %u files

# .COM formats (Daniel Quinlan, quinlan@yggdrasil.com)
# Uncommenting only the first two lines will cover about 2/3 of COM files,
# but it isn't feasible to match all COM files since there must be at least
# two dozen different one-byte "magics".

#Two lines merged -- AH
0	byte		0xe9
|0	byte		0x8c		MS-DOS executable (COM)
# 0xeb conflicts with "sequent" magic
#0	byte		0xeb		MS-DOS executable (COM)
#0	byte		0xb8		MS-DOS executable (COM)

# miscellaneous formats
0	string		LZ		MS-DOS executable (built-in)
#0	byte		0xf0		MS-DOS program library data
#

# Popular applications
2080	string	Microsoft\ Word\ 6.0\ Document	Microsoft Word 6.0 Document
#
0	belong	0x31be0000	Microsoft Word Document
#
2080	string	Microsoft\ Excel\ 5.0\ Worksheet	Microsoft Excel 5.0 Worksheet
#
0	belong	0x00001a00	Lotus 1-2-3
>4	belong	0x00100400	wk3 document
>4	belong	0x02100400	wk4 document
>4	belong	0x07800100	fm3 or fmb document
>4	belong	0x07800000	fm3 or fmb document
#
0	belong	0x00000200 	Lotus 1-2-3
>4	belong	0x06040600	wk1 document
>4	belong	0x06800200	fmt document

#------------------------------------------------------------------------------
# pbm:  file(1) magic for Portable Bitmap files
#
# XXX - byte order?
#
0	short	0x2a17	"compact bitmap" format (Poskanzer)

#------------------------------------------------------------------------------
# pdf:  file(1) magic for Portable Document Format
#

0	string		%PDF-		PDF document
>5	string		x		\b, version %.3s

#------------------------------------------------------------------------------
# pgp:  file(1) magic for Pretty Good Privacy
#
0	beshort		0x9900			PGP key public ring
0       beshort         0x9501
|0	beshort		0x9500			PGP key security ring
0       string          -----BEGIN\040PGP       PGP armored data
>15     string          PUBLIC\040KEY\040BLOCK- public key block
>15     string          MESSAGE-                message
>15     string          SIGNED\040MESSAGE-      signed message
>15     string          PGP\040SIGNATURE-       signature

#------------------------------------------------------------------------------
# printer:  file(1) magic for printer-formatted files
#

# PostScript, updated by Daniel Quinlan (quinlan@yggdrasil.com)
0	string		%!		PostScript document text
>2	string		PS-Adobe-	conforming
>>11	string		>\0		at level %.3s
>>>15	string		EPS		- type %s
>>>15	string		Query		- type %s
>>>15	string		ExitServer	- type %s
# Some PCs have the annoying habit of adding a ^D as a document separator
0	string		\004%!		PostScript document text
>3	string		PS-Adobe-	conforming
>>12	string		>\0		at level %.3s
>>>16	string		EPS		- type %s
>>>16	string		Query		- type %s
>>>16	string		ExitServer	- type %s

#------------------------------------------------------------------------------
# rtf:	file(1) magic for Rich Text Format (RTF)
#
# Duncan P. Simpson, D.P.Simpson@dcs.warwick.ac.uk
#
0	string		{\\rtf		Rich Text Format data,
>5	byte		x		version %c,
>6	string		\\ansi		ANSI
>6	string		\\mac		Apple Macintosh
>6	string		\\pc		IBM PC, code page 437
>6	string		\\pca		IBM PS/2, code page 850

#------------------------------------------------------------------------------
# sgml:  file(1) magic for Standard Generalized Markup Language

# HyperText Markup Language (HTML) is an SGML document type,
# from Daniel Quinlan (quinlan@yggdrasil.com)

# Each of these had HTML document at the end, these entries were merged - AH

0	string		\<!DOCTYPE\ HTML
|0	string		\<!doctype\ html
|0	string		\<HEAD
|0	string		\<head
|0	string		\<TITLE
|0	string		\<title
|0	string		\<html
|0	string		\<HTML		HTML document

# SGML, mostly from rph@sq
0	string		\<!DOCTYPE
|0	string		\<!--
|0	string		\<!doctype	SGML document
0	string		\<!SUBDOC
|0	string		\<!subdoc	SGML subdocument

#------------------------------------------------------------------------------
# tex:  file(1) magic for TeX files
#
# From <conklin@talisman.kaleida.com>

# Although we may know the offset of certain text fields in TeX DVI
# and font files, we can't use them reliably because they are not
# zero terminated. [but we do anyway, christos]
0	string		\367\002	TeX DVI file
>16	string		>\0		(%s)
0	string		\367\203	TeX generic font data
0	string		\367\131	TeX packed font data
>3	string		>\0		(%s)
0	string		\367\312	TeX virtual font data
0	string		This\ is\ TeX,	TeX transcript text
0	string		This\ is\ METAFONT,	METAFONT transcript text

# There is no way to detect TeX Font Metric (*.tfm) files without
# breaking them apart and reading the data.  The following patterns
# match most *.tfm files generated by METAFONT or afm2tfm.
2	string		\000\021
|2	string		\000\022	TeX font metric data
>33	string		>\0		(%s)

# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)
0	string		\\input\ texinfo	Texinfo source text
0	string		This\ is\ Info\ file	GNU Info text

# TeX documents, from Daniel Quinlan (quinlan@yggdrasil.com)
0	string		\\input		TeX document text
0	string		\\section
|0	string		\\setlength
|0	string		\\documentstyle
|0	string		\\chapter	LaTeX document text

#------------------------------------------------------------------------------
# troff:  file(1) magic for *roff
#
# updated by Daniel Quinlan (quinlan@yggdrasil.com)

# troff input
# Merged (all had 'troff or preprocessor input text' after them) - AH
0	string		.\\"
|0	string		'\\"
|0	string		'.\\"
|0	string		\\"		troff or preprocessor input text

# ditroff intermediate output text
0	string		x\ T		ditroff text
>4	string		cat		for the C/A/T phototypesetter
>4	string		ps		for PostScript
>4	string		dvi		for DVI
>4	string		ascii		for ASCII
>4	string		lj4		for LaserJet 4
>4	string		latin1		for ISO 8859-1 (Latin 1)
>4	string		X75		for xditview at 75dpi
>>7	string		-12		(12pt)
>4	string		X100		for xditview at 100dpi
>>8	string		-12		(12pt)

#------------------------------------------------------------------------------
# uuencode:  file(1) magic for ASCII-encoded files
#

# GRR:  the first line of xxencoded files is identical to that in uuencoded
# files, but the first character in most subsequent lines is 'h' instead of
# 'M'.  (xxencoding uses lowercase letters in place of most of uuencode's
# punctuation and survives BITNET gateways better.)  If regular expressions
# were supported, this entry could possibly be split into two with
# "begin\040\.\*\012M" or "begin\040\.\*\012h" (where \. and \* are REs).
0	string		begin\040	uuencoded or xxencoded text

# btoa(1) is an alternative to uuencode that requires less space.
0	string		xbtoa\ Begin	btoa'd text

# ship(1) is another, much cooler alternative to uuencode.
# Greg Roelofs, newt@uchicago.edu
0	string		$\012ship	ship'd binary text

# bencode(8) is used to encode compressed news batches (Bnews/Cnews only?)
# Greg Roelofs, newt@uchicago.edu
0	string	Decode\ the\ following\ with\ bdeco	bencoded News text

# BinHex is the Macintosh ASCII-encoded file format (see also "apple")
# Daniel Quinlan, quinlan@yggdrasil.com
11	string	must\ be\ converted\ with\ BinHex	BinHex binary text
>41	string	x					\b, version %.3s
00000000  23 21 20 66 69 6c 65 0a  0a 23 20 4d 61 67 69 63  |#! file..# Magic|
00000010  20 66 69 6c 65 20 66 6f  72 20 76 61 72 69 6f 75  | file for variou|
00000020  73 20 6d 61 69 6e 6c 79  20 52 69 73 63 20 4f 53  |s mainly Risc OS|
00000030  20 66 69 6c 65 20 66 6f  72 6d 61 74 73 0a 0a 30  | file formats..0|
00000040  09 73 74 72 69 6e 67 09  09 09 41 72 63 68 69 76  |.string...Archiv|
00000050  65 5c 30 09 41 72 63 46  53 20 61 72 63 68 69 76  |e\0.ArcFS archiv|
00000060  65 0a 3e 32 34 09 77 6f  72 64 09 09 09 78 09 09  |e.>24.word...x..|
00000070  5c 62 2c 20 66 6f 72 6d  61 74 20 76 65 72 73 69  |\b, format versi|
00000080  6f 6e 20 25 69 0a 3e 31  36 09 77 6f 72 64 09 09  |on %i.>16.word..|
00000090  09 78 09 09 5c 62 2c 20  72 65 61 64 20 6f 6e 6c  |.x..\b, read onl|
000000a0  79 20 76 65 72 73 69 6f  6e 20 25 69 0a 3e 32 30  |y version %i.>20|
000000b0  09 77 6f 72 64 09 09 09  78 09 09 6f 72 20 72 65  |.word...x..or re|
000000c0  61 64 2f 77 72 69 74 65  20 76 65 72 73 69 6f 6e  |ad/write version|
000000d0  20 25 69 20 72 65 71 75  69 72 65 64 0a 0a 30 09  | %i required..0.|
000000e0  73 74 72 69 6e 67 09 09  09 23 56 52 4d 4c 0a 36  |string...#VRML.6|
000000f0  09 73 74 72 69 6e 67 09  09 09 3e 5c 30 09 09 56  |.string...>\0..V|
00000100  52 4d 4c 20 25 73 0a 0a  30 09 62 79 74 65 09 09  |RML %s..0.byte..|
00000110  09 30 78 31 61 09 09 41  52 43 20 41 72 63 68 69  |.0x1a..ARC Archi|
00000120  76 65 0a 3e 31 09 62 79  74 65 09 09 09 3e 31 32  |ve.>1.byte...>12|
00000130  37 09 09 28 41 72 63 68  69 6d 65 64 65 73 20 66  |7..(Archimedes f|
00000140  6f 72 6d 61 74 29 0a 3e  31 09 62 79 74 65 09 09  |ormat).>1.byte..|
00000150  09 3c 31 32 37 09 09 28  44 4f 53 20 66 6f 72 6d  |.<127..(DOS form|
00000160  61 74 29 0a 3e 31 09 62  79 74 65 26 30 78 37 66  |at).>1.byte&0x7f|
00000170  09 09 31 09 09 28 6f 6c  64 20 73 74 79 6c 65 2c  |..1..(old style,|
00000180  20 6e 6f 20 63 6f 6d 70  72 65 73 73 69 6f 6e 29  | no compression)|
00000190  0a 3e 31 09 62 79 74 65  26 30 78 37 66 09 09 32  |.>1.byte&0x7f..2|
000001a0  09 09 28 6e 65 77 20 73  74 79 6c 65 2c 20 6e 6f  |..(new style, no|
000001b0  20 63 6f 6d 70 72 65 73  73 69 6f 6e 29 0a 3e 31  | compression).>1|
000001c0  09 62 79 74 65 26 30 78  37 66 09 09 33 09 09 28  |.byte&0x7f..3..(|
000001d0  43 6f 6d 70 72 65 73 73  69 6f 6e 20 6f 66 20 72  |Compression of r|
000001e0  65 70 65 61 74 65 64 20  63 68 61 72 61 63 74 65  |epeated characte|
000001f0  72 73 20 6f 6e 6c 79 29  0a 3e 31 09 62 79 74 65  |rs only).>1.byte|
00000200  26 30 78 37 66 09 09 34  09 09 28 43 6f 6d 70 72  |&0x7f..4..(Compr|
00000210  65 73 73 69 6f 6e 20 6f  66 20 72 65 70 65 61 74  |ession of repeat|
00000220  65 64 20 63 68 61 72 61  63 74 65 72 73 20 61 6e  |ed characters an|
00000230  64 20 48 75 66 66 6d 61  6e 20 53 71 75 65 65 7a  |d Huffman Squeez|
00000240  69 6e 67 29 0a 3e 31 09  62 79 74 65 26 30 78 37  |ing).>1.byte&0x7|
00000250  66 09 09 35 09 09 28 4f  6c 64 20 73 74 79 6c 65  |f..5..(Old style|
00000260  20 4c 65 6d 70 65 6c 2d  5a 69 76 20 70 61 63 6b  | Lempel-Ziv pack|
00000270  69 6e 67 20 6f 66 20 72  65 70 65 61 74 65 64 20  |ing of repeated |
00000280  73 74 72 69 6e 67 73 29  0a 3e 31 09 62 79 74 65  |strings).>1.byte|
00000290  26 30 78 37 66 09 09 36  09 09 28 4e 65 77 20 73  |&0x7f..6..(New s|
000002a0  74 79 6c 65 20 4c 65 6d  70 65 6c 2d 5a 69 76 20  |tyle Lempel-Ziv |
000002b0  70 61 63 6b 69 6e 67 20  6f 66 20 72 65 70 65 61  |packing of repea|
000002c0  74 65 64 20 73 74 72 69  6e 67 73 29 0a 3e 31 09  |ted strings).>1.|
000002d0  62 79 74 65 26 30 78 37  66 09 09 37 09 09 28 4c  |byte&0x7f..7..(L|
000002e0  65 6d 70 65 6c 2d 5a 69  76 20 57 65 6c 63 68 20  |empel-Ziv Welch |
000002f0  70 61 63 6b 69 6e 67 20  77 69 74 68 20 69 6d 70  |packing with imp|
00000300  72 6f 76 65 64 20 68 61  73 68 20 66 75 6e 63 74  |roved hash funct|
00000310  69 6f 6e 29 0a 3e 31 09  62 79 74 65 26 30 78 37  |ion).>1.byte&0x7|
00000320  66 09 09 38 09 09 28 44  79 6e 61 6d 69 63 20 4c  |f..8..(Dynamic L|
00000330  65 6d 70 65 6c 2d 5a 69  76 20 70 61 63 6b 69 6e  |empel-Ziv packin|
00000340  67 20 77 69 74 68 20 61  64 61 70 74 69 76 65 20  |g with adaptive |
00000350  72 65 73 65 74 29 0a 3e  31 09 62 79 74 65 26 30  |reset).>1.byte&0|
00000360  78 37 66 09 09 39 09 09  28 50 4b 41 52 43 20 73  |x7f..9..(PKARC s|
00000370  74 79 6c 65 20 73 71 75  61 73 68 69 6e 67 29 0a  |tyle squashing).|
00000380  0a 31 36 09 6c 6f 6e 67  09 09 09 30 78 65 66 30  |.16.long...0xef0|
00000390  30 30 30 31 31 09 41 49  46 20 66 6f 72 6d 61 74  |00011.AIF format|
000003a0  20 65 78 65 63 75 74 61  62 6c 65 0a 3e 32 38 09  | executable.>28.|
000003b0  6c 6f 6e 67 09 09 09 3e  30 09 09 2c 20 64 65 62  |long...>0.., deb|
000003c0  75 67 20 74 79 70 65 20  25 69 0a 3e 30 09 6c 6f  |ug type %i.>0.lo|
000003d0  6e 67 26 30 78 30 30 30  66 66 66 66 66 09 09 3e  |ng&0x000fffff..>|
000003e0  30 09 09 28 73 71 75 65  65 7a 65 64 29 0a 0a 30  |0..(squeezed)..0|
000003f0  09 73 74 72 69 6e 67 09  09 09 23 5c 20 50 72 6f  |.string...#\ Pro|
00000400  6a 65 63 74 3a 5c 20 5c  20 5c 20 09 4d 61 6b 65  |ject:\ \ \ .Make|
00000410  66 69 6c 65 20 70 72 6f  64 75 63 65 64 20 62 79  |file produced by|
00000420  20 21 4d 61 6b 65 0a 3e  31 33 09 73 74 72 69 6e  | !Make.>13.strin|
00000430  67 09 09 09 3e 5c 30 09  09 66 6f 72 20 25 73 0a  |g...>\0..for %s.|
00000440  0a 23 20 49 20 73 65 70  61 72 61 74 65 64 20 74  |.# I separated t|
00000450  68 65 20 74 68 72 65 65  20 41 4f 46 20 66 6f 72  |he three AOF for|
00000460  6d 61 74 73 20 74 6f 20  61 6c 6c 6f 77 20 74 68  |mats to allow th|
00000470  65 6d 20 74 6f 20 62 65  20 73 65 6e 74 20 74 6f  |em to be sent to|
00000480  20 4c 69 62 66 69 6c 65  2c 20 44 65 63 41 4f 46  | Libfile, DecAOF|
00000490  20 61 6e 64 20 44 65 63  43 46 2e 0a 0a 30 09 6c  | and DecCF...0.l|
000004a0  6f 6e 67 09 09 09 30 78  63 33 63 62 63 36 63 35  |ong...0xc3cbc6c5|
000004b0  0a 31 32 09 73 74 72 69  6e 67 09 09 09 4f 42 4a  |.12.string...OBJ|
000004c0  5f 48 45 41 44 0a 28 32  30 29 09 6c 6f 6e 67 09  |_HEAD.(20).long.|
000004d0  09 09 30 78 63 35 65 32  64 30 38 30 0a 32 38 09  |..0xc5e2d080.28.|
000004e0  73 74 72 69 6e 67 09 09  09 4f 42 4a 5f 41 52 45  |string...OBJ_ARE|
000004f0  41 09 41 63 6f 72 6e 20  63 68 75 6e 6b 20 66 69  |A.Acorn chunk fi|
00000500  6c 65 20 66 6f 72 6d 61  74 20 28 41 4f 46 20 6f  |le format (AOF o|
00000510  62 6a 65 63 74 20 66 69  6c 65 29 0a 3e 28 32 30  |bject file).>(20|
00000520  2b 34 29 09 6c 6f 6e 67  09 09 09 3e 30 09 09 76  |+4).long...>0..v|
00000530  65 72 73 69 6f 6e 20 25  69 0a 0a 30 09 6c 6f 6e  |ersion %i..0.lon|
00000540  67 09 09 09 30 78 63 33  63 62 63 36 63 35 0a 31  |g...0xc3cbc6c5.1|
00000550  32 09 73 74 72 69 6e 67  09 09 09 4c 49 42 5f 54  |2.string...LIB_T|
00000560  49 4d 45 09 41 63 6f 72  6e 20 63 68 75 6e 6b 20  |IME.Acorn chunk |
00000570  66 69 6c 65 20 66 6f 72  6d 61 74 20 28 41 4c 46  |file format (ALF|
00000580  20 6c 69 62 72 61 72 79  29 0a 0a 30 09 6c 6f 6e  | library)..0.lon|
00000590  67 09 09 09 30 78 63 33  63 62 63 36 63 35 09 41  |g...0xc3cbc6c5.A|
000005a0  63 6f 72 6e 20 63 68 75  6e 6b 20 66 69 6c 65 20  |corn chunk file |
000005b0  66 6f 72 6d 61 74 0a 3e  32 38 09 73 74 72 69 6e  |format.>28.strin|
000005c0  67 09 09 09 4c 49 42 5f  44 41 54 41 09 28 6f 62  |g...LIB_DATA.(ob|
000005d0  73 6f 6c 65 73 63 65 6e  74 20 6c 69 62 72 61 72  |solescent librar|
000005e0  79 20 66 6f 72 6d 61 74  29 0a 0a 23 20 54 68 69  |y format)..# Thi|
000005f0  73 20 6e 65 78 74 20 6f  6e 65 20 69 73 20 70 72  |s next one is pr|
00000600  6f 62 61 62 6c 79 20 64  6f 64 67 79 20 61 6e 64  |obably dodgy and|
00000610  20 6d 61 79 20 6d 61 74  63 68 20 6f 74 68 65 72  | may match other|
00000620  20 66 69 6c 65 73 0a 23  20 49 74 20 77 69 6c 6c  | files.# It will|
00000630  20 6f 6e 6c 79 20 77 6f  72 6b 20 77 69 74 68 20  | only work with |
00000640  74 65 6d 70 6c 61 74 65  20 66 69 6c 65 73 20 77  |template files w|
00000650  69 74 68 20 61 74 20 6c  65 61 73 74 20 6f 6e 65  |ith at least one|
00000660  20 77 69 6e 64 6f 77 20  69 6e 20 74 68 65 6d 0a  | window in them.|
00000670  23 20 44 65 74 65 63 74  73 20 74 68 72 65 65 20  |# Detects three |
00000680  72 65 73 65 72 76 65 64  20 77 6f 72 64 73 73 20  |reserved wordss |
00000690  70 6c 75 73 20 6f 6e 65  20 65 6e 74 72 79 20 6f  |plus one entry o|
000006a0  66 20 74 79 70 65 20 31  20 28 77 69 6e 64 6f 77  |f type 1 (window|
000006b0  29 0a 23 20 54 68 65 20  28 31 36 29 20 65 6e 74  |).# The (16) ent|
000006c0  72 79 20 63 68 65 63 6b  73 20 74 68 61 74 20 74  |ry checks that t|
000006d0  68 65 20 77 6f 72 64 20  61 74 20 6f 66 66 73 65  |he word at offse|
000006e0  74 20 31 36 20 69 73 20  61 20 76 61 6c 69 64 20  |t 16 is a valid |
000006f0  6f 66 66 73 65 74 20 69  6e 20 74 6f 20 74 68 65  |offset in to the|
00000700  20 66 69 6c 65 0a 34 09  6c 6f 6e 67 09 09 09 3d  | file.4.long...=|
00000710  30 0a 38 09 6c 6f 6e 67  09 09 09 3d 30 0a 31 32  |0.8.long...=0.12|
00000720  09 6c 6f 6e 67 09 09 09  3d 30 0a 28 31 36 29 09  |.long...=0.(16).|
00000730  73 74 72 69 6e 67 09 09  09 3e 5c 30 0a 32 34 09  |string...>\0.24.|
00000740  6c 6f 6e 67 09 09 09 3d  31 09 09 54 65 6d 70 6c  |long...=1..Templ|
00000750  61 74 65 20 66 69 6c 65  0a 0a 30 09 73 74 72 69  |ate file..0.stri|
00000760  6e 67 09 09 09 44 72 61  77 09 09 44 72 61 77 20  |ng...Draw..Draw |
00000770  66 69 6c 65 0a 3e 34 09  6c 6f 6e 67 09 09 09 78  |file.>4.long...x|
00000780  09 09 28 6d 61 6a 6f 72  20 66 6f 72 6d 61 74 20  |..(major format |
00000790  76 65 72 73 69 6f 6e 20  6e 75 6d 62 65 72 20 25  |version number %|
000007a0  69 0a 3e 38 09 6c 6f 6e  67 09 09 09 78 09 09 2c  |i.>8.long...x..,|
000007b0  20 6d 69 6e 6f 72 20 6e  75 6d 62 65 72 20 25 69  | minor number %i|
000007c0  29 0a 3e 31 32 09 73 74  72 69 6e 67 09 09 09 3e  |).>12.string...>|
000007d0  5c 30 09 09 70 72 6f 64  75 63 65 64 20 62 79 20  |\0..produced by |
000007e0  25 31 32 73 0a 0a 23 20  46 6f 6e 74 20 66 69 6c  |%12s..# Font fil|
000007f0  65 20 66 6f 72 6d 61 74  73 20 28 70 72 6f 62 61  |e formats (proba|
00000800  62 6c 79 20 61 6c 73 6f  20 64 6f 64 67 79 29 0a  |bly also dodgy).|
00000810  34 30 09 6c 6f 6e 67 09  09 09 31 36 0a 34 34 09  |40.long...16.44.|
00000820  6c 6f 6e 67 09 09 09 31  36 0a 34 39 09 62 79 74  |long...16.49.byt|
00000830  65 09 09 09 78 09 09 49  6e 74 4d 65 74 72 69 63  |e...x..IntMetric|
00000840  73 20 66 6f 6e 74 20 64  61 74 61 2c 20 76 65 72  |s font data, ver|
00000850  73 69 6f 6e 20 25 69 0a  0a 23 20 54 48 49 53 20  |sion %i..# THIS |
00000860  43 4c 41 53 48 45 53 20  57 49 54 48 20 4f 54 48  |CLASHES WITH OTH|
00000870  45 52 20 54 59 50 45 53  0a 23 30 09 62 79 74 65  |ER TYPES.#0.byte|
00000880  09 09 09 3e 30 0a 23 31  09 62 79 74 65 09 09 09  |...>0.#1.byte...|
00000890  34 0a 23 32 09 62 79 74  65 09 09 09 3e 30 0a 23  |4.#2.byte...>0.#|
000008a0  33 09 62 79 74 65 09 09  09 3e 30 0a 23 34 09 6c  |3.byte...>0.#4.l|
000008b0  6f 6e 67 09 09 09 30 09  09 78 39 30 79 34 35 20  |ong...0..x90y45 |
000008c0  62 69 74 20 6d 61 70 20  66 6f 6e 74 20 66 69 6c  |bit map font fil|
000008d0  65 0a 23 20 5e 5e 5e 20  74 68 69 73 20 6c 61 73  |e.# ^^^ this las|
000008e0  74 20 6f 6e 65 20 69 73  20 61 20 72 65 73 65 72  |t one is a reser|
000008f0  76 65 64 20 77 6f 72 64  2c 20 73 6f 20 63 6f 75  |ved word, so cou|
00000900  6c 64 20 63 68 61 6e 67  65 20 69 6e 20 74 68 65  |ld change in the|
00000910  20 66 75 74 75 72 65 0a  0a 30 09 73 74 72 69 6e  | future..0.strin|
00000920  67 09 09 09 46 4f 4e 54  09 09 46 6f 6e 74 20 64  |g...FONT..Font d|
00000930  61 74 61 0a 3e 35 09 62  79 74 65 09 09 09 78 09  |ata.>5.byte...x.|
00000940  09 2c 20 76 65 72 73 69  6f 6e 20 25 69 0a 3e 3e  |., version %i.>>|
00000950  34 09 62 79 74 65 09 09  09 30 09 09 28 6f 75 74  |4.byte...0..(out|
00000960  6c 69 6e 65 73 29 0a 3e  3e 34 09 62 79 74 65 09  |lines).>>4.byte.|
00000970  09 09 3e 30 09 09 28 62  69 74 20 6d 61 70 73 2c  |..>0..(bit maps,|
00000980  20 25 69 20 62 70 70 29  0a 0a 23 20 54 68 69 73  | %i bpp)..# This|
00000990  20 6f 6e 65 73 20 69 66  66 79 20 74 6f 6f 0a 30  | ones iffy too.0|
000009a0  09 73 74 72 69 6e 67 09  09 09 25 5c 20 41 63 6f  |.string...%\ Aco|
000009b0  72 6e 5f 09 46 6f 6e 74  20 65 6e 63 6f 64 69 6e  |rn_.Font encodin|
000009c0  67 0a 3e 38 09 73 74 72  69 6e 67 09 09 09 3e 5c  |g.>8.string...>\|
000009d0  30 09 09 25 73 0a 0a 30  09 73 74 72 69 6e 67 09  |0..%s..0.string.|
000009e0  09 09 4d 61 65 73 74 72  6f 09 09 4d 61 65 73 74  |..Maestro..Maest|
000009f0  72 6f 20 66 69 6c 65 0a  3e 38 09 62 79 74 65 09  |ro file.>8.byte.|
00000a00  09 09 78 09 09 28 74 79  70 65 20 25 69 29 0a 0a  |..x..(type %i)..|
00000a10  30 09 73 74 72 69 6e 67  09 09 09 53 51 53 48 09  |0.string...SQSH.|
00000a20  09 53 71 75 61 73 68 65  64 20 61 72 63 68 69 76  |.Squashed archiv|
00000a30  65 20 64 61 74 61 0a 0a  30 09 73 74 72 69 6e 67  |e data..0.string|
00000a40  09 09 09 3a 3a 3a 5c 20  41 72 65 61 5c 20 23 09  |...:::\ Area\ #.|
00000a50  41 72 63 42 42 53 20 6d  65 73 73 61 67 65 73 0a  |ArcBBS messages.|
00000a60  0a 23 20 4f 6e 6c 79 20  77 6f 72 6b 73 20 69 66  |.# Only works if|
00000a70  20 66 69 72 73 74 20 6c  69 6e 65 20 6e 6f 74 20  | first line not |
00000a80  6d 6f 64 69 66 69 65 64  0a 30 09 73 74 72 69 6e  |modified.0.strin|
00000a90  67 09 09 09 7c 5c 20 44  65 73 6b 74 6f 70 5c 20  |g...|\ Desktop\ |
00000aa0  62 6f 6f 74 5c 20 66 69  6c 65 2c 0a 32 31 09 73  |boot\ file,.21.s|
00000ab0  74 72 69 6e 67 09 09 09  3e 5c 30 09 09 44 65 73  |tring...>\0..Des|
00000ac0  6b 74 6f 70 20 62 6f 6f  74 20 66 69 6c 65 20 25  |ktop boot file %|
00000ad0  73 0a 0a 30 09 73 74 72  69 6e 67 09 09 09 50 41  |s..0.string...PA|
00000ae0  43 4b 09 09 50 61 63 6b  44 69 72 27 64 20 64 69  |CK..PackDir'd di|
00000af0  72 65 63 74 6f 72 79 0a  0a 23 20 4e 6f 74 20 73  |rectory..# Not s|
00000b00  75 72 65 20 61 62 6f 75  74 20 74 68 69 73 20 6f  |ure about this o|
00000b10  6e 65 2e 2e 2e 0a 30 09  62 79 74 65 09 09 09 30  |ne....0.byte...0|
00000b20  78 35 34 0a 32 09 62 79  74 65 09 09 09 30 78 34  |x54.2.byte...0x4|
00000b30  30 09 09 42 41 53 49 43  20 70 72 6f 67 72 61 6d  |0..BASIC program|
00000b40  0a 0a 30 09 73 74 72 69  6e 67 09 09 09 48 45 4c  |..0.string...HEL|
00000b50  50 09 09 53 74 72 6f 6e  67 48 65 6c 70 20 64 61  |P..StrongHelp da|
00000b60  74 61 0a 0a 30 09 73 74  72 69 6e 67 09 09 09 52  |ta..0.string...R|
00000b70  45 53 46 09 09 54 6f 6f  6c 62 6f 78 20 52 65 73  |ESF..Toolbox Res|
00000b80  6f 75 72 63 65 20 66 69  6c 65 0a 23 20 70 6f 73  |ource file.# pos|
00000b90  73 69 62 6c 65 20 61 6c  73 6f 20 61 20 67 6f 6f  |sible also a goo|
00000ba0  64 20 69 64 65 20 74 6f  20 68 61 76 65 20 74 68  |d ide to have th|
00000bb0  69 73 20 66 69 72 73 74  3f 20 3a 0a 23 20 34 09  |is first? :.# 4.|
00000bc0  6c 6f 6e 67 09 09 09 30  78 30 30 30 30 30 30 36  |long...0x0000006|
00000bd0  35 0a 0a 23 20 54 68 69  73 20 6f 6e 65 20 69 73  |5..# This one is|
00000be0  20 62 61 73 65 64 20 6f  6e 20 65 6d 70 69 72 69  | based on empiri|
00000bf0  63 61 6c 20 65 76 69 64  65 6e 63 65 2e 2e 2e 0a  |cal evidence....|
00000c00  30 09 73 74 72 69 6e 67  09 09 09 54 6f 70 21 0a  |0.string...Top!.|
00000c10  38 09 73 74 72 69 6e 67  09 09 09 54 6f 70 44 72  |8.string...TopDr|
00000c20  61 77 09 09 41 72 74 77  6f 72 6b 73 20 66 69 6c  |aw..Artworks fil|
00000c30  65 0a 0a 23 20 54 68 65  20 66 6f 72 6d 61 74 73  |e..# The formats|
00000c40  20 6f 66 20 74 68 65 73  65 20 61 72 65 20 67 6c  | of these are gl|
00000c50  65 61 6e 65 64 20 66 72  6f 6d 20 43 68 61 6e 67  |eaned from Chang|
00000c60  65 46 53 49 3a 0a 23 20  4e 6f 74 65 3a 20 4c 69  |eFSI:.# Note: Li|
00000c70  6b 65 6c 79 20 74 6f 20  63 6f 6e 74 61 69 6e 20  |kely to contain |
00000c80  65 72 72 6f 72 73 2e 0a  0a 30 09 73 74 72 69 6e  |errors...0.strin|
00000c90  67 09 09 09 4d 65 72 63  53 6f 66 74 0a 7c 30 09  |g...MercSoft.|0.|
00000ca0  73 74 72 69 6e 67 09 09  09 4d 45 52 43 53 4f 46  |string...MERCSOF|
00000cb0  54 0a 7c 30 09 73 74 72  69 6e 67 09 09 09 6d 65  |T.|0.string...me|
00000cc0  72 63 73 6f 66 74 0a 7c  30 09 73 74 72 69 6e 67  |rcsoft.|0.string|
00000cd0  09 09 09 53 6e 61 70 53  68 6f 74 0a 7c 30 09 73  |...SnapShot.|0.s|
00000ce0  74 72 69 6e 67 09 09 09  53 4e 41 50 53 48 4f 54  |tring...SNAPSHOT|
00000cf0  0a 7c 30 09 73 74 72 69  6e 67 09 09 09 53 6e 61  |.|0.string...Sna|
00000d00  70 73 68 6f 74 0a 7c 30  09 73 74 72 69 6e 67 09  |pshot.|0.string.|
00000d10  09 09 73 6e 61 70 73 68  6f 74 09 57 69 6c 64 20  |..snapshot.Wild |
00000d20  56 69 73 69 6f 6e 20 48  61 77 6b 20 56 39 20 35  |Vision Hawk V9 5|
00000d30  31 32 78 32 35 36 79 20  31 32 20 62 69 74 20 63  |12x256y 12 bit c|
00000d40  6f 6c 6f 75 72 0a 0a 30  09 73 74 72 69 6e 67 09  |olour..0.string.|
00000d50  09 09 46 4f 52 4d 0a 39  09 73 74 72 69 6e 67 09  |..FORM.9.string.|
00000d60  09 09 49 4c 42 4d 09 09  45 6c 65 63 74 72 6f 6e  |..ILBM..Electron|
00000d70  69 63 20 41 72 74 27 73  20 49 46 46 20 49 4c 42  |ic Art's IFF ILB|
00000d80  4d 20 70 69 63 74 75 72  65 0a 0a 30 09 73 74 72  |M picture..0.str|
00000d90  69 6e 67 09 09 09 41 56  5f 56 4f 09 09 2e 50 49  |ing...AV_VO...PI|
00000da0  43 20 38 20 62 69 74 20  70 65 72 20 70 69 78 65  |C 8 bit per pixe|
00000db0  6c 20 66 69 6c 65 0a 0a  30 09 73 74 72 69 6e 67  |l file..0.string|
00000dc0  09 09 09 52 49 58 33 09  09 52 49 58 20 53 6f 66  |...RIX3..RIX Sof|
00000dd0  74 77 6f 72 6b 73 20 43  6f 6c 6f 52 49 58 20 38  |tworks ColoRIX 8|
00000de0  20 62 69 74 20 70 65 72  20 70 69 78 65 6c 20 66  | bit per pixel f|
00000df0  69 6c 65 0a 0a 30 78 31  30 09 73 74 72 69 6e 67  |ile..0x10.string|
00000e00  09 09 09 4d 49 4c 4c 49  50 45 44 45 09 4d 49 4c  |...MILLIPEDE.MIL|
00000e10  4c 49 50 45 44 45 20 50  52 49 53 4d 41 20 37 36  |LIPEDE PRISMA 76|
00000e20  38 78 35 37 36 79 20 38  20 62 69 74 20 63 6f 6c  |8x576y 8 bit col|
00000e30  6f 75 72 20 69 6d 61 67  65 0a 0a 30 78 34 31 09  |our image..0x41.|
00000e40  73 74 72 69 6e 67 09 09  09 50 4e 54 47 0a 7c 31  |string...PNTG.|1|
00000e50  39 36 09 73 74 72 69 6e  67 09 09 09 50 4e 54 47  |96.string...PNTG|
00000e60  09 09 4d 61 63 50 61 69  6e 74 20 66 69 6c 65 73  |..MacPaint files|
00000e70  20 35 37 36 78 37 32 30  79 20 31 20 62 69 74 20  | 576x720y 1 bit |
00000e80  70 65 72 20 70 69 78 65  6c 0a 0a 35 32 32 09 6c  |per pixel..522.l|
00000e90  6f 6e 67 09 09 09 30 78  30 30 31 31 30 32 66 66  |ong...0x001102ff|
00000ea0  0a 35 32 36 09 6c 6f 6e  67 09 09 09 30 78 30 63  |.526.long...0x0c|
00000eb0  30 30 66 66 66 65 09 4d  61 63 50 49 43 54 32 20  |00fffe.MacPICT2 |
00000ec0  76 32 20 38 20 61 6e 64  20 32 34 2f 33 32 20 62  |v2 8 and 24/32 b|
00000ed0  69 74 73 20 70 65 72 20  70 69 78 65 6c 0a 0a 30  |its per pixel..0|
00000ee0  09 73 74 72 69 6e 67 09  09 09 46 53 49 66 69 6c  |.string...FSIfil|
00000ef0  65 09 09 50 69 6e 65 61  70 70 6c 65 20 31 36 20  |e..Pineapple 16 |
00000f00  62 69 74 20 70 65 72 20  70 69 78 65 6c 20 69 6d  |bit per pixel im|
00000f10  61 67 65 0a 0a 30 09 73  74 72 69 6e 67 09 09 09  |age..0.string...|
00000f20  49 72 6c 61 6d 09 09 49  72 6c 61 6d 20 69 6e 73  |Irlam..Irlam ins|
00000f30  74 72 75 6d 65 6e 74 73  20 32 34 20 62 69 74 20  |truments 24 bit |
00000f40  6f 72 20 59 55 56 20 34  31 31 20 66 69 6c 65 0a  |or YUV 411 file.|
00000f50  0a 30 09 73 74 72 69 6e  67 09 09 09 41 4c 50 49  |.0.string...ALPI|
00000f60  41 52 09 09 41 6c 70 69  61 72 20 69 6d 61 67 65  |AR..Alpiar image|
00000f70  20 66 69 6c 65 0a 3e 30  09 73 74 72 69 6e 67 09  | file.>0.string.|
00000f80  09 09 41 4c 50 49 41 52  31 32 09 5b 33 36 20 62  |..ALPIAR12.[36 b|
00000f90  70 70 5d 0a 3e 30 09 73  74 72 69 6e 67 09 09 09  |pp].>0.string...|
00000fa0  41 4c 50 49 41 52 31 36  09 5b 34 38 20 62 70 70  |ALPIAR16.[48 bpp|
00000fb0  5d 0a 0a 23 20 4e 6f 77  20 73 6f 6d 65 20 73 74  |]..# Now some st|
00000fc0  61 6e 64 61 72 64 20 6f  72 20 70 6c 61 74 66 6f  |andard or platfo|
00000fd0  72 6d 20 69 6e 64 65 70  65 6e 64 61 6e 74 20 66  |rm independant f|
00000fe0  69 6c 65 20 66 6f 72 6d  61 74 73 2e 0a 23 20 54  |ile formats..# T|
00000ff0  68 65 73 65 20 61 72 65  20 74 61 6b 65 6e 20 66  |hese are taken f|
00001000  72 6f 6d 20 74 68 65 20  4e 65 74 42 53 44 20 6d  |rom the NetBSD m|
00001010  61 67 69 63 20 66 69 6c  65 2e 0a 23 20 53 6f 6d  |agic file..# Som|
00001020  65 20 63 68 61 6e 67 65  73 20 68 61 76 65 20 62  |e changes have b|
00001030  65 65 6e 20 6d 61 64 65  20 74 6f 20 65 6e 73 75  |een made to ensu|
00001040  72 65 20 74 68 61 74 20  74 68 65 79 20 74 61 6b  |re that they tak|
00001050  65 20 75 70 20 6f 6e 6c  79 20 6f 6e 65 20 6d 65  |e up only one me|
00001060  6e 75 20 65 6e 74 72 79  20 77 68 65 72 65 20 70  |nu entry where p|
00001070  6f 73 73 69 62 6c 65 0a  23 20 28 54 68 69 73 20  |ossible.# (This |
00001080  69 6e 76 6f 6c 76 65 73  20 75 73 69 6e 67 20 73  |involves using s|
00001090  6f 6d 65 20 73 79 6e 74  61 78 20 6e 6f 74 20 75  |ome syntax not u|
000010a0  73 65 64 20 69 6e 20 55  6e 69 78 20 6d 61 67 69  |sed in Unix magi|
000010b0  63 20 66 69 6c 65 73 29  0a 23 20 54 68 65 73 65  |c files).# These|
000010c0  20 63 68 61 6e 67 65 73  20 61 72 65 20 69 6e 64  | changes are ind|
000010d0  69 63 61 74 65 64 2e 0a  23 20 4e 6f 74 20 61 6c  |icated..# Not al|
000010e0  6c 20 6f 66 20 74 68 65  20 6d 61 67 69 63 20 66  |l of the magic f|
000010f0  69 6c 65 20 69 73 20 69  6e 63 6c 75 64 65 64 20  |ile is included |
00001100  68 65 72 65 2c 20 6d 75  63 68 20 6f 66 20 69 74  |here, much of it|
00001110  20 69 73 6e 27 74 20 76  65 72 79 20 75 73 65 66  | isn't very usef|
00001120  75 6c 20 75 6e 64 65 72  20 52 69 73 63 20 4f 53  |ul under Risc OS|
00001130  20 61 6e 64 20 6a 75 73  74 20 75 73 65 73 20 75  | and just uses u|
00001140  70 0a 23 20 6d 65 6d 6f  72 79 2e 0a 23 20 2d 2d  |p.# memory..# --|
00001150  20 41 48 0a 0a 23 20 4d  50 45 47 20 61 6e 69 6d  | AH..# MPEG anim|
00001160  61 74 69 6f 6e 20 66 6f  72 6d 61 74 0a 30 09 73  |ation format.0.s|
00001170  74 72 69 6e 67 09 09 5c  30 30 30 5c 30 30 30 5c  |tring..\000\000\|
00001180  30 30 31 5c 32 36 33 09  4d 50 45 47 20 66 69 6c  |001\263.MPEG fil|
00001190  65 0a 0a 23 20 46 4c 49  20 61 6e 69 6d 61 74 69  |e..# FLI animati|
000011a0  6f 6e 20 66 6f 72 6d 61  74 0a 34 09 6c 65 73 68  |on format.4.lesh|
000011b0  6f 72 74 09 09 30 78 41  46 31 31 09 09 09 46 4c  |ort..0xAF11...FL|
000011c0  49 20 66 69 6c 65 0a 3e  36 09 6c 65 73 68 6f 72  |I file.>6.leshor|
000011d0  74 09 09 78 09 09 09 2d  20 25 64 20 66 72 61 6d  |t..x...- %d fram|
000011e0  65 73 2c 0a 3e 38 09 6c  65 73 68 6f 72 74 09 09  |es,.>8.leshort..|
000011f0  78 09 09 09 77 69 64 74  68 3d 25 64 20 70 69 78  |x...width=%d pix|
00001200  65 6c 73 2c 0a 3e 31 30  09 6c 65 73 68 6f 72 74  |els,.>10.leshort|
00001210  09 09 78 09 09 09 68 65  69 67 68 74 3d 25 64 20  |..x...height=%d |
00001220  70 69 78 65 6c 73 2c 0a  3e 31 32 09 6c 65 73 68  |pixels,.>12.lesh|
00001230  6f 72 74 09 09 78 09 09  09 64 65 70 74 68 3d 25  |ort..x...depth=%|
00001240  64 2c 0a 3e 31 36 09 6c  65 73 68 6f 72 74 09 09  |d,.>16.leshort..|
00001250  78 09 09 09 74 69 63 6b  73 2f 66 72 61 6d 65 3d  |x...ticks/frame=|
00001260  25 64 0a 0a 23 20 46 4c  43 20 61 6e 69 6d 61 74  |%d..# FLC animat|
00001270  69 6f 6e 20 66 6f 72 6d  61 74 0a 34 09 6c 65 73  |ion format.4.les|
00001280  68 6f 72 74 09 09 30 78  41 46 31 32 09 09 09 46  |hort..0xAF12...F|
00001290  4c 43 20 66 69 6c 65 0a  3e 36 09 6c 65 73 68 6f  |LC file.>6.lesho|
000012a0  72 74 09 09 78 09 09 09  2d 20 25 64 20 66 72 61  |rt..x...- %d fra|
000012b0  6d 65 73 0a 3e 38 09 6c  65 73 68 6f 72 74 09 09  |mes.>8.leshort..|
000012c0  78 09 09 09 77 69 64 74  68 3d 25 64 20 70 69 78  |x...width=%d pix|
000012d0  65 6c 73 2c 0a 3e 31 30  09 6c 65 73 68 6f 72 74  |els,.>10.leshort|
000012e0  09 09 78 09 09 09 68 65  69 67 68 74 3d 25 64 20  |..x...height=%d |
000012f0  70 69 78 65 6c 73 2c 0a  3e 31 32 09 6c 65 73 68  |pixels,.>12.lesh|
00001300  6f 72 74 09 09 78 09 09  09 64 65 70 74 68 3d 25  |ort..x...depth=%|
00001310  64 2c 0a 3e 31 36 09 6c  65 73 68 6f 72 74 09 09  |d,.>16.leshort..|
00001320  78 09 09 09 74 69 63 6b  73 2f 66 72 61 6d 65 3d  |x...ticks/frame=|
00001330  25 64 0a 0a 23 20 53 47  49 20 61 6e 64 20 41 70  |%d..# SGI and Ap|
00001340  70 6c 65 20 66 6f 72 6d  61 74 73 0a 30 09 73 74  |ple formats.0.st|
00001350  72 69 6e 67 09 09 4d 4f  56 49 09 09 53 69 6c 69  |ring..MOVI..Sili|
00001360  63 6f 6e 20 47 72 61 70  68 69 63 73 20 6d 6f 76  |con Graphics mov|
00001370  69 65 20 66 69 6c 65 0a  34 09 73 74 72 69 6e 67  |ie file.4.string|
00001380  09 09 6d 6f 6f 76 09 09  41 70 70 6c 65 20 51 75  |..moov..Apple Qu|
00001390  69 63 6b 54 69 6d 65 20  6d 6f 76 69 65 20 66 69  |ickTime movie fi|
000013a0  6c 65 20 28 6d 6f 6f 76  29 0a 34 09 73 74 72 69  |le (moov).4.stri|
000013b0  6e 67 09 09 6d 64 61 74  09 09 41 70 70 6c 65 20  |ng..mdat..Apple |
000013c0  51 75 69 63 6b 54 69 6d  65 20 6d 6f 76 69 65 20  |QuickTime movie |
000013d0  66 69 6c 65 20 28 6d 64  61 74 29 0a 0a 23 20 50  |file (mdat)..# P|
000013e0  4f 53 49 58 20 74 61 72  20 61 72 63 68 69 76 65  |OSIX tar archive|
000013f0  73 0a 32 35 37 09 73 74  72 69 6e 67 09 09 75 73  |s.257.string..us|
00001400  74 61 72 5c 30 09 09 50  4f 53 49 58 20 74 61 72  |tar\0..POSIX tar|
00001410  20 61 72 63 68 69 76 65  0a 32 35 37 09 73 74 72  | archive.257.str|
00001420  69 6e 67 09 09 75 73 74  61 72 5c 30 34 30 5c 30  |ing..ustar\040\0|
00001430  34 30 5c 30 09 47 4e 55  20 74 61 72 20 61 72 63  |40\0.GNU tar arc|
00001440  68 69 76 65 0a 0a 23 20  41 52 4a 20 61 72 63 68  |hive..# ARJ arch|
00001450  69 76 65 72 20 28 6a 61  73 6f 6e 40 6a 61 72 74  |iver (jason@jart|
00001460  68 75 72 2e 43 6c 61 72  65 6d 6f 6e 74 2e 45 44  |hur.Claremont.ED|
00001470  55 29 0a 30 09 6c 65 73  68 6f 72 74 09 09 30 78  |U).0.leshort..0x|
00001480  65 61 36 30 09 09 41 52  4a 20 61 72 63 68 69 76  |ea60..ARJ archiv|
00001490  65 20 64 61 74 61 0a 3e  35 09 62 79 74 65 09 09  |e data.>5.byte..|
000014a0  78 09 09 5c 62 2c 20 76  25 64 2c 0a 3e 38 09 62  |x..\b, v%d,.>8.b|
000014b0  79 74 65 09 09 26 30 78  30 34 09 09 6d 75 6c 74  |yte..&0x04..mult|
000014c0  69 2d 76 6f 6c 75 6d 65  2c 0a 3e 38 09 62 79 74  |i-volume,.>8.byt|
000014d0  65 09 09 26 30 78 31 30  09 09 73 6c 61 73 68 2d  |e..&0x10..slash-|
000014e0  73 77 69 74 63 68 65 64  2c 0a 3e 38 09 62 79 74  |switched,.>8.byt|
000014f0  65 09 09 26 30 78 32 30  09 09 62 61 63 6b 75 70  |e..&0x20..backup|
00001500  2c 0a 3e 33 34 09 73 74  72 69 6e 67 09 09 78 09  |,.>34.string..x.|
00001510  09 6f 72 69 67 69 6e 61  6c 20 6e 61 6d 65 3a 20  |.original name: |
00001520  25 73 2c 0a 3e 37 09 62  79 74 65 09 09 30 09 09  |%s,.>7.byte..0..|
00001530  6f 73 3a 20 4d 53 2d 44  4f 53 0a 3e 37 09 62 79  |os: MS-DOS.>7.by|
00001540  74 65 09 09 31 09 09 6f  73 3a 20 50 52 49 4d 4f  |te..1..os: PRIMO|
00001550  53 0a 3e 37 09 62 79 74  65 09 09 32 09 09 6f 73  |S.>7.byte..2..os|
00001560  3a 20 55 6e 69 78 0a 3e  37 09 62 79 74 65 09 09  |: Unix.>7.byte..|
00001570  33 09 09 6f 73 3a 20 41  6d 69 67 61 0a 3e 37 09  |3..os: Amiga.>7.|
00001580  62 79 74 65 09 09 34 09  09 6f 73 3a 20 4d 61 63  |byte..4..os: Mac|
00001590  69 6e 74 6f 73 68 0a 3e  37 09 62 79 74 65 09 09  |intosh.>7.byte..|
000015a0  35 09 09 6f 73 3a 20 4f  53 2f 32 0a 3e 37 09 62  |5..os: OS/2.>7.b|
000015b0  79 74 65 09 09 36 09 09  6f 73 3a 20 41 70 70 6c  |yte..6..os: Appl|
000015c0  65 20 5d 5b 20 47 53 0a  3e 37 09 62 79 74 65 09  |e ][ GS.>7.byte.|
000015d0  09 37 09 09 6f 73 3a 20  41 74 61 72 69 20 53 54  |.7..os: Atari ST|
000015e0  0a 3e 37 09 62 79 74 65  09 09 38 09 09 6f 73 3a  |.>7.byte..8..os:|
000015f0  20 4e 65 58 54 0a 3e 37  09 62 79 74 65 09 09 39  | NeXT.>7.byte..9|
00001600  09 09 6f 73 3a 20 56 41  58 2f 56 4d 53 0a 3e 33  |..os: VAX/VMS.>3|
00001610  09 62 79 74 65 09 09 3e  30 09 09 25 64 5d 0a 0a  |.byte..>0..%d]..|
00001620  23 20 48 50 41 43 4b 20  61 72 63 68 69 76 65 72  |# HPACK archiver|
00001630  20 28 50 65 74 65 72 20  47 75 74 6d 61 6e 6e 2c  | (Peter Gutmann,|
00001640  20 70 67 75 74 31 40 63  73 2e 61 75 6b 75 6e 69  | pgut1@cs.aukuni|
00001650  2e 61 63 2e 6e 7a 29 0a  30 09 73 74 72 69 6e 67  |.ac.nz).0.string|
00001660  09 09 48 50 41 4b 09 09  48 50 41 43 4b 20 61 72  |..HPAK..HPACK ar|
00001670  63 68 69 76 65 20 64 61  74 61 0a 0a 23 20 4a 41  |chive data..# JA|
00001680  4d 20 41 72 63 68 69 76  65 20 76 6f 6c 75 6d 65  |M Archive volume|
00001690  20 66 6f 72 6d 61 74 2c  20 62 79 20 44 6d 69 74  | format, by Dmit|
000016a0  72 79 2e 4b 6f 68 6d 61  6e 79 75 6b 40 55 41 2e  |ry.Kohmanyuk@UA.|
000016b0  6e 65 74 0a 30 09 73 74  72 69 6e 67 09 09 5c 33  |net.0.string..\3|
000016c0  35 31 2c 5c 30 30 31 4a  41 4d 5c 09 09 4a 41 4d  |51,\001JAM\..JAM|
000016d0  20 61 72 63 68 69 76 65  2c 0a 3e 37 09 73 74 72  | archive,.>7.str|
000016e0  69 6e 67 09 09 3e 5c 30  09 09 09 76 65 72 73 69  |ing..>\0...versi|
000016f0  6f 6e 20 25 2e 34 73 0a  3e 30 78 32 36 09 62 79  |on %.4s.>0x26.by|
00001700  74 65 09 09 3d 30 78 32  37 09 09 09 2d 0a 3e 3e  |te..=0x27...-.>>|
00001710  30 78 32 62 09 73 74 72  69 6e 67 20 20 20 20 20  |0x2b.string     |
00001720  20 20 20 20 20 3e 5c 30  09 09 09 6c 61 62 65 6c  |     >\0...label|
00001730  20 25 2e 31 31 73 2c 0a  3e 3e 30 78 32 37 09 6c  | %.11s,.>>0x27.l|
00001740  65 6c 6f 6e 67 09 09 78  09 09 09 73 65 72 69 61  |elong..x...seria|
00001750  6c 20 25 30 38 78 2c 0a  3e 3e 30 78 33 36 09 73  |l %08x,.>>0x36.s|
00001760  74 72 69 6e 67 09 09 3e  5c 30 09 09 09 66 73 74  |tring..>\0...fst|
00001770  79 70 65 20 25 2e 38 73  0a 0a 23 20 4c 48 41 52  |ype %.8s..# LHAR|
00001780  43 2f 4c 48 41 20 61 72  63 68 69 76 65 72 20 28  |C/LHA archiver (|
00001790  47 72 65 67 20 52 6f 65  6c 6f 66 73 2c 20 6e 65  |Greg Roelofs, ne|
000017a0  77 74 40 75 63 68 69 63  61 67 6f 2e 65 64 75 29  |wt@uchicago.edu)|
000017b0  0a 0a 23 20 43 68 61 6e  67 65 64 20 66 72 6f 6d  |..# Changed from|
000017c0  3a 0a 23 20 32 09 73 74  72 69 6e 67 09 09 2d 6c  |:.# 2.string..-l|
000017d0  68 30 2d 09 09 4c 48 61  72 63 20 31 2e 78 20 61  |h0-..LHarc 1.x a|
000017e0  72 63 68 69 76 65 20 64  61 74 61 20 5b 6c 68 30  |rchive data [lh0|
000017f0  5d 0a 23 20 32 09 73 74  72 69 6e 67 09 09 2d 6c  |].# 2.string..-l|
00001800  68 31 2d 09 09 4c 48 61  72 63 20 31 2e 78 20 61  |h1-..LHarc 1.x a|
00001810  72 63 68 69 76 65 20 64  61 74 61 20 5b 6c 68 31  |rchive data [lh1|
00001820  5d 0a 23 20 32 09 73 74  72 69 6e 67 09 09 2d 6c  |].# 2.string..-l|
00001830  7a 34 2d 09 09 4c 48 61  72 63 20 31 2e 78 20 61  |z4-..LHarc 1.x a|
00001840  72 63 68 69 76 65 20 64  61 74 61 20 5b 6c 7a 34  |rchive data [lz4|
00001850  5d 0a 23 20 32 09 73 74  72 69 6e 67 09 09 2d 6c  |].# 2.string..-l|
00001860  7a 35 2d 09 09 4c 48 61  72 63 20 31 2e 78 20 61  |z5-..LHarc 1.x a|
00001870  72 63 68 69 76 65 20 64  61 74 61 20 5b 6c 7a 35  |rchive data [lz5|
00001880  5d 0a 23 54 6f 3a 0a 0a  32 09 73 74 72 69 6e 67  |].#To:..2.string|
00001890  09 09 2d 6c 68 30 2d 0a  7c 32 09 73 74 72 69 6e  |..-lh0-.|2.strin|
000018a0  67 09 09 2d 6c 68 31 2d  0a 7c 32 09 73 74 72 69  |g..-lh1-.|2.stri|
000018b0  6e 67 09 09 2d 6c 7a 34  2d 0a 7c 32 09 73 74 72  |ng..-lz4-.|2.str|
000018c0  69 6e 67 09 09 2d 6c 7a  35 2d 09 09 4c 48 61 72  |ing..-lz5-..LHar|
000018d0  63 20 31 2e 78 20 61 72  63 68 69 76 65 20 64 61  |c 1.x archive da|
000018e0  74 61 20 5b 25 35 73 5d  0a 23 20 2d 2d 20 41 48  |ta [%5s].# -- AH|
000018f0  0a 0a 23 09 5b 6e 65 76  65 72 20 73 65 65 6e 20  |..#.[never seen |
00001900  61 6e 79 20 62 75 74 20  74 68 65 20 6c 61 73 74  |any but the last|
00001910  3b 20 2d 6c 68 34 2d 20  72 65 70 6f 72 74 65 64  |; -lh4- reported|
00001920  20 69 6e 20 63 6f 6d 70  2e 63 6f 6d 70 72 65 73  | in comp.compres|
00001930  73 69 6f 6e 3a 5d 0a 23  20 53 69 6d 69 6c 61 72  |sion:].# Similar|
00001940  6c 79 2c 20 63 68 61 6e  67 65 64 20 66 72 6f 6d  |ly, changed from|
00001950  3a 0a 23 32 09 73 74 72  69 6e 67 09 09 2d 6c 7a  |:.#2.string..-lz|
00001960  73 2d 09 09 4c 48 61 20  32 2e 78 3f 20 61 72 63  |s-..LHa 2.x? arc|
00001970  68 69 76 65 20 64 61 74  61 20 5b 6c 7a 73 5d 0a  |hive data [lzs].|
00001980  23 32 09 73 74 72 69 6e  67 09 09 2d 6c 68 20 2d  |#2.string..-lh -|
00001990  09 09 4c 48 61 20 32 2e  78 3f 20 61 72 63 68 69  |..LHa 2.x? archi|
000019a0  76 65 20 64 61 74 61 20  5b 6c 68 20 5d 0a 23 32  |ve data [lh ].#2|
000019b0  09 73 74 72 69 6e 67 09  09 2d 6c 68 64 2d 09 09  |.string..-lhd-..|
000019c0  4c 48 61 20 32 2e 78 3f  20 61 72 63 68 69 76 65  |LHa 2.x? archive|
000019d0  20 64 61 74 61 20 5b 6c  68 64 5d 0a 23 32 09 73  | data [lhd].#2.s|
000019e0  74 72 69 6e 67 09 09 2d  6c 68 32 2d 09 09 4c 48  |tring..-lh2-..LH|
000019f0  61 20 32 2e 78 3f 20 61  72 63 68 69 76 65 20 64  |a 2.x? archive d|
00001a00  61 74 61 20 5b 6c 68 32  5d 0a 23 32 09 73 74 72  |ata [lh2].#2.str|
00001a10  69 6e 67 09 09 2d 6c 68  33 2d 09 09 4c 48 61 20  |ing..-lh3-..LHa |
00001a20  32 2e 78 3f 20 61 72 63  68 69 76 65 20 64 61 74  |2.x? archive dat|
00001a30  61 20 5b 6c 68 33 5d 0a  23 32 09 73 74 72 69 6e  |a [lh3].#2.strin|
00001a40  67 09 09 2d 6c 68 34 2d  09 09 4c 48 61 20 28 32  |g..-lh4-..LHa (2|
00001a50  2e 78 29 20 61 72 63 68  69 76 65 20 64 61 74 61  |.x) archive data|
00001a60  20 5b 6c 68 34 5d 0a 23  32 09 73 74 72 69 6e 67  | [lh4].#2.string|
00001a70  09 09 2d 6c 68 35 2d 09  09 4c 48 61 20 28 32 2e  |..-lh5-..LHa (2.|
00001a80  78 29 20 61 72 63 68 69  76 65 20 64 61 74 61 20  |x) archive data |
00001a90  5b 6c 68 35 5d 0a 23 3e  32 30 09 62 79 74 65 09  |[lh5].#>20.byte.|
00001aa0  09 78 09 09 2d 20 68 65  61 64 65 72 20 6c 65 76  |.x..- header lev|
00001ab0  65 6c 20 25 64 0a 0a 23  20 54 6f 3a 0a 32 09 73  |el %d..# To:.2.s|
00001ac0  74 72 69 6e 67 09 09 2d  6c 7a 73 2d 0a 7c 32 09  |tring..-lzs-.|2.|
00001ad0  73 74 72 69 6e 67 09 09  2d 6c 68 5c 20 2d 0a 7c  |string..-lh\ -.||
00001ae0  32 09 73 74 72 69 6e 67  09 09 2d 6c 68 64 2d 0a  |2.string..-lhd-.|
00001af0  7c 32 09 73 74 72 69 6e  67 09 09 2d 6c 68 32 2d  ||2.string..-lh2-|
00001b00  0a 7c 32 09 73 74 72 69  6e 67 09 09 2d 6c 68 33  |.|2.string..-lh3|
00001b10  2d 0a 7c 32 09 73 74 72  69 6e 67 09 09 2d 6c 68  |-.|2.string..-lh|
00001b20  34 2d 09 09 4c 48 61 20  28 32 2e 78 29 20 61 72  |4-..LHa (2.x) ar|
00001b30  63 68 69 76 65 20 64 61  74 61 20 5b 25 35 73 5d  |chive data [%5s]|
00001b40  0a 32 09 73 74 72 69 6e  67 09 09 2d 6c 68 35 2d  |.2.string..-lh5-|
00001b50  09 09 4c 48 61 20 28 32  2e 78 29 20 61 72 63 68  |..LHa (2.x) arch|
00001b60  69 76 65 20 64 61 74 61  20 5b 6c 68 35 5d 0a 3e  |ive data [lh5].>|
00001b70  32 30 09 62 79 74 65 09  09 78 09 09 2d 20 68 65  |20.byte..x..- he|
00001b80  61 64 65 72 20 6c 65 76  65 6c 20 25 64 0a 23 20  |ader level %d.# |
00001b90  2d 2d 20 41 48 0a 0a 23  20 52 41 52 20 61 72 63  |-- AH..# RAR arc|
00001ba0  68 69 76 65 72 20 28 47  72 65 67 20 52 6f 65 6c  |hiver (Greg Roel|
00001bb0  6f 66 73 2c 20 6e 65 77  74 40 75 63 68 69 63 61  |ofs, newt@uchica|
00001bc0  67 6f 2e 65 64 75 29 0a  30 09 73 74 72 69 6e 67  |go.edu).0.string|
00001bd0  09 09 52 61 72 21 09 09  52 41 52 20 61 72 63 68  |..Rar!..RAR arch|
00001be0  69 76 65 20 64 61 74 61  0a 0a 23 20 55 43 32 20  |ive data..# UC2 |
00001bf0  61 72 63 68 69 76 65 72  20 28 47 72 65 67 20 52  |archiver (Greg R|
00001c00  6f 65 6c 6f 66 73 2c 20  6e 65 77 74 40 75 63 68  |oelofs, newt@uch|
00001c10  69 63 61 67 6f 2e 65 64  75 29 0a 23 20 49 20 63  |icago.edu).# I c|
00001c20  61 6e 27 74 20 66 69 67  75 72 65 20 6f 75 74 20  |an't figure out |
00001c30  74 68 65 20 73 65 6c 66  2d 65 78 74 72 61 63 74  |the self-extract|
00001c40  69 6e 67 20 66 6f 72 6d  20 6f 66 20 74 68 65 73  |ing form of thes|
00001c50  65 20 62 75 67 67 65 72  73 2e 2e 2e 0a 30 09 73  |e buggers....0.s|
00001c60  74 72 69 6e 67 09 09 55  43 32 5c 78 31 61 09 09  |tring..UC2\x1a..|
00001c70  55 43 32 20 61 72 63 68  69 76 65 20 64 61 74 61  |UC2 archive data|
00001c80  0a 0a 23 20 5a 49 50 20  61 72 63 68 69 76 65 73  |..# ZIP archives|
00001c90  20 28 47 72 65 67 20 52  6f 65 6c 6f 66 73 2c 20  | (Greg Roelofs, |
00001ca0  63 2f 6f 20 7a 69 70 2d  62 75 67 73 40 77 6b 75  |c/o zip-bugs@wku|
00001cb0  76 78 31 2e 77 6b 75 2e  65 64 75 29 0a 30 09 73  |vx1.wku.edu).0.s|
00001cc0  74 72 69 6e 67 09 09 50  4b 5c 30 30 33 5c 30 30  |tring..PK\003\00|
00001cd0  34 09 5a 69 70 20 61 72  63 68 69 76 65 20 64 61  |4.Zip archive da|
00001ce0  74 61 0a 3e 34 09 62 79  74 65 09 09 30 78 30 39  |ta.>4.byte..0x09|
00001cf0  09 09 5c 62 2c 20 61 74  20 6c 65 61 73 74 20 76  |..\b, at least v|
00001d00  30 2e 39 20 74 6f 20 65  78 74 72 61 63 74 0a 3e  |0.9 to extract.>|
00001d10  34 09 62 79 74 65 09 09  30 78 30 61 09 09 5c 62  |4.byte..0x0a..\b|
00001d20  2c 20 61 74 20 6c 65 61  73 74 20 76 31 2e 30 20  |, at least v1.0 |
00001d30  74 6f 20 65 78 74 72 61  63 74 0a 3e 34 09 62 79  |to extract.>4.by|
00001d40  74 65 09 09 30 78 30 62  09 09 5c 62 2c 20 61 74  |te..0x0b..\b, at|
00001d50  20 6c 65 61 73 74 20 76  31 2e 31 20 74 6f 20 65  | least v1.1 to e|
00001d60  78 74 72 61 63 74 0a 3e  34 09 62 79 74 65 09 09  |xtract.>4.byte..|
00001d70  30 78 31 34 09 09 5c 62  2c 20 61 74 20 6c 65 61  |0x14..\b, at lea|
00001d80  73 74 20 76 32 2e 30 20  74 6f 20 65 78 74 72 61  |st v2.0 to extra|
00001d90  63 74 0a 0a 23 20 5a 6f  6f 20 61 72 63 68 69 76  |ct..# Zoo archiv|
00001da0  65 72 0a 32 30 09 6c 65  6c 6f 6e 67 09 09 30 78  |er.20.lelong..0x|
00001db0  66 64 63 34 61 37 64 63  09 5a 6f 6f 20 61 72 63  |fdc4a7dc.Zoo arc|
00001dc0  68 69 76 65 20 64 61 74  61 0a 3e 34 09 62 79 74  |hive data.>4.byt|
00001dd0  65 09 09 3e 34 38 09 09  5c 62 2c 20 76 25 63 2e  |e..>48..\b, v%c.|
00001de0  0a 3e 3e 36 09 62 79 74  65 09 09 3e 34 37 09 09  |.>>6.byte..>47..|
00001df0  5c 62 25 63 0a 3e 3e 3e  37 09 62 79 74 65 09 09  |\b%c.>>>7.byte..|
00001e00  3e 34 37 09 09 5c 62 25  63 0a 3e 33 32 09 62 79  |>47..\b%c.>32.by|
00001e10  74 65 09 09 3e 30 09 09  5c 62 2c 20 6d 6f 64 69  |te..>0..\b, modi|
00001e20  66 79 3a 20 76 25 64 0a  3e 3e 33 33 09 62 79 74  |fy: v%d.>>33.byt|
00001e30  65 09 09 78 09 09 5c 62  2e 25 64 2b 0a 3e 34 32  |e..x..\b.%d+.>42|
00001e40  09 6c 65 6c 6f 6e 67 09  09 30 78 66 64 63 34 61  |.lelong..0xfdc4a|
00001e50  37 64 63 09 5c 62 2c 0a  3e 3e 37 30 09 62 79 74  |7dc.\b,.>>70.byt|
00001e60  65 09 09 3e 30 09 09 65  78 74 72 61 63 74 3a 20  |e..>0..extract: |
00001e70  76 25 64 0a 3e 3e 3e 37  31 09 62 79 74 65 09 09  |v%d.>>>71.byte..|
00001e80  78 09 09 5c 62 2e 25 64  2b 0a 0a 23 20 53 68 65  |x..\b.%d+..# She|
00001e90  6c 6c 20 61 72 63 68 69  76 65 73 0a 31 30 09 73  |ll archives.10.s|
00001ea0  74 72 69 6e 67 09 09 23  5c 20 54 68 69 73 5c 20  |tring..#\ This\ |
00001eb0  69 73 5c 20 61 5c 20 73  68 65 6c 6c 5c 20 61 72  |is\ a\ shell\ ar|
00001ec0  63 68 69 76 65 09 73 68  65 6c 6c 20 61 72 63 68  |chive.shell arch|
00001ed0  69 76 65 20 74 65 78 74  0a 0a 23 2d 2d 2d 2d 2d  |ive text..#-----|
00001ee0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00001f20  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 23 20 61 75 64 69  |---------.# audi|
00001f30  6f 3a 20 20 66 69 6c 65  28 31 29 20 6d 61 67 69  |o:  file(1) magi|
00001f40  63 20 66 6f 72 20 73 6f  75 6e 64 20 66 6f 72 6d  |c for sound form|
00001f50  61 74 73 0a 23 0a 23 20  4a 61 6e 20 4e 69 63 6f  |ats.#.# Jan Nico|
00001f60  6c 61 69 20 4c 61 6e 67  66 65 6c 64 74 20 28 6a  |lai Langfeldt (j|
00001f70  61 6e 6c 40 69 66 69 2e  75 69 6f 2e 6e 6f 29 2c  |anl@ifi.uio.no),|
00001f80  20 44 61 6e 20 51 75 69  6e 6c 61 6e 20 28 71 75  | Dan Quinlan (qu|
00001f90  69 6e 6c 61 6e 40 79 67  67 64 72 61 73 69 6c 2e  |inlan@yggdrasil.|
00001fa0  63 6f 6d 29 2c 0a 23 20  61 6e 64 20 6f 74 68 65  |com),.# and othe|
00001fb0  72 73 0a 23 0a 0a 23 20  53 75 6e 2f 4e 65 58 54  |rs.#..# Sun/NeXT|
00001fc0  20 61 75 64 69 6f 20 64  61 74 61 0a 30 09 73 74  | audio data.0.st|
00001fd0  72 69 6e 67 09 09 2e 73  6e 64 09 09 53 75 6e 2f  |ring...snd..Sun/|
00001fe0  4e 65 58 54 20 61 75 64  69 6f 20 64 61 74 61 3a  |NeXT audio data:|
00001ff0  0a 3e 31 32 09 62 65 6c  6f 6e 67 09 09 31 09 09  |.>12.belong..1..|
00002000  38 2d 62 69 74 20 49 53  44 4e 20 75 2d 6c 61 77  |8-bit ISDN u-law|
00002010  2c 0a 3e 31 32 09 62 65  6c 6f 6e 67 09 09 32 09  |,.>12.belong..2.|
00002020  09 38 2d 62 69 74 20 6c  69 6e 65 61 72 20 50 43  |.8-bit linear PC|
00002030  4d 20 5b 52 45 46 2d 50  43 4d 5d 2c 0a 3e 31 32  |M [REF-PCM],.>12|
00002040  09 62 65 6c 6f 6e 67 09  09 33 09 09 31 36 2d 62  |.belong..3..16-b|
00002050  69 74 20 6c 69 6e 65 61  72 20 50 43 4d 2c 0a 3e  |it linear PCM,.>|
00002060  31 32 09 62 65 6c 6f 6e  67 09 09 34 09 09 32 34  |12.belong..4..24|
00002070  2d 62 69 74 20 6c 69 6e  65 61 72 20 50 43 4d 2c  |-bit linear PCM,|
00002080  0a 3e 31 32 09 62 65 6c  6f 6e 67 09 09 35 09 09  |.>12.belong..5..|
00002090  33 32 2d 62 69 74 20 6c  69 6e 65 61 72 20 50 43  |32-bit linear PC|
000020a0  4d 2c 0a 3e 31 32 09 62  65 6c 6f 6e 67 09 09 36  |M,.>12.belong..6|
000020b0  09 09 33 32 2d 62 69 74  20 49 45 45 45 20 66 6c  |..32-bit IEEE fl|
000020c0  6f 61 74 69 6e 67 20 70  6f 69 6e 74 2c 0a 3e 31  |oating point,.>1|
000020d0  32 09 62 65 6c 6f 6e 67  09 09 37 09 09 36 34 2d  |2.belong..7..64-|
000020e0  62 69 74 20 49 45 45 45  20 66 6c 6f 61 74 69 6e  |bit IEEE floatin|
000020f0  67 20 70 6f 69 6e 74 2c  0a 3e 31 32 09 62 65 6c  |g point,.>12.bel|
00002100  6f 6e 67 09 09 32 33 09  09 38 2d 62 69 74 20 49  |ong..23..8-bit I|
00002110  53 44 4e 20 75 2d 6c 61  77 20 63 6f 6d 70 72 65  |SDN u-law compre|
00002120  73 73 65 64 20 28 43 43  49 54 54 20 47 2e 37 32  |ssed (CCITT G.72|
00002130  31 20 41 44 50 43 4d 20  76 6f 69 63 65 20 64 61  |1 ADPCM voice da|
00002140  74 61 20 65 6e 63 6f 64  69 6e 67 29 2c 0a 3e 32  |ta encoding),.>2|
00002150  30 09 62 65 6c 6f 6e 67  09 09 31 09 09 6d 6f 6e  |0.belong..1..mon|
00002160  6f 2c 0a 3e 32 30 09 62  65 6c 6f 6e 67 09 09 32  |o,.>20.belong..2|
00002170  09 09 73 74 65 72 65 6f  2c 0a 3e 32 30 09 62 65  |..stereo,.>20.be|
00002180  6c 6f 6e 67 09 09 34 09  09 71 75 61 64 2c 0a 3e  |long..4..quad,.>|
00002190  31 36 09 62 65 6c 6f 6e  67 09 09 3e 30 09 09 25  |16.belong..>0..%|
000021a0  64 20 48 7a 0a 0a 23 20  74 68 61 74 20 75 73 65  |d Hz..# that use|
000021b0  73 20 6c 69 74 74 6c 65  2d 65 6e 64 69 61 6e 20  |s little-endian |
000021c0  65 6e 63 6f 64 69 6e 67  20 61 6e 64 20 68 61 73  |encoding and has|
000021d0  20 61 20 64 69 66 66 65  72 65 6e 74 20 6d 61 67  | a different mag|
000021e0  69 63 20 6e 75 6d 62 65  72 0a 30 09 6c 65 6c 6f  |ic number.0.lelo|
000021f0  6e 67 09 09 30 78 30 30  36 34 37 33 32 45 09 44  |ng..0x0064732E.D|
00002200  45 43 20 61 75 64 69 6f  20 64 61 74 61 3a 0a 3e  |EC audio data:.>|
00002210  31 32 09 6c 65 6c 6f 6e  67 09 09 31 09 09 38 2d  |12.lelong..1..8-|
00002220  62 69 74 20 49 53 44 4e  20 75 2d 6c 61 77 2c 0a  |bit ISDN u-law,.|
00002230  3e 31 32 09 6c 65 6c 6f  6e 67 09 09 32 09 09 38  |>12.lelong..2..8|
00002240  2d 62 69 74 20 6c 69 6e  65 61 72 20 50 43 4d 20  |-bit linear PCM |
00002250  5b 52 45 46 2d 50 43 4d  5d 2c 0a 3e 31 32 09 6c  |[REF-PCM],.>12.l|
00002260  65 6c 6f 6e 67 09 09 33  09 09 31 36 2d 62 69 74  |elong..3..16-bit|
00002270  20 6c 69 6e 65 61 72 20  50 43 4d 2c 0a 3e 31 32  | linear PCM,.>12|
00002280  09 6c 65 6c 6f 6e 67 09  09 34 09 09 32 34 2d 62  |.lelong..4..24-b|
00002290  69 74 20 6c 69 6e 65 61  72 20 50 43 4d 2c 0a 3e  |it linear PCM,.>|
000022a0  31 32 09 6c 65 6c 6f 6e  67 09 09 35 09 09 33 32  |12.lelong..5..32|
000022b0  2d 62 69 74 20 6c 69 6e  65 61 72 20 50 43 4d 2c  |-bit linear PCM,|
000022c0  0a 3e 31 32 09 6c 65 6c  6f 6e 67 09 09 36 09 09  |.>12.lelong..6..|
000022d0  33 32 2d 62 69 74 20 49  45 45 45 20 66 6c 6f 61  |32-bit IEEE floa|
000022e0  74 69 6e 67 20 70 6f 69  6e 74 2c 0a 3e 31 32 09  |ting point,.>12.|
000022f0  6c 65 6c 6f 6e 67 09 09  37 09 09 36 34 2d 62 69  |lelong..7..64-bi|
00002300  74 20 49 45 45 45 20 66  6c 6f 61 74 69 6e 67 20  |t IEEE floating |
00002310  70 6f 69 6e 74 2c 0a 3e  31 32 09 6c 65 6c 6f 6e  |point,.>12.lelon|
00002320  67 09 09 32 33 09 09 38  2d 62 69 74 20 49 53 44  |g..23..8-bit ISD|
00002330  4e 20 75 2d 6c 61 77 20  63 6f 6d 70 72 65 73 73  |N u-law compress|
00002340  65 64 20 28 43 43 49 54  54 20 47 2e 37 32 31 20  |ed (CCITT G.721 |
00002350  41 44 50 43 4d 20 76 6f  69 63 65 20 64 61 74 61  |ADPCM voice data|
00002360  20 65 6e 63 6f 64 69 6e  67 29 2c 0a 3e 32 30 09  | encoding),.>20.|
00002370  6c 65 6c 6f 6e 67 09 09  31 09 09 6d 6f 6e 6f 2c  |lelong..1..mono,|
00002380  0a 3e 32 30 09 6c 65 6c  6f 6e 67 09 09 32 09 09  |.>20.lelong..2..|
00002390  73 74 65 72 65 6f 2c 0a  3e 32 30 09 6c 65 6c 6f  |stereo,.>20.lelo|
000023a0  6e 67 09 09 34 09 09 71  75 61 64 2c 0a 3e 31 36  |ng..4..quad,.>16|
000023b0  09 6c 65 6c 6f 6e 67 09  09 3e 30 09 09 25 64 20  |.lelong..>0..%d |
000023c0  48 7a 0a 0a 23 20 43 72  65 61 74 69 76 65 20 4c  |Hz..# Creative L|
000023d0  61 62 73 20 41 55 44 49  4f 20 73 74 75 66 66 0a  |abs AUDIO stuff.|
000023e0  30 09 73 74 72 69 6e 67  09 4d 54 68 64 09 09 09  |0.string.MThd...|
000023f0  53 74 61 6e 64 61 72 64  20 4d 49 44 49 20 64 61  |Standard MIDI da|
00002400  74 61 0a 3e 39 20 09 62  79 74 65 09 3e 30 09 09  |ta.>9 .byte.>0..|
00002410  09 28 66 6f 72 6d 61 74  20 25 64 29 0a 3e 31 31  |.(format %d).>11|
00002420  09 62 79 74 65 09 3e 31  09 09 09 75 73 69 6e 67  |.byte.>1...using|
00002430  20 25 64 20 63 68 61 6e  6e 65 6c 73 0a 30 09 73  | %d channels.0.s|
00002440  74 72 69 6e 67 09 43 54  4d 46 09 09 09 43 72 65  |tring.CTMF...Cre|
00002450  61 74 69 76 65 20 4d 75  73 69 63 20 28 43 4d 46  |ative Music (CMF|
00002460  29 20 64 61 74 61 0a 30  09 73 74 72 69 6e 67 09  |) data.0.string.|
00002470  53 42 49 09 09 09 53 6f  75 6e 64 42 6c 61 73 74  |SBI...SoundBlast|
00002480  65 72 20 69 6e 73 74 72  75 6d 65 6e 74 20 64 61  |er instrument da|
00002490  74 61 0a 30 09 73 74 72  69 6e 67 09 43 72 65 61  |ta.0.string.Crea|
000024a0  74 69 76 65 5c 20 56 6f  69 63 65 5c 20 46 69 6c  |tive\ Voice\ Fil|
000024b0  65 09 43 72 65 61 74 69  76 65 20 4c 61 62 73 20  |e.Creative Labs |
000024c0  76 6f 69 63 65 20 64 61  74 61 0a 23 20 69 73 20  |voice data.# is |
000024d0  74 68 69 73 20 6e 65 78  74 20 6c 69 6e 65 20 72  |this next line r|
000024e0  69 67 68 74 3f 20 20 69  74 20 63 61 6d 65 20 74  |ight?  it came t|
000024f0  68 69 73 20 77 61 79 2e  2e 2e 0a 3e 31 39 09 62  |his way....>19.b|
00002500  79 74 65 09 30 78 31 41  0a 3e 32 33 09 62 79 74  |yte.0x1A.>23.byt|
00002510  65 09 3e 30 09 09 09 2d  20 76 65 72 73 69 6f 6e  |e.>0...- version|
00002520  20 25 64 0a 3e 32 32 09  62 79 74 65 09 3e 30 09  | %d.>22.byte.>0.|
00002530  09 09 5c 62 2e 25 64 0a  0a 23 20 66 69 72 73 74  |..\b.%d..# first|
00002540  20 65 6e 74 72 79 20 69  73 20 61 6c 73 6f 20 74  | entry is also t|
00002550  68 65 20 73 74 72 69 6e  67 20 22 4e 54 52 4b 22  |he string "NTRK"|
00002560  0a 30 09 62 65 6c 6f 6e  67 09 09 30 78 34 65 35  |.0.belong..0x4e5|
00002570  34 35 32 34 62 09 4d 75  6c 74 69 54 72 61 63 6b  |4524b.MultiTrack|
00002580  20 73 6f 75 6e 64 20 64  61 74 61 0a 3e 34 09 62  | sound data.>4.b|
00002590  65 6c 6f 6e 67 09 09 78  09 09 2d 20 76 65 72 73  |elong..x..- vers|
000025a0  69 6f 6e 20 25 6c 64 0a  0a 23 20 4d 69 63 72 6f  |ion %ld..# Micro|
000025b0  73 6f 66 74 20 57 41 56  45 20 66 6f 72 6d 61 74  |soft WAVE format|
000025c0  20 28 2a 2e 77 61 76 29  0a 23 20 5b 47 52 52 20  | (*.wav).# [GRR |
000025d0  39 35 30 31 31 35 3a 20  20 70 72 6f 62 61 62 6c  |950115:  probabl|
000025e0  79 20 61 6c 6c 20 6f 66  20 74 68 65 20 73 68 6f  |y all of the sho|
000025f0  72 74 73 20 61 6e 64 20  6c 6f 6e 67 73 20 73 68  |rts and longs sh|
00002600  6f 75 6c 64 20 62 65 20  6c 65 73 68 6f 72 74 2f  |ould be leshort/|
00002610  6c 65 6c 6f 6e 67 5d 0a  30 09 73 74 72 69 6e 67  |lelong].0.string|
00002620  09 09 52 49 46 46 09 09  4d 69 63 72 6f 73 6f 66  |..RIFF..Microsof|
00002630  74 20 52 49 46 46 0a 3e  38 09 73 74 72 69 6e 67  |t RIFF.>8.string|
00002640  09 09 57 41 56 45 09 09  2d 20 57 41 56 45 20 66  |..WAVE..- WAVE f|
00002650  6f 72 6d 61 74 0a 3e 33  34 09 73 68 6f 72 74 09  |ormat.>34.short.|
00002660  09 3e 30 09 09 25 64 20  62 69 74 0a 3e 32 32 09  |.>0..%d bit.>22.|
00002670  73 68 6f 72 74 09 09 3d  31 09 09 4d 6f 6e 6f 0a  |short..=1..Mono.|
00002680  3e 32 32 09 73 68 6f 72  74 09 09 3d 32 09 09 53  |>22.short..=2..S|
00002690  74 65 72 65 6f 0a 3e 32  32 09 73 68 6f 72 74 09  |tereo.>22.short.|
000026a0  09 3e 32 09 09 25 64 20  43 68 61 6e 6e 65 6c 73  |.>2..%d Channels|
000026b0  0a 3e 32 34 09 6c 6f 6e  67 09 09 3e 30 09 09 25  |.>24.long..>0..%|
000026c0  64 20 48 7a 0a 0a 23 20  45 78 74 65 6e 64 65 64  |d Hz..# Extended|
000026d0  20 4d 4f 44 20 66 6f 72  6d 61 74 20 28 2a 2e 65  | MOD format (*.e|
000026e0  6d 64 29 20 28 47 72 65  67 20 52 6f 65 6c 6f 66  |md) (Greg Roelof|
000026f0  73 2c 20 6e 65 77 74 40  75 63 68 69 63 61 67 6f  |s, newt@uchicago|
00002700  2e 65 64 75 29 3b 20 4e  4f 54 20 54 45 53 54 45  |.edu); NOT TESTE|
00002710  44 0a 23 20 5b 62 61 73  65 64 20 6f 6e 20 70 6f  |D.# [based on po|
00002720  73 74 69 6e 67 20 39 34  30 38 32 34 20 62 79 20  |sting 940824 by |
00002730  22 44 69 72 6b 2f 45 6c  61 73 74 69 6b 22 2c 20  |"Dirk/Elastik", |
00002740  68 75 73 62 65 72 67 40  6c 65 68 74 6f 72 69 2e  |husberg@lehtori.|
00002750  63 63 2e 74 75 74 2e 66  69 5d 0a 30 09 73 74 72  |cc.tut.fi].0.str|
00002760  69 6e 67 09 09 45 4d 4f  44 09 09 45 78 74 65 6e  |ing..EMOD..Exten|
00002770  64 65 64 20 4d 4f 44 20  73 6f 75 6e 64 20 64 61  |ded MOD sound da|
00002780  74 61 2c 0a 3e 34 09 62  79 74 65 26 30 78 66 30  |ta,.>4.byte&0xf0|
00002790  09 78 09 09 76 65 72 73  69 6f 6e 20 25 64 0a 3e  |.x..version %d.>|
000027a0  34 09 62 79 74 65 26 30  78 30 66 09 78 09 09 5c  |4.byte&0x0f.x..\|
000027b0  62 2e 25 64 2c 0a 3e 34  35 09 62 79 74 65 09 09  |b.%d,.>45.byte..|
000027c0  78 09 09 25 64 20 69 6e  73 74 72 75 6d 65 6e 74  |x..%d instrument|
000027d0  73 0a 3e 38 33 09 62 79  74 65 09 09 30 09 09 28  |s.>83.byte..0..(|
000027e0  6d 6f 64 75 6c 65 29 0a  3e 38 33 09 62 79 74 65  |module).>83.byte|
000027f0  09 09 31 09 09 28 73 6f  6e 67 29 0a 0a 23 2d 2d  |..1..(song)..#--|
00002800  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00002840  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 23 20 63  |------------.# c|
00002850  2d 6c 61 6e 67 3a 20 20  66 69 6c 65 28 31 29 20  |-lang:  file(1) |
00002860  6d 61 67 69 63 20 66 6f  72 20 43 20 70 72 6f 67  |magic for C prog|
00002870  72 61 6d 73 20 28 6f 72  20 52 45 58 58 29 0a 23  |rams (or REXX).#|
00002880  0a 0a 23 20 58 50 4d 20  69 63 6f 6e 73 20 28 47  |..# XPM icons (G|
00002890  72 65 67 20 52 6f 65 6c  6f 66 73 2c 20 6e 65 77  |reg Roelofs, new|
000028a0  74 40 75 63 68 69 63 61  67 6f 2e 65 64 75 29 0a  |t@uchicago.edu).|
000028b0  23 20 69 66 20 79 6f 75  20 75 6e 63 6f 6d 6d 65  |# if you uncomme|
000028c0  6e 74 20 22 2f 2a 22 20  66 6f 72 20 43 2f 52 45  |nt "/*" for C/RE|
000028d0  58 58 20 62 65 6c 6f 77  2c 20 61 6c 73 6f 20 75  |XX below, also u|
000028e0  6e 63 6f 6d 6d 65 6e 74  20 74 68 69 73 20 65 6e  |ncomment this en|
000028f0  74 72 79 0a 30 09 73 74  72 69 6e 67 09 09 2f 2a  |try.0.string../*|
00002900  5c 20 58 50 4d 5c 20 2a  2f 09 58 20 70 69 78 6d  |\ XPM\ */.X pixm|
00002910  61 70 20 69 6d 61 67 65  20 64 61 74 61 0a 0a 23  |ap image data..#|
00002920  20 74 68 69 73 20 66 69  72 73 74 20 77 69 6c 6c  | this first will|
00002930  20 75 70 73 65 74 20 79  6f 75 20 69 66 20 79 6f  | upset you if yo|
00002940  75 27 72 65 20 61 20 50  4c 2f 31 20 73 68 6f 70  |u're a PL/1 shop|
00002950  2e 2e 2e 0a 23 20 69 6e  20 77 68 69 63 68 20 63  |....# in which c|
00002960  61 73 65 20 72 6d 20 69  74 3b 20 61 73 63 6d 61  |ase rm it; ascma|
00002970  67 69 63 20 77 69 6c 6c  20 63 61 74 63 68 20 72  |gic will catch r|
00002980  65 61 6c 20 43 20 70 72  6f 67 72 61 6d 73 0a 0a  |eal C programs..|
00002990  23 20 4e 6f 74 65 3a 20  4e 6f 20 61 73 63 6d 61  |# Note: No ascma|
000029a0  67 69 63 20 69 6e 20 21  4d 61 67 69 63 20 2d 20  |gic in !Magic - |
000029b0  41 48 0a 0a 30 09 73 74  72 69 6e 67 09 09 2f 2a  |AH..0.string../*|
000029c0  09 09 43 20 6f 72 20 52  45 58 58 20 70 72 6f 67  |..C or REXX prog|
000029d0  72 61 6d 20 74 65 78 74  0a 30 09 73 74 72 69 6e  |ram text.0.strin|
000029e0  67 09 09 2f 2f 09 09 43  2b 2b 20 70 72 6f 67 72  |g..//..C++ progr|
000029f0  61 6d 20 74 65 78 74 0a  0a 23 2d 2d 2d 2d 2d 2d  |am text..#------|
00002a00  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00002a40  2d 2d 2d 2d 2d 2d 2d 2d  0a 23 20 63 6f 6d 70 72  |--------.# compr|
00002a50  65 73 73 3a 20 20 66 69  6c 65 28 31 29 20 6d 61  |ess:  file(1) ma|
00002a60  67 69 63 20 66 6f 72 20  70 75 72 65 2d 63 6f 6d  |gic for pure-com|
00002a70  70 72 65 73 73 69 6f 6e  20 66 6f 72 6d 61 74 73  |pression formats|
00002a80  20 28 6e 6f 20 61 72 63  68 69 76 65 73 29 0a 23  | (no archives).#|
00002a90  0a 23 20 63 6f 6d 70 72  65 73 73 2c 20 67 7a 69  |.# compress, gzi|
00002aa0  70 2c 20 70 61 63 6b 2c  20 63 6f 6d 70 61 63 74  |p, pack, compact|
00002ab0  2c 20 68 75 66 2c 20 73  71 75 65 65 7a 65 2c 20  |, huf, squeeze, |
00002ac0  63 72 75 6e 63 68 2c 20  66 72 65 65 7a 65 2c 20  |crunch, freeze, |
00002ad0  79 61 62 62 61 2c 20 65  74 63 2e 0a 23 0a 23 20  |yabba, etc..#.# |
00002ae0  46 6f 72 6d 61 74 73 20  66 6f 72 20 76 61 72 69  |Formats for vari|
00002af0  6f 75 73 20 66 6f 72 6d  73 20 6f 66 20 63 6f 6d  |ous forms of com|
00002b00  70 72 65 73 73 65 64 20  64 61 74 61 0a 23 20 46  |pressed data.# F|
00002b10  6f 72 6d 61 74 73 20 66  6f 72 20 22 63 6f 6d 70  |ormats for "comp|
00002b20  72 65 73 73 22 20 70 72  6f 70 65 72 20 68 61 76  |ress" proper hav|
00002b30  65 20 62 65 65 6e 20 6d  6f 76 65 64 20 69 6e 74  |e been moved int|
00002b40  6f 20 22 63 6f 6d 70 72  65 73 73 2e 63 22 2c 0a  |o "compress.c",.|
00002b50  23 20 62 65 63 61 75 73  65 20 69 74 20 74 72 69  |# because it tri|
00002b60  65 73 20 74 6f 20 75 6e  63 6f 6d 70 72 65 73 73  |es to uncompress|
00002b70  20 69 74 20 74 6f 20 66  69 67 75 72 65 20 6f 75  | it to figure ou|
00002b80  74 20 77 68 61 74 27 73  20 69 6e 73 69 64 65 2e  |t what's inside.|
00002b90  0a 0a 23 20 73 74 61 6e  64 61 72 64 20 75 6e 69  |..# standard uni|
00002ba0  78 20 63 6f 6d 70 72 65  73 73 0a 30 09 73 74 72  |x compress.0.str|
00002bb0  69 6e 67 09 09 5c 30 33  37 5c 32 33 35 09 55 6e  |ing..\037\235.Un|
00002bc0  69 78 20 63 6f 6d 70 72  65 73 73 27 64 20 64 61  |ix compress'd da|
00002bd0  74 61 0a 3e 32 09 62 79  74 65 26 30 78 38 30 09  |ta.>2.byte&0x80.|
00002be0  3e 30 09 09 62 6c 6f 63  6b 20 63 6f 6d 70 72 65  |>0..block compre|
00002bf0  73 73 65 64 0a 3e 32 09  62 79 74 65 26 30 78 31  |ssed.>2.byte&0x1|
00002c00  66 09 78 09 09 25 64 20  62 69 74 73 0a 0a 23 20  |f.x..%d bits..# |
00002c10  67 7a 69 70 20 28 47 4e  55 20 7a 69 70 2c 20 6e  |gzip (GNU zip, n|
00002c20  6f 74 20 74 6f 20 62 65  20 63 6f 6e 66 75 73 65  |ot to be confuse|
00002c30  64 20 77 69 74 68 20 49  6e 66 6f 2d 5a 49 50 20  |d with Info-ZIP |
00002c40  6f 72 20 50 4b 57 41 52  45 20 7a 69 70 20 61 72  |or PKWARE zip ar|
00002c50  63 68 69 76 65 72 29 0a  0a 23 20 4e 6f 74 65 3a  |chiver)..# Note:|
00002c60  20 54 68 65 20 52 69 73  63 20 4f 53 20 70 6f 72  | The Risc OS por|
00002c70  74 20 67 69 76 65 73 20  74 68 65 20 4f 53 20 74  |t gives the OS t|
00002c80  79 70 65 20 61 73 20 55  6e 69 78 20 2d 20 41 48  |ype as Unix - AH|
00002c90  0a 30 09 62 79 74 65 09  09 30 78 31 66 0a 31 09  |.0.byte..0x1f.1.|
00002ca0  62 79 74 65 09 09 30 78  38 62 09 09 47 7a 69 70  |byte..0x8b..Gzip|
00002cb0  20 63 6f 6d 70 72 65 73  73 65 64 20 66 69 6c 65  | compressed file|
00002cc0  0a 3e 32 20 20 20 20 20  20 62 79 74 65 20 20 20  |.>2      byte   |
00002cd0  20 20 20 20 20 20 20 20  20 3c 38 20 20 20 20 20  |         <8     |
00002ce0  20 20 20 20 20 20 20 20  20 5c 62 2c 20 72 65 73  |         \b, res|
00002cf0  65 72 76 65 64 20 6d 65  74 68 6f 64 2c 0a 3e 32  |erved method,.>2|
00002d00  20 20 20 20 20 20 62 79  74 65 20 20 20 20 20 20  |      byte      |
00002d10  20 20 20 20 20 20 38 20  20 20 20 20 20 20 20 20  |      8         |
00002d20  20 20 20 20 20 20 5c 62  2c 20 64 65 66 6c 61 74  |      \b, deflat|
00002d30  65 64 2c 0a 3e 33 09 62  79 74 65 09 09 26 30 78  |ed,.>3.byte..&0x|
00002d40  30 31 09 09 41 53 43 49  49 2c 0a 3e 33 09 62 79  |01..ASCII,.>3.by|
00002d50  74 65 09 09 26 30 78 30  32 09 09 63 6f 6e 74 69  |te..&0x02..conti|
00002d60  6e 75 61 74 69 6f 6e 2c  0a 3e 33 09 62 79 74 65  |nuation,.>3.byte|
00002d70  09 09 26 30 78 30 34 09  09 65 78 74 72 61 20 66  |..&0x04..extra f|
00002d80  69 65 6c 64 2c 0a 3e 33  09 62 79 74 65 09 09 26  |ield,.>3.byte..&|
00002d90  30 78 30 38 09 09 6f 72  69 67 69 6e 61 6c 20 66  |0x08..original f|
00002da0  69 6c 65 6e 61 6d 65 2c  0a 3e 33 09 62 79 74 65  |ilename,.>3.byte|
00002db0  09 09 26 30 78 31 30 09  09 63 6f 6d 6d 65 6e 74  |..&0x10..comment|
00002dc0  2c 0a 3e 33 09 62 79 74  65 09 09 26 30 78 32 30  |,.>3.byte..&0x20|
00002dd0  09 09 65 6e 63 72 79 70  74 65 64 2c 0a 3e 34 09  |..encrypted,.>4.|
00002de0  6c 65 64 61 74 65 09 09  78 09 09 6c 61 73 74 20  |ledate..x..last |
00002df0  6d 6f 64 69 66 69 65 64  3a 20 25 73 2c 0a 3e 38  |modified: %s,.>8|
00002e00  09 62 79 74 65 09 09 32  09 09 6d 61 78 20 63 6f  |.byte..2..max co|
00002e10  6d 70 72 65 73 73 69 6f  6e 2c 0a 3e 38 09 62 79  |mpression,.>8.by|
00002e20  74 65 09 09 34 09 09 6d  61 78 20 73 70 65 65 64  |te..4..max speed|
00002e30  2c 0a 3e 39 09 62 79 74  65 09 09 3d 30 78 30 30  |,.>9.byte..=0x00|
00002e40  09 09 6f 73 3a 20 4d 53  2d 44 4f 53 0a 3e 39 09  |..os: MS-DOS.>9.|
00002e50  62 79 74 65 09 09 3d 30  78 30 31 09 09 6f 73 3a  |byte..=0x01..os:|
00002e60  20 41 6d 69 67 61 0a 3e  39 09 62 79 74 65 09 09  | Amiga.>9.byte..|
00002e70  3d 30 78 30 32 09 09 6f  73 3a 20 56 4d 53 0a 3e  |=0x02..os: VMS.>|
00002e80  39 09 62 79 74 65 09 09  3d 30 78 30 33 09 09 6f  |9.byte..=0x03..o|
00002e90  73 3a 20 55 6e 69 78 0a  3e 39 09 62 79 74 65 09  |s: Unix.>9.byte.|
00002ea0  09 3d 30 78 30 35 09 09  6f 73 3a 20 41 74 61 72  |.=0x05..os: Atar|
00002eb0  69 0a 3e 39 09 62 79 74  65 09 09 3d 30 78 30 36  |i.>9.byte..=0x06|
00002ec0  09 09 6f 73 3a 20 4f 53  2f 32 0a 3e 39 09 62 79  |..os: OS/2.>9.by|
00002ed0  74 65 09 09 3d 30 78 30  37 09 09 6f 73 3a 20 4d  |te..=0x07..os: M|
00002ee0  61 63 4f 53 0a 3e 39 09  62 79 74 65 09 09 3d 30  |acOS.>9.byte..=0|
00002ef0  78 30 41 09 09 6f 73 3a  20 54 6f 70 73 2f 32 30  |x0A..os: Tops/20|
00002f00  0a 3e 39 09 62 79 74 65  09 09 3d 30 78 30 42 09  |.>9.byte..=0x0B.|
00002f10  09 6f 73 3a 20 57 69 6e  2f 33 32 0a 0a 23 20 70  |.os: Win/32..# p|
00002f20  61 63 6b 65 64 20 64 61  74 61 2c 20 48 75 66 66  |acked data, Huff|
00002f30  6d 61 6e 20 28 6d 69 6e  69 6d 75 6d 20 72 65 64  |man (minimum red|
00002f40  75 6e 64 61 6e 63 79 29  20 63 6f 64 65 73 20 6f  |undancy) codes o|
00002f50  6e 20 61 20 62 79 74 65  2d 62 79 2d 62 79 74 65  |n a byte-by-byte|
00002f60  20 62 61 73 69 73 0a 30  09 73 74 72 69 6e 67 09  | basis.0.string.|
00002f70  09 5c 30 33 37 5c 30 33  36 09 70 61 63 6b 65 64  |.\037\036.packed|
00002f80  20 64 61 74 61 0a 3e 32  09 62 65 6c 6f 6e 67 09  | data.>2.belong.|
00002f90  09 3e 31 09 09 5c 62 2c  20 25 64 20 63 68 61 72  |.>1..\b, %d char|
00002fa0  61 63 74 65 72 73 20 6f  72 69 67 69 6e 61 6c 6c  |acters originall|
00002fb0  79 0a 3e 32 09 62 65 6c  6f 6e 67 09 09 3d 31 09  |y.>2.belong..=1.|
00002fc0  09 5c 62 2c 20 25 64 20  63 68 61 72 61 63 74 65  |.\b, %d characte|
00002fd0  72 20 6f 72 69 67 69 6e  61 6c 6c 79 0a 23 0a 23  |r originally.#.#|
00002fe0  20 54 68 69 73 20 6d 61  67 69 63 20 6e 75 6d 62  | This magic numb|
00002ff0  65 72 20 69 73 20 62 79  74 65 2d 6f 72 64 65 72  |er is byte-order|
00003000  2d 69 6e 64 65 70 65 6e  64 65 6e 74 2e 20 20 58  |-independent.  X|
00003010  58 58 20 2d 20 44 6f 65  73 20 74 68 61 74 20 6d  |XX - Does that m|
00003020  65 61 6e 20 74 68 69 73  0a 23 20 69 73 20 62 69  |ean this.# is bi|
00003030  67 2d 65 6e 64 69 61 6e  2c 20 6c 69 74 74 6c 65  |g-endian, little|
00003040  2d 65 6e 64 69 61 6e 2c  20 65 69 74 68 65 72 2c  |-endian, either,|
00003050  20 6f 72 20 74 68 61 74  20 79 6f 75 20 63 61 6e  | or that you can|
00003060  27 74 20 74 65 6c 6c 3f  0a 23 20 74 68 69 73 20  |'t tell?.# this |
00003070  73 68 6f 72 74 20 69 73  20 76 61 6c 69 64 20 66  |short is valid f|
00003080  6f 72 20 53 75 6e 4f 53  0a 30 09 73 68 6f 72 74  |or SunOS.0.short|
00003090  09 09 30 31 37 34 33 37  09 09 6f 6c 64 20 70 61  |..017437..old pa|
000030a0  63 6b 65 64 20 64 61 74  61 0a 0a 23 20 58 58 58  |cked data..# XXX|
000030b0  20 2d 20 77 68 79 20 2a  74 77 6f 2a 20 65 6e 74  | - why *two* ent|
000030c0  72 69 65 73 20 66 6f 72  20 22 63 6f 6d 70 61 63  |ries for "compac|
000030d0  74 65 64 20 64 61 74 61  22 2c 20 6f 6e 65 20 6f  |ted data", one o|
000030e0  66 20 77 68 69 63 68 20  69 73 0a 23 20 62 79 74  |f which is.# byt|
000030f0  65 2d 6f 72 64 65 72 20  69 6e 64 65 70 65 6e 64  |e-order independ|
00003100  65 6e 74 2c 20 61 6e 64  20 6f 6e 65 20 6f 66 20  |ent, and one of |
00003110  77 68 69 63 68 20 69 73  20 62 79 74 65 2d 6f 72  |which is byte-or|
00003120  64 65 72 20 64 65 70 65  6e 64 65 6e 74 3f 0a 23  |der dependent?.#|
00003130  0a 30 09 73 68 6f 72 74  09 09 30 78 31 66 66 66  |.0.short..0x1fff|
00003140  09 09 63 6f 6d 70 61 63  74 65 64 20 64 61 74 61  |..compacted data|
00003150  0a 23 20 54 68 69 73 20  73 74 72 69 6e 67 20 69  |.# This string i|
00003160  73 20 76 61 6c 69 64 20  66 6f 72 20 53 75 6e 4f  |s valid for SunO|
00003170  53 20 28 42 45 29 20 61  6e 64 20 61 20 6d 61 74  |S (BE) and a mat|
00003180  63 68 69 6e 67 20 22 73  68 6f 72 74 22 20 69 73  |ching "short" is|
00003190  20 6c 69 73 74 65 64 0a  23 20 69 6e 20 74 68 65  | listed.# in the|
000031a0  20 55 6c 74 72 69 78 20  28 4c 45 29 20 6d 61 67  | Ultrix (LE) mag|
000031b0  69 63 20 66 69 6c 65 2e  0a 30 09 73 74 72 69 6e  |ic file..0.strin|
000031c0  67 09 09 5c 33 37 37 5c  30 33 37 09 63 6f 6d 70  |g..\377\037.comp|
000031d0  61 63 74 65 64 20 64 61  74 61 0a 30 09 73 68 6f  |acted data.0.sho|
000031e0  72 74 09 09 30 31 34 35  34 30 35 09 09 68 75 66  |rt..0145405..huf|
000031f0  20 6f 75 74 70 75 74 0a  0a 23 20 53 71 75 65 65  | output..# Squee|
00003200  7a 65 20 61 6e 64 20 43  72 75 6e 63 68 2e 2e 2e  |ze and Crunch...|
00003210  0a 23 20 54 68 65 73 65  20 6e 75 6d 62 65 72 73  |.# These numbers|
00003220  20 77 65 72 65 20 67 6c  65 61 6e 65 64 20 66 72  | were gleaned fr|
00003230  6f 6d 20 74 68 65 20 55  6e 69 78 20 76 65 72 73  |om the Unix vers|
00003240  69 6f 6e 73 20 6f 66 20  74 68 65 20 70 72 6f 67  |ions of the prog|
00003250  72 61 6d 73 20 74 6f 0a  23 20 68 61 6e 64 6c 65  |rams to.# handle|
00003260  20 74 68 65 73 65 20 66  6f 72 6d 61 74 73 2e 20  | these formats. |
00003270  20 4e 6f 74 65 20 74 68  61 74 20 49 20 63 61 6e  | Note that I can|
00003280  20 6f 6e 6c 79 20 75 6e  63 72 75 6e 63 68 2c 20  | only uncrunch, |
00003290  6e 6f 74 20 63 72 75 6e  63 68 2c 20 61 6e 64 0a  |not crunch, and.|
000032a0  23 20 49 20 64 69 64 6e  27 74 20 68 61 76 65 20  |# I didn't have |
000032b0  61 20 63 72 75 6e 63 68  65 64 20 66 69 6c 65 20  |a crunched file |
000032c0  68 61 6e 64 79 2c 20 73  6f 20 74 68 65 20 63 72  |handy, so the cr|
000032d0  75 6e 63 68 20 6e 75 6d  62 65 72 20 69 73 20 75  |unch number is u|
000032e0  6e 74 65 73 74 65 64 2e  0a 23 09 09 09 09 4b 65  |ntested..#....Ke|
000032f0  69 74 68 20 57 61 63 6c  65 6e 61 20 3c 6b 65 69  |ith Waclena <kei|
00003300  74 68 40 63 65 72 62 65  72 75 73 2e 75 63 68 69  |th@cerberus.uchi|
00003310  63 61 67 6f 2e 65 64 75  3e 0a 30 09 6c 65 73 68  |cago.edu>.0.lesh|
00003320  6f 72 74 09 09 30 78 37  36 46 46 09 09 73 71 75  |ort..0x76FF..squ|
00003330  65 65 7a 65 64 20 64 61  74 61 20 28 43 50 2f 4d  |eezed data (CP/M|
00003340  2c 20 44 4f 53 29 0a 30  09 6c 65 73 68 6f 72 74  |, DOS).0.leshort|
00003350  09 09 30 78 37 36 46 45  09 09 63 72 75 6e 63 68  |..0x76FE..crunch|
00003360  65 64 20 64 61 74 61 20  28 43 50 2f 4d 2c 20 44  |ed data (CP/M, D|
00003370  4f 53 29 0a 0a 23 20 46  72 65 65 7a 65 0a 30 09  |OS)..# Freeze.0.|
00003380  73 74 72 69 6e 67 09 09  5c 30 33 37 5c 32 33 37  |string..\037\237|
00003390  09 66 72 6f 7a 65 6e 20  66 69 6c 65 20 32 2e 31  |.frozen file 2.1|
000033a0  0a 30 09 73 74 72 69 6e  67 09 09 5c 30 33 37 5c  |.0.string..\037\|
000033b0  32 33 36 09 66 72 6f 7a  65 6e 20 66 69 6c 65 20  |236.frozen file |
000033c0  31 2e 30 20 28 6f 72 20  67 7a 69 70 20 30 2e 35  |1.0 (or gzip 0.5|
000033d0  29 0a 0a 23 20 53 43 4f  20 63 6f 6d 70 72 65 73  |)..# SCO compres|
000033e0  73 20 2d 48 20 28 4c 5a  48 29 0a 30 09 73 74 72  |s -H (LZH).0.str|
000033f0  69 6e 67 09 09 5c 30 33  37 5c 32 34 30 09 53 43  |ing..\037\240.SC|
00003400  4f 20 63 6f 6d 70 72 65  73 73 20 2d 48 20 28 4c  |O compress -H (L|
00003410  5a 48 29 20 64 61 74 61  0a 0a 23 20 50 6f 73 74  |ZH) data..# Post|
00003420  53 63 72 69 70 74 20 66  6f 6e 74 73 20 28 6d 75  |Script fonts (mu|
00003430  73 74 20 70 72 65 63 65  64 65 20 22 70 72 69 6e  |st precede "prin|
00003440  74 65 72 22 20 65 6e 74  72 69 65 73 29 2c 20 71  |ter" entries), q|
00003450  75 69 6e 6c 61 6e 40 79  67 67 64 72 61 73 69 6c  |uinlan@yggdrasil|
00003460  2e 63 6f 6d 0a 30 09 73  74 72 69 6e 67 09 09 25  |.com.0.string..%|
00003470  21 50 53 2d 41 64 6f 62  65 46 6f 6e 74 2d 31 2e  |!PS-AdobeFont-1.|
00003480  30 09 50 6f 73 74 53 63  72 69 70 74 20 54 79 70  |0.PostScript Typ|
00003490  65 20 31 20 66 6f 6e 74  20 74 65 78 74 0a 3e 32  |e 1 font text.>2|
000034a0  30 09 73 74 72 69 6e 67  09 09 3e 5c 30 09 09 09  |0.string..>\0...|
000034b0  28 25 73 29 0a 36 09 73  74 72 69 6e 67 09 09 25  |(%s).6.string..%|
000034c0  21 50 53 2d 41 64 6f 62  65 46 6f 6e 74 2d 31 2e  |!PS-AdobeFont-1.|
000034d0  30 09 50 6f 73 74 53 63  72 69 70 74 20 54 79 70  |0.PostScript Typ|
000034e0  65 20 31 20 66 6f 6e 74  20 70 72 6f 67 72 61 6d  |e 1 font program|
000034f0  20 64 61 74 61 0a 23 2d  2d 2d 2d 2d 2d 2d 2d 2d  | data.#---------|
00003500  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00003540  2d 2d 2d 2d 2d 0a 23 20  66 72 61 6d 65 3a 20 20  |-----.# frame:  |
00003550  66 69 6c 65 28 31 29 20  6d 61 67 69 63 20 66 6f  |file(1) magic fo|
00003560  72 20 46 72 61 6d 65 4d  61 6b 65 72 20 66 69 6c  |r FrameMaker fil|
00003570  65 73 0a 23 0a 23 20 54  68 69 73 20 73 74 75 66  |es.#.# This stuf|
00003580  66 20 63 61 6d 65 20 6f  6e 20 61 20 46 72 61 6d  |f came on a Fram|
00003590  65 4d 61 6b 65 72 20 64  65 6d 6f 20 74 61 70 65  |eMaker demo tape|
000035a0  2c 20 6d 6f 73 74 20 6f  66 20 77 68 69 63 68 20  |, most of which |
000035b0  69 73 0a 23 20 63 6f 70  79 72 69 67 68 74 2c 20  |is.# copyright, |
000035c0  62 75 74 20 74 68 69 73  20 66 69 6c 65 20 69 73  |but this file is|
000035d0  20 22 70 75 62 6c 69 73  68 65 64 22 20 61 73 20  | "published" as |
000035e0  77 69 74 6e 65 73 73 20  74 68 65 20 66 6f 6c 6c  |witness the foll|
000035f0  6f 77 69 6e 67 3a 0a 23  0a 30 09 73 74 72 69 6e  |owing:.#.0.strin|
00003600  67 09 09 5c 3c 4d 61 6b  65 72 46 69 6c 65 09 46  |g..\<MakerFile.F|
00003610  72 61 6d 65 4d 61 6b 65  72 20 64 6f 63 75 6d 65  |rameMaker docume|
00003620  6e 74 0a 3e 31 31 09 73  74 72 69 6e 67 09 09 34  |nt.>11.string..4|
00003630  2e 30 09 09 20 28 34 2e  30 0a 3e 31 31 09 73 74  |.0.. (4.0.>11.st|
00003640  72 69 6e 67 09 09 33 2e  30 09 09 20 28 33 2e 30  |ring..3.0.. (3.0|
00003650  0a 3e 31 31 09 73 74 72  69 6e 67 09 09 32 2e 30  |.>11.string..2.0|
00003660  09 09 20 28 32 2e 30 0a  3e 31 31 09 73 74 72 69  |.. (2.0.>11.stri|
00003670  6e 67 09 09 31 2e 30 09  09 20 28 31 2e 30 0a 3e  |ng..1.0.. (1.0.>|
00003680  31 34 09 62 79 74 65 09  09 78 09 09 20 20 25 63  |14.byte..x..  %c|
00003690  29 0a 30 09 73 74 72 69  6e 67 09 09 5c 3c 4d 49  |).0.string..\<MI|
000036a0  46 46 69 6c 65 09 46 72  61 6d 65 4d 61 6b 65 72  |FFile.FrameMaker|
000036b0  20 4d 49 46 20 28 41 53  43 49 49 29 20 66 69 6c  | MIF (ASCII) fil|
000036c0  65 0a 3e 39 09 73 74 72  69 6e 67 09 09 34 2e 30  |e.>9.string..4.0|
000036d0  09 09 20 28 34 2e 30 29  0a 3e 39 09 73 74 72 69  |.. (4.0).>9.stri|
000036e0  6e 67 09 09 33 2e 30 09  09 20 28 33 2e 30 29 0a  |ng..3.0.. (3.0).|
000036f0  3e 39 09 73 74 72 69 6e  67 09 09 32 2e 30 09 09  |>9.string..2.0..|
00003700  20 28 32 2e 30 29 0a 3e  39 09 73 74 72 69 6e 67  | (2.0).>9.string|
00003710  09 09 31 2e 30 09 09 20  28 31 2e 78 29 0a 30 09  |..1.0.. (1.x).0.|
00003720  73 74 72 69 6e 67 09 09  5c 3c 4d 61 6b 65 72 44  |string..\<MakerD|
00003730  69 63 74 69 6f 6e 61 72  79 09 46 72 61 6d 65 4d  |ictionary.FrameM|
00003740  61 6b 65 72 20 44 69 63  74 69 6f 6e 61 72 79 20  |aker Dictionary |
00003750  74 65 78 74 0a 3e 31 37  09 73 74 72 69 6e 67 09  |text.>17.string.|
00003760  09 33 2e 30 09 09 20 28  33 2e 30 29 0a 3e 31 37  |.3.0.. (3.0).>17|
00003770  09 73 74 72 69 6e 67 09  09 32 2e 30 09 09 20 28  |.string..2.0.. (|
00003780  32 2e 30 29 0a 3e 31 37  09 73 74 72 69 6e 67 09  |2.0).>17.string.|
00003790  09 31 2e 30 09 09 20 28  31 2e 78 29 0a 30 09 73  |.1.0.. (1.x).0.s|
000037a0  74 72 69 6e 67 09 09 5c  3c 4d 61 6b 65 72 53 63  |tring..\<MakerSc|
000037b0  72 65 65 6e 46 6f 6e 74  09 46 72 61 6d 65 4d 61  |reenFont.FrameMa|
000037c0  6b 65 72 20 46 6f 6e 74  20 66 69 6c 65 0a 3e 31  |ker Font file.>1|
000037d0  37 09 73 74 72 69 6e 67  09 09 31 2e 30 31 09 09  |7.string..1.01..|
000037e0  20 28 25 73 29 0a 30 09  73 74 72 69 6e 67 09 09  | (%s).0.string..|
000037f0  5c 3c 4d 4d 4c 09 09 46  72 61 6d 65 4d 61 6b 65  |\<MML..FrameMake|
00003800  72 20 4d 4d 4c 20 66 69  6c 65 0a 30 09 73 74 72  |r MML file.0.str|
00003810  69 6e 67 09 09 5c 3c 42  6f 6f 6b 46 69 6c 65 09  |ing..\<BookFile.|
00003820  46 72 61 6d 65 4d 61 6b  65 72 20 42 6f 6f 6b 20  |FrameMaker Book |
00003830  66 69 6c 65 0a 3e 31 30  09 73 74 72 69 6e 67 09  |file.>10.string.|
00003840  09 33 2e 30 09 09 20 28  33 2e 30 0a 3e 31 30 09  |.3.0.. (3.0.>10.|
00003850  73 74 72 69 6e 67 09 09  32 2e 30 09 09 20 28 32  |string..2.0.. (2|
00003860  2e 30 0a 3e 31 30 09 73  74 72 69 6e 67 09 09 31  |.0.>10.string..1|
00003870  2e 30 09 09 20 28 31 2e  30 0a 3e 31 33 09 62 79  |.0.. (1.0.>13.by|
00003880  74 65 09 09 78 09 09 20  20 25 63 29 0a 23 20 58  |te..x..  %c).# X|
00003890  58 58 20 2d 20 74 68 69  73 20 62 6f 6f 6b 20 65  |XX - this book e|
000038a0  6e 74 72 79 20 73 68 6f  75 6c 64 20 62 65 20 76  |ntry should be v|
000038b0  65 72 69 66 69 65 64 2c  20 69 66 20 79 6f 75 20  |erified, if you |
000038c0  66 69 6e 64 20 6f 6e 65  2c 20 75 6e 63 6f 6d 6d  |find one, uncomm|
000038d0  65 6e 74 20 74 68 69 73  0a 23 30 09 73 74 72 69  |ent this.#0.stri|
000038e0  6e 67 09 09 5c 3c 42 6f  6f 6b 5c 20 09 46 72 61  |ng..\<Book\ .Fra|
000038f0  6d 65 4d 61 6b 65 72 20  42 6f 6f 6b 20 28 41 53  |meMaker Book (AS|
00003900  43 49 49 29 20 66 69 6c  65 0a 23 3e 36 09 73 74  |CII) file.#>6.st|
00003910  72 69 6e 67 09 09 33 2e  30 09 09 20 28 33 2e 30  |ring..3.0.. (3.0|
00003920  29 0a 23 3e 36 09 73 74  72 69 6e 67 09 09 32 2e  |).#>6.string..2.|
00003930  30 09 09 20 28 32 2e 30  29 0a 23 3e 36 09 73 74  |0.. (2.0).#>6.st|
00003940  72 69 6e 67 09 09 31 2e  30 09 09 20 28 31 2e 30  |ring..1.0.. (1.0|
00003950  29 0a 30 09 73 74 72 69  6e 67 09 09 5c 3c 4d 61  |).0.string..\<Ma|
00003960  6b 65 72 09 49 6e 74 65  72 6d 65 64 69 61 74 65  |ker.Intermediate|
00003970  20 50 72 69 6e 74 20 46  69 6c 65 09 46 72 61 6d  | Print File.Fram|
00003980  65 4d 61 6b 65 72 20 49  50 4c 20 66 69 6c 65 0a  |eMaker IPL file.|
00003990  0a 23 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.#--------------|
000039a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000039e0  0a 23 20 69 6d 61 67 65  73 3a 20 20 66 69 6c 65  |.# images:  file|
000039f0  28 31 29 20 6d 61 67 69  63 20 66 6f 72 20 69 6d  |(1) magic for im|
00003a00  61 67 65 20 66 6f 72 6d  61 74 73 20 28 73 65 65  |age formats (see|
00003a10  20 61 6c 73 6f 20 22 69  66 66 22 29 0a 23 0a 23  | also "iff").#.#|
00003a20  20 6f 72 69 67 69 6e 61  6c 6c 79 20 66 72 6f 6d  | originally from|
00003a30  20 6a 65 66 40 68 65 6c  69 6f 73 2e 65 65 2e 6c  | jef@helios.ee.l|
00003a40  62 6c 2e 67 6f 76 20 28  4a 65 66 20 50 6f 73 6b  |bl.gov (Jef Posk|
00003a50  61 6e 7a 65 72 29 2c 0a  23 20 61 64 64 69 74 69  |anzer),.# additi|
00003a60  6f 6e 73 20 62 79 20 6a  61 6e 6c 40 69 66 69 2e  |ons by janl@ifi.|
00003a70  75 69 6f 2e 6e 6f 20 61  73 20 77 65 6c 6c 20 61  |uio.no as well a|
00003a80  73 20 6f 74 68 65 72 73  2e 20 4a 61 6e 20 61 6c  |s others. Jan al|
00003a90  73 6f 20 73 75 67 67 65  73 74 65 64 0a 23 20 6d  |so suggested.# m|
00003aa0  65 72 67 69 6e 67 20 73  65 76 65 72 61 6c 20 6f  |erging several o|
00003ab0  6e 65 2d 20 61 6e 64 20  74 77 6f 2d 6c 69 6e 65  |ne- and two-line|
00003ac0  20 66 69 6c 65 73 20 69  6e 74 6f 20 68 65 72 65  | files into here|
00003ad0  2e 0a 23 0a 23 20 6c 69  74 74 6c 65 20 6d 61 67  |..#.# little mag|
00003ae0  69 63 3a 20 50 43 58 20  28 66 69 72 73 74 20 62  |ic: PCX (first b|
00003af0  79 74 65 20 69 73 20 30  78 30 61 29 0a 23 20 6e  |yte is 0x0a).# n|
00003b00  6f 20 6d 61 67 69 63 3a  20 54 61 72 67 61 0a 0a  |o magic: Targa..|
00003b10  23 20 50 42 4d 50 4c 55  53 20 69 6d 61 67 65 73  |# PBMPLUS images|
00003b20  0a 23 20 54 68 65 20 6e  65 78 74 20 62 79 74 65  |.# The next byte|
00003b30  20 66 6f 6c 6c 6f 77 69  6e 67 20 74 68 65 20 6d  | following the m|
00003b40  61 67 69 63 20 69 73 20  61 6c 77 61 79 73 20 77  |agic is always w|
00003b50  68 69 74 65 73 70 61 63  65 2e 0a 0a 23 20 43 68  |hitespace...# Ch|
00003b60  6e 67 65 64 20 66 72 6f  6d 3a 0a 23 30 09 73 74  |nged from:.#0.st|
00003b70  72 69 6e 67 09 09 50 31  09 09 50 42 4d 20 69 6d  |ring..P1..PBM im|
00003b80  61 67 65 20 74 65 78 74  0a 23 30 09 73 74 72 69  |age text.#0.stri|
00003b90  6e 67 09 09 50 32 09 09  50 47 4d 20 69 6d 61 67  |ng..P2..PGM imag|
00003ba0  65 20 74 65 78 74 0a 23  30 09 73 74 72 69 6e 67  |e text.#0.string|
00003bb0  09 09 50 33 09 09 50 50  4d 20 69 6d 61 67 65 20  |..P3..PPM image |
00003bc0  74 65 78 74 0a 23 30 09  73 74 72 69 6e 67 09 09  |text.#0.string..|
00003bd0  50 34 09 09 50 42 4d 20  22 72 61 77 62 69 74 73  |P4..PBM "rawbits|
00003be0  22 20 69 6d 61 67 65 20  64 61 74 61 0a 23 30 09  |" image data.#0.|
00003bf0  73 74 72 69 6e 67 09 09  50 35 09 09 50 47 4d 20  |string..P5..PGM |
00003c00  22 72 61 77 62 69 74 73  22 20 69 6d 61 67 65 20  |"rawbits" image |
00003c10  64 61 74 61 0a 23 30 09  73 74 72 69 6e 67 09 09  |data.#0.string..|
00003c20  50 36 09 09 50 50 4d 20  22 72 61 77 62 69 74 73  |P6..PPM "rawbits|
00003c30  22 20 69 6d 61 67 65 20  64 61 74 61 0a 23 20 54  |" image data.# T|
00003c40  6f 3a 0a 30 09 73 74 72  69 6e 67 09 09 50 31 0a  |o:.0.string..P1.|
00003c50  7c 30 09 73 74 72 69 6e  67 09 09 50 32 0a 7c 30  ||0.string..P2.|0|
00003c60  09 73 74 72 69 6e 67 09  09 50 33 09 09 50 50 4d  |.string..P3..PPM|
00003c70  2f 50 47 4d 2f 50 42 4d  20 69 6d 61 67 65 20 74  |/PGM/PBM image t|
00003c80  65 78 74 0a 3e 31 09 73  74 72 69 6e 67 09 09 31  |ext.>1.string..1|
00003c90  09 09 5b 50 42 4d 5d 0a  3e 31 09 73 74 72 69 6e  |..[PBM].>1.strin|
00003ca0  67 09 09 32 09 09 5b 50  47 4d 5d 0a 3e 31 09 73  |g..2..[PGM].>1.s|
00003cb0  74 72 69 6e 67 09 09 33  09 09 5b 50 50 4d 5d 0a  |tring..3..[PPM].|
00003cc0  30 09 73 74 72 69 6e 67  09 09 50 34 0a 7c 30 09  |0.string..P4.|0.|
00003cd0  73 74 72 69 6e 67 09 09  50 35 0a 7c 30 09 73 74  |string..P5.|0.st|
00003ce0  72 69 6e 67 09 09 50 36  09 09 50 50 4d 2f 50 42  |ring..P6..PPM/PB|
00003cf0  4d 2f 50 47 4d 20 22 72  61 77 62 69 74 73 22 20  |M/PGM "rawbits" |
00003d00  69 6d 61 67 65 20 64 61  74 61 0a 3e 31 09 73 74  |image data.>1.st|
00003d10  72 69 6e 67 09 09 34 09  09 5b 50 42 4d 5d 0a 3e  |ring..4..[PBM].>|
00003d20  31 09 73 74 72 69 6e 67  09 09 35 09 09 5b 50 47  |1.string..5..[PG|
00003d30  4d 5d 0a 3e 31 09 73 74  72 69 6e 67 09 09 36 09  |M].>1.string..6.|
00003d40  09 5b 50 50 4d 5d 0a 0a  23 20 4e 49 46 46 20 28  |.[PPM]..# NIFF (|
00003d50  4e 61 76 79 20 49 6e 74  65 72 63 68 61 6e 67 65  |Navy Interchange|
00003d60  20 46 69 6c 65 20 46 6f  72 6d 61 74 2c 20 61 20  | File Format, a |
00003d70  6d 6f 64 69 66 69 63 61  74 69 6f 6e 20 6f 66 20  |modification of |
00003d80  54 49 46 46 29 20 69 6d  61 67 65 73 0a 30 09 73  |TIFF) images.0.s|
00003d90  74 72 69 6e 67 09 09 49  49 4e 31 09 09 4e 49 46  |tring..IIN1..NIF|
00003da0  46 20 69 6d 61 67 65 20  64 61 74 61 0a 0a 23 20  |F image data..# |
00003db0  54 61 67 20 49 6d 61 67  65 20 46 69 6c 65 20 46  |Tag Image File F|
00003dc0  6f 72 6d 61 74 2c 20 66  72 6f 6d 20 44 61 6e 69  |ormat, from Dani|
00003dd0  65 6c 20 51 75 69 6e 6c  61 6e 20 28 71 75 69 6e  |el Quinlan (quin|
00003de0  6c 61 6e 40 79 67 67 64  72 61 73 69 6c 2e 63 6f  |lan@yggdrasil.co|
00003df0  6d 29 0a 23 20 54 68 65  20 73 65 63 6f 6e 64 20  |m).# The second |
00003e00  77 6f 72 64 20 6f 66 20  54 49 46 46 20 66 69 6c  |word of TIFF fil|
00003e10  65 73 20 69 73 20 74 68  65 20 54 49 46 46 20 76  |es is the TIFF v|
00003e20  65 72 73 69 6f 6e 20 6e  75 6d 62 65 72 2c 20 34  |ersion number, 4|
00003e30  32 2c 20 77 68 69 63 68  20 68 61 73 0a 23 20 6e  |2, which has.# n|
00003e40  65 76 65 72 20 63 68 61  6e 67 65 64 2e 20 20 54  |ever changed.  T|
00003e50  68 65 20 54 49 46 46 20  73 70 65 63 69 66 69 63  |he TIFF specific|
00003e60  61 74 69 6f 6e 20 72 65  63 6f 6d 6d 65 6e 64 73  |ation recommends|
00003e70  20 74 65 73 74 69 6e 67  20 66 6f 72 20 69 74 2e  | testing for it.|
00003e80  0a 30 09 73 74 72 69 6e  67 09 09 4d 4d 5c 78 30  |.0.string..MM\x0|
00003e90  30 5c 78 32 61 09 54 49  46 46 20 69 6d 61 67 65  |0\x2a.TIFF image|
00003ea0  20 64 61 74 61 2c 20 62  69 67 2d 65 6e 64 69 61  | data, big-endia|
00003eb0  6e 0a 30 09 73 74 72 69  6e 67 09 09 49 49 5c 78  |n.0.string..II\x|
00003ec0  32 61 5c 78 30 30 09 54  49 46 46 20 69 6d 61 67  |2a\x00.TIFF imag|
00003ed0  65 20 64 61 74 61 2c 20  6c 69 74 74 6c 65 2d 65  |e data, little-e|
00003ee0  6e 64 69 61 6e 0a 0a 23  20 50 4e 47 20 5b 50 6f  |ndian..# PNG [Po|
00003ef0  72 74 61 62 6c 65 20 4e  65 74 77 6f 72 6b 20 47  |rtable Network G|
00003f00  72 61 70 68 69 63 73 2c  20 6f 72 20 22 50 4e 47  |raphics, or "PNG|
00003f10  27 73 20 4e 6f 74 20 47  49 46 22 5d 20 69 6d 61  |'s Not GIF"] ima|
00003f20  67 65 73 0a 23 20 28 47  72 65 67 20 52 6f 65 6c  |ges.# (Greg Roel|
00003f30  6f 66 73 2c 20 6e 65 77  74 40 75 63 68 69 63 61  |ofs, newt@uchica|
00003f40  67 6f 2e 65 64 75 29 0a  23 0a 23 20 31 33 37 20  |go.edu).#.# 137 |
00003f50  50 20 4e 20 47 20 5c 72  20 5c 6e 20 5e 5a 20 5c  |P N G \r \n ^Z \|
00003f60  6e 20 5b 34 2d 62 79 74  65 20 6c 65 6e 67 74 68  |n [4-byte length|
00003f70  5d 20 48 20 45 20 41 20  44 20 5b 48 45 41 44 20  |] H E A D [HEAD |
00003f80  64 61 74 61 5d 20 5b 48  45 41 44 20 63 72 63 5d  |data] [HEAD crc]|
00003f90  20 2e 2e 2e 0a 23 0a 30  09 73 74 72 69 6e 67 09  | ....#.0.string.|
00003fa0  09 5c 78 38 39 50 4e 47  09 09 50 4e 47 20 69 6d  |.\x89PNG..PNG im|
00003fb0  61 67 65 20 64 61 74 61  2c 0a 3e 34 09 62 65 6c  |age data,.>4.bel|
00003fc0  6f 6e 67 09 09 21 30 78  30 64 30 61 31 61 30 61  |ong..!0x0d0a1a0a|
00003fd0  09 43 4f 52 52 55 50 54  45 44 2c 0a 3e 31 36 09  |.CORRUPTED,.>16.|
00003fe0  62 65 6c 6f 6e 67 09 09  78 09 09 25 6c 64 20 78  |belong..x..%ld x|
00003ff0  0a 3e 32 30 09 62 65 6c  6f 6e 67 09 09 78 09 09  |.>20.belong..x..|
00004000  25 6c 64 2c 0a 3e 32 34  09 62 79 74 65 09 09 78  |%ld,.>24.byte..x|
00004010  09 09 25 64 2d 62 69 74  0a 3e 32 35 09 62 79 74  |..%d-bit.>25.byt|
00004020  65 09 09 30 09 09 67 72  61 79 73 63 61 6c 65 2c  |e..0..grayscale,|
00004030  0a 3e 32 35 09 62 79 74  65 09 09 32 09 09 5c 62  |.>25.byte..2..\b|
00004040  2f 63 6f 6c 6f 72 20 52  47 42 2c 0a 3e 32 35 09  |/color RGB,.>25.|
00004050  62 79 74 65 09 09 33 09  09 63 6f 6c 6f 72 6d 61  |byte..3..colorma|
00004060  70 2c 0a 3e 32 35 09 62  79 74 65 09 09 34 09 09  |p,.>25.byte..4..|
00004070  67 72 61 79 2b 61 6c 70  68 61 2c 0a 3e 32 35 09  |gray+alpha,.>25.|
00004080  62 79 74 65 09 09 36 09  09 5c 62 2f 63 6f 6c 6f  |byte..6..\b/colo|
00004090  72 20 52 47 42 41 2c 0a  23 3e 32 36 09 62 79 74  |r RGBA,.#>26.byt|
000040a0  65 09 09 30 09 09 64 65  66 6c 61 74 65 2f 33 32  |e..0..deflate/32|
000040b0  4b 2c 0a 3e 32 38 09 62  79 74 65 09 09 30 09 09  |K,.>28.byte..0..|
000040c0  6e 6f 6e 2d 69 6e 74 65  72 6c 61 63 65 64 0a 3e  |non-interlaced.>|
000040d0  32 38 09 62 79 74 65 09  09 31 09 09 69 6e 74 65  |28.byte..1..inte|
000040e0  72 6c 61 63 65 64 0a 0a  23 20 47 49 46 0a 30 09  |rlaced..# GIF.0.|
000040f0  73 74 72 69 6e 67 09 09  47 49 46 38 09 09 47 49  |string..GIF8..GI|
00004100  46 20 69 6d 61 67 65 20  64 61 74 61 0a 3e 34 09  |F image data.>4.|
00004110  73 74 72 69 6e 67 09 09  37 61 09 09 5c 62 2c 20  |string..7a..\b, |
00004120  76 65 72 73 69 6f 6e 20  38 25 73 2c 0a 3e 34 09  |version 8%s,.>4.|
00004130  73 74 72 69 6e 67 09 09  39 61 09 09 5c 62 2c 20  |string..9a..\b, |
00004140  76 65 72 73 69 6f 6e 20  38 25 73 2c 0a 3e 36 09  |version 8%s,.>6.|
00004150  6c 65 73 68 6f 72 74 09  09 3e 30 09 09 25 68 64  |leshort..>0..%hd|
00004160  20 78 0a 3e 38 09 6c 65  73 68 6f 72 74 09 09 3e  | x.>8.leshort..>|
00004170  30 09 09 25 68 64 2c 0a  23 3e 31 30 09 62 79 74  |0..%hd,.#>10.byt|
00004180  65 09 09 26 30 78 38 30  09 09 63 6f 6c 6f 72 20  |e..&0x80..color |
00004190  6d 61 70 70 65 64 2c 0a  3e 31 30 09 62 79 74 65  |mapped,.>10.byte|
000041a0  26 30 78 30 37 09 3d 30  78 30 30 09 09 32 20 63  |&0x07.=0x00..2 c|
000041b0  6f 6c 6f 72 73 0a 3e 31  30 09 62 79 74 65 26 30  |olors.>10.byte&0|
000041c0  78 30 37 09 3d 30 78 30  31 09 09 34 20 63 6f 6c  |x07.=0x01..4 col|
000041d0  6f 72 73 0a 3e 31 30 09  62 79 74 65 26 30 78 30  |ors.>10.byte&0x0|
000041e0  37 09 3d 30 78 30 32 09  09 38 20 63 6f 6c 6f 72  |7.=0x02..8 color|
000041f0  73 0a 3e 31 30 09 62 79  74 65 26 30 78 30 37 09  |s.>10.byte&0x07.|
00004200  3d 30 78 30 33 09 09 31  36 20 63 6f 6c 6f 72 73  |=0x03..16 colors|
00004210  0a 3e 31 30 09 62 79 74  65 26 30 78 30 37 09 3d  |.>10.byte&0x07.=|
00004220  30 78 30 34 09 09 33 32  20 63 6f 6c 6f 72 73 0a  |0x04..32 colors.|
00004230  3e 31 30 09 62 79 74 65  26 30 78 30 37 09 3d 30  |>10.byte&0x07.=0|
00004240  78 30 35 09 09 36 34 20  63 6f 6c 6f 72 73 0a 3e  |x05..64 colors.>|
00004250  31 30 09 62 79 74 65 26  30 78 30 37 09 3d 30 78  |10.byte&0x07.=0x|
00004260  30 36 09 09 31 32 38 20  63 6f 6c 6f 72 73 0a 3e  |06..128 colors.>|
00004270  31 30 09 62 79 74 65 26  30 78 30 37 09 3d 30 78  |10.byte&0x07.=0x|
00004280  30 37 09 09 32 35 36 20  63 6f 6c 6f 72 73 0a 0a  |07..256 colors..|
00004290  23 20 49 54 43 20 28 43  4d 55 20 57 4d 29 20 72  |# ITC (CMU WM) r|
000042a0  61 73 74 65 72 20 66 69  6c 65 73 2e 20 20 49 74  |aster files.  It|
000042b0  20 69 73 20 65 73 73 65  6e 74 69 61 6c 6c 79 20  | is essentially |
000042c0  61 20 62 79 74 65 2d 72  65 76 65 72 73 65 64 20  |a byte-reversed |
000042d0  53 75 6e 20 72 61 73 74  65 72 2c 0a 23 20 31 20  |Sun raster,.# 1 |
000042e0  70 6c 61 6e 65 2c 20 6e  6f 20 65 6e 63 6f 64 69  |plane, no encodi|
000042f0  6e 67 2e 0a 30 09 73 74  72 69 6e 67 09 09 5c 33  |ng..0.string..\3|
00004300  36 31 5c 30 5c 31 30 30  5c 32 37 33 09 43 4d 55  |61\0\100\273.CMU|
00004310  20 77 69 6e 64 6f 77 20  6d 61 6e 61 67 65 72 20  | window manager |
00004320  72 61 73 74 65 72 20 69  6d 61 67 65 20 64 61 74  |raster image dat|
00004330  61 0a 3e 34 09 6c 65 6c  6f 6e 67 09 09 3e 30 09  |a.>4.lelong..>0.|
00004340  09 25 64 20 78 0a 3e 38  09 6c 65 6c 6f 6e 67 09  |.%d x.>8.lelong.|
00004350  09 3e 30 09 09 25 64 2c  0a 3e 31 32 09 6c 65 6c  |.>0..%d,.>12.lel|
00004360  6f 6e 67 09 09 3e 30 09  09 25 64 2d 62 69 74 0a  |ong..>0..%d-bit.|
00004370  0a 23 20 4d 61 67 69 63  6b 20 49 6d 61 67 65 20  |.# Magick Image |
00004380  46 69 6c 65 20 46 6f 72  6d 61 74 0a 30 09 73 74  |File Format.0.st|
00004390  72 69 6e 67 09 09 69 64  3d 49 6d 61 67 65 4d 61  |ring..id=ImageMa|
000043a0  67 69 63 6b 09 4d 49 46  46 20 69 6d 61 67 65 20  |gick.MIFF image |
000043b0  64 61 74 61 0a 0a 23 20  41 72 74 69 73 61 6e 0a  |data..# Artisan.|
000043c0  30 09 6c 6f 6e 67 09 09  31 31 32 33 30 32 38 37  |0.long..11230287|
000043d0  37 32 09 41 72 74 69 73  61 6e 20 69 6d 61 67 65  |72.Artisan image|
000043e0  20 64 61 74 61 0a 3e 34  09 6c 6f 6e 67 09 09 31  | data.>4.long..1|
000043f0  09 09 5c 62 2c 20 72 65  63 74 61 6e 67 75 6c 61  |..\b, rectangula|
00004400  72 20 32 34 2d 62 69 74  0a 3e 34 09 6c 6f 6e 67  |r 24-bit.>4.long|
00004410  09 09 32 09 09 5c 62 2c  20 72 65 63 74 61 6e 67  |..2..\b, rectang|
00004420  75 6c 61 72 20 38 2d 62  69 74 20 77 69 74 68 20  |ular 8-bit with |
00004430  63 6f 6c 6f 72 6d 61 70  0a 3e 34 09 6c 6f 6e 67  |colormap.>4.long|
00004440  09 09 33 09 09 5c 62 2c  20 72 65 63 74 61 6e 67  |..3..\b, rectang|
00004450  75 6c 61 72 20 33 32 2d  62 69 74 20 28 32 34 2d  |ular 32-bit (24-|
00004460  62 69 74 20 77 69 74 68  20 6d 61 74 74 65 29 0a  |bit with matte).|
00004470  0a 23 20 46 49 47 20 28  46 61 63 69 6c 69 74 79  |.# FIG (Facility|
00004480  20 66 6f 72 20 49 6e 74  65 72 61 63 74 69 76 65  | for Interactive|
00004490  20 47 65 6e 65 72 61 74  69 6f 6e 20 6f 66 20 66  | Generation of f|
000044a0  69 67 75 72 65 73 29 2c  20 61 6e 20 6f 62 6a 65  |igures), an obje|
000044b0  63 74 2d 62 61 73 65 64  20 66 6f 72 6d 61 74 0a  |ct-based format.|
000044c0  30 09 73 74 72 69 6e 67  09 09 23 46 49 47 09 09  |0.string..#FIG..|
000044d0  46 49 47 20 69 6d 61 67  65 20 74 65 78 74 0a 3e  |FIG image text.>|
000044e0  35 09 73 74 72 69 6e 67  09 09 78 09 09 5c 62 2c  |5.string..x..\b,|
000044f0  20 76 65 72 73 69 6f 6e  20 25 2e 33 73 0a 0a 23  | version %.3s..#|
00004500  20 50 48 49 47 53 0a 30  09 73 74 72 69 6e 67 09  | PHIGS.0.string.|
00004510  09 41 52 46 5f 42 45 47  41 52 46 09 09 50 48 49  |.ARF_BEGARF..PHI|
00004520  47 53 20 63 6c 65 61 72  20 74 65 78 74 20 61 72  |GS clear text ar|
00004530  63 68 69 76 65 0a 30 09  73 74 72 69 6e 67 09 09  |chive.0.string..|
00004540  40 28 23 29 53 75 6e 50  48 49 47 53 09 09 53 75  |@(#)SunPHIGS..Su|
00004550  6e 50 48 49 47 53 0a 23  20 76 65 72 73 69 6f 6e  |nPHIGS.# version|
00004560  20 6e 75 6d 62 65 72 20  66 6f 6c 6c 6f 77 73 2c  | number follows,|
00004570  20 69 6e 20 74 68 65 20  66 6f 72 6d 20 6d 2e 6e  | in the form m.n|
00004580  0a 3e 34 30 09 73 74 72  69 6e 67 09 09 53 75 6e  |.>40.string..Sun|
00004590  42 69 6e 09 09 09 62 69  6e 61 72 79 0a 3e 33 32  |Bin...binary.>32|
000045a0  09 73 74 72 69 6e 67 09  09 61 72 63 68 69 76 65  |.string..archive|
000045b0  09 09 09 61 72 63 68 69  76 65 0a 0a 23 20 43 47  |...archive..# CG|
000045c0  4d 20 69 6d 61 67 65 20  66 69 6c 65 73 0a 30 09  |M image files.0.|
000045d0  73 74 72 69 6e 67 09 09  42 45 47 4d 46 09 09 63  |string..BEGMF..c|
000045e0  6c 65 61 72 20 74 65 78  74 20 43 6f 6d 70 75 74  |lear text Comput|
000045f0  65 72 20 47 72 61 70 68  69 63 73 20 4d 65 74 61  |er Graphics Meta|
00004600  66 69 6c 65 0a 23 20 58  58 58 20 2d 20 71 75 65  |file.# XXX - que|
00004610  73 74 69 6f 6e 61 62 6c  65 20 6d 61 67 69 63 0a  |stionable magic.|
00004620  30 09 62 65 73 68 6f 72  74 26 30 78 66 66 65 30  |0.beshort&0xffe0|
00004630  09 30 78 30 30 32 30 09  09 62 69 6e 61 72 79 20  |.0x0020..binary |
00004640  43 6f 6d 70 75 74 65 72  20 47 72 61 70 68 69 63  |Computer Graphic|
00004650  73 20 4d 65 74 61 66 69  6c 65 0a 30 09 62 65 73  |s Metafile.0.bes|
00004660  68 6f 72 74 09 09 30 78  33 30 32 30 09 09 63 68  |hort..0x3020..ch|
00004670  61 72 61 63 74 65 72 20  43 6f 6d 70 75 74 65 72  |aracter Computer|
00004680  20 47 72 61 70 68 69 63  73 20 4d 65 74 61 66 69  | Graphics Metafi|
00004690  6c 65 0a 0a 23 20 46 75  7a 7a 79 20 42 69 74 6d  |le..# Fuzzy Bitm|
000046a0  61 70 20 28 46 42 4d 29  20 69 6d 61 67 65 73 0a  |ap (FBM) images.|
000046b0  30 09 73 74 72 69 6e 67  09 09 25 62 69 74 6d 61  |0.string..%bitma|
000046c0  70 5c 30 09 46 42 4d 20  69 6d 61 67 65 20 64 61  |p\0.FBM image da|
000046d0  74 61 0a 3e 33 30 09 6c  6f 6e 67 09 09 30 78 33  |ta.>30.long..0x3|
000046e0  31 09 09 5c 62 2c 20 6d  6f 6e 6f 0a 3e 33 30 09  |1..\b, mono.>30.|
000046f0  6c 6f 6e 67 09 09 30 78  33 33 09 09 5c 62 2c 20  |long..0x33..\b, |
00004700  63 6f 6c 6f 72 0a 0a 23  20 66 61 63 73 69 6d 69  |color..# facsimi|
00004710  6c 65 20 64 61 74 61 0a  31 09 73 74 72 69 6e 67  |le data.1.string|
00004720  09 09 50 43 5c 20 52 65  73 65 61 72 63 68 2c 5c  |..PC\ Research,\|
00004730  20 49 6e 63 09 67 72 6f  75 70 20 33 20 66 61 78  | Inc.group 3 fax|
00004740  20 64 61 74 61 0a 3e 32  39 09 62 79 74 65 09 09  | data.>29.byte..|
00004750  30 09 09 5c 62 2c 20 6e  6f 72 6d 61 6c 20 72 65  |0..\b, normal re|
00004760  73 6f 6c 75 74 69 6f 6e  20 28 32 30 34 78 39 38  |solution (204x98|
00004770  20 44 50 49 29 0a 3e 32  39 09 62 79 74 65 09 09  | DPI).>29.byte..|
00004780  31 09 09 5c 62 2c 20 66  69 6e 65 20 72 65 73 6f  |1..\b, fine reso|
00004790  6c 75 74 69 6f 6e 20 28  32 30 34 78 31 39 36 20  |lution (204x196 |
000047a0  44 50 49 29 0a 0a 23 20  4a 50 45 47 20 69 6d 61  |DPI)..# JPEG ima|
000047b0  67 65 73 0a 30 09 62 65  73 68 6f 72 74 09 09 30  |ges.0.beshort..0|
000047c0  78 66 66 64 38 09 09 4a  50 45 47 20 69 6d 61 67  |xffd8..JPEG imag|
000047d0  65 20 64 61 74 61 0a 3e  36 09 73 74 72 69 6e 67  |e data.>6.string|
000047e0  09 09 4a 46 49 46 09 09  5c 62 2c 20 4a 46 49 46  |..JFIF..\b, JFIF|
000047f0  20 73 74 61 6e 64 61 72  64 0a 23 20 48 53 49 20  | standard.# HSI |
00004800  69 73 20 48 61 6e 64 6d  61 64 65 20 53 6f 66 74  |is Handmade Soft|
00004810  77 61 72 65 27 73 20 70  72 6f 70 72 69 65 74 61  |ware's proprieta|
00004820  72 79 20 4a 50 45 47 20  65 6e 63 6f 64 69 6e 67  |ry JPEG encoding|
00004830  20 73 63 68 65 6d 65 0a  30 09 73 74 72 69 6e 67  | scheme.0.string|
00004840  09 09 68 73 69 31 09 09  4a 50 45 47 20 69 6d 61  |..hsi1..JPEG ima|
00004850  67 65 20 64 61 74 61 2c  20 48 53 49 20 70 72 6f  |ge data, HSI pro|
00004860  70 72 69 65 74 61 72 79  0a 0a 23 20 50 43 20 62  |prietary..# PC b|
00004870  69 74 6d 61 70 73 20 28  4f 53 2f 32 2c 20 57 69  |itmaps (OS/2, Wi|
00004880  6e 64 6f 7a 65 20 42 4d  50 20 66 69 6c 65 73 29  |ndoze BMP files)|
00004890  20 20 28 47 72 65 67 20  52 6f 65 6c 6f 66 73 2c  |  (Greg Roelofs,|
000048a0  20 6e 65 77 74 40 75 63  68 69 63 61 67 6f 2e 65  | newt@uchicago.e|
000048b0  64 75 29 0a 30 09 73 74  72 69 6e 67 09 09 42 4d  |du).0.string..BM|
000048c0  09 09 50 43 20 62 69 74  6d 61 70 20 64 61 74 61  |..PC bitmap data|
000048d0  0a 3e 31 34 09 6c 65 73  68 6f 72 74 09 09 31 32  |.>14.leshort..12|
000048e0  09 09 5c 62 2c 20 4f 53  2f 32 20 31 2e 78 20 66  |..\b, OS/2 1.x f|
000048f0  6f 72 6d 61 74 0a 3e 3e  31 38 09 6c 65 73 68 6f  |ormat.>>18.lesho|
00004900  72 74 09 09 78 09 09 5c  62 2c 20 25 64 20 78 0a  |rt..x..\b, %d x.|
00004910  3e 3e 32 30 09 6c 65 73  68 6f 72 74 09 09 78 09  |>>20.leshort..x.|
00004920  09 25 64 0a 3e 31 34 09  6c 65 73 68 6f 72 74 09  |.%d.>14.leshort.|
00004930  09 36 34 09 09 5c 62 2c  20 4f 53 2f 32 20 32 2e  |.64..\b, OS/2 2.|
00004940  78 20 66 6f 72 6d 61 74  0a 3e 3e 31 38 09 6c 65  |x format.>>18.le|
00004950  73 68 6f 72 74 09 09 78  09 09 5c 62 2c 20 25 64  |short..x..\b, %d|
00004960  20 78 0a 3e 3e 32 30 09  6c 65 73 68 6f 72 74 09  | x.>>20.leshort.|
00004970  09 78 09 09 25 64 0a 3e  31 34 09 6c 65 73 68 6f  |.x..%d.>14.lesho|
00004980  72 74 09 09 34 30 09 09  5c 62 2c 20 57 69 6e 64  |rt..40..\b, Wind|
00004990  6f 77 73 20 33 2e 78 20  66 6f 72 6d 61 74 0a 3e  |ows 3.x format.>|
000049a0  3e 31 38 09 6c 65 6c 6f  6e 67 09 09 78 09 09 5c  |>18.lelong..x..\|
000049b0  62 2c 20 25 64 20 78 0a  3e 3e 32 32 09 6c 65 6c  |b, %d x.>>22.lel|
000049c0  6f 6e 67 09 09 78 09 09  25 64 20 78 0a 3e 3e 32  |ong..x..%d x.>>2|
000049d0  38 09 6c 65 73 68 6f 72  74 09 09 78 09 09 25 64  |8.leshort..x..%d|
000049e0  0a 30 09 73 74 72 69 6e  67 09 09 49 43 09 09 50  |.0.string..IC..P|
000049f0  43 20 69 63 6f 6e 20 64  61 74 61 0a 30 09 73 74  |C icon data.0.st|
00004a00  72 69 6e 67 09 09 50 49  09 09 50 43 20 70 6f 69  |ring..PI..PC poi|
00004a10  6e 74 65 72 20 69 6d 61  67 65 20 64 61 74 61 0a  |nter image data.|
00004a20  30 09 73 74 72 69 6e 67  09 09 43 49 09 09 50 43  |0.string..CI..PC|
00004a30  20 63 6f 6c 6f 72 20 69  63 6f 6e 20 64 61 74 61  | color icon data|
00004a40  0a 30 09 73 74 72 69 6e  67 09 09 43 50 09 09 50  |.0.string..CP..P|
00004a50  43 20 63 6f 6c 6f 72 20  70 6f 69 6e 74 65 72 20  |C color pointer |
00004a60  69 6d 61 67 65 20 64 61  74 61 0a 23 20 43 6f 6e  |image data.# Con|
00004a70  66 6c 69 63 74 73 20 77  69 74 68 20 6f 74 68 65  |flicts with othe|
00004a80  72 20 65 6e 74 72 69 65  73 20 5b 42 41 42 59 4c  |r entries [BABYL|
00004a90  5d 0a 23 30 09 73 74 72  69 6e 67 09 09 42 41 09  |].#0.string..BA.|
00004aa0  09 50 43 20 62 69 74 6d  61 70 20 61 72 72 61 79  |.PC bitmap array|
00004ab0  20 64 61 74 61 0a 0a 23  20 58 50 4d 20 69 63 6f  | data..# XPM ico|
00004ac0  6e 73 20 28 47 72 65 67  20 52 6f 65 6c 6f 66 73  |ns (Greg Roelofs|
00004ad0  2c 20 6e 65 77 74 40 75  63 68 69 63 61 67 6f 2e  |, newt@uchicago.|
00004ae0  65 64 75 29 0a 23 20 6e  6f 74 65 20 70 6f 73 73  |edu).# note poss|
00004af0  69 62 6c 65 20 63 6f 6c  6c 69 73 69 6f 6e 20 77  |ible collision w|
00004b00  69 74 68 20 43 2f 52 45  58 58 20 65 6e 74 72 79  |ith C/REXX entry|
00004b10  20 69 6e 20 63 2d 6c 61  6e 67 3b 20 63 75 72 72  | in c-lang; curr|
00004b20  65 6e 74 6c 79 20 63 6f  6d 6d 65 6e 74 65 64 20  |ently commented |
00004b30  6f 75 74 0a 30 09 73 74  72 69 6e 67 09 09 2f 2a  |out.0.string../*|
00004b40  5c 20 58 50 4d 5c 20 2a  2f 09 58 20 70 69 78 6d  |\ XPM\ */.X pixm|
00004b50  61 70 20 69 6d 61 67 65  20 74 65 78 74 0a 0a 23  |ap image text..#|
00004b60  20 55 74 61 68 20 52 61  73 74 65 72 20 54 6f 6f  | Utah Raster Too|
00004b70  6c 6b 69 74 20 52 4c 45  20 69 6d 61 67 65 73 20  |lkit RLE images |
00004b80  28 6a 61 6e 6c 40 69 66  69 2e 75 69 6f 2e 6e 6f  |(janl@ifi.uio.no|
00004b90  29 0a 30 09 6c 65 73 68  6f 72 74 09 09 30 78 63  |).0.leshort..0xc|
00004ba0  63 35 32 09 09 52 4c 45  20 69 6d 61 67 65 20 64  |c52..RLE image d|
00004bb0  61 74 61 2c 0a 3e 36 09  6c 65 73 68 6f 72 74 09  |ata,.>6.leshort.|
00004bc0  09 78 09 09 25 64 20 78  0a 3e 38 09 6c 65 73 68  |.x..%d x.>8.lesh|
00004bd0  6f 72 74 09 09 78 09 09  25 64 0a 3e 32 09 6c 65  |ort..x..%d.>2.le|
00004be0  73 68 6f 72 74 09 09 3e  30 09 09 5c 62 2c 20 6c  |short..>0..\b, l|
00004bf0  6f 77 65 72 20 6c 65 66  74 20 63 6f 72 6e 65 72  |ower left corner|
00004c00  3a 20 25 64 0a 3e 34 09  6c 65 73 68 6f 72 74 09  |: %d.>4.leshort.|
00004c10  09 3e 30 09 09 5c 62 2c  20 6c 6f 77 65 72 20 72  |.>0..\b, lower r|
00004c20  69 67 68 74 20 63 6f 72  6e 65 72 3a 20 25 64 0a  |ight corner: %d.|
00004c30  3e 31 30 09 62 79 74 65  26 30 78 31 09 3d 30 78  |>10.byte&0x1.=0x|
00004c40  31 09 09 5c 62 2c 20 63  6c 65 61 72 20 66 69 72  |1..\b, clear fir|
00004c50  73 74 0a 3e 31 30 09 62  79 74 65 26 30 78 32 09  |st.>10.byte&0x2.|
00004c60  3d 30 78 32 09 09 5c 62  2c 20 6e 6f 20 62 61 63  |=0x2..\b, no bac|
00004c70  6b 67 72 6f 75 6e 64 0a  3e 31 30 09 62 79 74 65  |kground.>10.byte|
00004c80  26 30 78 34 09 3d 30 78  34 09 09 5c 62 2c 20 61  |&0x4.=0x4..\b, a|
00004c90  6c 70 68 61 20 63 68 61  6e 6e 65 6c 0a 3e 31 30  |lpha channel.>10|
00004ca0  09 62 79 74 65 26 30 78  38 09 3d 30 78 38 09 09  |.byte&0x8.=0x8..|
00004cb0  5c 62 2c 20 63 6f 6d 6d  65 6e 74 0a 3e 31 31 09  |\b, comment.>11.|
00004cc0  62 79 74 65 09 09 3e 30  09 09 5c 62 2c 20 25 64  |byte..>0..\b, %d|
00004cd0  20 63 6f 6c 6f 72 20 63  68 61 6e 6e 65 6c 73 0a  | color channels.|
00004ce0  3e 31 32 09 62 79 74 65  09 09 3e 30 09 09 5c 62  |>12.byte..>0..\b|
00004cf0  2c 20 25 64 20 62 69 74  73 20 70 65 72 20 70 69  |, %d bits per pi|
00004d00  78 65 6c 0a 3e 31 33 09  62 79 74 65 09 09 3e 30  |xel.>13.byte..>0|
00004d10  09 09 5c 62 2c 20 25 64  20 63 6f 6c 6f 72 20 6d  |..\b, %d color m|
00004d20  61 70 20 63 68 61 6e 6e  65 6c 73 0a 0a 23 20 69  |ap channels..# i|
00004d30  6d 61 67 65 20 66 69 6c  65 20 66 6f 72 6d 61 74  |mage file format|
00004d40  20 28 52 6f 62 65 72 74  20 50 6f 74 74 65 72 2c  | (Robert Potter,|
00004d50  20 70 6f 74 74 65 72 40  63 73 2e 72 6f 63 68 65  | potter@cs.roche|
00004d60  73 74 65 72 2e 65 64 75  29 0a 30 09 73 74 72 69  |ster.edu).0.stri|
00004d70  6e 67 09 09 49 6d 61 67  65 66 69 6c 65 5c 20 76  |ng..Imagefile\ v|
00004d80  65 72 73 69 6f 6e 2d 09  69 66 66 20 69 6d 61 67  |ersion-.iff imag|
00004d90  65 20 64 61 74 61 0a 23  20 74 68 69 73 20 61 64  |e data.# this ad|
00004da0  64 73 20 74 68 65 20 77  68 6f 6c 65 20 68 65 61  |ds the whole hea|
00004db0  64 65 72 20 28 69 6e 63  2e 20 76 65 72 73 69 6f  |der (inc. versio|
00004dc0  6e 20 6e 75 6d 62 65 72  29 2c 20 69 6e 66 6f 72  |n number), infor|
00004dd0  6d 61 74 69 76 65 20 62  75 74 20 6c 6f 6e 67 69  |mative but longi|
00004de0  73 68 0a 3e 31 30 09 73  74 72 69 6e 67 09 09 3e  |sh.>10.string..>|
00004df0  5c 30 09 09 25 73 0a 0a  23 20 53 75 6e 20 72 61  |\0..%s..# Sun ra|
00004e00  73 74 65 72 20 69 6d 61  67 65 73 2c 20 66 72 6f  |ster images, fro|
00004e10  6d 20 44 61 6e 69 65 6c  20 51 75 69 6e 6c 61 6e  |m Daniel Quinlan|
00004e20  20 28 71 75 69 6e 6c 61  6e 40 79 67 67 64 72 61  | (quinlan@yggdra|
00004e30  73 69 6c 2e 63 6f 6d 29  0a 30 09 62 65 6c 6f 6e  |sil.com).0.belon|
00004e40  67 09 09 30 78 35 39 61  36 36 61 39 35 09 53 75  |g..0x59a66a95.Su|
00004e50  6e 20 72 61 73 74 65 72  20 69 6d 61 67 65 20 64  |n raster image d|
00004e60  61 74 61 0a 3e 34 09 62  65 6c 6f 6e 67 09 09 3e  |ata.>4.belong..>|
00004e70  30 09 09 5c 62 2c 20 25  64 20 78 0a 3e 38 09 62  |0..\b, %d x.>8.b|
00004e80  65 6c 6f 6e 67 09 09 3e  30 09 09 25 64 2c 0a 3e  |elong..>0..%d,.>|
00004e90  31 32 09 62 65 6c 6f 6e  67 09 09 3e 30 09 09 25  |12.belong..>0..%|
00004ea0  64 2d 62 69 74 2c 0a 23  3e 31 36 09 62 65 6c 6f  |d-bit,.#>16.belo|
00004eb0  6e 67 09 09 3e 30 09 09  25 64 20 62 79 74 65 73  |ng..>0..%d bytes|
00004ec0  20 6c 6f 6e 67 2c 0a 3e  32 30 09 62 65 6c 6f 6e  | long,.>20.belon|
00004ed0  67 09 09 30 09 09 6f 6c  64 20 66 6f 72 6d 61 74  |g..0..old format|
00004ee0  2c 0a 23 3e 32 30 09 62  65 6c 6f 6e 67 09 09 31  |,.#>20.belong..1|
00004ef0  09 09 73 74 61 6e 64 61  72 64 2c 0a 3e 32 30 09  |..standard,.>20.|
00004f00  62 65 6c 6f 6e 67 09 09  32 09 09 63 6f 6d 70 72  |belong..2..compr|
00004f10  65 73 73 65 64 2c 0a 3e  32 30 09 62 65 6c 6f 6e  |essed,.>20.belon|
00004f20  67 09 09 33 09 09 52 47  42 2c 0a 3e 32 30 09 62  |g..3..RGB,.>20.b|
00004f30  65 6c 6f 6e 67 09 09 34  09 09 54 49 46 46 2c 0a  |elong..4..TIFF,.|
00004f40  3e 32 30 09 62 65 6c 6f  6e 67 09 09 35 09 09 49  |>20.belong..5..I|
00004f50  46 46 2c 0a 3e 32 30 09  62 65 6c 6f 6e 67 09 09  |FF,.>20.belong..|
00004f60  30 78 66 66 66 66 09 09  72 65 73 65 72 76 65 64  |0xffff..reserved|
00004f70  20 66 6f 72 20 74 65 73  74 69 6e 67 2c 0a 3e 32  | for testing,.>2|
00004f80  34 09 62 65 6c 6f 6e 67  09 09 30 09 09 6e 6f 20  |4.belong..0..no |
00004f90  63 6f 6c 6f 72 6d 61 70  0a 3e 32 34 09 62 65 6c  |colormap.>24.bel|
00004fa0  6f 6e 67 09 09 31 09 09  52 47 42 20 63 6f 6c 6f  |ong..1..RGB colo|
00004fb0  72 6d 61 70 0a 3e 32 34  09 62 65 6c 6f 6e 67 09  |rmap.>24.belong.|
00004fc0  09 32 09 09 72 61 77 20  63 6f 6c 6f 72 6d 61 70  |.2..raw colormap|
00004fd0  0a 23 3e 32 38 09 62 65  6c 6f 6e 67 09 09 3e 30  |.#>28.belong..>0|
00004fe0  09 09 63 6f 6c 6f 72 6d  61 70 20 69 73 20 25 64  |..colormap is %d|
00004ff0  20 62 79 74 65 73 20 6c  6f 6e 67 0a 0a 23 20 53  | bytes long..# S|
00005000  47 49 20 69 6d 61 67 65  20 66 69 6c 65 20 66 6f  |GI image file fo|
00005010  72 6d 61 74 2c 20 66 72  6f 6d 20 44 61 6e 69 65  |rmat, from Danie|
00005020  6c 20 51 75 69 6e 6c 61  6e 20 28 71 75 69 6e 6c  |l Quinlan (quinl|
00005030  61 6e 40 79 67 67 64 72  61 73 69 6c 2e 63 6f 6d  |an@yggdrasil.com|
00005040  29 0a 23 20 66 69 6c 65  3a 2f 2f 73 67 69 2e 63  |).# file://sgi.c|
00005050  6f 6d 2f 67 72 61 70 68  69 63 73 2f 53 47 49 49  |om/graphics/SGII|
00005060  4d 41 47 45 53 50 45 43  0a 30 09 62 65 73 68 6f  |MAGESPEC.0.besho|
00005070  72 74 09 09 34 37 34 09  09 53 47 49 20 69 6d 61  |rt..474..SGI ima|
00005080  67 65 20 64 61 74 61 0a  23 3e 32 09 62 79 74 65  |ge data.#>2.byte|
00005090  09 09 30 09 09 5c 62 2c  20 76 65 72 62 61 74 69  |..0..\b, verbati|
000050a0  6d 0a 3e 32 09 62 79 74  65 09 09 31 09 09 5c 62  |m.>2.byte..1..\b|
000050b0  2c 20 52 4c 45 0a 23 3e  33 09 62 79 74 65 09 09  |, RLE.#>3.byte..|
000050c0  31 09 09 5c 62 2c 20 6e  6f 72 6d 61 6c 20 70 72  |1..\b, normal pr|
000050d0  65 63 69 73 69 6f 6e 0a  3e 33 09 62 79 74 65 09  |ecision.>3.byte.|
000050e0  09 32 09 09 5c 62 2c 20  68 69 67 68 20 70 72 65  |.2..\b, high pre|
000050f0  63 69 73 69 6f 6e 0a 3e  34 09 62 65 73 68 6f 72  |cision.>4.beshor|
00005100  74 09 09 78 09 09 5c 62  2c 20 25 64 2d 44 0a 3e  |t..x..\b, %d-D.>|
00005110  36 09 62 65 73 68 6f 72  74 09 09 78 09 09 5c 62  |6.beshort..x..\b|
00005120  2c 20 25 64 20 78 0a 3e  38 09 62 65 73 68 6f 72  |, %d x.>8.beshor|
00005130  74 09 09 78 09 09 25 64  0a 3e 31 30 09 62 65 73  |t..x..%d.>10.bes|
00005140  68 6f 72 74 09 09 78 09  09 5c 62 2c 20 25 64 20  |hort..x..\b, %d |
00005150  63 68 61 6e 6e 65 6c 0a  3e 31 30 09 62 65 73 68  |channel.>10.besh|
00005160  6f 72 74 09 09 21 31 09  09 5c 62 73 0a 3e 38 30  |ort..!1..\bs.>80|
00005170  09 73 74 72 69 6e 67 09  09 3e 30 09 09 5c 62 2c  |.string..>0..\b,|
00005180  20 22 25 73 22 0a 0a 23  20 46 6f 6c 6c 6f 77 69  | "%s"..# Followi|
00005190  6e 67 20 74 77 6f 20 6c  69 6e 65 73 20 6d 65 72  |ng two lines mer|
000051a0  67 65 64 20 74 6f 20 6f  6e 65 20 65 6e 74 72 79  |ged to one entry|
000051b0  0a 30 09 73 74 72 69 6e  67 09 09 49 54 30 31 0a  |.0.string..IT01.|
000051c0  7c 30 09 73 74 72 69 6e  67 09 09 49 54 30 32 09  ||0.string..IT02.|
000051d0  09 46 49 54 20 69 6d 61  67 65 20 64 61 74 61 0a  |.FIT image data.|
000051e0  3e 34 09 62 65 6c 6f 6e  67 09 09 78 09 09 5c 62  |>4.belong..x..\b|
000051f0  2c 20 25 64 20 78 0a 3e  38 09 62 65 6c 6f 6e 67  |, %d x.>8.belong|
00005200  09 09 78 09 09 25 64 20  78 0a 3e 31 32 09 62 65  |..x..%d x.>12.be|
00005210  6c 6f 6e 67 09 09 78 09  09 25 64 0a 23 0a 32 30  |long..x..%d.#.20|
00005220  34 38 09 73 74 72 69 6e  67 09 09 50 43 44 5f 49  |48.string..PCD_I|
00005230  50 49 09 09 4b 6f 64 61  6b 20 50 68 6f 74 6f 20  |PI..Kodak Photo |
00005240  43 44 20 69 6d 61 67 65  20 70 61 63 6b 20 66 69  |CD image pack fi|
00005250  6c 65 0a 30 09 73 74 72  69 6e 67 09 09 50 43 44  |le.0.string..PCD|
00005260  5f 4f 50 41 09 09 4b 6f  64 61 6b 20 50 68 6f 74  |_OPA..Kodak Phot|
00005270  6f 20 43 44 20 6f 76 65  72 76 69 65 77 20 70 61  |o CD overview pa|
00005280  63 6b 20 66 69 6c 65 0a  0a 23 20 46 49 54 53 20  |ck file..# FITS |
00005290  66 6f 72 6d 61 74 2e 20  20 4a 65 66 66 20 55 70  |format.  Jeff Up|
000052a0  68 6f 66 66 20 3c 6a 75  70 68 6f 66 66 40 74 61  |hoff <juphoff@ta|
000052b0  72 73 69 65 72 2e 63 76  2e 6e 72 61 6f 2e 65 64  |rsier.cv.nrao.ed|
000052c0  75 3e 0a 23 20 46 49 54  53 20 69 73 20 74 68 65  |u>.# FITS is the|
000052d0  20 46 6c 65 78 69 62 6c  65 20 49 6d 61 67 65 20  | Flexible Image |
000052e0  54 72 61 6e 73 70 6f 72  74 20 53 79 73 74 65 6d  |Transport System|
000052f0  2c 20 74 68 65 20 64 65  20 66 61 63 74 6f 20 73  |, the de facto s|
00005300  74 61 6e 64 61 72 64 20  66 6f 72 0a 23 20 64 61  |tandard for.# da|
00005310  74 61 20 61 6e 64 20 69  6d 61 67 65 20 74 72 61  |ta and image tra|
00005320  6e 73 66 65 72 2c 20 73  74 6f 72 61 67 65 2c 20  |nsfer, storage, |
00005330  65 74 63 2e 2c 20 66 6f  72 20 74 68 65 20 61 73  |etc., for the as|
00005340  74 72 6f 6e 6f 6d 69 63  61 6c 20 63 6f 6d 6d 75  |tronomical commu|
00005350  6e 69 74 79 2e 0a 23 20  28 46 49 54 53 20 66 6c  |nity..# (FITS fl|
00005360  6f 61 74 69 6e 67 20 70  6f 69 6e 74 20 66 6f 72  |oating point for|
00005370  6d 61 74 73 20 61 72 65  20 62 69 67 2d 65 6e 64  |mats are big-end|
00005380  69 61 6e 2e 29 0a 30 09  73 74 72 69 6e 67 09 53  |ian.).0.string.S|
00005390  49 4d 50 4c 45 5c 20 5c  20 3d 09 46 49 54 53 20  |IMPLE\ \ =.FITS |
000053a0  69 6d 61 67 65 20 64 61  74 61 0a 3e 31 30 39 09  |image data.>109.|
000053b0  73 74 72 69 6e 67 09 38  09 09 5c 62 2c 20 38 2d  |string.8..\b, 8-|
000053c0  62 69 74 2c 20 63 68 61  72 61 63 74 65 72 20 6f  |bit, character o|
000053d0  72 20 75 6e 73 69 67 6e  65 64 20 62 69 6e 61 72  |r unsigned binar|
000053e0  79 20 69 6e 74 65 67 65  72 0a 3e 31 30 38 09 73  |y integer.>108.s|
000053f0  74 72 69 6e 67 09 31 36  09 09 5c 62 2c 20 31 36  |tring.16..\b, 16|
00005400  2d 62 69 74 2c 20 74 77  6f 27 73 20 63 6f 6d 70  |-bit, two's comp|
00005410  6c 65 6d 65 6e 74 20 62  69 6e 61 72 79 20 69 6e  |lement binary in|
00005420  74 65 67 65 72 0a 3e 31  30 37 09 73 74 72 69 6e  |teger.>107.strin|
00005430  67 09 5c 20 33 32 09 09  5c 62 2c 20 33 32 2d 62  |g.\ 32..\b, 32-b|
00005440  69 74 2c 20 74 77 6f 27  73 20 63 6f 6d 70 6c 65  |it, two's comple|
00005450  6d 65 6e 74 20 62 69 6e  61 72 79 20 69 6e 74 65  |ment binary inte|
00005460  67 65 72 0a 3e 31 30 37  09 73 74 72 69 6e 67 09  |ger.>107.string.|
00005470  2d 33 32 09 09 5c 62 2c  20 33 32 2d 62 69 74 2c  |-32..\b, 32-bit,|
00005480  20 66 6c 6f 61 74 69 6e  67 20 70 6f 69 6e 74 2c  | floating point,|
00005490  20 73 69 6e 67 6c 65 20  70 72 65 63 69 73 69 6f  | single precisio|
000054a0  6e 0a 3e 31 30 37 09 73  74 72 69 6e 67 09 2d 36  |n.>107.string.-6|
000054b0  34 09 09 5c 62 2c 20 36  34 2d 62 69 74 2c 20 66  |4..\b, 64-bit, f|
000054c0  6c 6f 61 74 69 6e 67 20  70 6f 69 6e 74 2c 20 64  |loating point, d|
000054d0  6f 75 62 6c 65 20 70 72  65 63 69 73 69 6f 6e 0a  |ouble precision.|
000054e0  0a 23 20 6f 74 68 65 72  20 69 6d 61 67 65 73 0a  |.# other images.|
000054f0  30 09 73 74 72 69 6e 67  09 54 68 69 73 5c 20 69  |0.string.This\ i|
00005500  73 5c 20 61 5c 20 42 69  74 4d 61 70 5c 20 66 69  |s\ a\ BitMap\ fi|
00005510  6c 65 09 4c 69 73 70 20  4d 61 63 68 69 6e 65 20  |le.Lisp Machine |
00005520  62 69 74 2d 61 72 72 61  79 2d 66 69 6c 65 0a 30  |bit-array-file.0|
00005530  09 73 74 72 69 6e 67 09  09 21 21 09 09 42 65 6e  |.string..!!..Ben|
00005540  6e 65 74 20 59 65 65 27  73 20 22 66 61 63 65 22  |net Yee's "face"|
00005550  20 66 6f 72 6d 61 74 0a  0a 23 2d 2d 2d 2d 2d 2d  | format..#------|
00005560  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000055a0  2d 2d 2d 2d 2d 2d 2d 2d  0a 23 20 69 73 70 65 6c  |--------.# ispel|
000055b0  6c 3a 20 20 66 69 6c 65  28 31 29 20 6d 61 67 69  |l:  file(1) magi|
000055c0  63 20 66 6f 72 20 69 73  70 65 6c 6c 0a 23 0a 23  |c for ispell.#.#|
000055d0  20 49 73 70 65 6c 6c 20  33 2e 30 20 68 61 73 20  | Ispell 3.0 has |
000055e0  61 20 6d 61 67 69 63 20  6f 66 20 30 78 39 36 30  |a magic of 0x960|
000055f0  31 20 61 6e 64 20 69 73  70 65 6c 6c 20 33 2e 31  |1 and ispell 3.1|
00005600  20 68 61 73 20 30 78 39  36 30 32 2e 20 20 54 68  | has 0x9602.  Th|
00005610  69 73 20 6d 61 67 69 63  0a 23 20 77 69 6c 6c 20  |is magic.# will |
00005620  6d 61 74 63 68 20 30 78  39 36 30 30 20 74 68 72  |match 0x9600 thr|
00005630  6f 75 67 68 20 30 78 39  36 30 33 20 69 6e 20 2a  |ough 0x9603 in *|
00005640  62 6f 74 68 2a 20 6c 69  74 74 6c 65 20 65 6e 64  |both* little end|
00005650  69 61 6e 20 61 6e 64 20  62 69 67 20 65 6e 64 69  |ian and big endi|
00005660  61 6e 2e 0a 23 20 28 4e  6f 20 6f 74 68 65 72 20  |an..# (No other |
00005670  63 75 72 72 65 6e 74 20  6d 61 67 69 63 20 65 6e  |current magic en|
00005680  74 72 69 65 73 20 63 6f  6c 6c 69 64 65 2e 29 0a  |tries collide.).|
00005690  23 0a 23 20 55 70 64 61  74 65 64 20 62 79 20 44  |#.# Updated by D|
000056a0  61 6e 69 65 6c 20 51 75  69 6e 6c 61 6e 20 28 71  |aniel Quinlan (q|
000056b0  75 69 6e 6c 61 6e 40 79  67 67 64 72 61 73 69 6c  |uinlan@yggdrasil|
000056c0  2e 63 6f 6d 29 0a 23 0a  30 09 6c 65 73 68 6f 72  |.com).#.0.leshor|
000056d0  74 26 30 78 46 46 46 43  09 30 78 39 36 30 30 09  |t&0xFFFC.0x9600.|
000056e0  09 6c 69 74 74 6c 65 20  65 6e 64 69 61 6e 20 69  |.little endian i|
000056f0  73 70 65 6c 6c 0a 3e 30  09 62 79 74 65 09 09 30  |spell.>0.byte..0|
00005700  09 09 68 61 73 68 20 66  69 6c 65 20 28 3f 29 2c  |..hash file (?),|
00005710  0a 3e 30 09 62 79 74 65  09 09 31 09 09 33 2e 30  |.>0.byte..1..3.0|
00005720  20 68 61 73 68 20 66 69  6c 65 2c 0a 3e 30 09 62  | hash file,.>0.b|
00005730  79 74 65 09 09 32 09 09  33 2e 31 20 68 61 73 68  |yte..2..3.1 hash|
00005740  20 66 69 6c 65 2c 0a 3e  30 09 62 79 74 65 09 09  | file,.>0.byte..|
00005750  33 09 09 68 61 73 68 20  66 69 6c 65 20 28 3f 29  |3..hash file (?)|
00005760  2c 0a 3e 32 09 6c 65 73  68 6f 72 74 09 09 30 78  |,.>2.leshort..0x|
00005770  30 30 09 09 38 2d 62 69  74 2c 20 6e 6f 20 63 61  |00..8-bit, no ca|
00005780  70 69 74 61 6c 69 7a 61  74 69 6f 6e 2c 20 32 36  |pitalization, 26|
00005790  20 66 6c 61 67 73 0a 3e  32 09 6c 65 73 68 6f 72  | flags.>2.leshor|
000057a0  74 09 09 30 78 30 31 09  09 37 2d 62 69 74 2c 20  |t..0x01..7-bit, |
000057b0  6e 6f 20 63 61 70 69 74  61 6c 69 7a 61 74 69 6f  |no capitalizatio|
000057c0  6e 2c 20 32 36 20 66 6c  61 67 73 0a 3e 32 09 6c  |n, 26 flags.>2.l|
000057d0  65 73 68 6f 72 74 09 09  30 78 30 32 09 09 38 2d  |eshort..0x02..8-|
000057e0  62 69 74 2c 20 63 61 70  69 74 61 6c 69 7a 61 74  |bit, capitalizat|
000057f0  69 6f 6e 2c 20 32 36 20  66 6c 61 67 73 0a 3e 32  |ion, 26 flags.>2|
00005800  09 6c 65 73 68 6f 72 74  09 09 30 78 30 33 09 09  |.leshort..0x03..|
00005810  37 2d 62 69 74 2c 20 63  61 70 69 74 61 6c 69 7a  |7-bit, capitaliz|
00005820  61 74 69 6f 6e 2c 20 32  36 20 66 6c 61 67 73 0a  |ation, 26 flags.|
00005830  3e 32 09 6c 65 73 68 6f  72 74 09 09 30 78 30 34  |>2.leshort..0x04|
00005840  09 09 38 2d 62 69 74 2c  20 6e 6f 20 63 61 70 69  |..8-bit, no capi|
00005850  74 61 6c 69 7a 61 74 69  6f 6e 2c 20 35 32 20 66  |talization, 52 f|
00005860  6c 61 67 73 0a 3e 32 09  6c 65 73 68 6f 72 74 09  |lags.>2.leshort.|
00005870  09 30 78 30 35 09 09 37  2d 62 69 74 2c 20 6e 6f  |.0x05..7-bit, no|
00005880  20 63 61 70 69 74 61 6c  69 7a 61 74 69 6f 6e 2c  | capitalization,|
00005890  20 35 32 20 66 6c 61 67  73 0a 3e 32 09 6c 65 73  | 52 flags.>2.les|
000058a0  68 6f 72 74 09 09 30 78  30 36 09 09 38 2d 62 69  |hort..0x06..8-bi|
000058b0  74 2c 20 63 61 70 69 74  61 6c 69 7a 61 74 69 6f  |t, capitalizatio|
000058c0  6e 2c 20 35 32 20 66 6c  61 67 73 0a 3e 32 09 6c  |n, 52 flags.>2.l|
000058d0  65 73 68 6f 72 74 09 09  30 78 30 37 09 09 37 2d  |eshort..0x07..7-|
000058e0  62 69 74 2c 20 63 61 70  69 74 61 6c 69 7a 61 74  |bit, capitalizat|
000058f0  69 6f 6e 2c 20 35 32 20  66 6c 61 67 73 0a 3e 32  |ion, 52 flags.>2|
00005900  09 6c 65 73 68 6f 72 74  09 09 30 78 30 38 09 09  |.leshort..0x08..|
00005910  38 2d 62 69 74 2c 20 6e  6f 20 63 61 70 69 74 61  |8-bit, no capita|
00005920  6c 69 7a 61 74 69 6f 6e  2c 20 31 32 38 20 66 6c  |lization, 128 fl|
00005930  61 67 73 0a 3e 32 09 6c  65 73 68 6f 72 74 09 09  |ags.>2.leshort..|
00005940  30 78 30 39 09 09 37 2d  62 69 74 2c 20 6e 6f 20  |0x09..7-bit, no |
00005950  63 61 70 69 74 61 6c 69  7a 61 74 69 6f 6e 2c 20  |capitalization, |
00005960  31 32 38 20 66 6c 61 67  73 0a 3e 32 09 6c 65 73  |128 flags.>2.les|
00005970  68 6f 72 74 09 09 30 78  30 41 09 09 38 2d 62 69  |hort..0x0A..8-bi|
00005980  74 2c 20 63 61 70 69 74  61 6c 69 7a 61 74 69 6f  |t, capitalizatio|
00005990  6e 2c 20 31 32 38 20 66  6c 61 67 73 0a 3e 32 09  |n, 128 flags.>2.|
000059a0  6c 65 73 68 6f 72 74 09  09 30 78 30 42 09 09 37  |leshort..0x0B..7|
000059b0  2d 62 69 74 2c 20 63 61  70 69 74 61 6c 69 7a 61  |-bit, capitaliza|
000059c0  74 69 6f 6e 2c 20 31 32  38 20 66 6c 61 67 73 0a  |tion, 128 flags.|
000059d0  3e 32 09 6c 65 73 68 6f  72 74 09 09 30 78 30 43  |>2.leshort..0x0C|
000059e0  09 09 38 2d 62 69 74 2c  20 6e 6f 20 63 61 70 69  |..8-bit, no capi|
000059f0  74 61 6c 69 7a 61 74 69  6f 6e 2c 20 32 35 36 20  |talization, 256 |
00005a00  66 6c 61 67 73 0a 3e 32  09 6c 65 73 68 6f 72 74  |flags.>2.leshort|
00005a10  09 09 30 78 30 44 09 09  37 2d 62 69 74 2c 20 6e  |..0x0D..7-bit, n|
00005a20  6f 20 63 61 70 69 74 61  6c 69 7a 61 74 69 6f 6e  |o capitalization|
00005a30  2c 20 32 35 36 20 66 6c  61 67 73 0a 3e 32 09 6c  |, 256 flags.>2.l|
00005a40  65 73 68 6f 72 74 09 09  30 78 30 45 09 09 38 2d  |eshort..0x0E..8-|
00005a50  62 69 74 2c 20 63 61 70  69 74 61 6c 69 7a 61 74  |bit, capitalizat|
00005a60  69 6f 6e 2c 20 32 35 36  20 66 6c 61 67 73 0a 3e  |ion, 256 flags.>|
00005a70  32 09 6c 65 73 68 6f 72  74 09 09 30 78 30 46 09  |2.leshort..0x0F.|
00005a80  09 37 2d 62 69 74 2c 20  63 61 70 69 74 61 6c 69  |.7-bit, capitali|
00005a90  7a 61 74 69 6f 6e 2c 20  32 35 36 20 66 6c 61 67  |zation, 256 flag|
00005aa0  73 0a 3e 34 09 6c 65 73  68 6f 72 74 09 09 3e 30  |s.>4.leshort..>0|
00005ab0  09 09 61 6e 64 20 25 64  20 73 74 72 69 6e 67 20  |..and %d string |
00005ac0  63 68 61 72 61 63 74 65  72 73 0a 30 09 62 65 73  |characters.0.bes|
00005ad0  68 6f 72 74 26 30 78 46  46 46 43 09 30 78 39 36  |hort&0xFFFC.0x96|
00005ae0  30 30 09 09 62 69 67 20  65 6e 64 69 61 6e 20 69  |00..big endian i|
00005af0  73 70 65 6c 6c 0a 3e 31  09 62 79 74 65 09 09 30  |spell.>1.byte..0|
00005b00  09 09 68 61 73 68 20 66  69 6c 65 20 28 3f 29 2c  |..hash file (?),|
00005b10  0a 3e 31 09 62 79 74 65  09 09 31 09 09 33 2e 30  |.>1.byte..1..3.0|
00005b20  20 68 61 73 68 20 66 69  6c 65 2c 0a 3e 31 09 62  | hash file,.>1.b|
00005b30  79 74 65 09 09 32 09 09  33 2e 31 20 68 61 73 68  |yte..2..3.1 hash|
00005b40  20 66 69 6c 65 2c 0a 3e  31 09 62 79 74 65 09 09  | file,.>1.byte..|
00005b50  33 09 09 68 61 73 68 20  66 69 6c 65 20 28 3f 29  |3..hash file (?)|
00005b60  2c 0a 3e 32 09 62 65 73  68 6f 72 74 09 09 30 78  |,.>2.beshort..0x|
00005b70  30 30 09 09 38 2d 62 69  74 2c 20 6e 6f 20 63 61  |00..8-bit, no ca|
00005b80  70 69 74 61 6c 69 7a 61  74 69 6f 6e 2c 20 32 36  |pitalization, 26|
00005b90  20 66 6c 61 67 73 0a 3e  32 09 62 65 73 68 6f 72  | flags.>2.beshor|
00005ba0  74 09 09 30 78 30 31 09  09 37 2d 62 69 74 2c 20  |t..0x01..7-bit, |
00005bb0  6e 6f 20 63 61 70 69 74  61 6c 69 7a 61 74 69 6f  |no capitalizatio|
00005bc0  6e 2c 20 32 36 20 66 6c  61 67 73 0a 3e 32 09 62  |n, 26 flags.>2.b|
00005bd0  65 73 68 6f 72 74 09 09  30 78 30 32 09 09 38 2d  |eshort..0x02..8-|
00005be0  62 69 74 2c 20 63 61 70  69 74 61 6c 69 7a 61 74  |bit, capitalizat|
00005bf0  69 6f 6e 2c 20 32 36 20  66 6c 61 67 73 0a 3e 32  |ion, 26 flags.>2|
00005c00  09 62 65 73 68 6f 72 74  09 09 30 78 30 33 09 09  |.beshort..0x03..|
00005c10  37 2d 62 69 74 2c 20 63  61 70 69 74 61 6c 69 7a  |7-bit, capitaliz|
00005c20  61 74 69 6f 6e 2c 20 32  36 20 66 6c 61 67 73 0a  |ation, 26 flags.|
00005c30  3e 32 09 62 65 73 68 6f  72 74 09 09 30 78 30 34  |>2.beshort..0x04|
00005c40  09 09 38 2d 62 69 74 2c  20 6e 6f 20 63 61 70 69  |..8-bit, no capi|
00005c50  74 61 6c 69 7a 61 74 69  6f 6e 2c 20 35 32 20 66  |talization, 52 f|
00005c60  6c 61 67 73 0a 3e 32 09  62 65 73 68 6f 72 74 09  |lags.>2.beshort.|
00005c70  09 30 78 30 35 09 09 37  2d 62 69 74 2c 20 6e 6f  |.0x05..7-bit, no|
00005c80  20 63 61 70 69 74 61 6c  69 7a 61 74 69 6f 6e 2c  | capitalization,|
00005c90  20 35 32 20 66 6c 61 67  73 0a 3e 32 09 62 65 73  | 52 flags.>2.bes|
00005ca0  68 6f 72 74 09 09 30 78  30 36 09 09 38 2d 62 69  |hort..0x06..8-bi|
00005cb0  74 2c 20 63 61 70 69 74  61 6c 69 7a 61 74 69 6f  |t, capitalizatio|
00005cc0  6e 2c 20 35 32 20 66 6c  61 67 73 0a 3e 32 09 62  |n, 52 flags.>2.b|
00005cd0  65 73 68 6f 72 74 09 09  30 78 30 37 09 09 37 2d  |eshort..0x07..7-|
00005ce0  62 69 74 2c 20 63 61 70  69 74 61 6c 69 7a 61 74  |bit, capitalizat|
00005cf0  69 6f 6e 2c 20 35 32 20  66 6c 61 67 73 0a 3e 32  |ion, 52 flags.>2|
00005d00  09 62 65 73 68 6f 72 74  09 09 30 78 30 38 09 09  |.beshort..0x08..|
00005d10  38 2d 62 69 74 2c 20 6e  6f 20 63 61 70 69 74 61  |8-bit, no capita|
00005d20  6c 69 7a 61 74 69 6f 6e  2c 20 31 32 38 20 66 6c  |lization, 128 fl|
00005d30  61 67 73 0a 3e 32 09 62  65 73 68 6f 72 74 09 09  |ags.>2.beshort..|
00005d40  30 78 30 39 09 09 37 2d  62 69 74 2c 20 6e 6f 20  |0x09..7-bit, no |
00005d50  63 61 70 69 74 61 6c 69  7a 61 74 69 6f 6e 2c 20  |capitalization, |
00005d60  31 32 38 20 66 6c 61 67  73 0a 3e 32 09 62 65 73  |128 flags.>2.bes|
00005d70  68 6f 72 74 09 09 30 78  30 41 09 09 38 2d 62 69  |hort..0x0A..8-bi|
00005d80  74 2c 20 63 61 70 69 74  61 6c 69 7a 61 74 69 6f  |t, capitalizatio|
00005d90  6e 2c 20 31 32 38 20 66  6c 61 67 73 0a 3e 32 09  |n, 128 flags.>2.|
00005da0  62 65 73 68 6f 72 74 09  09 30 78 30 42 09 09 37  |beshort..0x0B..7|
00005db0  2d 62 69 74 2c 20 63 61  70 69 74 61 6c 69 7a 61  |-bit, capitaliza|
00005dc0  74 69 6f 6e 2c 20 31 32  38 20 66 6c 61 67 73 0a  |tion, 128 flags.|
00005dd0  3e 32 09 62 65 73 68 6f  72 74 09 09 30 78 30 43  |>2.beshort..0x0C|
00005de0  09 09 38 2d 62 69 74 2c  20 6e 6f 20 63 61 70 69  |..8-bit, no capi|
00005df0  74 61 6c 69 7a 61 74 69  6f 6e 2c 20 32 35 36 20  |talization, 256 |
00005e00  66 6c 61 67 73 0a 3e 32  09 62 65 73 68 6f 72 74  |flags.>2.beshort|
00005e10  09 09 30 78 30 44 09 09  37 2d 62 69 74 2c 20 6e  |..0x0D..7-bit, n|
00005e20  6f 20 63 61 70 69 74 61  6c 69 7a 61 74 69 6f 6e  |o capitalization|
00005e30  2c 20 32 35 36 20 66 6c  61 67 73 0a 3e 32 09 62  |, 256 flags.>2.b|
00005e40  65 73 68 6f 72 74 09 09  30 78 30 45 09 09 38 2d  |eshort..0x0E..8-|
00005e50  62 69 74 2c 20 63 61 70  69 74 61 6c 69 7a 61 74  |bit, capitalizat|
00005e60  69 6f 6e 2c 20 32 35 36  20 66 6c 61 67 73 0a 3e  |ion, 256 flags.>|
00005e70  32 09 62 65 73 68 6f 72  74 09 09 30 78 30 46 09  |2.beshort..0x0F.|
00005e80  09 37 2d 62 69 74 2c 20  63 61 70 69 74 61 6c 69  |.7-bit, capitali|
00005e90  7a 61 74 69 6f 6e 2c 20  32 35 36 20 66 6c 61 67  |zation, 256 flag|
00005ea0  73 0a 3e 34 09 62 65 73  68 6f 72 74 09 09 3e 30  |s.>4.beshort..>0|
00005eb0  09 09 61 6e 64 20 25 64  20 73 74 72 69 6e 67 20  |..and %d string |
00005ec0  63 68 61 72 61 63 74 65  72 73 0a 0a 23 2d 2d 2d  |characters..#---|
00005ed0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00005f10  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 23 20 6c 65  |-----------.# le|
00005f20  78 3a 20 20 66 69 6c 65  28 31 29 20 6d 61 67 69  |x:  file(1) magi|
00005f30  63 20 66 6f 72 20 6c 65  78 0a 23 0a 23 09 64 65  |c for lex.#.#.de|
00005f40  72 69 76 65 64 20 65 6d  70 69 72 69 63 61 6c 6c  |rived empiricall|
00005f50  79 2c 20 79 6f 75 72 20  6f 66 66 73 65 74 73 20  |y, your offsets |
00005f60  6d 61 79 20 76 61 72 79  21 0a 35 33 09 73 74 72  |may vary!.53.str|
00005f70  69 6e 67 09 09 79 79 70  72 65 76 69 6f 75 73 09  |ing..yyprevious.|
00005f80  43 20 70 72 6f 67 72 61  6d 20 74 65 78 74 20 28  |C program text (|
00005f90  66 72 6f 6d 20 6c 65 78  29 0a 3e 33 09 73 74 72  |from lex).>3.str|
00005fa0  69 6e 67 09 09 3e 5c 30  09 09 20 66 6f 72 20 25  |ing..>\0.. for %|
00005fb0  73 0a 23 20 43 20 70 72  6f 67 72 61 6d 20 74 65  |s.# C program te|
00005fc0  78 74 20 66 72 6f 6d 20  47 4e 55 20 66 6c 65 78  |xt from GNU flex|
00005fd0  2c 20 66 72 6f 6d 20 44  61 6e 69 65 6c 20 51 75  |, from Daniel Qu|
00005fe0  69 6e 6c 61 6e 20 3c 71  75 69 6e 6c 61 6e 40 79  |inlan <quinlan@y|
00005ff0  67 67 64 72 61 73 69 6c  2e 63 6f 6d 3e 0a 32 31  |ggdrasil.com>.21|
00006000  09 73 74 72 69 6e 67 09  09 67 65 6e 65 72 61 74  |.string..generat|
00006010  65 64 5c 20 62 79 5c 20  66 6c 65 78 09 43 20 70  |ed\ by\ flex.C p|
00006020  72 6f 67 72 61 6d 20 74  65 78 74 20 28 66 72 6f  |rogram text (fro|
00006030  6d 20 66 6c 65 78 29 0a  23 20 6c 65 78 20 64 65  |m flex).# lex de|
00006040  73 63 72 69 70 74 69 6f  6e 20 66 69 6c 65 2c 20  |scription file, |
00006050  66 72 6f 6d 20 44 61 6e  69 65 6c 20 51 75 69 6e  |from Daniel Quin|
00006060  6c 61 6e 20 3c 71 75 69  6e 6c 61 6e 40 79 67 67  |lan <quinlan@ygg|
00006070  64 72 61 73 69 6c 2e 63  6f 6d 3e 0a 30 09 73 74  |drasil.com>.0.st|
00006080  72 69 6e 67 09 09 25 7b  09 09 6c 65 78 20 64 65  |ring..%{..lex de|
00006090  73 63 72 69 70 74 69 6f  6e 20 74 65 78 74 0a 0a  |scription text..|
000060a0  23 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |#---------------|
000060b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000060e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
000060f0  23 20 6d 61 67 69 63 3a  20 20 66 69 6c 65 28 31  |# magic:  file(1|
00006100  29 20 6d 61 67 69 63 20  66 6f 72 20 6d 61 67 69  |) magic for magi|
00006110  63 20 66 69 6c 65 73 0a  23 0a 30 09 73 74 72 69  |c files.#.0.stri|
00006120  6e 67 09 09 23 21 5c 20  66 69 6c 65 0a 7c 30 09  |ng..#!\ file.|0.|
00006130  73 74 72 69 6e 67 09 09  23 5c 20 4d 61 67 69 63  |string..#\ Magic|
00006140  09 6d 61 67 69 63 20 74  65 78 74 20 66 69 6c 65  |.magic text file|
00006150  20 66 6f 72 20 66 69 6c  65 28 31 29 20 63 6d 64  | for file(1) cmd|
00006160  0a 0a 23 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |..#-------------|
00006170  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000061b0  2d 0a 23 20 6d 61 69 6c  2e 6e 65 77 73 3a 20 20  |-.# mail.news:  |
000061c0  66 69 6c 65 28 31 29 20  6d 61 67 69 63 20 66 6f  |file(1) magic fo|
000061d0  72 20 6d 61 69 6c 20 61  6e 64 20 6e 65 77 73 0a  |r mail and news.|
000061e0  23 0a 23 20 55 6e 66 6f  72 74 75 6e 61 74 65 6c  |#.# Unfortunatel|
000061f0  79 2c 20 73 61 76 65 64  20 6e 65 74 6e 65 77 73  |y, saved netnews|
00006200  20 61 6c 73 6f 20 68 61  73 20 46 72 6f 6d 20 6c  | also has From l|
00006210  69 6e 65 20 61 64 64 65  64 20 69 6e 20 73 6f 6d  |ine added in som|
00006220  65 20 6e 65 77 73 20 73  6f 66 74 77 61 72 65 2e  |e news software.|
00006230  0a 23 30 09 73 74 72 69  6e 67 09 09 46 72 6f 6d  |.#0.string..From|
00006240  20 09 09 6d 61 69 6c 20  74 65 78 74 0a 23 20 54  | ..mail text.# T|
00006250  68 65 72 65 20 61 72 65  20 74 65 73 74 73 20 74  |here are tests t|
00006260  6f 20 61 73 63 6d 61 67  69 63 2e 63 20 74 6f 20  |o ascmagic.c to |
00006270  63 6f 70 65 20 77 69 74  68 20 6d 61 69 6c 20 61  |cope with mail a|
00006280  6e 64 20 6e 65 77 73 2e  0a 30 09 73 74 72 69 6e  |nd news..0.strin|
00006290  67 09 09 52 65 6c 61 79  2d 56 65 72 73 69 6f 6e  |g..Relay-Version|
000062a0  3a 20 09 6f 6c 64 20 6e  65 77 73 20 74 65 78 74  |: .old news text|
000062b0  0a 30 09 73 74 72 69 6e  67 09 09 23 21 5c 20 72  |.0.string..#!\ r|
000062c0  6e 65 77 73 09 62 61 74  63 68 65 64 20 6e 65 77  |news.batched new|
000062d0  73 20 74 65 78 74 0a 30  09 73 74 72 69 6e 67 09  |s text.0.string.|
000062e0  09 4e 23 21 5c 20 72 6e  65 77 73 09 6d 61 69 6c  |.N#!\ rnews.mail|
000062f0  65 64 2c 20 62 61 74 63  68 65 64 20 6e 65 77 73  |ed, batched news|
00006300  20 74 65 78 74 0a 30 09  73 74 72 69 6e 67 09 09  | text.0.string..|
00006310  46 6f 72 77 61 72 64 5c  20 74 6f 20 09 6d 61 69  |Forward\ to .mai|
00006320  6c 20 66 6f 72 77 61 72  64 69 6e 67 20 74 65 78  |l forwarding tex|
00006330  74 0a 30 09 73 74 72 69  6e 67 09 09 50 69 70 65  |t.0.string..Pipe|
00006340  5c 20 74 6f 20 09 6d 61  69 6c 20 70 69 70 69 6e  |\ to .mail pipin|
00006350  67 20 74 65 78 74 0a 30  09 73 74 72 69 6e 67 09  |g text.0.string.|
00006360  09 52 65 74 75 72 6e 2d  50 61 74 68 3a 09 73 6d  |.Return-Path:.sm|
00006370  74 70 20 6d 61 69 6c 20  74 65 78 74 0a 30 09 73  |tp mail text.0.s|
00006380  74 72 69 6e 67 09 09 50  61 74 68 3a 0a 7c 30 09  |tring..Path:.|0.|
00006390  73 74 72 69 6e 67 09 09  58 72 65 66 3a 09 09 6e  |string..Xref:..n|
000063a0  65 77 73 20 74 65 78 74  0a 30 09 73 74 72 69 6e  |ews text.0.strin|
000063b0  67 09 09 46 72 6f 6d 3a  09 09 6e 65 77 73 20 6f  |g..From:..news o|
000063c0  72 20 6d 61 69 6c 20 74  65 78 74 0a 30 09 73 74  |r mail text.0.st|
000063d0  72 69 6e 67 09 09 41 72  74 69 63 6c 65 20 09 73  |ring..Article .s|
000063e0  61 76 65 64 20 6e 65 77  73 20 74 65 78 74 0a 30  |aved news text.0|
000063f0  09 73 74 72 69 6e 67 09  09 42 41 42 59 4c 09 09  |.string..BABYL..|
00006400  45 6d 61 63 73 20 52 4d  41 49 4c 20 74 65 78 74  |Emacs RMAIL text|
00006410  0a 0a 23 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |..#-------------|
00006420  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00006460  2d 0a 23 20 6d 73 64 6f  73 3a 20 20 66 69 6c 65  |-.# msdos:  file|
00006470  28 31 29 20 6d 61 67 69  63 20 66 6f 72 20 4d 53  |(1) magic for MS|
00006480  2d 44 4f 53 20 66 69 6c  65 73 0a 23 0a 0a 23 20  |-DOS files.#..# |
00006490  2e 42 41 54 20 66 69 6c  65 73 20 28 44 61 6e 69  |.BAT files (Dani|
000064a0  65 6c 20 51 75 69 6e 6c  61 6e 2c 20 71 75 69 6e  |el Quinlan, quin|
000064b0  6c 61 6e 40 79 67 67 64  72 61 73 69 6c 2e 63 6f  |lan@yggdrasil.co|
000064c0  6d 29 0a 30 09 73 74 72  69 6e 67 09 40 65 63 68  |m).0.string.@ech|
000064d0  6f 5c 20 6f 66 66 09 4d  53 2d 44 4f 53 20 62 61  |o\ off.MS-DOS ba|
000064e0  74 63 68 20 66 69 6c 65  20 74 65 78 74 0a 0a 23  |tch file text..#|
000064f0  20 2e 45 58 45 20 66 6f  72 6d 61 74 73 20 28 47  | .EXE formats (G|
00006500  72 65 67 20 52 6f 65 6c  6f 66 73 2c 20 6e 65 77  |reg Roelofs, new|
00006510  74 40 75 63 68 69 63 61  67 6f 2e 65 64 75 29 0a  |t@uchicago.edu).|
00006520  23 0a 30 09 73 74 72 69  6e 67 09 4d 5a 09 09 4d  |#.0.string.MZ..M|
00006530  53 2d 44 4f 53 20 65 78  65 63 75 74 61 62 6c 65  |S-DOS executable|
00006540  20 28 45 58 45 29 0a 3e  32 34 09 73 74 72 69 6e  | (EXE).>24.strin|
00006550  67 09 40 09 09 5c 62 2c  20 4f 53 2f 32 20 6f 72  |g.@..\b, OS/2 or|
00006560  20 57 69 6e 64 6f 77 73  0a 3e 31 36 33 38 09 73  | Windows.>1638.s|
00006570  74 72 69 6e 67 09 2d 6c  68 35 2d 09 09 5c 62 2c  |tring.-lh5-..\b,|
00006580  20 4c 48 61 20 53 46 58  20 61 72 63 68 69 76 65  | LHa SFX archive|
00006590  20 76 32 2e 31 33 53 0a  3e 37 31 39 35 09 73 74  | v2.13S.>7195.st|
000065a0  72 69 6e 67 09 52 61 72  21 09 09 5c 62 2c 20 52  |ring.Rar!..\b, R|
000065b0  41 52 20 73 65 6c 66 2d  65 78 74 72 61 63 74 69  |AR self-extracti|
000065c0  6e 67 20 61 72 63 68 69  76 65 0a 23 0a 23 20 5b  |ng archive.#.# [|
000065d0  47 52 52 20 39 35 30 31  31 38 3a 20 20 66 69 6c  |GRR 950118:  fil|
000065e0  65 20 33 2e 31 35 20 68  61 73 20 61 20 62 75 66  |e 3.15 has a buf|
000065f0  66 65 72 2d 73 69 7a 65  20 6c 69 6d 69 74 61 74  |fer-size limitat|
00006600  69 6f 6e 3b 20 6f 66 66  73 65 74 73 20 62 69 67  |ion; offsets big|
00006610  67 65 72 20 74 68 61 6e  0a 23 20 20 20 38 31 36  |ger than.#   816|
00006620  31 20 62 79 74 65 73 20  61 72 65 20 69 67 6e 6f  |1 bytes are igno|
00006630  72 65 64 2e 20 20 54 6f  20 6d 61 6b 65 20 74 68  |red.  To make th|
00006640  65 20 66 6f 6c 6c 6f 77  69 6e 67 20 65 6e 74 72  |e following entr|
00006650  69 65 73 20 77 6f 72 6b  2c 20 69 6e 63 72 65 61  |ies work, increa|
00006660  73 65 0a 23 20 20 20 48  4f 57 4d 41 4e 59 20 69  |se.#   HOWMANY i|
00006670  6e 20 66 69 6c 65 2e 68  20 74 6f 20 33 32 4b 20  |n file.h to 32K |
00006680  61 74 20 6c 65 61 73 74  2c 20 61 6e 64 20 6d 61  |at least, and ma|
00006690  79 62 65 20 74 6f 20 37  30 4b 20 6f 72 20 6d 6f  |ybe to 70K or mo|
000066a0  72 65 20 66 6f 72 20 4f  53 2f 32 2c 0a 23 20 20  |re for OS/2,.#  |
000066b0  20 4e 54 2f 57 69 6e 33  32 20 61 6e 64 20 56 4d  | NT/Win32 and VM|
000066c0  53 2e 5d 0a 23 20 5b 47  52 52 3a 20 20 73 6f 6d  |S.].# [GRR:  som|
000066d0  65 20 63 6f 6d 70 61 6e  79 20 73 65 6c 6c 73 20  |e company sells |
000066e0  61 20 73 65 6c 66 2d 65  78 74 72 61 63 74 6f 72  |a self-extractor|
000066f0  2f 64 69 73 70 6c 61 79  65 72 20 66 6f 72 20 69  |/displayer for i|
00006700  6d 61 67 65 20 64 61 74  61 28 21 29 5d 0a 23 0a  |mage data(!)].#.|
00006710  3e 31 31 36 39 36 09 73  74 72 69 6e 67 09 50 4b  |>11696.string.PK|
00006720  5c 30 30 33 5c 30 30 34  09 5c 62 2c 20 50 4b 5a  |\003\004.\b, PKZ|
00006730  49 50 20 53 46 58 20 61  72 63 68 69 76 65 20 76  |IP SFX archive v|
00006740  31 2e 31 0a 3e 31 33 32  39 37 09 73 74 72 69 6e  |1.1.>13297.strin|
00006750  67 09 50 4b 5c 30 30 33  5c 30 30 34 09 5c 62 2c  |g.PK\003\004.\b,|
00006760  20 50 4b 5a 49 50 20 53  46 58 20 61 72 63 68 69  | PKZIP SFX archi|
00006770  76 65 20 76 31 2e 39 33  61 0a 3e 31 35 35 38 38  |ve v1.93a.>15588|
00006780  09 73 74 72 69 6e 67 09  50 4b 5c 30 30 33 5c 30  |.string.PK\003\0|
00006790  30 34 09 5c 62 2c 20 50  4b 5a 49 50 32 20 53 46  |04.\b, PKZIP2 SF|
000067a0  58 20 61 72 63 68 69 76  65 20 76 31 2e 30 39 0a  |X archive v1.09.|
000067b0  3e 31 35 37 37 30 09 73  74 72 69 6e 67 09 50 4b  |>15770.string.PK|
000067c0  5c 30 30 33 5c 30 30 34  09 5c 62 2c 20 50 4b 5a  |\003\004.\b, PKZ|
000067d0  49 50 20 53 46 58 20 61  72 63 68 69 76 65 20 76  |IP SFX archive v|
000067e0  32 2e 30 34 67 0a 3e 32  38 33 37 34 09 73 74 72  |2.04g.>28374.str|
000067f0  69 6e 67 09 50 4b 5c 30  30 33 5c 30 30 34 09 5c  |ing.PK\003\004.\|
00006800  62 2c 20 50 4b 5a 49 50  32 20 53 46 58 20 61 72  |b, PKZIP2 SFX ar|
00006810  63 68 69 76 65 20 76 31  2e 30 32 0a 23 0a 23 20  |chive v1.02.#.# |
00006820  49 6e 66 6f 2d 5a 49 50  20 73 65 6c 66 2d 65 78  |Info-ZIP self-ex|
00006830  74 72 61 63 74 6f 72 73  0a 23 20 20 20 20 74 68  |tractors.#    th|
00006840  65 73 65 20 61 72 65 20  74 68 65 20 44 4f 53 20  |ese are the DOS |
00006850  76 65 72 73 69 6f 6e 73  3a 0a 3e 32 35 31 31 35  |versions:.>25115|
00006860  09 73 74 72 69 6e 67 09  50 4b 5c 30 30 33 5c 30  |.string.PK\003\0|
00006870  30 34 09 5c 62 2c 20 49  6e 66 6f 2d 5a 49 50 20  |04.\b, Info-ZIP |
00006880  53 46 58 20 61 72 63 68  69 76 65 20 76 35 2e 31  |SFX archive v5.1|
00006890  32 0a 3e 32 36 33 33 31  09 73 74 72 69 6e 67 09  |2.>26331.string.|
000068a0  50 4b 5c 30 30 33 5c 30  30 34 09 5c 62 2c 20 49  |PK\003\004.\b, I|
000068b0  6e 66 6f 2d 5a 49 50 20  53 46 58 20 61 72 63 68  |nfo-ZIP SFX arch|
000068c0  69 76 65 20 76 35 2e 31  32 20 77 2f 64 65 63 72  |ive v5.12 w/decr|
000068d0  79 70 74 69 6f 6e 0a 23  20 20 20 20 74 68 65 73  |yption.#    thes|
000068e0  65 20 61 72 65 20 74 68  65 20 4f 53 2f 32 20 76  |e are the OS/2 v|
000068f0  65 72 73 69 6f 6e 73 20  28 4f 53 2f 32 20 69 73  |ersions (OS/2 is|
00006900  20 66 6c 61 67 67 65 64  20 61 62 6f 76 65 29 3a  | flagged above):|
00006910  0a 3e 34 37 30 33 31 09  73 74 72 69 6e 67 09 50  |.>47031.string.P|
00006920  4b 5c 30 30 33 5c 30 30  34 09 5c 62 2c 20 49 6e  |K\003\004.\b, In|
00006930  66 6f 2d 5a 49 50 20 53  46 58 20 61 72 63 68 69  |fo-ZIP SFX archi|
00006940  76 65 20 76 35 2e 31 32  0a 3e 34 39 38 34 35 09  |ve v5.12.>49845.|
00006950  73 74 72 69 6e 67 09 50  4b 5c 30 30 33 5c 30 30  |string.PK\003\00|
00006960  34 09 5c 62 2c 20 49 6e  66 6f 2d 5a 49 50 20 53  |4.\b, Info-ZIP S|
00006970  46 58 20 61 72 63 68 69  76 65 20 76 35 2e 31 32  |FX archive v5.12|
00006980  20 77 2f 64 65 63 72 79  70 74 69 6f 6e 0a 23 20  | w/decryption.# |
00006990  20 20 20 74 68 69 73 20  69 73 20 74 68 65 20 4e  |   this is the N|
000069a0  54 2f 57 69 6e 33 32 20  76 65 72 73 69 6f 6e 3a  |T/Win32 version:|
000069b0  0a 3e 36 39 31 32 30 09  73 74 72 69 6e 67 09 50  |.>69120.string.P|
000069c0  4b 5c 30 30 33 5c 30 30  34 09 5c 62 2c 20 49 6e  |K\003\004.\b, In|
000069d0  66 6f 2d 5a 49 50 20 4e  54 20 53 46 58 20 61 72  |fo-ZIP NT SFX ar|
000069e0  63 68 69 76 65 20 76 35  2e 31 32 20 77 2f 64 65  |chive v5.12 w/de|
000069f0  63 72 79 70 74 69 6f 6e  0a 23 0a 23 20 54 45 4c  |cryption.#.# TEL|
00006a00  56 4f 58 20 54 65 6c 65  69 6e 66 6f 72 6d 61 74  |VOX Teleinformat|
00006a10  69 63 61 20 43 4f 44 45  43 20 73 65 6c 66 2d 65  |ica CODEC self-e|
00006a20  78 74 72 61 63 74 6f 72  20 66 6f 72 20 4f 53 2f  |xtractor for OS/|
00006a30  32 3a 0a 3e 34 39 38 30  31 09 73 74 72 69 6e 67  |2:.>49801.string|
00006a40  09 5c 78 37 39 5c 78 66  66 5c 78 38 30 5c 78 66  |.\x79\xff\x80\xf|
00006a50  66 5c 78 37 36 5c 78 66  66 09 5c 62 2c 20 43 4f  |f\x76\xff.\b, CO|
00006a60  44 45 43 20 61 72 63 68  69 76 65 20 76 33 2e 32  |DEC archive v3.2|
00006a70  31 0a 3e 3e 34 39 38 32  34 09 6c 65 73 68 6f 72  |1.>>49824.leshor|
00006a80  74 09 09 3d 31 09 09 09  5c 62 2c 20 31 20 66 69  |t..=1...\b, 1 fi|
00006a90  6c 65 0a 3e 3e 34 39 38  32 34 09 6c 65 73 68 6f  |le.>>49824.lesho|
00006aa0  72 74 09 09 3e 31 09 09  09 5c 62 2c 20 25 75 20  |rt..>1...\b, %u |
00006ab0  66 69 6c 65 73 0a 0a 23  20 2e 43 4f 4d 20 66 6f  |files..# .COM fo|
00006ac0  72 6d 61 74 73 20 28 44  61 6e 69 65 6c 20 51 75  |rmats (Daniel Qu|
00006ad0  69 6e 6c 61 6e 2c 20 71  75 69 6e 6c 61 6e 40 79  |inlan, quinlan@y|
00006ae0  67 67 64 72 61 73 69 6c  2e 63 6f 6d 29 0a 23 20  |ggdrasil.com).# |
00006af0  55 6e 63 6f 6d 6d 65 6e  74 69 6e 67 20 6f 6e 6c  |Uncommenting onl|
00006b00  79 20 74 68 65 20 66 69  72 73 74 20 74 77 6f 20  |y the first two |
00006b10  6c 69 6e 65 73 20 77 69  6c 6c 20 63 6f 76 65 72  |lines will cover|
00006b20  20 61 62 6f 75 74 20 32  2f 33 20 6f 66 20 43 4f  | about 2/3 of CO|
00006b30  4d 20 66 69 6c 65 73 2c  0a 23 20 62 75 74 20 69  |M files,.# but i|
00006b40  74 20 69 73 6e 27 74 20  66 65 61 73 69 62 6c 65  |t isn't feasible|
00006b50  20 74 6f 20 6d 61 74 63  68 20 61 6c 6c 20 43 4f  | to match all CO|
00006b60  4d 20 66 69 6c 65 73 20  73 69 6e 63 65 20 74 68  |M files since th|
00006b70  65 72 65 20 6d 75 73 74  20 62 65 20 61 74 20 6c  |ere must be at l|
00006b80  65 61 73 74 0a 23 20 74  77 6f 20 64 6f 7a 65 6e  |east.# two dozen|
00006b90  20 64 69 66 66 65 72 65  6e 74 20 6f 6e 65 2d 62  | different one-b|
00006ba0  79 74 65 20 22 6d 61 67  69 63 73 22 2e 0a 0a 23  |yte "magics"...#|
00006bb0  54 77 6f 20 6c 69 6e 65  73 20 6d 65 72 67 65 64  |Two lines merged|
00006bc0  20 2d 2d 20 41 48 0a 30  09 62 79 74 65 09 09 30  | -- AH.0.byte..0|
00006bd0  78 65 39 0a 7c 30 09 62  79 74 65 09 09 30 78 38  |xe9.|0.byte..0x8|
00006be0  63 09 09 4d 53 2d 44 4f  53 20 65 78 65 63 75 74  |c..MS-DOS execut|
00006bf0  61 62 6c 65 20 28 43 4f  4d 29 0a 23 20 30 78 65  |able (COM).# 0xe|
00006c00  62 20 63 6f 6e 66 6c 69  63 74 73 20 77 69 74 68  |b conflicts with|
00006c10  20 22 73 65 71 75 65 6e  74 22 20 6d 61 67 69 63  | "sequent" magic|
00006c20  0a 23 30 09 62 79 74 65  09 09 30 78 65 62 09 09  |.#0.byte..0xeb..|
00006c30  4d 53 2d 44 4f 53 20 65  78 65 63 75 74 61 62 6c  |MS-DOS executabl|
00006c40  65 20 28 43 4f 4d 29 0a  23 30 09 62 79 74 65 09  |e (COM).#0.byte.|
00006c50  09 30 78 62 38 09 09 4d  53 2d 44 4f 53 20 65 78  |.0xb8..MS-DOS ex|
00006c60  65 63 75 74 61 62 6c 65  20 28 43 4f 4d 29 0a 0a  |ecutable (COM)..|
00006c70  23 20 6d 69 73 63 65 6c  6c 61 6e 65 6f 75 73 20  |# miscellaneous |
00006c80  66 6f 72 6d 61 74 73 0a  30 09 73 74 72 69 6e 67  |formats.0.string|
00006c90  09 09 4c 5a 09 09 4d 53  2d 44 4f 53 20 65 78 65  |..LZ..MS-DOS exe|
00006ca0  63 75 74 61 62 6c 65 20  28 62 75 69 6c 74 2d 69  |cutable (built-i|
00006cb0  6e 29 0a 23 30 09 62 79  74 65 09 09 30 78 66 30  |n).#0.byte..0xf0|
00006cc0  09 09 4d 53 2d 44 4f 53  20 70 72 6f 67 72 61 6d  |..MS-DOS program|
00006cd0  20 6c 69 62 72 61 72 79  20 64 61 74 61 0a 23 0a  | library data.#.|
00006ce0  0a 23 20 50 6f 70 75 6c  61 72 20 61 70 70 6c 69  |.# Popular appli|
00006cf0  63 61 74 69 6f 6e 73 0a  32 30 38 30 09 73 74 72  |cations.2080.str|
00006d00  69 6e 67 09 4d 69 63 72  6f 73 6f 66 74 5c 20 57  |ing.Microsoft\ W|
00006d10  6f 72 64 5c 20 36 2e 30  5c 20 44 6f 63 75 6d 65  |ord\ 6.0\ Docume|
00006d20  6e 74 09 4d 69 63 72 6f  73 6f 66 74 20 57 6f 72  |nt.Microsoft Wor|
00006d30  64 20 36 2e 30 20 44 6f  63 75 6d 65 6e 74 0a 23  |d 6.0 Document.#|
00006d40  0a 30 09 62 65 6c 6f 6e  67 09 30 78 33 31 62 65  |.0.belong.0x31be|
00006d50  30 30 30 30 09 4d 69 63  72 6f 73 6f 66 74 20 57  |0000.Microsoft W|
00006d60  6f 72 64 20 44 6f 63 75  6d 65 6e 74 0a 23 0a 32  |ord Document.#.2|
00006d70  30 38 30 09 73 74 72 69  6e 67 09 4d 69 63 72 6f  |080.string.Micro|
00006d80  73 6f 66 74 5c 20 45 78  63 65 6c 5c 20 35 2e 30  |soft\ Excel\ 5.0|
00006d90  5c 20 57 6f 72 6b 73 68  65 65 74 09 4d 69 63 72  |\ Worksheet.Micr|
00006da0  6f 73 6f 66 74 20 45 78  63 65 6c 20 35 2e 30 20  |osoft Excel 5.0 |
00006db0  57 6f 72 6b 73 68 65 65  74 0a 23 0a 30 09 62 65  |Worksheet.#.0.be|
00006dc0  6c 6f 6e 67 09 30 78 30  30 30 30 31 61 30 30 09  |long.0x00001a00.|
00006dd0  4c 6f 74 75 73 20 31 2d  32 2d 33 0a 3e 34 09 62  |Lotus 1-2-3.>4.b|
00006de0  65 6c 6f 6e 67 09 30 78  30 30 31 30 30 34 30 30  |elong.0x00100400|
00006df0  09 77 6b 33 20 64 6f 63  75 6d 65 6e 74 0a 3e 34  |.wk3 document.>4|
00006e00  09 62 65 6c 6f 6e 67 09  30 78 30 32 31 30 30 34  |.belong.0x021004|
00006e10  30 30 09 77 6b 34 20 64  6f 63 75 6d 65 6e 74 0a  |00.wk4 document.|
00006e20  3e 34 09 62 65 6c 6f 6e  67 09 30 78 30 37 38 30  |>4.belong.0x0780|
00006e30  30 31 30 30 09 66 6d 33  20 6f 72 20 66 6d 62 20  |0100.fm3 or fmb |
00006e40  64 6f 63 75 6d 65 6e 74  0a 3e 34 09 62 65 6c 6f  |document.>4.belo|
00006e50  6e 67 09 30 78 30 37 38  30 30 30 30 30 09 66 6d  |ng.0x07800000.fm|
00006e60  33 20 6f 72 20 66 6d 62  20 64 6f 63 75 6d 65 6e  |3 or fmb documen|
00006e70  74 0a 23 0a 30 09 62 65  6c 6f 6e 67 09 30 78 30  |t.#.0.belong.0x0|
00006e80  30 30 30 30 32 30 30 20  09 4c 6f 74 75 73 20 31  |0000200 .Lotus 1|
00006e90  2d 32 2d 33 0a 3e 34 09  62 65 6c 6f 6e 67 09 30  |-2-3.>4.belong.0|
00006ea0  78 30 36 30 34 30 36 30  30 09 77 6b 31 20 64 6f  |x06040600.wk1 do|
00006eb0  63 75 6d 65 6e 74 0a 3e  34 09 62 65 6c 6f 6e 67  |cument.>4.belong|
00006ec0  09 30 78 30 36 38 30 30  32 30 30 09 66 6d 74 20  |.0x06800200.fmt |
00006ed0  64 6f 63 75 6d 65 6e 74  0a 0a 23 2d 2d 2d 2d 2d  |document..#-----|
00006ee0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00006f20  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 23 20 70 62 6d 3a  |---------.# pbm:|
00006f30  20 20 66 69 6c 65 28 31  29 20 6d 61 67 69 63 20  |  file(1) magic |
00006f40  66 6f 72 20 50 6f 72 74  61 62 6c 65 20 42 69 74  |for Portable Bit|
00006f50  6d 61 70 20 66 69 6c 65  73 0a 23 0a 23 20 58 58  |map files.#.# XX|
00006f60  58 20 2d 20 62 79 74 65  20 6f 72 64 65 72 3f 0a  |X - byte order?.|
00006f70  23 0a 30 09 73 68 6f 72  74 09 30 78 32 61 31 37  |#.0.short.0x2a17|
00006f80  09 22 63 6f 6d 70 61 63  74 20 62 69 74 6d 61 70  |."compact bitmap|
00006f90  22 20 66 6f 72 6d 61 74  20 28 50 6f 73 6b 61 6e  |" format (Poskan|
00006fa0  7a 65 72 29 0a 0a 23 2d  2d 2d 2d 2d 2d 2d 2d 2d  |zer)..#---------|
00006fb0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00006ff0  2d 2d 2d 2d 2d 0a 23 20  70 64 66 3a 20 20 66 69  |-----.# pdf:  fi|
00007000  6c 65 28 31 29 20 6d 61  67 69 63 20 66 6f 72 20  |le(1) magic for |
00007010  50 6f 72 74 61 62 6c 65  20 44 6f 63 75 6d 65 6e  |Portable Documen|
00007020  74 20 46 6f 72 6d 61 74  0a 23 0a 0a 30 09 73 74  |t Format.#..0.st|
00007030  72 69 6e 67 09 09 25 50  44 46 2d 09 09 50 44 46  |ring..%PDF-..PDF|
00007040  20 64 6f 63 75 6d 65 6e  74 0a 3e 35 09 73 74 72  | document.>5.str|
00007050  69 6e 67 09 09 78 09 09  5c 62 2c 20 76 65 72 73  |ing..x..\b, vers|
00007060  69 6f 6e 20 25 2e 33 73  0a 0a 23 2d 2d 2d 2d 2d  |ion %.3s..#-----|
00007070  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000070b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 23 20 70 67 70 3a  |---------.# pgp:|
000070c0  20 20 66 69 6c 65 28 31  29 20 6d 61 67 69 63 20  |  file(1) magic |
000070d0  66 6f 72 20 50 72 65 74  74 79 20 47 6f 6f 64 20  |for Pretty Good |
000070e0  50 72 69 76 61 63 79 0a  23 0a 30 09 62 65 73 68  |Privacy.#.0.besh|
000070f0  6f 72 74 09 09 30 78 39  39 30 30 09 09 09 50 47  |ort..0x9900...PG|
00007100  50 20 6b 65 79 20 70 75  62 6c 69 63 20 72 69 6e  |P key public rin|
00007110  67 0a 30 20 20 20 20 20  20 20 62 65 73 68 6f 72  |g.0       beshor|
00007120  74 20 20 20 20 20 20 20  20 20 30 78 39 35 30 31  |t         0x9501|
00007130  0a 7c 30 09 62 65 73 68  6f 72 74 09 09 30 78 39  |.|0.beshort..0x9|
00007140  35 30 30 09 09 09 50 47  50 20 6b 65 79 20 73 65  |500...PGP key se|
00007150  63 75 72 69 74 79 20 72  69 6e 67 0a 30 20 20 20  |curity ring.0   |
00007160  20 20 20 20 73 74 72 69  6e 67 20 20 20 20 20 20  |    string      |
00007170  20 20 20 20 2d 2d 2d 2d  2d 42 45 47 49 4e 5c 30  |    -----BEGIN\0|
00007180  34 30 50 47 50 20 20 20  20 20 20 20 50 47 50 20  |40PGP       PGP |
00007190  61 72 6d 6f 72 65 64 20  64 61 74 61 0a 3e 31 35  |armored data.>15|
000071a0  20 20 20 20 20 73 74 72  69 6e 67 20 20 20 20 20  |     string     |
000071b0  20 20 20 20 20 50 55 42  4c 49 43 5c 30 34 30 4b  |     PUBLIC\040K|
000071c0  45 59 5c 30 34 30 42 4c  4f 43 4b 2d 20 70 75 62  |EY\040BLOCK- pub|
000071d0  6c 69 63 20 6b 65 79 20  62 6c 6f 63 6b 0a 3e 31  |lic key block.>1|
000071e0  35 20 20 20 20 20 73 74  72 69 6e 67 20 20 20 20  |5     string    |
000071f0  20 20 20 20 20 20 4d 45  53 53 41 47 45 2d 20 20  |      MESSAGE-  |
00007200  20 20 20 20 20 20 20 20  20 20 20 20 20 20 6d 65  |              me|
00007210  73 73 61 67 65 0a 3e 31  35 20 20 20 20 20 73 74  |ssage.>15     st|
00007220  72 69 6e 67 20 20 20 20  20 20 20 20 20 20 53 49  |ring          SI|
00007230  47 4e 45 44 5c 30 34 30  4d 45 53 53 41 47 45 2d  |GNED\040MESSAGE-|
00007240  20 20 20 20 20 20 73 69  67 6e 65 64 20 6d 65 73  |      signed mes|
00007250  73 61 67 65 0a 3e 31 35  20 20 20 20 20 73 74 72  |sage.>15     str|
00007260  69 6e 67 20 20 20 20 20  20 20 20 20 20 50 47 50  |ing          PGP|
00007270  5c 30 34 30 53 49 47 4e  41 54 55 52 45 2d 20 20  |\040SIGNATURE-  |
00007280  20 20 20 20 20 73 69 67  6e 61 74 75 72 65 0a 0a  |     signature..|
00007290  23 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |#---------------|
000072a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000072d0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
000072e0  23 20 70 72 69 6e 74 65  72 3a 20 20 66 69 6c 65  |# printer:  file|
000072f0  28 31 29 20 6d 61 67 69  63 20 66 6f 72 20 70 72  |(1) magic for pr|
00007300  69 6e 74 65 72 2d 66 6f  72 6d 61 74 74 65 64 20  |inter-formatted |
00007310  66 69 6c 65 73 0a 23 0a  0a 23 20 50 6f 73 74 53  |files.#..# PostS|
00007320  63 72 69 70 74 2c 20 75  70 64 61 74 65 64 20 62  |cript, updated b|
00007330  79 20 44 61 6e 69 65 6c  20 51 75 69 6e 6c 61 6e  |y Daniel Quinlan|
00007340  20 28 71 75 69 6e 6c 61  6e 40 79 67 67 64 72 61  | (quinlan@yggdra|
00007350  73 69 6c 2e 63 6f 6d 29  0a 30 09 73 74 72 69 6e  |sil.com).0.strin|
00007360  67 09 09 25 21 09 09 50  6f 73 74 53 63 72 69 70  |g..%!..PostScrip|
00007370  74 20 64 6f 63 75 6d 65  6e 74 20 74 65 78 74 0a  |t document text.|
00007380  3e 32 09 73 74 72 69 6e  67 09 09 50 53 2d 41 64  |>2.string..PS-Ad|
00007390  6f 62 65 2d 09 63 6f 6e  66 6f 72 6d 69 6e 67 0a  |obe-.conforming.|
000073a0  3e 3e 31 31 09 73 74 72  69 6e 67 09 09 3e 5c 30  |>>11.string..>\0|
000073b0  09 09 61 74 20 6c 65 76  65 6c 20 25 2e 33 73 0a  |..at level %.3s.|
000073c0  3e 3e 3e 31 35 09 73 74  72 69 6e 67 09 09 45 50  |>>>15.string..EP|
000073d0  53 09 09 2d 20 74 79 70  65 20 25 73 0a 3e 3e 3e  |S..- type %s.>>>|
000073e0  31 35 09 73 74 72 69 6e  67 09 09 51 75 65 72 79  |15.string..Query|
000073f0  09 09 2d 20 74 79 70 65  20 25 73 0a 3e 3e 3e 31  |..- type %s.>>>1|
00007400  35 09 73 74 72 69 6e 67  09 09 45 78 69 74 53 65  |5.string..ExitSe|
00007410  72 76 65 72 09 2d 20 74  79 70 65 20 25 73 0a 23  |rver.- type %s.#|
00007420  20 53 6f 6d 65 20 50 43  73 20 68 61 76 65 20 74  | Some PCs have t|
00007430  68 65 20 61 6e 6e 6f 79  69 6e 67 20 68 61 62 69  |he annoying habi|
00007440  74 20 6f 66 20 61 64 64  69 6e 67 20 61 20 5e 44  |t of adding a ^D|
00007450  20 61 73 20 61 20 64 6f  63 75 6d 65 6e 74 20 73  | as a document s|
00007460  65 70 61 72 61 74 6f 72  0a 30 09 73 74 72 69 6e  |eparator.0.strin|
00007470  67 09 09 5c 30 30 34 25  21 09 09 50 6f 73 74 53  |g..\004%!..PostS|
00007480  63 72 69 70 74 20 64 6f  63 75 6d 65 6e 74 20 74  |cript document t|
00007490  65 78 74 0a 3e 33 09 73  74 72 69 6e 67 09 09 50  |ext.>3.string..P|
000074a0  53 2d 41 64 6f 62 65 2d  09 63 6f 6e 66 6f 72 6d  |S-Adobe-.conform|
000074b0  69 6e 67 0a 3e 3e 31 32  09 73 74 72 69 6e 67 09  |ing.>>12.string.|
000074c0  09 3e 5c 30 09 09 61 74  20 6c 65 76 65 6c 20 25  |.>\0..at level %|
000074d0  2e 33 73 0a 3e 3e 3e 31  36 09 73 74 72 69 6e 67  |.3s.>>>16.string|
000074e0  09 09 45 50 53 09 09 2d  20 74 79 70 65 20 25 73  |..EPS..- type %s|
000074f0  0a 3e 3e 3e 31 36 09 73  74 72 69 6e 67 09 09 51  |.>>>16.string..Q|
00007500  75 65 72 79 09 09 2d 20  74 79 70 65 20 25 73 0a  |uery..- type %s.|
00007510  3e 3e 3e 31 36 09 73 74  72 69 6e 67 09 09 45 78  |>>>16.string..Ex|
00007520  69 74 53 65 72 76 65 72  09 2d 20 74 79 70 65 20  |itServer.- type |
00007530  25 73 0a 0a 23 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |%s..#-----------|
00007540  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00007580  2d 2d 2d 0a 23 20 72 74  66 3a 09 66 69 6c 65 28  |---.# rtf:.file(|
00007590  31 29 20 6d 61 67 69 63  20 66 6f 72 20 52 69 63  |1) magic for Ric|
000075a0  68 20 54 65 78 74 20 46  6f 72 6d 61 74 20 28 52  |h Text Format (R|
000075b0  54 46 29 0a 23 0a 23 20  44 75 6e 63 61 6e 20 50  |TF).#.# Duncan P|
000075c0  2e 20 53 69 6d 70 73 6f  6e 2c 20 44 2e 50 2e 53  |. Simpson, D.P.S|
000075d0  69 6d 70 73 6f 6e 40 64  63 73 2e 77 61 72 77 69  |impson@dcs.warwi|
000075e0  63 6b 2e 61 63 2e 75 6b  0a 23 0a 30 09 73 74 72  |ck.ac.uk.#.0.str|
000075f0  69 6e 67 09 09 7b 5c 5c  72 74 66 09 09 52 69 63  |ing..{\\rtf..Ric|
00007600  68 20 54 65 78 74 20 46  6f 72 6d 61 74 20 64 61  |h Text Format da|
00007610  74 61 2c 0a 3e 35 09 62  79 74 65 09 09 78 09 09  |ta,.>5.byte..x..|
00007620  76 65 72 73 69 6f 6e 20  25 63 2c 0a 3e 36 09 73  |version %c,.>6.s|
00007630  74 72 69 6e 67 09 09 5c  5c 61 6e 73 69 09 09 41  |tring..\\ansi..A|
00007640  4e 53 49 0a 3e 36 09 73  74 72 69 6e 67 09 09 5c  |NSI.>6.string..\|
00007650  5c 6d 61 63 09 09 41 70  70 6c 65 20 4d 61 63 69  |\mac..Apple Maci|
00007660  6e 74 6f 73 68 0a 3e 36  09 73 74 72 69 6e 67 09  |ntosh.>6.string.|
00007670  09 5c 5c 70 63 09 09 49  42 4d 20 50 43 2c 20 63  |.\\pc..IBM PC, c|
00007680  6f 64 65 20 70 61 67 65  20 34 33 37 0a 3e 36 09  |ode page 437.>6.|
00007690  73 74 72 69 6e 67 09 09  5c 5c 70 63 61 09 09 49  |string..\\pca..I|
000076a0  42 4d 20 50 53 2f 32 2c  20 63 6f 64 65 20 70 61  |BM PS/2, code pa|
000076b0  67 65 20 38 35 30 0a 0a  23 2d 2d 2d 2d 2d 2d 2d  |ge 850..#-------|
000076c0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00007700  2d 2d 2d 2d 2d 2d 2d 0a  23 20 73 67 6d 6c 3a 20  |-------.# sgml: |
00007710  20 66 69 6c 65 28 31 29  20 6d 61 67 69 63 20 66  | file(1) magic f|
00007720  6f 72 20 53 74 61 6e 64  61 72 64 20 47 65 6e 65  |or Standard Gene|
00007730  72 61 6c 69 7a 65 64 20  4d 61 72 6b 75 70 20 4c  |ralized Markup L|
00007740  61 6e 67 75 61 67 65 0a  0a 23 20 48 79 70 65 72  |anguage..# Hyper|
00007750  54 65 78 74 20 4d 61 72  6b 75 70 20 4c 61 6e 67  |Text Markup Lang|
00007760  75 61 67 65 20 28 48 54  4d 4c 29 20 69 73 20 61  |uage (HTML) is a|
00007770  6e 20 53 47 4d 4c 20 64  6f 63 75 6d 65 6e 74 20  |n SGML document |
00007780  74 79 70 65 2c 0a 23 20  66 72 6f 6d 20 44 61 6e  |type,.# from Dan|
00007790  69 65 6c 20 51 75 69 6e  6c 61 6e 20 28 71 75 69  |iel Quinlan (qui|
000077a0  6e 6c 61 6e 40 79 67 67  64 72 61 73 69 6c 2e 63  |nlan@yggdrasil.c|
000077b0  6f 6d 29 0a 0a 23 20 45  61 63 68 20 6f 66 20 74  |om)..# Each of t|
000077c0  68 65 73 65 20 68 61 64  20 48 54 4d 4c 20 64 6f  |hese had HTML do|
000077d0  63 75 6d 65 6e 74 20 61  74 20 74 68 65 20 65 6e  |cument at the en|
000077e0  64 2c 20 74 68 65 73 65  20 65 6e 74 72 69 65 73  |d, these entries|
000077f0  20 77 65 72 65 20 6d 65  72 67 65 64 20 2d 20 41  | were merged - A|
00007800  48 0a 0a 30 09 73 74 72  69 6e 67 09 09 5c 3c 21  |H..0.string..\<!|
00007810  44 4f 43 54 59 50 45 5c  20 48 54 4d 4c 0a 7c 30  |DOCTYPE\ HTML.|0|
00007820  09 73 74 72 69 6e 67 09  09 5c 3c 21 64 6f 63 74  |.string..\<!doct|
00007830  79 70 65 5c 20 68 74 6d  6c 0a 7c 30 09 73 74 72  |ype\ html.|0.str|
00007840  69 6e 67 09 09 5c 3c 48  45 41 44 0a 7c 30 09 73  |ing..\<HEAD.|0.s|
00007850  74 72 69 6e 67 09 09 5c  3c 68 65 61 64 0a 7c 30  |tring..\<head.|0|
00007860  09 73 74 72 69 6e 67 09  09 5c 3c 54 49 54 4c 45  |.string..\<TITLE|
00007870  0a 7c 30 09 73 74 72 69  6e 67 09 09 5c 3c 74 69  |.|0.string..\<ti|
00007880  74 6c 65 0a 7c 30 09 73  74 72 69 6e 67 09 09 5c  |tle.|0.string..\|
00007890  3c 68 74 6d 6c 0a 7c 30  09 73 74 72 69 6e 67 09  |<html.|0.string.|
000078a0  09 5c 3c 48 54 4d 4c 09  09 48 54 4d 4c 20 64 6f  |.\<HTML..HTML do|
000078b0  63 75 6d 65 6e 74 0a 0a  23 20 53 47 4d 4c 2c 20  |cument..# SGML, |
000078c0  6d 6f 73 74 6c 79 20 66  72 6f 6d 20 72 70 68 40  |mostly from rph@|
000078d0  73 71 0a 30 09 73 74 72  69 6e 67 09 09 5c 3c 21  |sq.0.string..\<!|
000078e0  44 4f 43 54 59 50 45 0a  7c 30 09 73 74 72 69 6e  |DOCTYPE.|0.strin|
000078f0  67 09 09 5c 3c 21 2d 2d  0a 7c 30 09 73 74 72 69  |g..\<!--.|0.stri|
00007900  6e 67 09 09 5c 3c 21 64  6f 63 74 79 70 65 09 53  |ng..\<!doctype.S|
00007910  47 4d 4c 20 64 6f 63 75  6d 65 6e 74 0a 30 09 73  |GML document.0.s|
00007920  74 72 69 6e 67 09 09 5c  3c 21 53 55 42 44 4f 43  |tring..\<!SUBDOC|
00007930  0a 7c 30 09 73 74 72 69  6e 67 09 09 5c 3c 21 73  |.|0.string..\<!s|
00007940  75 62 64 6f 63 09 53 47  4d 4c 20 73 75 62 64 6f  |ubdoc.SGML subdo|
00007950  63 75 6d 65 6e 74 0a 0a  23 2d 2d 2d 2d 2d 2d 2d  |cument..#-------|
00007960  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000079a0  2d 2d 2d 2d 2d 2d 2d 0a  23 20 74 65 78 3a 20 20  |-------.# tex:  |
000079b0  66 69 6c 65 28 31 29 20  6d 61 67 69 63 20 66 6f  |file(1) magic fo|
000079c0  72 20 54 65 58 20 66 69  6c 65 73 0a 23 0a 23 20  |r TeX files.#.# |
000079d0  46 72 6f 6d 20 3c 63 6f  6e 6b 6c 69 6e 40 74 61  |From <conklin@ta|
000079e0  6c 69 73 6d 61 6e 2e 6b  61 6c 65 69 64 61 2e 63  |lisman.kaleida.c|
000079f0  6f 6d 3e 0a 0a 23 20 41  6c 74 68 6f 75 67 68 20  |om>..# Although |
00007a00  77 65 20 6d 61 79 20 6b  6e 6f 77 20 74 68 65 20  |we may know the |
00007a10  6f 66 66 73 65 74 20 6f  66 20 63 65 72 74 61 69  |offset of certai|
00007a20  6e 20 74 65 78 74 20 66  69 65 6c 64 73 20 69 6e  |n text fields in|
00007a30  20 54 65 58 20 44 56 49  0a 23 20 61 6e 64 20 66  | TeX DVI.# and f|
00007a40  6f 6e 74 20 66 69 6c 65  73 2c 20 77 65 20 63 61  |ont files, we ca|
00007a50  6e 27 74 20 75 73 65 20  74 68 65 6d 20 72 65 6c  |n't use them rel|
00007a60  69 61 62 6c 79 20 62 65  63 61 75 73 65 20 74 68  |iably because th|
00007a70  65 79 20 61 72 65 20 6e  6f 74 0a 23 20 7a 65 72  |ey are not.# zer|
00007a80  6f 20 74 65 72 6d 69 6e  61 74 65 64 2e 20 5b 62  |o terminated. [b|
00007a90  75 74 20 77 65 20 64 6f  20 61 6e 79 77 61 79 2c  |ut we do anyway,|
00007aa0  20 63 68 72 69 73 74 6f  73 5d 0a 30 09 73 74 72  | christos].0.str|
00007ab0  69 6e 67 09 09 5c 33 36  37 5c 30 30 32 09 54 65  |ing..\367\002.Te|
00007ac0  58 20 44 56 49 20 66 69  6c 65 0a 3e 31 36 09 73  |X DVI file.>16.s|
00007ad0  74 72 69 6e 67 09 09 3e  5c 30 09 09 28 25 73 29  |tring..>\0..(%s)|
00007ae0  0a 30 09 73 74 72 69 6e  67 09 09 5c 33 36 37 5c  |.0.string..\367\|
00007af0  32 30 33 09 54 65 58 20  67 65 6e 65 72 69 63 20  |203.TeX generic |
00007b00  66 6f 6e 74 20 64 61 74  61 0a 30 09 73 74 72 69  |font data.0.stri|
00007b10  6e 67 09 09 5c 33 36 37  5c 31 33 31 09 54 65 58  |ng..\367\131.TeX|
00007b20  20 70 61 63 6b 65 64 20  66 6f 6e 74 20 64 61 74  | packed font dat|
00007b30  61 0a 3e 33 09 73 74 72  69 6e 67 09 09 3e 5c 30  |a.>3.string..>\0|
00007b40  09 09 28 25 73 29 0a 30  09 73 74 72 69 6e 67 09  |..(%s).0.string.|
00007b50  09 5c 33 36 37 5c 33 31  32 09 54 65 58 20 76 69  |.\367\312.TeX vi|
00007b60  72 74 75 61 6c 20 66 6f  6e 74 20 64 61 74 61 0a  |rtual font data.|
00007b70  30 09 73 74 72 69 6e 67  09 09 54 68 69 73 5c 20  |0.string..This\ |
00007b80  69 73 5c 20 54 65 58 2c  09 54 65 58 20 74 72 61  |is\ TeX,.TeX tra|
00007b90  6e 73 63 72 69 70 74 20  74 65 78 74 0a 30 09 73  |nscript text.0.s|
00007ba0  74 72 69 6e 67 09 09 54  68 69 73 5c 20 69 73 5c  |tring..This\ is\|
00007bb0  20 4d 45 54 41 46 4f 4e  54 2c 09 4d 45 54 41 46  | METAFONT,.METAF|
00007bc0  4f 4e 54 20 74 72 61 6e  73 63 72 69 70 74 20 74  |ONT transcript t|
00007bd0  65 78 74 0a 0a 23 20 54  68 65 72 65 20 69 73 20  |ext..# There is |
00007be0  6e 6f 20 77 61 79 20 74  6f 20 64 65 74 65 63 74  |no way to detect|
00007bf0  20 54 65 58 20 46 6f 6e  74 20 4d 65 74 72 69 63  | TeX Font Metric|
00007c00  20 28 2a 2e 74 66 6d 29  20 66 69 6c 65 73 20 77  | (*.tfm) files w|
00007c10  69 74 68 6f 75 74 0a 23  20 62 72 65 61 6b 69 6e  |ithout.# breakin|
00007c20  67 20 74 68 65 6d 20 61  70 61 72 74 20 61 6e 64  |g them apart and|
00007c30  20 72 65 61 64 69 6e 67  20 74 68 65 20 64 61 74  | reading the dat|
00007c40  61 2e 20 20 54 68 65 20  66 6f 6c 6c 6f 77 69 6e  |a.  The followin|
00007c50  67 20 70 61 74 74 65 72  6e 73 0a 23 20 6d 61 74  |g patterns.# mat|
00007c60  63 68 20 6d 6f 73 74 20  2a 2e 74 66 6d 20 66 69  |ch most *.tfm fi|
00007c70  6c 65 73 20 67 65 6e 65  72 61 74 65 64 20 62 79  |les generated by|
00007c80  20 4d 45 54 41 46 4f 4e  54 20 6f 72 20 61 66 6d  | METAFONT or afm|
00007c90  32 74 66 6d 2e 0a 32 09  73 74 72 69 6e 67 09 09  |2tfm..2.string..|
00007ca0  5c 30 30 30 5c 30 32 31  0a 7c 32 09 73 74 72 69  |\000\021.|2.stri|
00007cb0  6e 67 09 09 5c 30 30 30  5c 30 32 32 09 54 65 58  |ng..\000\022.TeX|
00007cc0  20 66 6f 6e 74 20 6d 65  74 72 69 63 20 64 61 74  | font metric dat|
00007cd0  61 0a 3e 33 33 09 73 74  72 69 6e 67 09 09 3e 5c  |a.>33.string..>\|
00007ce0  30 09 09 28 25 73 29 0a  0a 23 20 54 65 78 69 6e  |0..(%s)..# Texin|
00007cf0  66 6f 20 61 6e 64 20 47  4e 55 20 49 6e 66 6f 2c  |fo and GNU Info,|
00007d00  20 66 72 6f 6d 20 44 61  6e 69 65 6c 20 51 75 69  | from Daniel Qui|
00007d10  6e 6c 61 6e 20 28 71 75  69 6e 6c 61 6e 40 79 67  |nlan (quinlan@yg|
00007d20  67 64 72 61 73 69 6c 2e  63 6f 6d 29 0a 30 09 73  |gdrasil.com).0.s|
00007d30  74 72 69 6e 67 09 09 5c  5c 69 6e 70 75 74 5c 20  |tring..\\input\ |
00007d40  74 65 78 69 6e 66 6f 09  54 65 78 69 6e 66 6f 20  |texinfo.Texinfo |
00007d50  73 6f 75 72 63 65 20 74  65 78 74 0a 30 09 73 74  |source text.0.st|
00007d60  72 69 6e 67 09 09 54 68  69 73 5c 20 69 73 5c 20  |ring..This\ is\ |
00007d70  49 6e 66 6f 5c 20 66 69  6c 65 09 47 4e 55 20 49  |Info\ file.GNU I|
00007d80  6e 66 6f 20 74 65 78 74  0a 0a 23 20 54 65 58 20  |nfo text..# TeX |
00007d90  64 6f 63 75 6d 65 6e 74  73 2c 20 66 72 6f 6d 20  |documents, from |
00007da0  44 61 6e 69 65 6c 20 51  75 69 6e 6c 61 6e 20 28  |Daniel Quinlan (|
00007db0  71 75 69 6e 6c 61 6e 40  79 67 67 64 72 61 73 69  |quinlan@yggdrasi|
00007dc0  6c 2e 63 6f 6d 29 0a 30  09 73 74 72 69 6e 67 09  |l.com).0.string.|
00007dd0  09 5c 5c 69 6e 70 75 74  09 09 54 65 58 20 64 6f  |.\\input..TeX do|
00007de0  63 75 6d 65 6e 74 20 74  65 78 74 0a 30 09 73 74  |cument text.0.st|
00007df0  72 69 6e 67 09 09 5c 5c  73 65 63 74 69 6f 6e 0a  |ring..\\section.|
00007e00  7c 30 09 73 74 72 69 6e  67 09 09 5c 5c 73 65 74  ||0.string..\\set|
00007e10  6c 65 6e 67 74 68 0a 7c  30 09 73 74 72 69 6e 67  |length.|0.string|
00007e20  09 09 5c 5c 64 6f 63 75  6d 65 6e 74 73 74 79 6c  |..\\documentstyl|
00007e30  65 0a 7c 30 09 73 74 72  69 6e 67 09 09 5c 5c 63  |e.|0.string..\\c|
00007e40  68 61 70 74 65 72 09 4c  61 54 65 58 20 64 6f 63  |hapter.LaTeX doc|
00007e50  75 6d 65 6e 74 20 74 65  78 74 0a 0a 23 2d 2d 2d  |ument text..#---|
00007e60  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00007ea0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 23 20 74 72  |-----------.# tr|
00007eb0  6f 66 66 3a 20 20 66 69  6c 65 28 31 29 20 6d 61  |off:  file(1) ma|
00007ec0  67 69 63 20 66 6f 72 20  2a 72 6f 66 66 0a 23 0a  |gic for *roff.#.|
00007ed0  23 20 75 70 64 61 74 65  64 20 62 79 20 44 61 6e  |# updated by Dan|
00007ee0  69 65 6c 20 51 75 69 6e  6c 61 6e 20 28 71 75 69  |iel Quinlan (qui|
00007ef0  6e 6c 61 6e 40 79 67 67  64 72 61 73 69 6c 2e 63  |nlan@yggdrasil.c|
00007f00  6f 6d 29 0a 0a 23 20 74  72 6f 66 66 20 69 6e 70  |om)..# troff inp|
00007f10  75 74 0a 23 20 4d 65 72  67 65 64 20 28 61 6c 6c  |ut.# Merged (all|
00007f20  20 68 61 64 20 27 74 72  6f 66 66 20 6f 72 20 70  | had 'troff or p|
00007f30  72 65 70 72 6f 63 65 73  73 6f 72 20 69 6e 70 75  |reprocessor inpu|
00007f40  74 20 74 65 78 74 27 20  61 66 74 65 72 20 74 68  |t text' after th|
00007f50  65 6d 29 20 2d 20 41 48  0a 30 09 73 74 72 69 6e  |em) - AH.0.strin|
00007f60  67 09 09 2e 5c 5c 22 0a  7c 30 09 73 74 72 69 6e  |g...\\".|0.strin|
00007f70  67 09 09 27 5c 5c 22 0a  7c 30 09 73 74 72 69 6e  |g..'\\".|0.strin|
00007f80  67 09 09 27 2e 5c 5c 22  0a 7c 30 09 73 74 72 69  |g..'.\\".|0.stri|
00007f90  6e 67 09 09 5c 5c 22 09  09 74 72 6f 66 66 20 6f  |ng..\\"..troff o|
00007fa0  72 20 70 72 65 70 72 6f  63 65 73 73 6f 72 20 69  |r preprocessor i|
00007fb0  6e 70 75 74 20 74 65 78  74 0a 0a 23 20 64 69 74  |nput text..# dit|
00007fc0  72 6f 66 66 20 69 6e 74  65 72 6d 65 64 69 61 74  |roff intermediat|
00007fd0  65 20 6f 75 74 70 75 74  20 74 65 78 74 0a 30 09  |e output text.0.|
00007fe0  73 74 72 69 6e 67 09 09  78 5c 20 54 09 09 64 69  |string..x\ T..di|
00007ff0  74 72 6f 66 66 20 74 65  78 74 0a 3e 34 09 73 74  |troff text.>4.st|
00008000  72 69 6e 67 09 09 63 61  74 09 09 66 6f 72 20 74  |ring..cat..for t|
00008010  68 65 20 43 2f 41 2f 54  20 70 68 6f 74 6f 74 79  |he C/A/T phototy|
00008020  70 65 73 65 74 74 65 72  0a 3e 34 09 73 74 72 69  |pesetter.>4.stri|
00008030  6e 67 09 09 70 73 09 09  66 6f 72 20 50 6f 73 74  |ng..ps..for Post|
00008040  53 63 72 69 70 74 0a 3e  34 09 73 74 72 69 6e 67  |Script.>4.string|
00008050  09 09 64 76 69 09 09 66  6f 72 20 44 56 49 0a 3e  |..dvi..for DVI.>|
00008060  34 09 73 74 72 69 6e 67  09 09 61 73 63 69 69 09  |4.string..ascii.|
00008070  09 66 6f 72 20 41 53 43  49 49 0a 3e 34 09 73 74  |.for ASCII.>4.st|
00008080  72 69 6e 67 09 09 6c 6a  34 09 09 66 6f 72 20 4c  |ring..lj4..for L|
00008090  61 73 65 72 4a 65 74 20  34 0a 3e 34 09 73 74 72  |aserJet 4.>4.str|
000080a0  69 6e 67 09 09 6c 61 74  69 6e 31 09 09 66 6f 72  |ing..latin1..for|
000080b0  20 49 53 4f 20 38 38 35  39 2d 31 20 28 4c 61 74  | ISO 8859-1 (Lat|
000080c0  69 6e 20 31 29 0a 3e 34  09 73 74 72 69 6e 67 09  |in 1).>4.string.|
000080d0  09 58 37 35 09 09 66 6f  72 20 78 64 69 74 76 69  |.X75..for xditvi|
000080e0  65 77 20 61 74 20 37 35  64 70 69 0a 3e 3e 37 09  |ew at 75dpi.>>7.|
000080f0  73 74 72 69 6e 67 09 09  2d 31 32 09 09 28 31 32  |string..-12..(12|
00008100  70 74 29 0a 3e 34 09 73  74 72 69 6e 67 09 09 58  |pt).>4.string..X|
00008110  31 30 30 09 09 66 6f 72  20 78 64 69 74 76 69 65  |100..for xditvie|
00008120  77 20 61 74 20 31 30 30  64 70 69 0a 3e 3e 38 09  |w at 100dpi.>>8.|
00008130  73 74 72 69 6e 67 09 09  2d 31 32 09 09 28 31 32  |string..-12..(12|
00008140  70 74 29 0a 0a 23 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |pt)..#----------|
00008150  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00008190  2d 2d 2d 2d 0a 23 20 75  75 65 6e 63 6f 64 65 3a  |----.# uuencode:|
000081a0  20 20 66 69 6c 65 28 31  29 20 6d 61 67 69 63 20  |  file(1) magic |
000081b0  66 6f 72 20 41 53 43 49  49 2d 65 6e 63 6f 64 65  |for ASCII-encode|
000081c0  64 20 66 69 6c 65 73 0a  23 0a 0a 23 20 47 52 52  |d files.#..# GRR|
000081d0  3a 20 20 74 68 65 20 66  69 72 73 74 20 6c 69 6e  |:  the first lin|
000081e0  65 20 6f 66 20 78 78 65  6e 63 6f 64 65 64 20 66  |e of xxencoded f|
000081f0  69 6c 65 73 20 69 73 20  69 64 65 6e 74 69 63 61  |iles is identica|
00008200  6c 20 74 6f 20 74 68 61  74 20 69 6e 20 75 75 65  |l to that in uue|
00008210  6e 63 6f 64 65 64 0a 23  20 66 69 6c 65 73 2c 20  |ncoded.# files, |
00008220  62 75 74 20 74 68 65 20  66 69 72 73 74 20 63 68  |but the first ch|
00008230  61 72 61 63 74 65 72 20  69 6e 20 6d 6f 73 74 20  |aracter in most |
00008240  73 75 62 73 65 71 75 65  6e 74 20 6c 69 6e 65 73  |subsequent lines|
00008250  20 69 73 20 27 68 27 20  69 6e 73 74 65 61 64 20  | is 'h' instead |
00008260  6f 66 0a 23 20 27 4d 27  2e 20 20 28 78 78 65 6e  |of.# 'M'.  (xxen|
00008270  63 6f 64 69 6e 67 20 75  73 65 73 20 6c 6f 77 65  |coding uses lowe|
00008280  72 63 61 73 65 20 6c 65  74 74 65 72 73 20 69 6e  |rcase letters in|
00008290  20 70 6c 61 63 65 20 6f  66 20 6d 6f 73 74 20 6f  | place of most o|
000082a0  66 20 75 75 65 6e 63 6f  64 65 27 73 0a 23 20 70  |f uuencode's.# p|
000082b0  75 6e 63 74 75 61 74 69  6f 6e 20 61 6e 64 20 73  |unctuation and s|
000082c0  75 72 76 69 76 65 73 20  42 49 54 4e 45 54 20 67  |urvives BITNET g|
000082d0  61 74 65 77 61 79 73 20  62 65 74 74 65 72 2e 29  |ateways better.)|
000082e0  20 20 49 66 20 72 65 67  75 6c 61 72 20 65 78 70  |  If regular exp|
000082f0  72 65 73 73 69 6f 6e 73  0a 23 20 77 65 72 65 20  |ressions.# were |
00008300  73 75 70 70 6f 72 74 65  64 2c 20 74 68 69 73 20  |supported, this |
00008310  65 6e 74 72 79 20 63 6f  75 6c 64 20 70 6f 73 73  |entry could poss|
00008320  69 62 6c 79 20 62 65 20  73 70 6c 69 74 20 69 6e  |ibly be split in|
00008330  74 6f 20 74 77 6f 20 77  69 74 68 0a 23 20 22 62  |to two with.# "b|
00008340  65 67 69 6e 5c 30 34 30  5c 2e 5c 2a 5c 30 31 32  |egin\040\.\*\012|
00008350  4d 22 20 6f 72 20 22 62  65 67 69 6e 5c 30 34 30  |M" or "begin\040|
00008360  5c 2e 5c 2a 5c 30 31 32  68 22 20 28 77 68 65 72  |\.\*\012h" (wher|
00008370  65 20 5c 2e 20 61 6e 64  20 5c 2a 20 61 72 65 20  |e \. and \* are |
00008380  52 45 73 29 2e 0a 30 09  73 74 72 69 6e 67 09 09  |REs)..0.string..|
00008390  62 65 67 69 6e 5c 30 34  30 09 75 75 65 6e 63 6f  |begin\040.uuenco|
000083a0  64 65 64 20 6f 72 20 78  78 65 6e 63 6f 64 65 64  |ded or xxencoded|
000083b0  20 74 65 78 74 0a 0a 23  20 62 74 6f 61 28 31 29  | text..# btoa(1)|
000083c0  20 69 73 20 61 6e 20 61  6c 74 65 72 6e 61 74 69  | is an alternati|
000083d0  76 65 20 74 6f 20 75 75  65 6e 63 6f 64 65 20 74  |ve to uuencode t|
000083e0  68 61 74 20 72 65 71 75  69 72 65 73 20 6c 65 73  |hat requires les|
000083f0  73 20 73 70 61 63 65 2e  0a 30 09 73 74 72 69 6e  |s space..0.strin|
00008400  67 09 09 78 62 74 6f 61  5c 20 42 65 67 69 6e 09  |g..xbtoa\ Begin.|
00008410  62 74 6f 61 27 64 20 74  65 78 74 0a 0a 23 20 73  |btoa'd text..# s|
00008420  68 69 70 28 31 29 20 69  73 20 61 6e 6f 74 68 65  |hip(1) is anothe|
00008430  72 2c 20 6d 75 63 68 20  63 6f 6f 6c 65 72 20 61  |r, much cooler a|
00008440  6c 74 65 72 6e 61 74 69  76 65 20 74 6f 20 75 75  |lternative to uu|
00008450  65 6e 63 6f 64 65 2e 0a  23 20 47 72 65 67 20 52  |encode..# Greg R|
00008460  6f 65 6c 6f 66 73 2c 20  6e 65 77 74 40 75 63 68  |oelofs, newt@uch|
00008470  69 63 61 67 6f 2e 65 64  75 0a 30 09 73 74 72 69  |icago.edu.0.stri|
00008480  6e 67 09 09 24 5c 30 31  32 73 68 69 70 09 73 68  |ng..$\012ship.sh|
00008490  69 70 27 64 20 62 69 6e  61 72 79 20 74 65 78 74  |ip'd binary text|
000084a0  0a 0a 23 20 62 65 6e 63  6f 64 65 28 38 29 20 69  |..# bencode(8) i|
000084b0  73 20 75 73 65 64 20 74  6f 20 65 6e 63 6f 64 65  |s used to encode|
000084c0  20 63 6f 6d 70 72 65 73  73 65 64 20 6e 65 77 73  | compressed news|
000084d0  20 62 61 74 63 68 65 73  20 28 42 6e 65 77 73 2f  | batches (Bnews/|
000084e0  43 6e 65 77 73 20 6f 6e  6c 79 3f 29 0a 23 20 47  |Cnews only?).# G|
000084f0  72 65 67 20 52 6f 65 6c  6f 66 73 2c 20 6e 65 77  |reg Roelofs, new|
00008500  74 40 75 63 68 69 63 61  67 6f 2e 65 64 75 0a 30  |t@uchicago.edu.0|
00008510  09 73 74 72 69 6e 67 09  44 65 63 6f 64 65 5c 20  |.string.Decode\ |
00008520  74 68 65 5c 20 66 6f 6c  6c 6f 77 69 6e 67 5c 20  |the\ following\ |
00008530  77 69 74 68 5c 20 62 64  65 63 6f 09 62 65 6e 63  |with\ bdeco.benc|
00008540  6f 64 65 64 20 4e 65 77  73 20 74 65 78 74 0a 0a  |oded News text..|
00008550  23 20 42 69 6e 48 65 78  20 69 73 20 74 68 65 20  |# BinHex is the |
00008560  4d 61 63 69 6e 74 6f 73  68 20 41 53 43 49 49 2d  |Macintosh ASCII-|
00008570  65 6e 63 6f 64 65 64 20  66 69 6c 65 20 66 6f 72  |encoded file for|
00008580  6d 61 74 20 28 73 65 65  20 61 6c 73 6f 20 22 61  |mat (see also "a|
00008590  70 70 6c 65 22 29 0a 23  20 44 61 6e 69 65 6c 20  |pple").# Daniel |
000085a0  51 75 69 6e 6c 61 6e 2c  20 71 75 69 6e 6c 61 6e  |Quinlan, quinlan|
000085b0  40 79 67 67 64 72 61 73  69 6c 2e 63 6f 6d 0a 31  |@yggdrasil.com.1|
000085c0  31 09 73 74 72 69 6e 67  09 6d 75 73 74 5c 20 62  |1.string.must\ b|
000085d0  65 5c 20 63 6f 6e 76 65  72 74 65 64 5c 20 77 69  |e\ converted\ wi|
000085e0  74 68 5c 20 42 69 6e 48  65 78 09 42 69 6e 48 65  |th\ BinHex.BinHe|
000085f0  78 20 62 69 6e 61 72 79  20 74 65 78 74 0a 3e 34  |x binary text.>4|
00008600  31 09 73 74 72 69 6e 67  09 78 09 09 09 09 09 5c  |1.string.x.....\|
00008610  62 2c 20 76 65 72 73 69  6f 6e 20 25 2e 33 73 0a  |b, version %.3s.|
00008620