From 1d6b9d7c2d70e9677a77bb2b09332cc1c513c065 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Mon, 29 Oct 2012 17:36:49 +0000 Subject: [PATCH] linux magic for SYSLINUX boot logos+ msdos & wordprocessors for .hlp files From Joerg Jenderek --- magic/Magdir/linux | 8 +++++--- magic/Magdir/msdos | 11 ++++++++++- magic/Magdir/wordprocessors | 6 +++++- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/magic/Magdir/linux b/magic/Magdir/linux index 170ab3e3..83ff5620 100644 --- a/magic/Magdir/linux +++ b/magic/Magdir/linux @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: linux,v 1.43 2012/04/06 14:35:31 christos Exp $ +# $File: linux,v 1.44 2012/06/21 01:48:51 christos Exp $ # linux: file(1) magic for Linux files # # Values for Linux/i386 binaries, from Daniel Quinlan @@ -216,9 +216,11 @@ # 0 lelong&0xFF00FFFF 0x17000301 ld86 SPARC executable # SYSLINUX boot logo files (from 'ppmtolss16' sources) -# http://syslinux.zytor.com/ -# +# http://www.syslinux.org/wiki/index.php/SYSLINUX#Display_graphic_from_filename: +# file extension .lss .16 0 lelong =0x1413f33d SYSLINUX' LSS16 image data +# syslinux-4.05/mime/image/x-lss16.xml +!:mime image/x-lss16 >4 leshort x \b, width %d >6 leshort x \b, height %d diff --git a/magic/Magdir/msdos b/magic/Magdir/msdos index 3d0313b2..af9a4b1e 100644 --- a/magic/Magdir/msdos +++ b/magic/Magdir/msdos @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: msdos,v 1.80 2012/06/21 01:10:53 christos Exp $ +# $File: msdos,v 1.81 2012/09/08 02:17:30 christos Exp $ # msdos: file(1) magic for MS-DOS files # @@ -709,6 +709,15 @@ 0 leshort 0x223e9f78 TNEF !:mime application/vnd.ms-tnef +# 4DOS help (.HLP) files added by Joerg Jenderek from source TPHELP.PAS +# of http://www.4dos.info/ +# pointer,HelpID[8]=4DHnnnmm +0 ulelong 0x48443408 4DOS help file +>4 string x \b, version %-4.4s + +# old binary Microsoft (.HLP) files added by Joerg Jenderek from http://file-extension.net/seeker/file_extension_hlp +0 ulequad 0x3a000000024e4c MS Advisor help file + # HtmlHelp files (.chm) 0 string/b ITSF\003\000\000\000\x60\000\000\000\001\000\000\000 MS Windows HtmlHelp Data diff --git a/magic/Magdir/wordprocessors b/magic/Magdir/wordprocessors index e2e99824..cb0d99e8 100644 --- a/magic/Magdir/wordprocessors +++ b/magic/Magdir/wordprocessors @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: wordprocessors,v 1.14 2009/09/19 16:28:13 christos Exp $ +# $File: wordprocessors,v 1.15 2010/09/20 19:19:17 rrt Exp $ # wordprocessors: file(1) magic fo word processors. # ####### PWP file format used on Smith Corona Personal Word Processors: @@ -161,3 +161,7 @@ 0 string \