home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / graphics / 8161 < prev    next >
Encoding:
Internet Message Format  |  1992-07-26  |  1.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!umriscc!mcs213c.cs.umr.edu!johns
  2. From: johns@mcs213c.cs.umr.edu (John Stone)
  3. Newsgroups: comp.graphics
  4. Subject: Re: PBMPLUS
  5. Message-ID: <5543@umriscc.isc.umr.edu>
  6. Date: 26 Jul 92 22:35:53 GMT
  7. References: <1992Jul23.092012.17535@comp.lancs.ac.uk> <1992Jul23.180543.14714@cybernet.cse.fau.edu>
  8. Sender: news@umriscc.isc.umr.edu
  9. Organization: University of Missouri - Rolla
  10. Lines: 24
  11.  
  12.  
  13.    
  14.     If anyone out there is using OS/2 2.0, I've got a fair portion of 
  15. pbmplus ported now... I'm about halfway done... All that had to be done
  16. to port each program is build a .lib file out of the libp?m*.c files,
  17. and then to edit all of the file I/O stuff so that it uses binary
  18. I/O instead of text (OS/2 and Dos both default to text mode on the
  19. stdin and stdout)  
  20. The hardest part about the OS/2 port is that IBM C Set/2 won't let you
  21. use setmode() on a stream (which is how a friend of mine did a port of it
  22. to dos...)  So I had to use fdopen(); to do it.
  23. Using fdopen, means that I have to edit every call to a file I/O function
  24. and make sure it calls my binary file handle, and not the regular stdout 
  25. handle etc.
  26.  
  27. If anyone wants these binaries, just send me e-mail...
  28. The ones that I have done have been tested and I know that they work.
  29. Another guy has attempted to port them previously, but he didn't test
  30. any of his binaries and none of the ones of his that I tried worked,
  31. which is why I'm slowly doing mine, and testing as I go along...
  32.  
  33. Later,
  34.          John Stone
  35.          johns@cs.umr.edu
  36.