home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.apps
- Path: sparky!uunet!sun-barr!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!daffy!uwvax!uchinews!ellis!roe2
- From: roe2@ellis.uchicago.edu (Cave Newt)
- Subject: Re: UNIX 'file' program for OS/2?
- Message-ID: <1992Nov5.193250.6913@midway.uchicago.edu>
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: roe2@midway.uchicago.edu
- Organization: University of Chicago
- References: <1daie3INN79v@iskut.ucs.ubc.ca>
- Date: Thu, 5 Nov 1992 19:32:50 GMT
- Lines: 19
-
- ochealth@unixg.ubc.ca (ochealth) writes:
-
- >Is anyone sitting on an OS/2 port of the UNIX file command? Or maybe
- >you know where source code is? Also, anyone know where I can get a good
- >list of OS/2 specific magic entries?
-
- Source code alone won't do you much good, since file seems to have
- some internal code to poke around in certain file types--i.e., OS/2
- executables have a completely different structure from Unix ones.
- 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...
-
- As you might guess, I'd like this, too. I started writing it a few
- months ago but got sidetracked, and it doesn't look like I'll be
- getting back to it for a while.
-
- Greg
-