Subject: misc/4940: Word Perfect "magic" entries
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ksulliva@psc.edu>
List: netbsd-bugs
Date: 02/05/1998 12:11:51
>Number:         4940
>Category:       misc
>Synopsis:       Word Perfect "magic" entries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Feb  5 09:20:02 1998
>Last-Modified:
>Originator:     Kevin Sullivan
>Organization:
Kevin Sullivan
Pittsburgh Supercomputing Center
>Release:        NetBSD 1.3
>Environment:
System: NetBSD kludge.psc.edu 1.3 NetBSD 1.3 (KLUDGE) #0: Tue Jan 6 15:49:51 EST 1998 ksulliva@pit.psc.edu:/usr/src/sys/arch/i386/compile/KLUDGE i386


>Description:

/usr/share/misc/magic does not contain entries for Word Perfect.
Since WP 7.0 for Linux runs under NetBSD, we may as well add the
entries.


>How-To-Repeat:
	
>Fix:

The following came with Word Perfect for Linux.  I've added "be" to
all of the shorts and longs, so that this will work on all archs.

#WordPerfect type files Version 1.6 - PLEASE DO NOT REMOVE THIS LINE
0	string	\377WPC\020\000\000\000\022\012\001\001\000\000\000\000	(WP) loadable text
>Audit-Trail:
>Unformatted:
>15	byte		0		Optimized for Intel
>15	byte		1		Optimized for Non-Intel
1	string		WPC		(Corel/WP)
>8	beshort		257		WordPerfect macro
>8	beshort		258		WordPerfect help file
>8	beshort		259		WordPerfect keyboard file
>8	beshort		266		WordPerfect document
>8	beshort		267		WordPerfect dictionary
>8	beshort		268		WordPerfect thesaurus
>8	beshort		269		WordPerfect block
>8	beshort		270		WordPerfect rectangular block
>8	beshort		271		WordPerfect column block
>8	beshort		272		WordPerfect printer data
>8	beshort		275		WordPerfect printer data
>8	beshort		276		WordPerfect driver resource data
>8	beshort		279		WordPerfect hyphenation code
>8	beshort		280		WordPerfect hyphenation data
>8	beshort		281		WordPerfect macro resource data
>8	beshort		283		WordPerfect hyphenation lex
>8	beshort		285		WordPerfect wordlist
>8	beshort		286		WordPerfect equation resource data
>8	beshort		289		WordPerfect spell rules
>8	beshort		290		WordPerfect dictionary rules
>8	beshort		295		WordPerfect spell rules (Microlytics)
>8	beshort		299		WordPerfect settings file
>8	beshort		301		WordPerfect 4.2 document
>8	beshort		325		WordPerfect dialog file
>8	beshort		332		WordPerfect button bar
>8	beshort		513		Shell macro
>8	beshort		522		Shell definition
>8	beshort		769		Notebook macro
>8	beshort		770		Notebook help file
>8	beshort		771		Notebook keyboard file
>8	beshort		778		Notebook definition
>8	beshort		1026	Calculator help file
>8	beshort 		1538	Calendar help file
>8	beshort 		1546	Calendar data file
>8	beshort		1793	Editor macro
>8	beshort		1794	Editor help file
>8	beshort		1795	Editor keyboard file
>8	beshort		1817	Editor macro resource file
>8	beshort 		2049	Macro editor macro
>8	beshort 		2050	Macro editor help file
>8	beshort		2051	Macro editor keyboard file
>8	beshort		2305	PlanPerfect macro
>8	beshort		2306	PlanPerfect help file
>8	beshort		2307	PlanPerfect keyboard file
>8	beshort		2314	PlanPerfect worksheet
>8	beshort		2319	PlanPerfect printer definition
>8	beshort		2322	PlanPerfect graphic definition
>8	beshort		2323	PlanPerfect data
>8	beshort		2324	PlanPerfect temporary printer
>8	beshort		2329	PlanPerfect macro resource data
>8	byte		11		Mail
>8	beshort		2818	help file
>8	beshort		2821	distribution list
>8	beshort		2826	out box
>8	beshort		2827	in box
>8	beshort		2836	users archived mailbox
>8	beshort		2837	archived message database
>8	beshort		2838	archived attachments
>8	beshort		3083	Printer temporary file
>8	beshort		3330	Scheduler help file
>8	beshort		3338	Scheduler in file
>8	beshort		3339	Scheduler out file
>8	beshort		3594	GroupWise settings file
>8	beshort		3601	GroupWise directory services
>8	beshort		3627	GroupWise settings file
>8	beshort		4362	Terminal resource data
>8	beshort		4363	Terminal resource data
>8	beshort		4395	Terminal resource data
>8	beshort		4619	GUI loadable text
>8	beshort		4620	graphics resource data
>8	beshort		4621	printer settings file
>8	beshort		4622	port definition file
>8	beshort		4623	print queue parameters
>8	beshort		4624	compressed file
>8	beshort		5130	Network service msg file
>8	beshort		5131	Network service msg file
>8	beshort		5132	Async gateway login msg
>8	beshort		5134	GroupWise message file
>8	beshort		7956	GroupWise admin domain database
>8	beshort		7957	GroupWise admin host database
>8	beshort		7959	GroupWise admin remote host database
>8	beshort		7960	GroupWise admin ADS deferment data file
>8	beshort		8458	IntelliTAG (SGML) compiled DTD
>8	belong	18219264	WordPerfect graphic image (1.0)
>8	belong	18219520	WordPerfect graphic image (2.0)
#end of WordPerfect type files Version 1.6 - PLEASE DO NOT REMOVE THIS LINE