[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \n or \r\n?
On Sun, 17 May 1998, Petr Stehlik wrote:
> output of simple printf("First line\nSecond line"); looks differently
> under MiNT and TOS. Under TOS it does not return the carriage :-)
> However the same program compiled under PureC works fine under TOS.
>
> Shouldn't the MiNTlibs do automatic CR->CRLF translation on output
> (under TOS at least)?
I would support a new library function for EOLN translation. I
still don't think it belongs in fputc().
Is there a reasonable way EOLN translation could be turned on or
off depending on whether or not we run under MiNT?
Yves
- References:
- \n or \r\n?
- From: stehlik@cas3.zlin.vutbr.cz (Petr Stehlik)