1#------------------------------------------------------------------------------
2# wordprocessors:  file(1) magic fo word processors.
3#
4####### PWP file format used on Smith Corona Personal Word Processors:
52	string	\040\040\040\040\040\040\040\040\040\040\040ML4D\040'92	Smith Corona PWP
6>24	byte	2	\b, single spaced
7>24	byte	3	\b, 1.5 spaced
8>24	byte	4	\b, double spaced
9>25	byte	0x42	\b, letter
10>25	byte	0x54	\b, legal
11>26	byte	0x46	\b, A4
12
13#WordPerfect type files Version 1.6 - PLEASE DO NOT REMOVE THIS LINE
140	string	\377WPC\020\000\000\000\022\012\001\001\000\000\000\000	(WP) loadable file
15>15	byte	0	Optimized for Intel
16>15	byte	1	Optimized for Non-Intel
171	string	WPC	(Corel/WP)
18>8	short	257	WordPerfect macro
19>8	short	258	WordPerfect help file
20>8	short	259	WordPerfect keyboard file
21>8	short	266	WordPerfect document
22>8	short	267	WordPerfect dictionary
23>8	short	268	WordPerfect thesaurus
24>8	short	269	WordPerfect block
25>8	short	270	WordPerfect rectangular block
26>8	short	271	WordPerfect column block
27>8	short	272	WordPerfect printer data
28>8	short	275	WordPerfect printer data
29>8	short	276	WordPerfect driver resource data
30>8	short	279	WordPerfect hyphenation code
31>8	short	280	WordPerfect hyphenation data
32>8	short	281	WordPerfect macro resource data
33>8	short	283	WordPerfect hyphenation lex
34>8	short	285	WordPerfect wordlist
35>8	short	286	WordPerfect equation resource data
36>8	short	289	WordPerfect spell rules
37>8	short	290	WordPerfect dictionary rules
38>8	short	295	WordPerfect spell rules (Microlytics)
39>8	short	299	WordPerfect settings file
40>8	short	301	WordPerfect 4.2 document
41>8	short	325	WordPerfect dialog file
42>8	short	332	WordPerfect button bar
43>8	short	513	Shell macro
44>8	short	522	Shell definition
45>8	short	769	Notebook macro
46>8	short	770	Notebook help file
47>8	short	771	Notebook keyboard file
48>8	short	778	Notebook definition
49>8	short	1026	Calculator help file
50>8	short 	1538	Calendar help file
51>8	short 	1546	Calendar data file
52>8	short	1793	Editor macro
53>8	short	1794	Editor help file
54>8	short	1795	Editor keyboard file
55>8	short	1817	Editor macro resource file
56>8	short 	2049	Macro editor macro
57>8	short 	2050	Macro editor help file
58>8	short	2051	Macro editor keyboard file
59>8	short	2305	PlanPerfect macro
60>8	short	2306	PlanPerfect help file
61>8	short	2307	PlanPerfect keyboard file
62>8	short	2314	PlanPerfect worksheet
63>8	short	2319	PlanPerfect printer definition
64>8	short	2322	PlanPerfect graphic definition
65>8	short	2323	PlanPerfect data
66>8	short	2324	PlanPerfect temporary printer
67>8	short	2329	PlanPerfect macro resource data
68>8	byte	11	Mail
69>8	short	2818	help file
70>8	short	2821	distribution list
71>8	short	2826	out box
72>8	short	2827	in box
73>8	short	2836	users archived mailbox
74>8	short	2837	archived message database
75>8	short	2838	archived attachments
76>8	short	3083	Printer temporary file
77>8	short	3330	Scheduler help file
78>8	short	3338	Scheduler in file
79>8	short	3339	Scheduler out file
80>8	short	3594	GroupWise settings file
81>8	short	3601	GroupWise directory services
82>8	short	3627	GroupWise settings file
83>8	short	4362	Terminal resource data
84>8	short	4363	Terminal resource data
85>8	short	4395	Terminal resource data
86>8	short	4619	GUI loadable text
87>8	short	4620	graphics resource data
88>8	short	4621	printer settings file
89>8	short	4622	port definition file
90>8	short	4623	print queue parameters
91>8	short	4624	compressed file
92>8	short	5130	Network service msg file
93>8	short	5131	Network service msg file
94>8	short	5132	Async gateway login msg
95>8	short	5134	GroupWise message file
96>8	short	7956	GroupWise admin domain database
97>8	short	7957	GroupWise admin host database
98>8	short	7959	GroupWise admin remote host database
99>8	short	7960	GroupWise admin ADS deferment data file
100>8	short	8458	IntelliTAG (SGML) compiled DTD
101>8	long	18219264	WordPerfect graphic image (1.0)
102>8	long	18219520	WordPerfect graphic image (2.0)
103#end of WordPerfect type files Version 1.6 - PLEASE DO NOT REMOVE THIS LINE
104
105# Hangul (Korean) Word Processor File
1060	string	HWP\ Document\ File	Hangul (Korean) Word Processor File 3.0
107# From: Won-Kyu Park <wkpark@kldp.org>
108512	string		R\0o\0o\0t\0	Hangul (Korean) Word Processor File 2000
109!:mime	application/x-hwp
110
111# CosmicBook, from Beno�t Rouits
1120       string  CSBK    Ted Neslson's CosmicBook hypertext file
113
1142       string  EYWR    AmigaWriter file
115
116# chi:  file(1) magic for ChiWriter files
1170       string          \\1cw\          ChiWriter file
118>5      string          >\0             version %s
1190       string          \\1cw           ChiWriter file
120
121# Quark Express from http://www.garykessler.net/library/file_sigs.html
1222	string	IIXPR3			Intel Quark Express Document (English)
1232	string	IIXPRa			Intel Quark Express Document (Korean)
1242	string	MMXPR3			Motorola Quark Express Document (English)
125!:mime	application/x-quark-xpress-3
1262	string	MMXPRa			Motorola Quark Express Document (Korean)
127
128# adobe indesign (document, whatever...) from querkan
1290	belong	0x0606edf5		Adobe InDesign
130>16	string	DOCUMENT		Document
131
132#------------------------------------------------------------------------------
133# ichitaro456: file(1) magic for Just System Word Processor Ichitaro
134#
135# Contributor kenzo-:
136# Reversed-engineered JS Ichitaro magic numbers
137#
138
1390	string		DOC
140>43	byte		0x14	Just System Word Processor Ichitaro v4
141!:mime	application/x-ichitaro4
142>144	string	JDASH		application/x-ichitaro4
143
1440	string		DOC
145>43	byte		0x15	Just System Word Processor Ichitaro v5
146!:mime	application/x-ichitaro5
147
1480	string		DOC
149>43	byte		0x16	Just System Word Processor Ichitaro v6
150!:mime	application/x-ichitaro6
151