[prev] [thread] [next] [lurker] [Date index for 2005/06/26]
> Newlines are hard, and it's not UNIX's fault. In fact, UNIX followed the recommendations of the original ASCII standard that if a single character was used for a line separator it should be linefeed. Just about everyone else picked carriage return or both. Except DEC, of course. RSX text files had a one or two byte length, followed by an optional two byte line number, and the records themselves were either padded to a multiple of 80 bytes or jammed together with no separator, and blocks were either padded with nulls or lines could span block boundaries. You have to look at the file type and mode to see which was which. To read or write text files from Forth I gave up and called the Fortran runtime.There's stuff above here
Generated at 00:00 on 28 Jun 2005 by mariachi 0.52