V
Villy Kruse
Glen said:Even worse, there are multiple definitions for some of the characters. '['
and ']' have existed for many years on the TN print train, but somehow that
wasn't good enough to define them in EBCDIC.
What are TN and the TN print train?
Also, EBCDIC has both a solid and split vertical bar. Some ASCII
tables use one, and some the other, for the printable representation,
and I believe that has also been a problem with conversion tables.
I'm curious: Is there a similar problem when converting to Unicode,
or do people agree on which is which in that case?
Just to continue the confusion, EBCDIC has CR, NL, and LF control
characters, X'0D', X'15', and X'25' respectively. Which one should C
use as the '\n' character?
If CR is Carriage Return, I presume it should be \r.
What do EBCDIC NL and LF do?
By them selves nothing, only when sent to a device they may do something.
In the EBCDIC world and IBM/360 in particular neither was used to control
the printer.
Newline is next line at the beginning of line. Line feed is next line same
character position. In ASCII you emulate the newline function using the
sequence CR,LF. In the C lagnuage one of them has (arbitrarily) been used
as the '\n' character.
Villy