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