home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / apps / 7896 < prev    next >
Encoding:
Text File  |  1992-11-06  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.os.os2.apps
  2. Path: sparky!uunet!sun-barr!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!daffy!uwvax!uchinews!ellis!roe2
  3. From: roe2@ellis.uchicago.edu (Cave Newt)
  4. Subject: Re: UNIX 'file' program for OS/2?
  5. Message-ID: <1992Nov5.193250.6913@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: roe2@midway.uchicago.edu
  8. Organization: University of Chicago
  9. References: <1daie3INN79v@iskut.ucs.ubc.ca>
  10. Date: Thu, 5 Nov 1992 19:32:50 GMT
  11. Lines: 19
  12.  
  13. ochealth@unixg.ubc.ca (ochealth) writes:
  14.  
  15. >Is anyone sitting on an OS/2 port of the UNIX file command? Or maybe
  16. >you know where source code is? Also, anyone know where I can get a good
  17. >list of OS/2 specific magic entries?
  18.  
  19. Source code alone won't do you much good, since file seems to have
  20. some internal code to poke around in certain file types--i.e., OS/2
  21. executables have a completely different structure from Unix ones.
  22. Unfortunately, you really *must* dig out the OS/2 structure in the
  23. program itself, not via a magic file, since the "meat" is not at a
  24. fixed location (only a pointer to it is).  OS/2 programs look like
  25. DOS programs if you don't make use of that pointer...
  26.  
  27. As you might guess, I'd like this, too.  I started writing it a few
  28. months ago but got sidetracked, and it doesn't look like I'll be
  29. getting back to it for a while.
  30.  
  31. Greg
  32.