View Single Post
  #6   Spotlight this post!  
Unread 21-02-2004, 21:09
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
Re: printf and newlines

Quote:
Originally Posted by Jeff McCune
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 \n together. Do I need to set my terminal to something specific, vt100 or ansi or something?
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 \n.

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

-Norm