Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!ulowell!apollo!weber_w From: weber_w@apollo.COM (Walt Weber) Newsgroups: comp.sys.apollo Subject: Re: RWMT with Blocks>16K or Opening a Stream to a nil file Keywords: AEGIS. Foo. Message-ID: <43f72992.10b48@apollo.COM> Date: 21 Jun 89 16:03:00 GMT References: Reply-To: weber_w@apollo.COM (Walt Weber) Distribution: comp Organization: Apollo Computer, Chelmsford, MA Lines: 15 In article pjt@yang.cpac.washington.edu (Larry Setlow) writes: >So: Anybody know how to >3) open a stream to read a file of type nil? Instead of using open(2), use the apollo-specific calls in the ms_$ family which will permit you to map the file directly to a virtual address. Then, you can treat this as a large buffer and write(2) it out to a different disk file, which can then be opened and manipulated using dd(1) to get ebcdic -> ascii conversion, or whatever. ...walt... -- Walt Weber Apollo Computer (508) 256-6600 x8315 People's Republic of Massachusetts -The views expressed herein are personal, and not binding on ANYONE-