> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Shmuel Metz (Seymour J.) > Sent: Thursday, June 29, 2006 8:38 AM > To: [email protected] > Subject: Re: Character set conversoin headaches > <snip> > > The obvious reason is that NL is new line; that's what it has been > there for since the advent of the S/360. What is bizarre was the Unix > decision to use LF as an NL sequence instead of the traditional CRLF.
Question: You state that CRLF is "traditional". I was under the impression that CRLF originated with CP/M-80 from Digital Research. The LF is from UNIX. I think that the original UNIX predates CP/M-80. Yes, I had a CP/M-80 system many years ago. >From what I understand, CP/M-80 used CRLF because the printers that that were driven from the microprocessor based systems of the time did not implement a "new line" character at all. So, to simplify things, text files were delimited with CRLF on disk so that the "pip" (Peripherial Interchange Program ) program could be used to print a text file simply by "copying" it to "lpt:" (IIRC that was the "name" of the printer). I hadn't noticed that there is not a NL in ASCII. Good catch! <snip> > > -- > Shmuel (Seymour J.) Metz, SysProg and JOAT -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

