[En-Nut-Discussion] USART DEFAULT COOKEDMODE
Harald Kipp
harald.kipp at egnite.de
Fri May 28 12:41:31 CEST 2004
Trevor,
At 11:34 28.05.2004 +0100, you wrote:
>For what its worth I think RAW should be the default. I hate it when \r and
>\n get translated.
Guess you would hate it even more to write
printf("Hello world\r\n")
instead of
printf("Hello world\n")
don't you? Please take into account, that
most high level TCP protocols require the
carriage return. Today most servers accept
single linefeeds as delimiters...but the first
rule is:
"Be conservative on output and tolerant on input"
Harald
More information about the En-Nut-Discussion
mailing list