]> granicus.if.org Git - file/commitdiff
Initial revision
authorChristos Zoulas <christos@zoulas.com>
Tue, 18 Oct 1994 17:49:04 +0000 (17:49 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 18 Oct 1994 17:49:04 +0000 (17:49 +0000)
magic/Magdir/lisp [new file with mode: 0644]
magic/Magdir/old/bmp [new file with mode: 0644]
magic/Magdir/old/html [new file with mode: 0644]
magic/Magdir/printer [new file with mode: 0644]
magic/Magdir/timezone [new file with mode: 0644]

diff --git a/magic/Magdir/lisp b/magic/Magdir/lisp
new file mode 100644 (file)
index 0000000..75d22f9
--- /dev/null
@@ -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 (file)
index 0000000..82a2f31
--- /dev/null
@@ -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 (file)
index 0000000..64da808
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# HTML magic, from Daniel Quinlan <quinlan@yggdrasil.com>
+#
+0      string          \<HEAD\>                HTML document text
+0      string          \<head\>                HTML document text
+0      string          \<TITLE\>               HTML document text
+0      string          \<title\>               HTML document text
+0      string          \<h1\>                  Untitled HTML document text
+0      string          \<H1\>                  Untitled HTML document text
diff --git a/magic/Magdir/printer b/magic/Magdir/printer
new file mode 100644 (file)
index 0000000..54841d8
--- /dev/null
@@ -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 (file)
index 0000000..839d29a
--- /dev/null
@@ -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