home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
CMDS
/
file.lzh
/
magic
< prev
next >
Wrap
Text File
|
1995-04-27
|
10KB
|
279 lines
#
# @(#)magic 1.15 90/08/27 SMI; from S5R3.1 1.25
#
# file cmd's magic file
#
#
# Basically, the fields of this file are as follows:
# byte offset, value type, optional operator (= by default), value
# to match (numeric or string), and string to be printed. Numeric
# values may be decimal, octal, or hex. Also note that the last
# string may have 1 printf format spec.
# The '>' in occasional column 1's is magic: it forces file to
# continue scanning and matching additional lines. The first line
# afterwards not so marked terminates the search.
#
# CODE CHANGED:
# 8/27/90
# - added specifications for File Manager to replace
# install_filemgr.
#
0 short 070707 cpio archive
0 short 0143561 byte-swapped cpio archive
0 string 070707 ASCII cpio archive
0 long 0177555 very old archive
0 short 0177545 old archive
0 long 0100554 APL workspace (Ken's original?)
0 long 0101555 PDP-11 single precision APL workspace
0 long 0101554 PDP-11 double precision APL workspace
0 long 0101557 VAX single precision APL workspace
0 long 0101556 VAX double precision APL workspace
0 short 017437 old packed data
0 string \037\036 packed data
0 string \377\037 compacted data
0 string \037\235 compressed data
>2 byte&0x80 >0 block compressed
>2 byte&0x1f x %d bits
0 string \032\001 Compiled Terminfo Entry
0 short 0433 Curses screen image
0 short 0434 Curses screen image
0 string <ar> System V Release 1 archive
0 string !<arch>\n__.SYMDEF archive random library
0 string !<arch> archive
0 long 0x1010101 MMDF mailbox
0 string <!OPS Interleaf ASCII document
# version number follows, in the form <!OPS, Version n.n>
24 string SunGKS SunGKS
# version number follows, in the form m.n
>0 string GKSM Metafile
0 string GKSM GKS Metafile
0 string %! PostScript document
# version ID follows, in the form PS-Adobe-nn
0 string Interpress/Xerox Interpress document
# version ID follows, in the form /n.n
0 string StartFontMetrics ASCII font metrics
0 string StartFont ASCII font bits
0 long 0x137A2944 NeWS bitmap font
0 long 0x137A2947 NeWS font family
8 long 0x137A2B45 X11/NeWS bitmap font
8 long 0x137A2B48 X11/NeWS font family
0 long 0x137A2950 scalable OpenFont binary
0 long 0x137A2951 encrypted scalable OpenFont binary
0 string <MakerFile Frame Maker document
0 string <MIFFile Frame Maker MIF file
0 string <MML Frame Maker MML file
0 string ARF_BEGARF PHIGS clear text archive
0 string @(#)SunPHIGS SunPHIGS
# version number follows, in the form m.n
>40 string SunBin binary
>32 string archive archive
0 string BEGMF clear text Computer Graphics Metafile
0 short&0xffe0 0x0020 binary Computer Graphics Metafile
0 short 0x3020 character Computer Graphics Metafile
0 string .snd audio data:
>12 long 1 8-bit u-law,
>12 long 2 8-bit linear PCM,
>12 long 3 16-bit linear PCM,
>12 long 4 24-bit linear PCM,
>12 long 5 32-bit linear PCM,
>12 long 6 32-bit floating point,
>12 long 7 64-bit floating point,
>20 long 1 mono,
>20 long 2 stereo,
>20 long 4 quad,
>16 long x %d Hz
# the following five are for the use of FileManager
0 string From mail folder
0 short 0436 vfont definition
0 long 0x59a66a95 raster file
3 string pgscriptver SunWrite document
10 string sundraw SunDraw document
#
# Microware specific goodies...
#
0 beshort 0x4afc OS-9 68K
>18 short&0xff00 0x100 Program
>18 short&0xff00 0x200 Subroutine
>18 short&0xff00 0x400 Data
>18 short&0xff00 0xb00 Trap Library
>18 short&0xff00 0xc00 System
>18 short&0xff00 0xd00 File Manager
>18 short&0xff00 0xe00 Device Driver
>18 short&0xff00 0xf00 Device Descriptor
>0 short 0x4afc Module
0 beshort 0x4afd OS-9000 68K
>18 short&0xff00 0x100 Program
>18 short&0xff00 0x200 Subroutine
>18 short&0xff00 0x400 Data
>18 short&0xff00 0xb00 Trap Library
>18 short&0xff00 0xc00 System
>18 short&0xff00 0xd00 File Manager
>18 short&0xff00 0xe00 Device Driver
>18 short&0xff00 0xf00 Device Descriptor
>0 short 0x4afd Module
0 leshort 0x4afc OS-9000 386
>18 leshort&0xff00 0x100 Program
>18 leshort&0xff00 0x200 Subroutine
>18 leshort&0xff00 0x400 Data
>18 leshort&0xff00 0xb00 Trap Library
>18 leshort&0xff00 0xc00 System
>18 leshort&0xff00 0xd00 File Manager
>18 leshort&0xff00 0xe00 Device Driver
>18 leshort&0xff00 0xf00 Device Descriptor
>0 leshort 0x4afc Module
0 beshort 0xf00d OS-9 PowerPC
>18 short&0xff00 0x100 Program
>18 short&0xff00 0x200 Subroutine
>18 short&0xff00 0x400 Data
>18 short&0xff00 0xb00 Trap Library
>18 short&0xff00 0xc00 System
>18 short&0xff00 0xd00 File Manager
>18 short&0xff00 0xe00 Device Driver
>18 short&0xff00 0xf00 Device Descriptor
>0 short 0xf00d Module
0 beshort 0x87cd OS-9 6809 Module
0 long 0xbeefcafe old OS-9 Source Debug file
0 belong 0xcafebeef OS-9/OS-9000 Source Debug file (big Endian)
0 lelong 0xcafebeef OS-9000 Source Debug file (little Endian)
0 belong 0xdeadface OS-9/OS-9000 ROF file (big Endian)
0 lelong 0xdeadface OS-9000 ROF file (little Endian)
0 belong 0x2d00d5bb Ultra C OS-9/OS-9000 library file (big Endian)
0 lelong 0x2d00d5bb Ultra C OS-9000 library file (little Endian)
0 belong 0xb1ffb00f Ultra C OS-9/OS-9000 I-code file (big Endian)
0 lelong 0xb1ffb00f Ultra C OS-9000 I-code file (little Endian)
0 string * UCCbe68k Ultra C OS-9/OS-9000 68K backend file (.o)
0 string * UCCbe386 Ultra C OS-9000 386 backend file (.o)
0 string * UCCbeppc Ultra C OS-9 PowerPC backend file (.o)
0 string * UCCao68k Ultra C OS-9/OS-9000 68K asm file (.a)
0 string * UCCao386 Ultra C OS-9000 386 asm file (.a)
0 string * UCCaoppc Ultra C OS-9 PowerPC asm file (.a)
0 string \ opt Ultra C Back End output file
0 string \ psect OS-9 assembly source file
0 string # \n# FasTrak Generated Makefile FasTrak makefile
>42 byte x (version %c
>44 byte x %c
>46 byte x %c)
0 string FasTrak Workbench save file FasTrak workbench file
>40 byte x (version %c
>42 byte x %c
>44 byte x %c)
0 string #Profiler File FasTrak Profiler file
0 string # Makefile makefile
0 belong 0x4d415549 Maui
>4 belong 0x464f4e54 Font Format
>4 belong 0x444d4150 Drawmap
>4 belong 0x504c5445 Palette
>0 belong 0x4d415549 File
#
# other OS-9 stuff
#
8 long 0x4001c800 Flicker File
0 short 0x1b2b K-Windows Get/Put Buffer
0 string FORM IFF file
0 string OS-9/68K CheckBook+ CheckBook+ data file
#
# ZIP stuff...
#
0 string \037\213\010\000 GNU GZIP compressed file
0 string PK\003\004 ZIP compressed archive
#
# other archivers
#
0 string begin uuencoded file
0 string table uuencoded file
1 string begin uuencoded file
1 string table uuencoded file
2 short 0x2d6c lharc archive
0 long 0x2b415230 OS-9 ar archive
257 string ustar POSIX tar file
#
# unix stuff
#
0 long 0x8002010b Sun 3 executable
0 long 0x0002010b Sun 3 executable
0 long 0xbc102000 Sun 4 executable
0 long 0x7f454c46 Sun 4 Solaris ELF file
>4 long 0x01020000 (core)
>4 long 0x01020100 (executable)
0 long 0x02100108 HP 97K executable
0 long 0x020c0108 HP 93K executable
0 long 0x01600009 SGI IRIX executable
0 long 0x01df0007 XCOFF file
0 long 0x00080456 SunOS Core file
>4 long 0x0000033a (Sun3)
>4 long 0x000001b0 (Sun4)
>4 long 0x000001c8 (Sun4 Solaris)
8 long 0x68fa8b80 HP 97K Core file
8 long 0x68fa8bc0 HP 97K Core file
0 long 0x00000002 HP 93K Core file
0 long 0xdeadadb0 IRIX Core file
0 long 0x0b70000b IBM RS6000 AIX core file
#
# Graphic file types
#
0 string xbtoa btoa'd file
# PBMPLUS
0 string P1 PBM file
0 string P2 PGM file
0 string P3 PPM file
0 string P4 PBM "rawbits" file
0 string P5 PGM "rawbits" file
0 string P6 PPM "rawbits" file
# TIFF and friends
0 string \115\115 TIFF file, big-endian
>2 short >0 version %d
0 string \111\111 TIFF file, little-endian
>2 short >0 version %d
#
# NIFF (Navy Interchange File Format, a modification of TIFF)
0 string IIN1 NIFF raster data
#
# GIF
0 string GIF GIF picture
>3 string 87a ver. %s
>3 string 89a ver. %s
>6 leshort >0 %d x
>8 leshort >0 %d,
>10 byte &0x40 interlaced,
>10 byte&0x07 =0x00 2 colors
>10 byte&0x07 =0x01 4 colors
>10 byte&0x07 =0x02 8 colors
>10 byte&0x07 =0x03 16 colors
>10 byte&0x07 =0x04 32 colors
>10 byte&0x07 =0x05 64 colors
>10 byte&0x07 =0x06 128 colors
>10 byte&0x07 =0x07 256 colors
#
# Graphics Miscellany
0 long 1123028772 Artisan image file
>4 long 1 rectangular 24-bit image
>4 long 2 rectangular 8-bit image with colormap
>4 long 3 rectangular 32-bit image (24-bit with matte)
0 string \361\0\100\273 CMU window manager bitmap
0 string #FIG FIG graphics savefile text
>6 string 2.1 Version 2.1
>6 string 2.0 Version 2.0
0 string GKSM GKS Metafile
8 string ILBM IFF ILBM file
0 string yz MGR bitmap
6 string JFIF JPEG picture
0 string ARF_BEGARF PHIGS clear text archive
0 string BM BMP bitmap picture
#
# misc stuff
#
0 short 0x4d5a MS-Dos .exe file
0 string <HTML> HTML file
0 string <html> HTML file
3 string EXIZ infocom Wishbringer data file
0x12 string 871008 infocom Border Zone data file
0x12 string 870602 infocom Bureaucracy data file
0x12 string 840809 infocom Cutthroats data file
0x12 string 861215 infocom Hollywood Hijinx data file
0x12 string 850814 infocom A Mind Forever Voyaging data file
0x12 string 870722 infocom Nord and Burt data file
0x12 string 870730 infocom Plundered Hearts data file
0x12 string 850603 infocom Seastalker data file
0x12 string 871214 infocom Sherlock data file
0x12 string 860926 infocom Trinity data file