summaryrefslogtreecommitdiff
path: root/magic/Magdir
diff options
context:
space:
mode:
authorIan Darwin <ian@darwinsys.com>1987-08-29 12:49:11 +0000
committerIan Darwin <ian@darwinsys.com>1987-08-29 12:49:11 +0000
commiteee8df712659dc928aefc15b65de450e47f02e52 (patch)
tree945c79525fe8d3e3cfcf8925935d4672d7c1af08 /magic/Magdir
parent2dc21d5447cb7ce221226eecbd8a108f28c17ae5 (diff)
downloadfile-git-eee8df712659dc928aefc15b65de450e47f02e52.tar.gz
Initial revision
Diffstat (limited to 'magic/Magdir')
-rw-r--r--magic/Magdir/archive11
-rw-r--r--magic/Magdir/c-lang6
-rw-r--r--magic/Magdir/commands9
-rw-r--r--magic/Magdir/compress8
-rw-r--r--magic/Magdir/convex1
-rw-r--r--magic/Magdir/magic1
-rw-r--r--magic/Magdir/mail.news5
-rw-r--r--magic/Magdir/mirage1
-rw-r--r--magic/Magdir/old/ditroff4
-rw-r--r--magic/Magdir/old/imagen9
-rw-r--r--magic/Magdir/old/olda.out23
-rw-r--r--magic/Magdir/old/postscript5
-rw-r--r--magic/Magdir/old/xenix4
-rw-r--r--magic/Magdir/softquad4
-rw-r--r--magic/Magdir/sun8
-rw-r--r--magic/Magdir/typeset3
-rw-r--r--magic/Magdir/varied.out26
17 files changed, 128 insertions, 0 deletions
diff --git a/magic/Magdir/archive b/magic/Magdir/archive
new file mode 100644
index 00000000..b8a6555b
--- /dev/null
+++ b/magic/Magdir/archive
@@ -0,0 +1,11 @@
+0 short 070707 cpio archive
+0 string 070707 ASCII cpio archive
+0 long 0177555 very old archive
+0 short 0177555 very old PDP-11 archive
+0 long 0177545 old archive
+0 short 0177545 old PDP-11 archive
+0 long 0100554 apl workspace
+0 string <ar> archive
+0 string !<arch> archive
+>8 string __.SYMDEF random library
+0 string -h- archive (Software Tools format) text
diff --git a/magic/Magdir/c-lang b/magic/Magdir/c-lang
new file mode 100644
index 00000000..132a6895
--- /dev/null
+++ b/magic/Magdir/c-lang
@@ -0,0 +1,6 @@
+# this first will upset you if you're a PL/1 shop...
+# in which case nuke it; ascmagic will catch real C programs
+0 string /* c program text
+# check for various C program generators...
+# offsets derived empirically, your offsets may vary!
+53 string yyprevious c program text (from lex)
diff --git a/magic/Magdir/commands b/magic/Magdir/commands
new file mode 100644
index 00000000..e133cbf6
--- /dev/null
+++ b/magic/Magdir/commands
@@ -0,0 +1,9 @@
+0 string #! /bin/sh commands text
+0 string #!/bin/sh commands text
+0 string #! /bin/csh C shell commands text
+0 string #!/bin/csh C shell commands text
+0 string #! /bin/awk awk commands text
+0 string #!/bin/awk awk commands text
+0 string #! / some kinda commands text
+0 string #!/ some kinda commands text
+0 string : commands for broken kernel text
diff --git a/magic/Magdir/compress b/magic/Magdir/compress
new file mode 100644
index 00000000..8e9d9875
--- /dev/null
+++ b/magic/Magdir/compress
@@ -0,0 +1,8 @@
+0 short 017037 packed data
+0 short 0145405 huf output
+0 short 0116437 compressed data
+>2 byte 140 (12 bits)
+>2 byte 141 (13 bits)
+>2 byte 142 (14 bits)
+>2 byte 143 (15 bits)
+>2 byte 144 (16 bits)
diff --git a/magic/Magdir/convex b/magic/Magdir/convex
new file mode 100644
index 00000000..560fd485
--- /dev/null
+++ b/magic/Magdir/convex
@@ -0,0 +1 @@
+0 long 0513 Convex executable
diff --git a/magic/Magdir/magic b/magic/Magdir/magic
new file mode 100644
index 00000000..882b2403
--- /dev/null
+++ b/magic/Magdir/magic
@@ -0,0 +1 @@
+0 string #magic magic text file for file(1) cmd
diff --git a/magic/Magdir/mail.news b/magic/Magdir/mail.news
new file mode 100644
index 00000000..91544c2c
--- /dev/null
+++ b/magic/Magdir/mail.news
@@ -0,0 +1,5 @@
+0 string From mail text
+0 string Relay-Version: news text
+0 string #! rnews batched news text
+0 string N#! rnews mailed, batched news text
+0 string Article saved news text
diff --git a/magic/Magdir/mirage b/magic/Magdir/mirage
new file mode 100644
index 00000000..28ee7786
--- /dev/null
+++ b/magic/Magdir/mirage
@@ -0,0 +1 @@
+0 long 31415 Mirage Assembler m.out executable
diff --git a/magic/Magdir/old/ditroff b/magic/Magdir/old/ditroff
new file mode 100644
index 00000000..d6a3e116
--- /dev/null
+++ b/magic/Magdir/old/ditroff
@@ -0,0 +1,4 @@
+# Magic numbers for ditroff intermediate language
+0 string x T cat titroff output for the C/A/T text
+0 string x T ps titroff output for PostScript
+0 string x T titroff output text
diff --git a/magic/Magdir/old/imagen b/magic/Magdir/old/imagen
new file mode 100644
index 00000000..59acb5fd
--- /dev/null
+++ b/magic/Magdir/old/imagen
@@ -0,0 +1,9 @@
+# Tell file about the Imagen magic:
+# this only works if "language xxx" is first item in Imagen header.
+0 string @document( Imagen printer
+>10 string language impress (imPRESS data)
+>10 string language daisy (daisywheel text)
+>10 string language diablo (daisywheel text)
+>10 string language tektronix (Tektronix 4014 emulation)
+# You can add any other languages that your Imagen uses - remember
+# to keep the word `text' if the file is human-readable.
diff --git a/magic/Magdir/old/olda.out b/magic/Magdir/old/olda.out
new file mode 100644
index 00000000..6b894d1d
--- /dev/null
+++ b/magic/Magdir/old/olda.out
@@ -0,0 +1,23 @@
+0 long 0407 executable
+>16 long >0 not stripped
+#>2 short >0 - version %ld
+0 short 0407 PDP-11 executable
+>8 short >0 not stripped
+0 short 0401 unix-rt ldp
+0 short 0405 old overlay
+0 long 0410 pure executable
+>16 long >0 not stripped
+#>2 short >0 - version %ld
+0 short 0410 PDP-11 pure executable
+>8 short >0 not stripped
+#>2 short >0 - version %ld
+0 short 0411 PDP-11 separate I&D executable
+>8 short >0 not stripped
+#>2 short >0 - version %ld
+0 long 0413 demand paged pure executable
+>16 long >0 not stripped
+#>2 short >0 - version %ld
+0 long 0420 demand paged (first page unmapped) pure executable
+>16 long >0 not stripped
+#>2 short >0 - version %ld
+0 short 0437 pdp11 kernel overlay
diff --git a/magic/Magdir/old/postscript b/magic/Magdir/old/postscript
new file mode 100644
index 00000000..c31a3593
--- /dev/null
+++ b/magic/Magdir/old/postscript
@@ -0,0 +1,5 @@
+#
+# Let us not forget PostScript
+0 string %! PostScript text
+>2 string PS-Adobe- conforming
+>11 string 1.0 at level %s
diff --git a/magic/Magdir/old/xenix b/magic/Magdir/old/xenix
new file mode 100644
index 00000000..6f4a4f5d
--- /dev/null
+++ b/magic/Magdir/old/xenix
@@ -0,0 +1,4 @@
+# Xenix executable formats: derived empirically; treat as folklore until proven
+0 short 01006 Xenix (x.out?) executable
+>8 short 1 Middle model
+>16 short >0 not stripped
diff --git a/magic/Magdir/softquad b/magic/Magdir/softquad
new file mode 100644
index 00000000..4a072c77
--- /dev/null
+++ b/magic/Magdir/softquad
@@ -0,0 +1,4 @@
+# SoftQuad troff magic numbers
+# SoftQuad @(#)magic 1.2 86/09/15
+0 short 0125252 SoftQuad DESC or font file binary
+>2 short >0 - version %d
diff --git a/magic/Magdir/sun b/magic/Magdir/sun
new file mode 100644
index 00000000..2e9e17a4
--- /dev/null
+++ b/magic/Magdir/sun
@@ -0,0 +1,8 @@
+# Values for SUN MC680x0 binaries
+0 short 2 mc68020
+>2 short 0407 executable
+>2 short 0410 pure executable
+>2 short 0413 demand paged executable
+>16 long >0 not stripped
+0 long 0x080456 core file
+>128 string >0 from '%s'
diff --git a/magic/Magdir/typeset b/magic/Magdir/typeset
new file mode 100644
index 00000000..c2dcce65
--- /dev/null
+++ b/magic/Magdir/typeset
@@ -0,0 +1,3 @@
+# other typesetting magic
+0 byte 0100 very old (C/A/T) troff output data
+0 string Interpress/Xerox Xerox InterPress data
diff --git a/magic/Magdir/varied.out b/magic/Magdir/varied.out
new file mode 100644
index 00000000..e66ad580
--- /dev/null
+++ b/magic/Magdir/varied.out
@@ -0,0 +1,26 @@
+# Herewith many of the object file formats used by USG systems.
+# The `versions' should be un-commented if they work for you.
+0 short 0570 SysV executable
+>12 long >0 not stripped
+#>22 short >0 - version %ld
+0 short 0575 SysV pure executable
+>12 long >0 not stripped
+#>22 short >0 - version %ld
+0 short 0502 basic-16 executable
+>12 long >0 not stripped
+0 short 0503 basic-16 executable (TV)
+>12 long >0 not stripped
+0 short 0510 x86 executable
+>12 long >0 not stripped
+0 short 0511 x86 executable (TV)
+>12 long >0 not stripped
+0 short 0550 3b20 executable
+>12 long >0 not stripped
+0 short 0551 3b20 executable (TV)
+>12 long >0 not stripped
+0 short 0560 WE32000 executable
+>12 long >0 not stripped
+0 short 0561 WE32000 executable (TV)
+>12 long >0 not stripped
+0 short 0610 Perkin-Elmer executable
+