Xref: utzoo comp.lang.c:18537 comp.sys.misc:2240 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-lcc!lll-winken!uunet!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c,comp.sys.misc Subject: Re: binary data files Message-ID: <4122@ficc.uu.net> Date: 9 May 89 13:31:08 GMT References: <10946@bloom-beacon.MIT.EDU> <225800167@uxe.cso.uiuc.edu> <1970@dataio.Data-IO.COM> Followup-To: comp.sys.misc Organization: Xenix Support Lines: 19 In article <1970@dataio.Data-IO.COM>, bright@Data-IO.COM (Walter Bright) writes: > And CPM is based on DEC's RT-11 for PDP-11 computers. At the time, DEC > operating systems were very popular, and they all used the \r and \n > convention. That's funny... most DEC systems I know (including RSX, which is what CP/M seems most closely modelled on) store files as a series of variable length records containing (usually) a 2 or 4 byte header containing the length and maybe the line number and then the data on the line. CP/M was actully based directly on an obscure intel DOS called Isis, with some teminology (PIP, etc) borrowed from DEC. Isn't this getting a bit far from 'C'? -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Business: uunet.uu.net!ficc!peter, peter@ficc.uu.net, +1 713 274 5180. Personal: ...!texbell!sugar!peter, peter@sugar.hackercorp.com.