#
#   Add the contents of this file to the end of the /etc/magic file
#   on your machine so that the Unix "file" command can assist you in
#   identifying the special files that Frame Products use and produce.
#   If you are running the 4.0 operating system, you may already have
#   similar lines in your /etc/magic file which these should replace.
#
######################################################################
#
#   FRAME TECHNOLOGY FILE FORMATS
#
0	string		<MakerFile	Frame document
>11	byte		x		(%c.
>13	byte		x		%c
>14	byte		x		%c)
#
0	string		<MIFFile	Frame MIF file
>9	byte		x		(%c.
>11	byte		x		%c
>12	byte		>0x40		%c
>0	string		<		)
>18	string		Generated by Ultra	from Carberry CAD filter
>16	string		Generated by cgmtomif	from Henderson cgmtomif
#
0	string		<MakerScreenFon	Frame Font File
>17	byte		x		(%c.
>19	byte		x		%c
>20	byte		>0x40		%c
>0	string		<		)
#
0	string		<Bookfile		Frame Book file
>10	byte		x		(%c.
>12	byte		x		%c
>13	byte		>0x40		%c
>0	string		<		)
#
0	string		<BookFile		Frame Book file
>10	byte		x		(%c.
>12	byte		x		%c
>13	byte		>0x40		%c
>0	string		<		)
#
0	string		<BOOKFILE		Frame Book file
>10	byte		x		(%c.
>12	byte		x		%c
>13	byte		>0x40		%c
>0	string		<		)
#
0	string		<Book		Frame Book MIF file
>6	byte		x		(%c.
>8	byte		x		%c
>9	byte		>0x40		%c
>0	string		<		)
#
0	string		<MakerDictionar	Frame Dictionary file
>17	byte		x		(%c.
>19	byte		x		%c
>20	byte		>0x40		%c
>0	string		<		)
#
0	string		<MML		Frame MML file
0	string		Maker Intermedi	Frame IPL file
######################################################################
#
#	DATA FORMATS
#
0	long		0xc5d0d3c6	EPS binary file
0	long		0x4949002a	Intel byte-order TIFF file
0	long		0x49492a00	Intel byte-order TIFF file (swapped??)
0	long		0x4d4d002a	Motorola byte-order TIFF file
0	string		<!--		SGML document
0	string		<!DOCTYPE	SGML document
0	string		<!SGML		SGML document
72	string		S      1	IGES file
72	string		S0000001	IGES file
0	string		srcdocid:	file with CALS header (probably CCITTG4)
0	string		srcsys:		CALS DDF file
460	string		srcsys:		1840A tape image
0	long		0x0005e103	dca rft file
0	string		<!OPS		Interleaf ascii document
# version number follows, in the form <!OPS, Version n.n>
>17	byte		x		(%c.
>19	byte		x		%c)
0	string		%!		PostScript document
0	string		Interpress/Xero	Interpress document
0	long		0x894f5053	Interleaf Image Object Binary
>14	short		x		(%dx
>16	short		x		%dx
>18	short		x		%d)
0	string		DRWGMD		MacDraw
0	short		0x0270		Calcomp 960
0	string		\377WPC		
>8	byte		1		WordPerfect
>10	short		0x0000		5.0 Document
>10	short		0x0001		5.1 Document
0	string		  0\nSECTION	DXF file
0	string		  0\r\nSECTION	DXF file
0	string		0\rSECTION\r	dxf file (probably from CGT)
0	string		0\r\nSECTION\r\n	dxf file (probably from AutoConvert)
0	long		0x4c010400	Sun386i executable
0	string		IN;			hpgl file
0	string		;IN;		hpgl file
0	string		DF;			hpgl file
0	string		;DF;		hpgl file
0	string		\033.Y		hpgl file
0	string		\033.(		hpgl file
0	string		SP			hpgl file
0	string		CS0			hpgl file
0	string		PU			hpgl file
0	string		;IM			hpgl file
0 	short		0x9ba5		MSWord version 1 (on Windows)
0 	short		0xdba5		MSWord version 2 (on Windows)
0	short		0xfe34		MSWord version 3 (on Macintosh)
0	short		0xfe37		MSWord version 4 (on Macintosh)
#
# The CGM entries should be last, since the entry for the binary encoding
# looks at only 11 bits and could therefore catch other files.
0	string		BEGMF		CGM clear text encoding
0	string		    BEGMF	CGM clear text encoding
0	string		BegMF		CGM clear text encoding
0	string		    BegMF	CGM clear text encoding
0	string		\060\040\176	CGM character encoding
0	string		\060\040\033\134\033\130	CGM character encoding
0	short&0xffe0	0x0020		CGM binary encoding
