printf and newlines

I’m using minicom in unix to read back the data from printf… How the heck do I get a new line so I can get a scrolling set of values rather than just a single line that always overwrites itself? I’ve tried all permutations of \r and
together. Do I need to set my terminal to something specific, vt100 or ansi or something?

I used the settings 152000 baud (or something like that) and CRLF line returns successfully with my terminal, but I don’t use minicom specifically.

CRLF is
from the perspective of printf(), right? Just making sure I’m bot being an idiot.

I had just
in the printf calls, \r is unneeded (afaik)

I would guess that mplab uses ansi (ascii, 1 byte) letters. It’s based on the compiler, since it translates strings to binary. that’s also where
stuff comes from.

This probably won’t help: I wanted to achieve the same thing (single, overwriting line) using the IFI loader’s Terminal window. I tried \r, but it had the same result as
.

I glanced at printf_lib.c and saw some stuff about \r, so there’s hope. Have a look at printf_lib.c

-Norm