Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!cornell!batcomputer!pyramid!fmsrl7!wayne From: wayne@fmsrl7.UUCP (//ichael R. //ayne) Newsgroups: comp.sys.m68k Subject: MPulse news Message-ID: <3250@fmsrl7.UUCP> Date: Mon, 12-Oct-87 17:15:36 EDT Article-I.D.: fmsrl7.3250 Posted: Mon Oct 12 17:15:36 1987 Date-Received: Wed, 14-Oct-87 00:47:48 EDT Reply-To: wayne@fmsrl7.UUCP (/\/\ichael R. \/\/ayne) Distribution: na Organization: Ford Motor Company, Scientific Research Labs, Dearborn, MI Lines: 154 Keywords: file, /etc/magic, Tower (in)compatibility I have a friend who uses several Tower machines. I tried a couple of things and found out that the MPulse 20 running under unixC.4 will run NCR 600 tower code but will _not_ run NCR 800 tower code. In order to help you out in determining where code comes from, here is a new /etc/magic pulled from my system. It incudes some additional info and does not lose any. I am interested in adding Stride information to this so if anyone has access to a Stride /etc/magic, please send it to me. Has anyone found any other manufacturer's code that works? I just realized that some people may not know what this is for. If you put the below file into /etc/magic on your machine, you can then type commands like file /bin/cat to find out what /bin/cat really is. The existing /etc/magic file will identify LPC compiled things but this one will recognize code from NCR Tower machines as well. /\/\ \/\/ ===== Cut here and put in /etc/magic ======== (Beware of signature at end) # # @(#)magic teemc(1.2) Mon Oct 12 16:56:59 EDT 1987 # # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Significant hacks and additions from various machines done # to this file by /\/\ichael R. \/\/ayne (wayne@teemc.uucp). # Updates and corrections are most welcome. # Numbers are now sorted by value and as follows: # # - Shorts # - Longs # - Strings # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # # 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 occassional 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. # # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% shorts 0 short 000401 unix-rt ldp 0 short 000405 pdp11/pre System V overlay 0 short 000407 pdp11/pre System V (4.0) executable >16 long >0 not stripped >2 short >0 - version %ld 0 short 000410 pdp11/pre System V (4.0) pure executable >16 long >0 not stripped >2 short >0 - version %ld 0 short 000411 pdp11/pre System V (4.0) separate I&D executable >16 long >0 not stripped >2 short >0 - version %ld 0 short 000413 BSD? pure executable >8 short >0 not stripped >15 byte >0 - version %ld 0 short 000432 Terminfo object 0 short 000437 pdp11/pre System V kernel overlay 0 short 000502 basic-16 executable >12 long >0 not stripped 0 short 000503 basic-16 executable (TV) >12 long >0 not stripped 0 short 000510 x86 executable >12 long >0 not stripped 0 short 000511 x86 executable (TV) >12 long >0 not stripped 0 short 000520 mc68k V/68 object >12 long >0 not stripped >20 short 0407 executable >20 short 0410 pure executable 0 short 000550 3b20 executable >12 long >0 not stripped >22 short >0 -version %ld 0 short 000551 3b20 executable (TV) >12 long >0 not stripped >22 short >0 -version %ld 0 short 000560 3b2/3b5 executable >12 long >0 not stripped 0 short 000561 3b2/3b5 executable (TV) >12 long >0 not stripped 0 short 000570 VAX 5.0 executable >12 long >0 not stripped >22 short >0 - version %ld 0 short 000575 VAX 5.0 pure executable >12 long >0 not stripped >22 short >0 - version %ld 0 short 000610 Tower/XP rel 2 object >12 long >0 not stripped >20 short 0407 executable >20 short 0410 pure executable >22 short >0 -version %ld 0 short 000615 Tower/XP rel 2 object >12 long >0 not stripped >20 short 0407 executable >20 short 0410 pure executable >22 short >0 -version %ld 0 short 000620 Tower/XP rel 3 object >12 long >0 not stripped >20 short 0407 executable >20 short 0410 pure executable >22 short >0 -version %ld 0 short 000625 Tower/XP rel 3 object >12 long >0 not stripped >20 short 0407 executable >20 short 0410 pure executable >22 short >0 -version %ld 0 short 000630 Tower32/600/400 68020 object >12 long >0 not stripped >20 short 0407 executable >20 short 0410 pure executable >22 short >0 -version %ld 0 short 000640 Tower32/800 68020 >18 short &020000 w/68881 object >18 short &040000 compatible object >18 short &~060000 object >20 short 0407 executable >20 short 0413 pure executable >12 long >0 not stripped >22 short >0 -version %ld 0 short 000645 Tower32/800 68010 >18 short &040000 compatible object >18 short &~060000 object >20 short 0407 executable >20 short 0413 pure executable >12 long >0 not stripped >22 short >0 -version %ld 0 short 017037 packed data 0 short 017436 V/68 packed text 0 short 017635 compressed (LZW) text 0 short 070707 cpio archive # # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% longs # 0 long 0000413 demand paged VAX or old BALANCE NS32000 executable >16 long >0 not stripped 0 long 0100554 apl workspace 0 long 0177545 pre System V (4.0) pdp11 archive 0 long 0177555 pre System V obsolete archive # # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% strings # 0 string ! System V.2 archive 0 string 070707 ASCII cpio archive 0 string System V.0 or V.1 archive -- Michael R. Wayne *** TMC & Associates *** INTERNET: wayne@ford-vax.arpa uucp: {philabs | pyramid} !fmsrl7!wayne OR wayne@fmsrl7.UUCP