Terminal Window Control Characters?

I'm trying to display output to the terminal without each line of output showing up on a new line. I'd like the output to remain in the same position in the window.

I can only see a few ASCII characters listed in this chart for terminal control. I don't see any characters to home the cursor.

I've tried ASCII characters 0 through 16. None of those seems to do much except for line feed, carriage return and tab. I didn't even get a bell with ASCII 7.

I thought I ran some Arduino code which the output to a single line. Was I imagining this? If not how do I move the cursor to the home position?

Delta_G:
If you're talking about the serial monitor in the IDE, it doesn't do control characters.

Yes, I'm referring to the serial monitor in the IDE. I must be remembering incorrectly because I thought I had used a program with kept the output in the same location in the window.

It seems like lots of people like putty. I'll give it a try.

Thanks.

Yes, I'm referring to the serial monitor in the IDE. I must be remembering incorrectly because I thought I had used a program with kept the output in the same location in the window.

The below uses Serial.print instead of Serial.println which keeps the returned data on the same line in the serial monitor.

//zoomkat 6-29-14 Simple serial echo test
//type or paste text in serial monitor and send

String readString;

void setup() {
  Serial.begin(9600);
  Serial.println("Simple serial echo test"); // so I can keep track of what is loaded
}

void loop() {

  while (Serial.available()) {
    char c = Serial.read();  //gets one byte from serial buffer
    readString += c; //makes the String readString
    delay(2);  //slow looping to allow buffer to fill with next character
  }

  if (readString.length() >0) {
    Serial.print(readString);
    //Serial.println(readString);  //so you can see the captured String 
    readString="";
  } 
}

zoomkat:
The below uses Serial.print instead of Serial.println which keeps the returned data on the same line in the serial monitor.

Yes, the data stays on the same line but it keeps extending to the right with each new entry. I'd like to have the output from a program remain on a single line with the new data replacing the old.

Have you tried sending just a carriage return, rather than carriage return and linefeed? On Windows, at least, the two do different things.

PaulS:
Have you tried sending just a carriage return, rather than carriage return and linefeed? On Windows, at least, the two do different things.

I tried just a carriage return and I tried just a line feed.

If only a carriage return is used, the text continues off to the right.

If only a line feed is used it looks the same as using both a carriage return on a line feed.