From 74d12ece52270243b3784abbd5ab2101a2438237 Mon Sep 17 00:00:00 2001
From: Christos Zoulas <christos@zoulas.com>
Date: Wed, 8 Oct 2003 16:38:30 +0000
Subject: [PATCH] Add psion magic and others.

---
 magic/Magdir/amigaos | 16 ++++++++++++++++
 magic/Magdir/images  | 19 +++++++++++++++++++
 magic/Magdir/psion   | 43 +++++++++++++++++++++++++++++++++++++++++++
 magic/Makefile.am    |  1 +
 4 files changed, 79 insertions(+)
 create mode 100644 magic/Magdir/psion

diff --git a/magic/Magdir/amigaos b/magic/Magdir/amigaos
index a1be6138..2665a6e0 100644
--- a/magic/Magdir/amigaos
+++ b/magic/Magdir/amigaos
@@ -37,3 +37,19 @@
 26	string		BPSM		Brian Postma's Soundmon Module sound file v3
 26	string		V.2		Brian Postma's Soundmon Module sound file v2
 
+# The following are from: "Stefan A. Haubenthal" <polluks@web.de>
+0	beshort		0x0f00		AmigaOS bitmap font
+0	beshort		0x0f03		AmigaOS outline font
+0	belong		0x80001001	AmigaOS outline tag
+0	string		##\ version	catalog translation
+
+0	string		FORM		IFF data
+>8	string		CTLG		\b, CTLG message catalog
+>8	string		PREF		\b, PREF preferences
+
+0	string		Rar!		RAR archive data,
+>44	byte		x		v%0x,
+>35	byte		0		os: MS-DOS
+>35	byte		1		os: OS/2
+>35	byte		2		os: Win32
+>35	byte		3		os: Unix
diff --git a/magic/Magdir/images b/magic/Magdir/images
index 466d4dba..8e20f084 100644
--- a/magic/Magdir/images
+++ b/magic/Magdir/images
@@ -460,3 +460,22 @@
 # Squeak images and - etoffi@softhome.net
 0 string \146\031\0\0  Squeak image data
 0 string 'From\040Squeak  Squeak program text
+
+# partimage: file(1) magic for PartImage files (experimental, incomplete)
+# Author: Hans-Joachim Baader <hjb@pro-linux.de>
+0		string	PaRtImAgE-VoLuMe	PartImage
+>0x0020		string	0.6.1		file version %s
+>>0x0060	lelong	>-1		volume %ld
+#>>0x0064 8 byte identifier
+#>>0x007c reserved
+>>0x0200	string	>\0		type %s
+>>0x1400	string	>\0		device %s,
+>>0x1600	string	>\0		original filename %s,
+# Some fields omitted
+>>0x2744	lelong	0		not compressed
+>>0x2744	lelong	1		gzip compressed
+>>0x2744	lelong	2		bzip2 compressed
+>>0x2744	lelong	>2		compressed with unknown algorithm
+>0x0020		string	>0.6.1		file version %s
+>0x0020		string	<0.6.1		file version %s
+
diff --git a/magic/Magdir/psion b/magic/Magdir/psion
new file mode 100644
index 00000000..5e6ab1aa
--- /dev/null
+++ b/magic/Magdir/psion
@@ -0,0 +1,43 @@
+
+#------------------------------------------------------------------------------
+# psion:  file(1) magic for Psion handhelds data
+# from: Peter Breitenlohner <peb@mppmu.mpg.de>
+#
+0	lelong		0x10000037	Psion Series 5
+>4	lelong		0x10000039	font file
+>4	lelong		0x1000003A	printer driver
+>4	lelong		0x1000003B	clipboard
+>4	lelong		0x10000042	multi-bitmap image
+>4	lelong		0x1000006A	application infomation file
+>4	lelong		0x1000006D
+>>8	lelong		0x1000007D	sketch image
+>>8	lelong		0x1000007E	voice note
+>>8	lelong		0x1000007F	word file
+>>8	lelong		0x10000085	OPL program
+>>8	lelong		0x10000088	sheet file
+>>8	lelong		0x100001C4	EasyFax initialisation file
+>4	lelong		0x10000073	OPO module
+>4	lelong		0x10000074	OPL application
+>4	lelong		0x1000008A	exported multi-bitmap image
+
+0	lelong		0x10000041	Psion Series 5 ROM multi-bitmap image
+
+0	lelong		0x10000050	Psion Series 5
+>4	lelong		0x1000006D	database
+>4	lelong		0x100000E4	ini file
+
+0	lelong		0x10000079	Psion Series 5 binary:
+>4	lelong		0x00000000	DLL
+>4	lelong		0x10000049	comms hardware library
+>4	lelong		0x1000004A	comms protocol library
+>4	lelong		0x1000005D	OPX
+>4	lelong		0x1000006C	application
+>4	lelong		0x1000008D	DLL
+>4	lelong		0x100000AC	logical device driver
+>4	lelong		0x100000AD	physical device driver
+>4	lelong		0x100000E5	file transfer protocol
+>4	lelong		0x100000E5	file transfer protocol
+>4	lelong		0x10000140	printer defintion
+>4	lelong		0x10000141	printer defintion
+
+0	lelong		0x1000007A	Psion Series 5 executable
diff --git a/magic/Makefile.am b/magic/Makefile.am
index 7c4e02de..d26cfc2f 100644
--- a/magic/Makefile.am
+++ b/magic/Makefile.am
@@ -146,6 +146,7 @@ Magdir/plus5 \
 Magdir/printer \
 Magdir/project \
 Magdir/psdbms \
+Magdir/psion \
 Magdir/pulsar \
 Magdir/pyramid \
 Magdir/python \
-- 
2.40.0