[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Text tools, line endings, and O_TEXT
From: |
John Cowan |
Subject: |
Re: Text tools, line endings, and O_TEXT |
Date: |
Thu, 6 Sep 2007 14:53:50 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Micah Cowan scripsit:
> BTW, are there systems that use CR+NEL as their canonical line
> terminator, and if so, which ones? That seems silly, since AFAICT NEL
> was intended to replace CR+LF (ISO-6429/Ecma-048 defines it as moving to
> to "the line home position of the following line", adjusting for
> implicit movement direction). But then, I'm not even familiar with
> systems that use NEL as a line terminator in the first place, so my
> ignorance is not at all surprising. ;)
NEL is the standard line terminator of IBM's mainframe operating
systems, usually in its EBCDIC representation of 0x15. LF (0x25)
and CR (0x0D) don't have any special meaning to such systems.
CR+NEL arises when CR+LF text is mindlessly translated to
EBCDIC using a special "map ASCII LF to EBCDIC NEL" rule.
--
John Cowan address@hidden http://ccil.org/~cowan
It's the old, old story. Droid meets droid. Droid becomes chameleon.
Droid loses chameleon, chameleon becomes blob, droid gets blob back
again. It's a classic tale. --Kryten, Red Dwarf
- Re: Problem with -i ignore-file option in version 6.9 ptx in cygwin environment, (continued)
- Re: Problem with -i ignore-file option in version 6.9 ptx in cygwin environment, Eric Blake, 2007/09/06
- Re: Problem with -i ignore-file option in version 6.9 ptx in cygwin environment, Jim Meyering, 2007/09/06
- Text tools, line endings, and O_TEXT, John Cowan, 2007/09/06
- Re: Text tools, line endings, and O_TEXT, Eric Blake, 2007/09/06
- Re: Text tools, line endings, and O_TEXT, Micah Cowan, 2007/09/06
- Re: Text tools, line endings, and O_TEXT, Eric Blake, 2007/09/06
- Re: Text tools, line endings, and O_TEXT, John Cowan, 2007/09/06
- Re: Text tools, line endings, and O_TEXT, Eric Blake, 2007/09/06
- Re: Text tools, line endings, and O_TEXT, John Cowan, 2007/09/06
- Re: Text tools, line endings, and O_TEXT, Micah Cowan, 2007/09/06
- Re: Text tools, line endings, and O_TEXT,
John Cowan <=
- Re: Text tools, line endings, and O_TEXT, Bob Proulx, 2007/09/06
Re: Problem with -i ignore-file option in version 6.9 ptx in cygwin environment, Jim Meyering, 2007/09/06