summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/modem
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-06-03 03:14:21 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-06-03 03:14:21 +0000
commit6ae9a9c3ff9f316b2f59d8aec767217158f3d5cd (patch)
treecb97f5624efe0be7ad46e8b83ca205da2d4f5688 /usr.bin/file/magdir/modem
parentf7123bd2ecd05d3faf2106f2a1b268c741043b08 (diff)
merge in new magic from file 4.09. Mostly from Bruno Rohee
Diffstat (limited to 'usr.bin/file/magdir/modem')
-rw-r--r--usr.bin/file/magdir/modem35
1 files changed, 35 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/modem b/usr.bin/file/magdir/modem
new file mode 100644
index 00000000000..0905d9a9ce6
--- /dev/null
+++ b/usr.bin/file/magdir/modem
@@ -0,0 +1,35 @@
+# $OpenBSD: modem,v 1.1 2004/06/03 03:14:20 tedu Exp $
+
+#------------------------------------------------------------------------------
+# modem: file(1) magic for modem programs
+#
+# From: Florian La Roche <florian@knorke.saar.de>
+4 string Research, Digifax-G3-File
+>29 byte 1 , fine resolution
+>29 byte 0 , normal resolution
+
+0 short 0x0100 raw G3 data, byte-padded
+0 short 0x1400 raw G3 data
+#
+# Magic data for vgetty voice formats
+# (Martin Seine & Marc Eberhard)
+
+#
+# raw modem data version 1
+#
+0 string RMD1 raw modem data
+>4 string >\0 (%s /
+>20 short >0 compression type 0x%04x)
+
+#
+# portable voice format 1
+#
+0 string PVF1\n portable voice format
+>5 string >\0 (binary %s)
+
+#
+# portable voice format 2
+#
+0 string PVF2\n portable voice format
+>5 string >\0 (ascii %s)
+