Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!elroy!jato!jbrown From: jbrown@jato.Jpl.Nasa.Gov (Jordan Brown) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: uncompress for MS-DOS Message-ID: <513@jato.Jpl.Nasa.Gov> Date: 13 Dec 88 12:28:28 GMT References: <47@VAX1.CC.UAKRON.EDU> Reply-To: jbrown@jato.UUCP (Jordan Brown) Distribution: na Organization: Me? Organized? Lines: 14 In article <> greggt@VAX1.CC.UAKRON.EDU (Gregg Thompson) writes: > I tried the compress programs from simtel20, and from several >other places and I have found the same results. Compress fro the PC is ONLY >for TEXT files! Everytime I compress a file on my PC with any of these >it stops at the same place a file listing would stop if you executed a >type command on the binary file. Add statements like #include setmode(fileno(stdin), O_BINARY); setmode(fileno(stdout), O_BINARY); at appropriate places in the code. Put them inside a #ifdef MSDOS. This works using MSC.