[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apple2 - Contiki Compile Report
steve@dosius.zzn.com (Dosius) wrote in message
>
> That's \r. ;) \n is 0x0A (^J), unfortunately that's also Down-Arrow. :(
You are correct of course. I should have stated that better.
My mind was focused on the objective.
\n = newline = 0x0A used by unix for line termination.
\r = return = 0x0D used by apple for line termination.
\r\n used by MSdos for line termination. Sometimes in MSdos a compiler
will accept \n and correctly generate \r\n and sometimes you have code
it \r\n.
And with the power of C's define you can make whatever you want, mean
whatever you want.
ASCII code interpretation Apple specific
0x07 bell ^G
0x08 backspace ^H or left arrow
0x09 horizontal tab ^I or tab
0x0A line feed ^J or down arrow
0x0B vertical tab ^K or up arrow
0x0C form feed ^L
0x0D carriage return ^M or return