From: Christos Zoulas Date: Tue, 18 Oct 1994 17:49:04 +0000 (+0000) Subject: Initial revision X-Git-Tag: FILE3_27~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=351fabf81f4d44743cf323573dfa07302e9be083;p=file Initial revision --- diff --git a/magic/Magdir/lisp b/magic/Magdir/lisp new file mode 100644 index 00000000..75d22f90 --- /dev/null +++ b/magic/Magdir/lisp @@ -0,0 +1,7 @@ +# +# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com) +0 string ;; Lisp/Scheme program text +# Emacs 18 - this is always correct, but not very magical. +0 string \012( byte-compiled Emacs-Lisp program data +# Emacs 19 +0 string ;ELC\023\000\000\000 byte-compiled Emacs-Lisp program data diff --git a/magic/Magdir/old/bmp b/magic/Magdir/old/bmp new file mode 100644 index 00000000..82a2f31b --- /dev/null +++ b/magic/Magdir/old/bmp @@ -0,0 +1,9 @@ +0 string BM bitmap +>14 byte 12 (OS/2 1.x format) +>14 byte 64 (OS/2 2.x format) +>14 byte 40 (Windows 3.x format) +0 string IC icon +0 string PI pointer +0 string CI color icon +0 string CP color pointer +0 string BA bitmap array diff --git a/magic/Magdir/old/html b/magic/Magdir/old/html new file mode 100644 index 00000000..64da808e --- /dev/null +++ b/magic/Magdir/old/html @@ -0,0 +1,9 @@ +# +# HTML magic, from Daniel Quinlan +# +0 string \ HTML document text +0 string \ HTML document text +0 string \ HTML document text +0 string \ HTML document text +0 string \ Untitled HTML document text +0 string \ Untitled HTML document text diff --git a/magic/Magdir/printer b/magic/Magdir/printer new file mode 100644 index 00000000..54841d8d --- /dev/null +++ b/magic/Magdir/printer @@ -0,0 +1,50 @@ +# PostScript +0 string %! PostScript document +>2 string PS-Adobe- conforming +>>11 string >\0 at level %s +# Some pc's have the annoying habit of adding a ^D +0 string \004%! PostScript document +>3 string PS-Adobe- conforming +>>12 string >\0 at level %s +# PCL (HP print format followed by DeskJets and LaserJets) +# from Daniel Quinlan (quinlan@yggdrasil.com) +0 string \033E\033 PCL (LaserJet) printer data +# Tell file about magic for IMAGEN printer-ready files: +0 string @document( Imagen printer +# this only works if "language xxx" is first item in Imagen header. +>10 string language\ impress (imPRESS data) +>10 string language\ daisy (daisywheel text) +>10 string language\ diablo (daisywheel text) +>10 string language\ printer (line printer emulation) +>10 string language\ tektronix (Tektronix 4014 emulation) +# Add any other languages that your Imagen uses - remember +# to keep the word `text' if the file is human-readable. +# +# Now magic for IMAGEN font files... +0 string Rast RST-format raster font data +>45 string >0 face % +# PostScript +0 string %! PostScript document +>2 string PS-Adobe- conforming +>>11 string >\0 at level %s +# Some pc's have the annoying habit of adding a ^D +0 string \004%! PostScript document +>3 string PS-Adobe- conforming +>>12 string >\0 at level %s +# PCL (HP print format followed by DeskJets and LaserJets) +# from Daniel Quinlan (quinlan@yggdrasil.com) +0 string \033E\033 PCL (LaserJet) printer data +# Tell file about magic for IMAGEN printer-ready files: +0 string @document( Imagen printer +# this only works if "language xxx" is first item in Imagen header. +>10 string language\ impress (imPRESS data) +>10 string language\ daisy (daisywheel text) +>10 string language\ diablo (daisywheel text) +>10 string language\ printer (line printer emulation) +>10 string language\ tektronix (Tektronix 4014 emulation) +# Add any other languages that your Imagen uses - remember +# to keep the word `text' if the file is human-readable. +# +# Now magic for IMAGEN font files... +0 string Rast RST-format raster font data +>45 string >0 face % diff --git a/magic/Magdir/timezone b/magic/Magdir/timezone new file mode 100644 index 00000000..839d29af --- /dev/null +++ b/magic/Magdir/timezone @@ -0,0 +1,5 @@ +# +# time zone data, from Daniel Quinlan (quinlan@yggdrasil.com) +# this will work on Linux, SunOS, and others +27 byte 1 time zone data +27 byte 2 time zone data