Oops. I would swear that text mode input is performed by the operating system. It turns out I was wrong and the POSIX compatibility layer is provided by the compiler vendor. That means the exact behavior depends indeed. Thanks for the clarification. Cheers Chris (You never know what you know)
-----Original Message----- From: Henri Sivonen [mailto:[EMAIL PROTECTED] Sent: Friday, June 08, 2007 1:45 PM To: Kristof Zelechovski Cc: 'Michel Fortin'; 'WHATWG List' Subject: Re: [whatwg] CR "entities" and LFCR On Jun 8, 2007, at 09:24, Kristof Zelechovski wrote: > Reading a file in text mode ignores all carriage return control > characters. > Stray carriage returns are ignored as well. Depends on what does the reading.
