home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.apps
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!decwrl!netcomsv!netcom.com!xtifr
- From: xtifr@netcom.com (Chris Waters)
- Subject: Re: UNIX 'file' program for OS/2?
- Message-ID: <1992Nov5.231649.14862@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <1daie3INN79v@iskut.ucs.ubc.ca> <1992Nov5.193250.6913@midway.uchicago.edu>
- Date: Thu, 5 Nov 1992 23:16:49 GMT
- Lines: 16
-
- In <1992Nov5.193250.6913@midway.uchicago.edu> roe2@ellis.uchicago.edu (Cave Newt) writes:
-
- >Unfortunately, you really *must* dig out the OS/2 structure in the
- >program itself, not via a magic file, since the "meat" is not at a
- >fixed location (only a pointer to it is). OS/2 programs look like
- >DOS programs if you don't make use of that pointer...
-
- Well, but the following entries in *my* /etc/magic seem to work ok:
-
- 0 short 0x5A4D DOS executable
- >0x18 short 0x40 -- OS/2 format
-
- BTW, the MKS toolkit includes the file program.
- --
- Chris Waters | the insane don't | "Don't you boys know NICE songs?"
- xtifr@netcom.COM| need disclaimers | -- Joe's mama
-